Improved Spanish translation.
Ylian Saint-Hilaire committed
Sep 7, 2020 at 20:18 UTC
7d29701a9420a9149889ab21932ea9987d6ce4ed
106 files changed
+39278
-814
emails/translations/account-check-min_cs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Ověření e-mailem</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Ověření</b></table><p>Ahoj [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> požaduje ověření e-mailem a dokončete proces kliknutím na následující odkaz.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Kliknutím sem ověřte svou e-mailovou adresu.</a></p>Pokud jste tento požadavek nezačali, ignorujte tento e-mail.</div>
\ No newline at end of file
emails/translations/account-check-min_de.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - E-Mail-Überprüfung</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Überprüfung</b></table><p>Hallo [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> Wenn Sie eine E-Mail-Bestätigung anfordern, klicken Sie auf den folgenden Link, um den Vorgang abzuschließen.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Klicken Sie hier, um Ihre E-Mail-Adresse zu bestätigen.</a></p>Wenn Sie diese Anfrage nicht initiiert haben, ignorieren Sie diese Mail bitte.</div>
\ No newline at end of file
emails/translations/account-check-min_es.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Verificación de Correo Electrónico</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verificación</b></table><p>Hola [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> solicita la verificación por correo electrónico, haga clic en el siguiente enlace para completar el proceso.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga clic aquí para verificar su dirección de correo electrónico.</a></p>Si Ud. no inicio este requerimiento, por favor ignore este correo.</div>
\ No newline at end of file
emails/translations/account-check-min_fi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Sähköpostivarmistus</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Todentaminen</b></table><p>Moi [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> pyytää sähköpostitse vahvistusta, suorita prosessi napsauttamalla seuraavaa linkkiä.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Napsauta tätä vahvistaaksesi sähköpostiosoitteesi.</a></p>Jos et suorittanut tätä pyyntöä, voit ohitaa tämän sähköpostin.</div>
\ No newline at end of file
emails/translations/account-check-min_fr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Vérification E-mail</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Vérification</b></table><p>Bonjour [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> demande une vérification par e-mail, cliquez sur le lien suivant pour terminer le processus.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Cliquez ici pour vérifier votre adresse e-mail.</a></p>Si vous n'avez pas initié cette demande, veuillez ignorer ce courrier.</div>
\ No newline at end of file
emails/translations/account-check-min_hi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - ईमेल सत्यापन</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - सत्यापन</b></table><p>हाय [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> ईमेल सत्यापन का अनुरोध कर रहा है, प्रक्रिया को पूरा करने के लिए निम्न लिंक पर क्लिक करें।<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">अपना ई-मेल पता सत्यापित करने के लिए यहां क्लिक करें।</a></p>यदि आपने यह अनुरोध आरंभ नहीं किया है, तो कृपया इस मेल को अनदेखा करें।</div>
\ No newline at end of file
emails/translations/account-check-min_ja.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - メールの確認</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 確認</b></table><p>[[[USERNAME]]]様 <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> がメールの確認をリクエストしている場合は、次のリンクをクリックしてプロセスを完了してください。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">ここをクリックして、電子メールアドレスを確認してください。</a></p>このリクエストを開始していない場合は、このメールを無視してください。</div>
\ No newline at end of file
emails/translations/account-check-min_ko.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Email 인증</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 인증</b></table><p>안녕하세요, [[[USERNAME]]]님. <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 이메일 검증을 요구하는 경우, 다음 링크를 클릭하여 과정을 완료하십시오.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">이메일 주소를 검증하려면 여기를 클릭하십시오.</a></p>이 요청을 시작하지 않은 경우, 이 메일을 무시하십시오.</div>
\ No newline at end of file
emails/translations/account-check-min_nl.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - E-mail Verificatie</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verificatie</b></table><p>Hallo [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> vraagt om e-mailverificatie, klik op de volgende link om het proces te voltooien.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Klik hier om uw e-mailadres te verifiëren.</a></p>Als u dit verzoek niet heeft ingediend, dan kunt u deze e-mail negeren.</div>
\ No newline at end of file
emails/translations/account-check-min_pt.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Email Verification</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verification</b></table><p>Hi [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> is requesting email verification, click on the following link to complete the process.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Click here to verify your e-mail address.</a></p>If you did not initiate this request, please ignore this mail.</div>
\ No newline at end of file
emails/translations/account-check-min_ru.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - подтверждение по электронной почте</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Подтверждение</b></table><p>Привет [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> запрашивает подтверждение по электронной почте, нажмите на следующую ссылку, чтобы завершить процесс.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Нажмите здесь, чтобы подтвердить свой адрес электронной почты.</a></p>Если вы не инициировали этот запрос, игнорируйте это письмо.</div>
\ No newline at end of file
emails/translations/account-check-min_tr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - E-posta Doğrulaması</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Doğrulama</b></table><p>Merhaba [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> e-posta doğrulaması istiyorsa, işlemi tamamlamak için aşağıdaki bağlantıya tıklayın.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">E-posta adresinizi doğrulamak için burayı tıklayın.</a></p>Bu isteği siz başlatmadıysanız, lütfen bu postayı dikkate almayın.</div>
\ No newline at end of file
emails/translations/account-check-min_zh-chs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-电邮验证</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-验证</b></table><p>[[[USERNAME]],你好, <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 正在请求电邮验证,请单击以下连结以完成该过程。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">单击此处以验证您的电邮地址。</a></p>如果您没有发起此请求,请不理此邮件。</div>
\ No newline at end of file
emails/translations/account-check-min_zh-cht.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-電郵驗證</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-驗證</b></table><p>[[[USERNAME]],你好, <a href=[[[SERVERURL]]]>[[[SERVERNAME]]</a> 正在請求電郵驗證,請單擊以下鏈結以完成該過程。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">單擊此處以驗證你的電郵地址。</a></p>如果你沒有發起此請求,請不理此電郵。</div>
\ No newline at end of file
emails/translations/account-check_es.html
+4
-4
@@ -1,15 +1,15 @@
1
-<html><head></head><body><div>[[[SERVERNAME]]] - Verificación de Email</div>
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Verificación de Correo Electrónico</div>
2
<div style="font-family:Arial,Helvetica,sans-serif">
3
<table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
<tbody><tr>
5
<td>
6
- <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Invitación</b>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Verificación</b>
7
</td>
8
</tr>
9
</tbody></table>
10
<p>Hola [[[USERNAME]]], <a href="[[[SERVERURL]]]">[[[SERVERNAME]]]</a> solicita la verificación por correo electrónico, haga clic en el siguiente enlace para completar el proceso.</p>
11
<p style="margin-left:30px">
12
- <a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga click aquí para verificar su dirección de e-mail</a>
12
+ <a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga clic aquí para verificar su dirección de correo electrónico.</a>
13
</p>
14
- Si Ud. no inicio este proceso, por favor ignore este email
14
+ Si Ud. no inicio este requerimiento, por favor ignore este correo.
15
</div></body></html>
\ No newline at end of file
emails/translations/account-check_es.txt
+3
-3
@@ -1,6 +1,6 @@
1
-[[[SERVERNAME]]] - Verificación de Email
2
-Hola [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) esta realizando una comprobación del e-mail. Navegue al siguiente enlace para completar el proceso:
1
+[[[SERVERNAME]]] - Verificación de Correo Electrónico
2
+Hola [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) esta realizando una comprobación del correo electrónico. Navegue al siguiente enlace para completar el proceso:
3
~
4
~[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]
5
~
6
-Si Ud. no inicio este proceso, por favor ignore este email
\ No newline at end of file
6
+Si Ud. no inicio este requerimiento, por favor ignore este correo.
\ No newline at end of file
emails/translations/account-invite-min_cs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Pozvánka na účet</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Pozvánka na účet</b></table><p>Účet byl pro vás vytvořen na serveru <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, nyní k němu máte přístup:<p> Uživatelské jméno: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Heslo: <b notrans=1>[[[PASSWORD]]]</b></p>S pozdravem,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_de.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Kontoeinladung</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Kontoeinladung</b></table><p>Auf dem Server wurde ein Konto für Sie erstellt <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>können Sie jetzt darauf zugreifen mit:<p> Benutzername: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Passwort: <b notrans=1>[[[PASSWORD]]]</b></p>Freundliche Grüße,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_es.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Invitación de Cuenta</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Invitación de Cuenta</b></table><p>Una cuenta ha sido creada en su servidor <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, ahora puede acceder con:<p> Nombre de usuario: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Contraseña: <b notrans=1>[[[PASSWORD]]]</b></p>Atentamente,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_fi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Tili kutsu</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Tili kutsu</b></table><p>Sinulle on luotu tili palvelimelle <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, voit käyttää sitä nyt:<p> Käyttäjätunnus: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Salasana: <b notrans=1>[[[PASSWORD]]]</b></p>Ystävällisin terveisin,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_fr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Invitation au compte</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Invitation au compte</b></table><p>Un compte a été créé pour vous sur le serveur <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, vous pouvez y accéder maintenant avec:<p> Nom d'utilisateur: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Mot de passe: <b notrans=1>[[[PASSWORD]]]</b></p>Meilleures salutations,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_hi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - खाता निमंत्रण</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - खाता निमंत्रण</b></table><p>सर्वर पर आपके लिए एक खाता बनाया गया था <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, आप इसे अभी एक्सेस कर सकते हैं:<p> उपयोगकर्ता नाम: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> कुंजिका: <b notrans=1>[[[PASSWORD]]]</b></p>सादर,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_ja.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - アカウントの招待</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - アカウントの招待</b></table><p>サーバー上にアカウントが作成されました <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>、あなたは今それを使ってそれにアクセスできます:<p> ユーザー名: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> パスワード: <b notrans=1>[[[PASSWORD]]]</b></p>宜しくお願いします、<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_ko.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - 계정 초대</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 계정 초대</b></table><p>당신을 위해 서버에서 한 계정이 생성되었습니다. <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>이제 당신은 다음으로 접근 가능합니다:<p> 사용자 이름: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> 암호: <b notrans=1>[[[PASSWORD]]]</b></p>최고의 안부를 전합니다,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_nl.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Account uitnodiging</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Account uitnodiging</b></table><p>Er is een account voor je aangemaakt op de server <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, je hebt er nu toegang toe met:<p> Gebruikersnaam: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Wachtwoord: <b notrans=1>[[[PASSWORD]]]</b></p>Vriendelijke groeten,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_pt.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Account Invitation</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Account Invitation</b></table><p>An account was created for you on server <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, you can access it now with:<p> Nome de usuário: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Senha: <b notrans=1>[[[PASSWORD]]]</b></p>Best regards,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_ru.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - приглашение в аккаунт</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - приглашение в аккаунт</b></table><p>Учетная запись была создана для вас на сервере <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>Вы можете получить к нему доступ сейчас:<p> Имя пользователя: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Пароль: <b notrans=1>[[[PASSWORD]]]</b></p>С уважением,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_tr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Hesap Davetiyesi</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Hesap Davetiyesi</b></table><p>Sunucuda sizin için bir hesap oluşturuldu <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>, şimdi şununla erişebilirsiniz:<p> Kullanıcı adı: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> Parola: <b notrans=1>[[[PASSWORD]]]</b></p>Saygılarımla,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_zh-chs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帐户邀请</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-帐户邀请</b></table><p>在服务器上为您创建了一个帐户 <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>,您现在可以通过以下方式访问它:<p> 用户名: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> 密码: <b notrans=1>[[[PASSWORD]]]</b></p>最好的祝福,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite-min_zh-cht.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帳戶邀請</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-帳戶邀請</b></table><p>在伺服器上為你創建了一個帳戶 <a href=[[[SERVERURL]]] notrans=1>[[[SERVERNAME]]]</a>,你現在可以通過以下方式訪問它:<p> 用戶名: <b notrans=1>[[[ACCOUNTNAME]]]</b><br> 密碼: <b notrans=1>[[[PASSWORD]]]</b></p>最好的祝福,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/account-invite_es.html
+1
-1
@@ -9,7 +9,7 @@
9
</tbody></table>
10
<p>Una cuenta ha sido creada en su servidor <a href="[[[SERVERURL]]]" notrans="1">[[[SERVERNAME]]]</a>, ahora puede acceder con:</p>
11
<p>
12
- Usuario: <b notrans="1">[[[ACCOUNTNAME]]]</b><br>
12
+ Nombre de usuario: <b notrans="1">[[[ACCOUNTNAME]]]</b><br>
13
Contraseña: <b notrans="1">[[[PASSWORD]]]</b>
14
</p>
15
Atentamente,
emails/translations/account-login-min_cs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Přihlášení k účtu</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Přihlášení k účtu</b></table><p>Váš přihlašovací token je: [[[TOKEN]]]<p>Tento token lze použít pouze jednou a je platný po dobu 5 minut.</div>
\ No newline at end of file
emails/translations/account-login-min_de.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Konto-Login</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Konto-Login</b></table><p>Ihr Login-Token lautet: [[[TOKEN]]]<p>Dieser Token kann nur einmal verwendet werden und ist 5 Minuten gültig.</div>
\ No newline at end of file
emails/translations/account-login-min_es.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Inicio de Sesión</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Inicio de Sesión</b></table><p>Su token de inicio de sesión es: [[[TOKEN]]]<p>Este token sólo se puede usar una vez y es válido durante 5 minutos.</div>
\ No newline at end of file
emails/translations/account-login-min_fi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Tilille Kirjautuminen</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Tilille Kirjautuminen</b></table><p>Your login token is: [[[TOKEN]]]<p>This token can only be used once and is valid for 5 minutes.</div>
\ No newline at end of file
emails/translations/account-login-min_fr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Connexion au compte</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Connexion au compte</b></table><p>Votre jeton de connexion est: [[[TOKEN]]]<p>Ce jeton ne peut être utilisé qu'une seule fois et est valide pendant 5 minutes.</div>
\ No newline at end of file
emails/translations/account-login-min_hi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - खाता लॉगिन</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - खाता लॉगिन</b></table><p>आपका लॉगिन टोकन है: [[[TOKEN]]]<p>यह टोकन केवल एक बार उपयोग किया जा सकता है और 5 मिनट के लिए वैध है।</div>
\ No newline at end of file
emails/translations/account-login-min_ja.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - アカウントログイン</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - アカウントログイン</b></table><p>ログイントークンは次のとおりです:[[[TOKEN]]]<p>このトークンは1回だけ使用でき、5分間有効です。</div>
\ No newline at end of file
emails/translations/account-login-min_ko.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - 계정 로그인</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 계정 로그인</b></table><p>당신이 로그인한 토큰은 다음과 같습니다 : [[[TOKEN]]]<p>이 토큰은 오직 한 번만 사용될 수 있으며, 5분 동안만 유효합니다.</div>
\ No newline at end of file
emails/translations/account-login-min_nl.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Inloggen account</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Inloggen account</b></table><p>Uw login token is: [[[TOKEN]]]<p>Dit token kan maar één keer worden gebruikt en is 5 minuten geldig.</div>
\ No newline at end of file
emails/translations/account-login-min_pt.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Account Login</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Account Login</b></table><p>Your login token is: [[[TOKEN]]]<p>This token can only be used once and is valid for 5 minutes.</div>
\ No newline at end of file
emails/translations/account-login-min_ru.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Вход в аккаунт</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Вход в аккаунт</b></table><p>Ваш токен для входа: [[[TOKEN]]]<p>Этот токен может быть использован только один раз и действителен в течение 5 минут.</div>
\ No newline at end of file
emails/translations/account-login-min_tr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Hesap Girişi</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Hesap Girişi</b></table><p>Giriş jetonunuz: [[[TOKEN]]]<p>Bu simge yalnızca bir kez kullanılabilir ve 5 dakika geçerlidir.</div>
\ No newline at end of file
emails/translations/account-login-min_zh-chs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帐户登录</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-帐户登录</b></table><p>您的登录保安编码为:[[[TOKEN]]]<p>此保安编码只能使用一次,有效期为5分钟。</div>
\ No newline at end of file
emails/translations/account-login-min_zh-cht.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帳戶登入</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-帳戶登入</b></table><p>你的登入保安編碼為:[[[TOKEN]]]<p>該保安編碼只能使用一次,有效期為5分鐘。</div>
\ No newline at end of file
emails/translations/account-login_es.html
+3
-3
@@ -1,12 +1,12 @@
1
-<html><head></head><body><div>[[[SERVERNAME]]] - Nombre de Usuario</div>
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Inicio de Sesión</div>
2
<div style="font-family:Arial,Helvetica,sans-serif">
3
<table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
<tbody><tr>
5
<td>
6
- <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Nombre de Usuario</b>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Inicio de Sesión</b>
7
</td>
8
</tr>
9
</tbody></table>
10
<p>Su token de inicio de sesión es: [[[TOKEN]]]</p>
11
- <p>Este token solo se puede usar una vez y es válido durante 5 minutos.</p>
11
+ <p>Este token sólo se puede usar una vez y es válido durante 5 minutos.</p>
12
</div></body></html>
\ No newline at end of file
emails/translations/account-login_es.txt
+2
-2
@@ -1,4 +1,4 @@
1
-[[[SERVERNAME]]] - Nombre de Usuario
1
+[[[SERVERNAME]]] - Inicio de Sesión
2
Su token de inicio de sesión es: [[[TOKEN]]]
3
~
4
-Este token solo se puede usar una vez y es válido durante 5 minutos.
\ No newline at end of file
4
+Este token sólo se puede usar una vez y es válido durante 5 minutos.
\ No newline at end of file
emails/translations/account-reset-min_cs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Reset účtu</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Ověření</b></table><p>Ahoj [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> požaduje obnovení hesla k účtu, dokončete proces kliknutím na následující odkaz.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Kliknutím sem obnovíte heslo svého účtu.</a></p>Pokud jste tento požadavek nezačali, ignorujte tento e-mail.</div>
\ No newline at end of file
emails/translations/account-reset-min_de.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Zurücksetzen des Kontos</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Überprüfung</b></table><p>Hallo [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> Wenn Sie ein Zurücksetzen des Kontokennworts anfordern, klicken Sie auf den folgenden Link, um den Vorgang abzuschließen.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Klicken Sie hier, um Ihr Kontopasswort zurückzusetzen.</a></p>Wenn Sie diese Anfrage nicht initiiert haben, ignorieren Sie diese Mail bitte.</div>
\ No newline at end of file
emails/translations/account-reset-min_es.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Restablecimiento de Cuenta</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verificación</b></table><p>Hola [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> solicita restablecer la contraseña de la cuenta, haga clic en el siguiente enlace para completar el proceso.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga clic aquí para restablecer la contraseña de su cuenta.</a></p>Si Ud. no inicio este requerimiento, por favor ignore este correo.</div>
\ No newline at end of file
emails/translations/account-reset-min_fi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Tili nollattu</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Todentaminen</b></table><p>Moi [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> pyytää tilin salasanan palauttamista, suorita prosessi napsauttamalla seuraavaa linkkiä.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Palauta tilisi salasana napsauttamalla tätä.</a></p>Jos et suorittanut tätä pyyntöä, voit ohitaa tämän sähköpostin.</div>
\ No newline at end of file
emails/translations/account-reset-min_fr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Réinitialisation du compte</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Vérification</b></table><p>Bonjour [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> demande une réinitialisation du mot de passe du compte, cliquez sur le lien suivant pour terminer le processus.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Cliquez ici pour réinitialiser le mot de passe de votre compte.</a></p>Si vous n'avez pas initié cette demande, veuillez ignorer ce courrier.</div>
\ No newline at end of file
emails/translations/account-reset-min_hi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - खाता रीसेट</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - सत्यापन</b></table><p>हाय [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> खाता पासवर्ड रीसेट का अनुरोध कर रहा है, प्रक्रिया पूरी करने के लिए निम्न लिंक पर क्लिक करें।<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">अपना खाता पासवर्ड रीसेट करने के लिए यहां क्लिक करें।</a></p>यदि आपने यह अनुरोध आरंभ नहीं किया है, तो कृपया इस मेल को अनदेखा करें।</div>
\ No newline at end of file
emails/translations/account-reset-min_ja.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - アカウントのリセット</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 確認</b></table><p>[[[USERNAME]]]様 <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> がアカウントパスワードのリセットを要求している場合は、次のリンクをクリックしてプロセスを完了します。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">ここをクリックしてアカウントのパスワードをリセットしてください。</a></p>このリクエストを開始していない場合は、このメールを無視してください。</div>
\ No newline at end of file
emails/translations/account-reset-min_ko.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - 계정 재설정</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 인증</b></table><p>안녕하세요, [[[USERNAME]]]님. <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 계정 비밀번호 재설정을 요청하는 경우, 다음 링크를 클릭하여 과정을 완료하십시오.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">당신의 계정 암호를 초기화하려면 여기를 클릭하십시오.</a></p>이 요청을 시작하지 않은 경우, 이 메일을 무시하십시오.</div>
\ No newline at end of file
emails/translations/account-reset-min_nl.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Account Reset</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verificatie</b></table><p>Hallo [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> vraagt om het opnieuw instellen van het wachtwoord van een account, klik op de volgende link om het proces te voltooien.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Klik hier om je wachtwoord opnieuw in te stellen.</a></p>Als u dit verzoek niet heeft ingediend, dan kunt u deze e-mail negeren.</div>
\ No newline at end of file
emails/translations/account-reset-min_pt.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Account Reset</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Verification</b></table><p>Hi [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> is requesting an account password reset, click on the following link to complete the process.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Click here to reset your account password.</a></p>If you did not initiate this request, please ignore this mail.</div>
\ No newline at end of file
emails/translations/account-reset-min_ru.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Сброс учетной записи</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Подтверждение</b></table><p>Привет [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> запрашивает сброс пароля учетной записи, нажмите на следующую ссылку, чтобы завершить процесс.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Нажмите здесь, чтобы сбросить пароль учетной записи.</a></p>Если вы не инициировали этот запрос, игнорируйте это письмо.</div>
\ No newline at end of file
emails/translations/account-reset-min_tr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Hesabı Sıfırlama</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Doğrulama</b></table><p>Merhaba [[[USERNAME]]], <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> bir hesap şifresi sıfırlama talep ediyor, işlemi tamamlamak için aşağıdaki bağlantıya tıklayın.<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Hesap şifrenizi sıfırlamak için burayı tıklayın.</a></p>Bu isteği siz başlatmadıysanız, lütfen bu postayı dikkate almayın.</div>
\ No newline at end of file
emails/translations/account-reset-min_zh-chs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帐户重置</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-验证</b></table><p>[[[USERNAME]],你好, <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 正在要求重置帐户密码,请单击以下连结以完成该过程。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">单击此处重置您的帐户密码。</a></p>如果您没有发起此请求,请不理此邮件。</div>
\ No newline at end of file
emails/translations/account-reset-min_zh-cht.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-帳戶重置</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-驗證</b></table><p>[[[USERNAME]],你好, <a href=[[[SERVERURL]]]>[[[SERVERNAME]]</a> 正在要求重置帳戶密碼,請單擊以下鏈結以完成該過程。<p style=margin-left:30px><a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">單擊此處重置你的帳戶密碼。</a></p>如果你沒有發起此請求,請不理此電郵。</div>
\ No newline at end of file
emails/translations/account-reset_es.html
+4
-4
@@ -1,15 +1,15 @@
1
-<html><head></head><body><div>[[[SERVERNAME]]] - Resetear Cuenta</div>
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Restablecimiento de Cuenta</div>
2
<div style="font-family:Arial,Helvetica,sans-serif">
3
<table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
<tbody><tr>
5
<td>
6
- <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Invitación</b>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Verificación</b>
7
</td>
8
</tr>
9
</tbody></table>
10
<p>Hola [[[USERNAME]]], <a href="[[[SERVERURL]]]">[[[SERVERNAME]]]</a> solicita restablecer la contraseña de la cuenta, haga clic en el siguiente enlace para completar el proceso.</p>
11
<p style="margin-left:30px">
12
- <a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga click aquí para resetear la contraseña de su cuenta.</a>
12
+ <a href="[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]">Haga clic aquí para restablecer la contraseña de su cuenta.</a>
13
</p>
14
- Si Ud. no inicio este proceso, por favor ignore este email
14
+ Si Ud. no inicio este requerimiento, por favor ignore este correo.
15
</div></body></html>
\ No newline at end of file
emails/translations/account-reset_es.txt
+2
-2
@@ -1,6 +1,6 @@
1
-[[[SERVERNAME]]] - Resetear Cuenta
1
+[[[SERVERNAME]]] - Restablecimiento de Cuenta
2
Hola [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) está solicitando un restablecimiento de contraseña de cuenta. Navegue al siguiente enlace para completar el proceso:
3
~
4
~[[[SERVERURL]]]/checkmail?c=[[[COOKIE]]]
5
~
6
-Si Ud. no inicio este proceso, por favor ignore este email
\ No newline at end of file
6
+Si Ud. no inicio este requerimiento, por favor ignore este correo.
\ No newline at end of file
emails/translations/mesh-invite-min_cs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Pozvánka</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Instalace agenta</b></table><area-name><p>Dobrý den, [[[NAME]]],</p></area-name><p>Uživatel [[[USERNAME]]] na serveru <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> vás žádá o instalaci softwaru pro spuštění relace dálkového ovládání.</p><area-msg><p>Zpráva: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Kliknutím sem stáhnete MeshAgent pro Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Kliknutím sem stáhnete MeshAgent pro Apple OSX.</a></p></area-osx><area-linux><p>V případě systému Linux vyjměte a vložte do terminálu a nainstalujte agenta:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Chcete-li nainstalovat software, <a href=[[[SERVERURL]]][[[LINKURL]]]>klikněte zde</a> a postupujte podle pokynů.</p></area-link><p>Pokud jste tento požadavek nezačali, ignorujte tento e-mail.</p>S pozdravem,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_de.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Einladung</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Agenteninstallation</b></table><area-name><p>Hallo [[[NAME]]],</p></area-name><p>Benutzer [[[USERNAME]]] auf dem Server <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> fordert Sie auf, Software zu installieren, um eine Fernsteuerungssitzung zu starten.</p><area-msg><p>Botschaft: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Klicken Sie hier, um den MeshAgent für Windows herunterzuladen.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Klicken Sie hier, um den MeshAgent für Apple OSX herunterzuladen.</a></p></area-osx><area-linux><p>Schneiden Sie unter Linux Folgendes aus und fügen Sie es in ein Terminal ein, um den Agenten zu installieren:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Um die Software zu installieren, <a href=[[[SERVERURL]]][[[LINKURL]]]>hier klicken</a> und folgen Sie den Anweisungen.</p></area-link><p>Wenn Sie diese Anfrage nicht initiiert haben, ignorieren Sie diese Mail bitte.</p>Freundliche Grüße,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_es.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Invitación</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Instalación de Agente</b></table><area-name><p>Hola [[[NAME]]],</p></area-name><p>Usuario [[[USERNAME]]] en servidor <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> le solicita que instale software para iniciar una sesión de control remoto.</p><area-msg><p>Mensaje: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga clic aquí para descargar el Agente Mesh para Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga clic aquí para descargar el Agente Mesh para Apple OSX.</a></p></area-osx><area-linux><p>Para Linux, copie y pegue lo siguiente en la terminal para instalar el agente:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Para instalar el software, <a href=[[[SERVERURL]]][[[LINKURL]]]>haga clic aquí</a> y siga las instrucciones.</p></area-link><p>Si Ud. no inicio este requerimiento, por favor ignore este correo.</p>Atentamente,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_fi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Kutsu</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Agentin asennus</b></table><area-name><p>Hei [[[NAME]]],</p></area-name><p>Käyttäjä [[[USERNAME]]] palvelimella <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> pyytää sinua asentamaan ohjelmiston etäohjausistunnon aloittamiseksi.</p><area-msg><p>Viesti: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Napsauta tätä ladataksesi MeshAgent Windows:lle.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Napsauta tätä ladataksesi MeshAgent Apple OSX:lle.</a></p></area-osx><area-linux><p>For Linux, cut & paste the following in a terminal to install the agent:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Asentaaksesi ohjelman, <a href=[[[SERVERURL]]][[[LINKURL]]]>klikkaa tästä</a> ja seuraa ohjeita.</p></area-link><p>Jos et suorittanut tätä pyyntöä, voit ohitaa tämän sähköpostin.</p>Ystävällisin terveisin,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_fr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Invitation</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Installation de l'agent</b></table><area-name><p>Bonjour [[[NAME]]],</p></area-name><p>Utilisateur [[[USERNAME]]] sur le serveur <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> vous demande d'installer un logiciel pour démarrer une session de contrôle à distance.</p><area-msg><p>Message: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Cliquez ici pour télécharger le MeshAgent pour Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Cliquez ici pour télécharger le MeshAgent pour Apple OSX.</a></p></area-osx><area-linux><p>Pour Linux, copiez et collez les éléments suivants dans un terminal pour installer l'agent:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Pour installer le logiciel, <a href=[[[SERVERURL]]][[[LINKURL]]]>cliquez ici</a> et suivez les instructions.</p></area-link><p>Si vous n'avez pas initié cette demande, veuillez ignorer ce courrier.</p>Meilleures salutations,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_hi.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - निमंत्रण</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - एजेंट स्थापना</b></table><area-name><p>नमस्कार [[[NAME]]],</p></area-name><p>उपयोगकर्ता [[[USERNAME]]] सर्वर पर <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> रिमोट कंट्रोल सेशन शुरू करने के लिए आपको सॉफ्टवेयर इंस्टॉल करने का अनुरोध कर रहा है।</p><area-msg><p>संदेश: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">विंडोज के लिए मेशजेंट को डाउनलोड करने के लिए यहां क्लिक करें।</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Apple OSX के लिए मेशजेंट को डाउनलोड करने के लिए यहां क्लिक करें।</a></p></area-osx><area-linux><p>लिनक्स में, एजेंट को स्थापित करने के लिए टर्मिनल में निम्नलिखित को काटें और चिपकाएँ:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>सॉफ़्टवेयर स्थापित करने के लिए, <a href=[[[SERVERURL]]][[[LINKURL]]]>यहाँ क्लिक करें</a> और निर्देशों का पालन करें।</p></area-link><p>यदि आपने यह अनुरोध आरंभ नहीं किया है, तो कृपया इस मेल को अनदेखा करें।</p>सादर,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_ja.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - 招待</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - エージェントのインストール</b></table><area-name><p>[[[NAME]]]様</p></area-name><p>サーバー上のユーザー[[[USERNAME]]] <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> リモートコントロールセッションを開始するソフトウェアをインストールするように要求しています。</p><area-msg><p>メッセージ: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Windows用のMeshAgentをダウンロードするには、ここをクリックしてください。</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">ここをクリックして、Apple OSX用のMeshAgentをダウンロードしてください。</a></p></area-osx><area-linux><p>Linuxの場合は、ターミナルで以下をカットアンドペーストしてエージェントをインストールします。<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>ソフトウェアをインストールするには、 <a href=[[[SERVERURL]]][[[LINKURL]]]>ここをクリック</a> 指示に従ってください。</p></area-link><p>このリクエストを開始していない場合は、このメールを無視してください。</p>宜しくお願いします、<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_ko.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - 초대</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - 에이전트 설치</b></table><area-name><p>안녕하세요, [[[NAME]]]님.</p></area-name><p>서버의 [[[USERNAME]]] 사용자 <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 원격 제어 세션을 시작하기 위해 소프트웨어 설치를 요청하고 있습니다.</p><area-msg><p>메시지: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Windows를 위한 MeshAgent를 다운로드 하려면 여기를 클릭하십시오.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Apple OSX를 위한 MeshAgent를 다운로드 하려면 여기를 클릭하십시오.</a></p></area-osx><area-linux><p>Linux의 경우, 다음을 잘라내어 터미널에 붙여 넣어 에이전트를 설치하십시오.<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>소프트웨어를 설치하려면, <a href=[[[SERVERURL]]][[[LINKURL]]]>여기를 클릭하십시오.</a> 그리고 다음 지시들을 따르십시오.</p></area-link><p>이 요청을 시작하지 않은 경우, 이 메일을 무시하십시오.</p>최고의 안부를 전합니다,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_nl.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Uitnodiging</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Agent installatie</b></table><area-name><p>Hallo [[[NAME]]],</p></area-name><p>Gebruiker [[[USERNAME]]] op server <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> vraagt u om de software te installeren om een ondersteunings sessie te starten.</p><area-msg><p>Bericht: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Klik hier om de MeshAgent te downloaden voor Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Klik hier om de MeshAgent te downloaden voor Apple OSX.</a></p></area-osx><area-linux><p>Voor Linux, knip het volgende en plak dit in een terminal om de agent te installeren:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Om de software te installeren, <a href=[[[SERVERURL]]][[[LINKURL]]]>Klik hier</a> en volg de instructies.</p></area-link><p>Als u dit verzoek niet heeft ingediend, dan kunt u deze e-mail negeren.</p>Vriendelijke groeten,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_pt.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Invitation</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Agent Installation</b></table><area-name><p>Hello [[[NAME]]],</p></area-name><p>User [[[USERNAME]]] on server <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> is requesting you to install software to start a remote control session.</p><area-msg><p>Message: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Click here to download the MeshAgent for Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Click here to download the MeshAgent for Apple OSX.</a></p></area-osx><area-linux><p>For Linux, cut & paste the following in a terminal to install the agent:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>To install the software, <a href=[[[SERVERURL]]][[[LINKURL]]]>click here</a> and follow the instructions.</p></area-link><p>If you did not initiate this request, please ignore this mail.</p>Best regards,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_ru.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Приглашение</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Установка агента</b></table><area-name><p>Здравствуйте, [[[NAME]]],</p></area-name><p>Пользователь [[[USERNAME]]] на сервере <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> просит вас установить программное обеспечение, чтобы начать сеанс удаленного управления.</p><area-msg><p>Сообщение: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Нажмите здесь, чтобы загрузить MeshAgent для Windows.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Нажмите здесь, чтобы загрузить MeshAgent для Apple OSX.</a></p></area-osx><area-linux><p>Для Linux вырезайте и вставляйте в терминал следующее, чтобы установить агент:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Чтобы установить программное обеспечение, <a href=[[[SERVERURL]]][[[LINKURL]]]>кликните сюда</a> и следуйте инструкциям.</p></area-link><p>Если вы не инициировали этот запрос, игнорируйте это письмо.</p>С уважением,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_tr.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]] - Davet</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]] - Aracı Kurulumu</b></table><area-name><p>Merhaba [[[NAME]]],</p></area-name><p>Sunucudaki kullanıcı [[[USERNAME]]] <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> bir uzaktan kontrol oturumu başlatmak için yazılım yüklemenizi istiyor.</p><area-msg><p>İleti: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Windows için MeshAgent'ı indirmek için buraya tıklayın.</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Apple OSX için MeshAgent'ı indirmek için burayı tıklayın.</a></p></area-osx><area-linux><p>Linux için, aracıyı yüklemek için aşağıdakileri kesip bir terminale yapıştırın:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>Yazılımı kurmak için, <a href=[[[SERVERURL]]][[[LINKURL]]]>buraya Tıkla</a> ve talimatları izleyin.</p></area-link><p>Bu isteği siz başlatmadıysanız, lütfen bu postayı dikkate almayın.</p>Saygılarımla,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_zh-chs.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-邀请</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-代理程序安装</b></table><area-name><p>您好[[[NAME]]],</p></area-name><p>服务器上的使用者[[[USERNAME]]] <a href=[[[SERVERURL]]]>[[[SERVERNAME]]]</a> 正在要求您安装软件以启动远程控制会话。</p><area-msg><p>消息: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">单击此处下载适用于Windows的MeshAgent。</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">单击此处下载适用于Apple OSX的MeshAgent。</a></p></area-osx><area-linux><p>对于Linux,将以下内容剪切并粘贴到终端中以安装代理软件:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>要安装软件, <a href=[[[SERVERURL]]][[[LINKURL]]]>点击这里</a> 并按照说明进行操作。</p></area-link><p>如果您没有发起此请求,请不理此邮件。</p>最好的祝福,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite-min_zh-cht.html
new
+1
@@ -0,0 +1 @@
1
+<div>[[[SERVERNAME]]]-邀請</div><div style=font-family:Arial,Helvetica,sans-serif><table style=background-color:#036;color:#d3d3d3;width:100% cellpadding=8><tr><td><b style=font-size:20px;font-family:Arial,Helvetica,sans-serif>[[[SERVERNAME]]]-代理程序安裝</b></table><area-name><p>你好[[[NAME]]],</p></area-name><p>伺服器上的使用者[[[USERNAME]]] <a href=[[[SERVERURL]]]>[[[SERVERNAME]]</a> 正在要求你安裝軟體以啟動遠程控制會話。</p><area-msg><p>訊息: <b notrans=1>[[[MSG]]]</b></p></area-msg><area-windows><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">單擊此處下載適用於Windows的MeshAgent。</a></p></area-windows><area-osx><p style=margin-left:30px><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">單擊此處下載適用於Apple OSX的MeshAgent。</a></p></area-osx><area-linux><p>對於Linux,將以下內容剪切並粘貼到終端中以安裝代理軟體:<br><pre style=margin-left:30px notrans=1>wget -q "[[[SERVERURL]]]/meshagents?script=1" --no-check-certificate -O ./meshinstall.sh && chmod 755 ./meshinstall.sh && sudo ./meshinstall.sh [[[SERVERURL]]] \'[[[MESHIDHEX]]]\'</pre><p></p></area-linux><area-link><p>要安裝軟體, <a href=[[[SERVERURL]]][[[LINKURL]]]>點擊這裡</a> 並按照說明進行操作。</p></area-link><p>如果你沒有發起此請求,請不理此電郵。</p>最好的祝福,<br>[[[USERNAME]]]<br></div>
\ No newline at end of file
emails/translations/mesh-invite_es.html
+4
-4
@@ -20,11 +20,11 @@
20
</area-msg>
21
<area-windows>
22
<p style="margin-left:30px">
23
- <a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga click aquí para descargar el agente de MeshCentral para Windows.</a>
23
+ <a href="[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga clic aquí para descargar el Agente Mesh para Windows.</a>
24
</p>
25
</area-windows>
26
<area-osx>
27
- <p style="margin-left:30px"><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga click aquí para descargar el Agente de MeshCentral para Apple OSX.</a></p>
27
+ <p style="margin-left:30px"><a href="[[[SERVERURL]]]/meshagents?id=16&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]">Haga clic aquí para descargar el Agente Mesh para Apple OSX.</a></p>
28
</area-osx>
29
<area-linux>
30
<p>
@@ -34,9 +34,9 @@
34
</area-linux>
35
<area-link>
36
<p>
37
- Para instalar este software, <a href="[[[SERVERURL]]][[[LINKURL]]]">haga click aquí</a> y siga las instrucciones
37
+ Para instalar el software, <a href="[[[SERVERURL]]][[[LINKURL]]]">haga clic aquí</a> y siga las instrucciones.
38
</p>
39
</area-link>
40
- <p>Si Ud. no inicio este proceso, por favor ignore este email</p>
40
+ <p>Si Ud. no inicio este requerimiento, por favor ignore este correo.</p>
41
Atentamente,<br>[[[USERNAME]]]<br>
42
</div></body></html>
\ No newline at end of file
emails/translations/mesh-invite_es.txt
+3
-3
@@ -2,14 +2,14 @@
2
~<area-name>
3
Hola [[[NAME]]],
4
~</area-name>
5
-Usuario [[[USERNAME]]] en servitor [[[SERVERNAME]]] ([[[SERVERURL]]]/) le solicita que instale software para iniciar la sesión de control remoto.
5
+Usuario [[[USERNAME]]] en servitor [[[SERVERNAME]]] ([[[SERVERURL]]]/) solicita que instale el software para iniciar la sesión de control remoto.
6
~<area-msg>
7
~
8
Mensaje: [[[MSG]]]
9
~
10
~</area-msg>
11
~<area-windows>
12
-Para windows, navegue al siguiente enlace para completar el proceso:
12
+Para Windows, navegue al siguiente enlace para completar el proceso:
13
~
14
~[[[SERVERURL]]]/meshagents?id=3&meshid=[[[MESHIDHEX]]]&tag=mailto:[[[EMAIL]]]&installflags=[[[INSTALLFLAGS]]]
15
~
@@ -29,7 +29,7 @@ Para Linux, copie y pegue lo siguiente en la terminal para instalar el agente:
29
~<area-link>
30
Para instalar el software, navega a [[[SERVERURL]]][[[LINKURL]]] y siga las instrucciones.
31
~</area-link>
32
-Si Ud. no inicio este proceso, por favor ignore este email
32
+Si Ud. no inicio este requerimiento, por favor ignore este correo.
33
~
34
Atentamente,
35
~[[[USERNAME]]]
\ No newline at end of file
emails/translations/sms-messages_es.txt
+2
-2
@@ -1,2 +1,2 @@
1
-El código de verificación [[0]] es: [[1]]
2
-[[0]] token de acceso es: [[1]]
1
+El código de verificación de [[0]] es: [[1]]
2
+El token de acceso de [[0]] es: [[1]]
package.json
+3
@@ -44,7 +44,10 @@
44
"express": "^4.17.0",
45
"express-handlebars": "^3.1.0",
46
"express-ws": "^4.0.0",
47
+ "html-minifier": "^4.0.0",
48
"ipcheck": "^0.1.0",
49
+ "jsdom": "^16.4.0",
50
+ "minify-js": "0.0.4",
51
"minimist": "^1.2.0",
52
"multiparty": "^4.2.1",
53
"nedb": "^1.8.0",
public/scripts/agent-desktop-0.0.2-min.js
+1
-1
@@ -1 +1 @@
1
-Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(e,t){return new Uint8Array(Array.prototype.slice.call(this,e,t))}});var CreateAgentRemoteDesktop=function(e,t){var h={};"string"==typeof(h.CanvasId=e)&&(h.CanvasId=Q(e)),h.Canvas=h.CanvasId.getContext("2d"),h.scrolldiv=t,h.State=0,h.PendingOperations=[],h.tilesReceived=0,h.TilesDrawn=0,h.KillDraw=0,h.ipad=!1,h.tabletKeyboardVisible=!1,h.LastX=0,h.LastY=0,h.touchenabled=0,h.submenuoffset=0,h.touchtimer=null,h.TouchArray={},h.connectmode=0,h.connectioncount=0,h.rotation=0,h.protocol=2,h.debugmode=0,h.firstUpKeys=[],h.stopInput=!1,h.localKeyMap=!0,h.pressedKeys=[],h.sessionid=0,h.username,h.oldie=!1,h.CompressionLevel=50,h.ScalingLevel=1024,h.FrameRateTimer=100,h.FirstDraw=!1,h.ScreenWidth=960,h.ScreenHeight=700,h.width=960,h.height=960,h.displays=null,h.selectedDisplay=null,h.onScreenSizeChange=null,h.onMessage=null,h.onConnectCountChanged=null,h.onDebugMessage=null,h.onTouchEnabledChanged=null,h.onDisplayinfo=null;var g=!(h.accumulator=null),p="default";h.mouseCursorActive=function(e){g!=e&&(g=e,h.CanvasId.style.cursor=1==e?p:"default")};var v=["default","progress","crosshair","pointer","help","text","no-drop","move","nesw-resize","ns-resize","nwse-resize","w-resize","alias","wait","none","not-allowed","col-resize","row-resize","copy","zoom-in","zoom-out"];h.Start=function(){h.State=0,h.accumulator=null},h.Stop=function(){h.setRotation(0),h.UnGrabKeyInput(),h.UnGrabMouseInput(),h.touchenabled=0,null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId),h.Canvas.clearRect(0,0,h.CanvasId.width,h.CanvasId.height)},h.xxStateChange=function(e){if(h.State!=e)switch(h.State=e,h.CanvasId.style.cursor="default",e){case 0:h.Stop()}},h.send=function(e){1<h.debugmode&&console.log("KSend("+e.length+"): "+rstr2hex(e)),null!=h.parent&&h.parent.send(e)},h.ProcessPictureMsg=function(e,t,n){var o=new Image;o.xcount=h.tilesReceived++;for(var a=h.tilesReceived,r=e.slice(4),s=0,i=[];5e4<r.byteLength-s;)i.push(String.fromCharCode.apply(null,r.slice(s,s+5e4))),s+=5e4;0<s?i.push(String.fromCharCode.apply(null,r.slice(s))):i.push(String.fromCharCode.apply(null,r)),o.src="data:image/jpeg;base64,"+btoa(i.join("")),o.onload=function(){if(null!=h.Canvas&&h.KillDraw<a&&0!=h.State)for(h.PendingOperations.push([a,2,o,t,n]);h.DoPendingOperations(););else h.PendingOperations.push([a,0])},o.error=function(){console.log("DecodeTileError")}},h.DoPendingOperations=function(){if(0==h.PendingOperations.length)return!1;for(var e=0;e<h.PendingOperations.length;e++){var t=h.PendingOperations[e];if(t[0]==h.TilesDrawn+1)return 1==t[1]?h.ProcessCopyRectMsg(t[2]):2==t[1]&&(h.Canvas.drawImage(t[2],h.rotX(t[3],t[4]),h.rotY(t[3],t[4])),delete t[2]),h.PendingOperations.splice(e,1),delete t,h.TilesDrawn++,h.TilesDrawn==h.tilesReceived&&h.KillDraw<h.TilesDrawn&&(h.KillDraw=h.TilesDrawn=h.tilesReceived=0),!0}return h.oldie&&0<h.PendingOperations.length&&h.TilesDrawn++,!1},h.ProcessCopyRectMsg=function(e){var t=((255&e.charCodeAt(0))<<8)+(255&e.charCodeAt(1)),n=((255&e.charCodeAt(2))<<8)+(255&e.charCodeAt(3)),o=((255&e.charCodeAt(4))<<8)+(255&e.charCodeAt(5)),a=((255&e.charCodeAt(6))<<8)+(255&e.charCodeAt(7)),r=((255&e.charCodeAt(8))<<8)+(255&e.charCodeAt(9)),s=((255&e.charCodeAt(10))<<8)+(255&e.charCodeAt(11));h.Canvas.drawImage(Canvas.canvas,t,n,r,s,o,a,r,s)},h.SendUnPause=function(){h.send(String.fromCharCode(0,8,0,5,0))},h.SendPause=function(){h.send(String.fromCharCode(0,8,0,5,1))},h.SendCompressionLevel=function(e,t,n,o){t&&(h.CompressionLevel=t),n&&(h.ScalingLevel=n),o&&(h.FrameRateTimer=o),h.send(String.fromCharCode(0,5,0,10,e,h.CompressionLevel)+h.shortToStr(h.ScalingLevel)+h.shortToStr(h.FrameRateTimer))},h.SendRefresh=function(){h.send(String.fromCharCode(0,6,0,4))},h.ProcessScreenMsg=function(e,t){for(0<h.debugmode&&console.log("ScreenSize: "+e+" x "+t),h.Canvas.setTransform(1,0,0,1,0,0),h.rotation=0,h.FirstDraw=!0,h.ScreenWidth=h.width=e,h.ScreenHeight=h.height=t,h.KillDraw=h.tilesReceived;0<h.PendingOperations.length;)h.PendingOperations.shift();h.SendCompressionLevel(1),h.SendUnPause(),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)},h.ProcessBinaryCommand=function(e,t,n){var o,a;switch(3!=e&&4!=e&&7!=e||(o=(n[4]<<8)+n[5],a=(n[6]<<8)+n[7]),null!=h.recordedData&&(65e3<t?h.recordedData.push(S(2,1,h.shortToStr(27)+h.shortToStr(8)+h.intToStr(t)+h.shortToStr(e)+h.shortToStr(0)+h.shortToStr(0)+h.shortToStr(0)+String.fromCharCode.apply(null,n))):h.recordedData.push(S(2,1,String.fromCharCode.apply(null,n)))),e){case 3:h.FirstDraw&&h.onResize(),h.ProcessPictureMsg(n.slice(4),o,a);break;case 7:h.ProcessScreenMsg(o,a),h.SendKeyMsgKC(h.KeyAction.UP,16),h.SendKeyMsgKC(h.KeyAction.UP,17),h.SendKeyMsgKC(h.KeyAction.UP,18),h.SendKeyMsgKC(h.KeyAction.UP,91),h.SendKeyMsgKC(h.KeyAction.UP,92),h.SendKeyMsgKC(h.KeyAction.UP,16),h.send(String.fromCharCode(0,14,0,4));break;case 11:var r=0,s={},i=(n[4]<<8)+n[5];if(0<i){r=(n[6+2*i]<<8)+n[7+2*i];for(var c=0;c<i;c++){var u=(n[6+2*c]<<8)+n[7+2*c];s[u]=65535==u?"All Displays":"Display "+u}}h.displays=s,h.selectedDisplay=r,null!=h.onDisplayinfo&&h.onDisplayinfo(h,s,r);break;case 12:break;case 14:h.touchenabled=1,h.TouchArray={},null!=h.onTouchEnabledChanged&&h.onTouchEnabledChanged(h.touchenabled);break;case 15:h.TouchArray={};break;case 17:var l=String.fromCharCode.apply(null,data.slice(4));h.Debug("Got KVM Message: "+l),null!=h.onMessage&&h.onMessage(l,h);break;case 65:"."!=(l=String.fromCharCode.apply(null,data.slice(4)))[0]?(console.log(l),h.parent&&h.parent.setConsoleMessage&&h.parent.setConsoleMessage(l)):console.log("KVM: "+l.substring(1));break;case 88:if(5!=t)break;var d=n[4];v.length<d&&(d=0),p=v[d],g&&(h.CanvasId.style.cursor=p);break;default:console.log("Unknown command",e,t)}},h.MouseButton={NONE:0,LEFT:2,RIGHT:8,MIDDLE:32},h.KeyAction={NONE:0,DOWN:1,UP:2,SCROLL:3,EXUP:4,EXDOWN:5,DBLCLICK:6},h.InputType={KEY:1,MOUSE:2,CTRLALTDEL:10,TOUCH:15},h.Alternate=0;var o={Pause:19,CapsLock:20,Space:32,Quote:222,Minus:189,NumpadMultiply:106,NumpadAdd:107,PrintScreen:44,Comma:188,NumpadSubtract:109,NumpadDecimal:110,Period:190,Slash:191,NumpadDivide:111,Semicolon:186,Equal:187,OSLeft:91,BracketLeft:219,OSRight:91,Backslash:220,BracketRight:221,ContextMenu:93,Backquote:192,NumLock:144,ScrollLock:145,Backspace:8,Tab:9,Enter:13,NumpadEnter:13,Escape:27,Delete:46,Home:36,PageUp:33,PageDown:34,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,End:35,Insert:45,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,ShiftLeft:16,ShiftRight:16,ControlLeft:17,ControlRight:17,AltLeft:18,AltRight:18,MetaLeft:91,MetaRight:92,VolumeMute:181};function S(e,t,n){var o=Date.now();return"number"==typeof n?(h.recordedSize+=n,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n)+h.intToStr(o>>32)+h.intToStr(32&o)):(h.recordedSize+=n.length,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n.length)+h.intToStr(o>>32)+h.intToStr(32&o)+n)}return h.SendKeyMsg=function(e,t){var n;null!=e&&((t=t||window.event).code&&0==h.localKeyMap?null!=(n=function(e){return e.code.startsWith("Key")&&4==e.code.length?e.code.charCodeAt(3):e.code.startsWith("Digit")&&6==e.code.length?e.code.charCodeAt(5):e.code.startsWith("Numpad")&&7==e.code.length?e.code.charCodeAt(6)+48:o[e.code]}(t))&&h.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),h.SendKeyMsgKC(e,n)))},h.SendMessage=function(e){3==h.State&&h.send(String.fromCharCode(0,17)+h.shortToStr(4+e.length)+e)},h.SendKeyMsgKC=function(e,t){if(3==h.State)if("object"==typeof e)for(var n in e)h.SendKeyMsgKC(e[n][0],e[n][1]);else{if(1==e)-1==h.pressedKeys.indexOf(t)&&h.pressedKeys.unshift(t);else if(2==e){-1!=(n=h.pressedKeys.indexOf(t))&&h.pressedKeys.splice(n,1)}h.send(String.fromCharCode(0,h.InputType.KEY,0,6,e-1,t))}},h.sendcad=function(){h.SendCtrlAltDelMsg()},h.SendCtrlAltDelMsg=function(){3==h.State&&h.send(String.fromCharCode(0,h.InputType.CTRLALTDEL,0,4))},h.SendEscKey=function(){3==h.State&&h.send(String.fromCharCode(0,h.InputType.KEY,0,6,0,27,0,h.InputType.KEY,0,6,1,27))},h.SendStartMsg=function(){h.SendKeyMsgKC(h.KeyAction.EXDOWN,91),h.SendKeyMsgKC(h.KeyAction.EXUP,91)},h.SendCharmsMsg=function(){h.SendKeyMsgKC(h.KeyAction.EXDOWN,91),h.SendKeyMsgKC(h.KeyAction.DOWN,67),h.SendKeyMsgKC(h.KeyAction.UP,67),h.SendKeyMsgKC(h.KeyAction.EXUP,91)},h.SendTouchMsg1=function(e,t,n,o){3==h.State&&h.send(String.fromCharCode(0,h.InputType.TOUCH)+h.shortToStr(14)+String.fromCharCode(1,e)+h.intToStr(t)+h.shortToStr(n)+h.shortToStr(o))},h.SendTouchMsg2=function(e,t){var n,o="";for(var a in h.TouchArray)a==e?n=t:1==h.TouchArray[a].f?(n=65542,h.TouchArray[a].f=3,"START"+a):2==h.TouchArray[a].f?(n=262144,"STOP"+a):n=131078,o+=String.fromCharCode(a)+h.intToStr(n)+h.shortToStr(h.TouchArray[a].x)+h.shortToStr(h.TouchArray[a].y),2==h.TouchArray[a].f&&delete h.TouchArray[a];3==h.State&&h.send(String.fromCharCode(0,h.InputType.TOUCH)+h.shortToStr(5+o.length)+String.fromCharCode(2)+o),0==Object.keys(h.TouchArray).length&&null!=h.touchtimer&&(clearInterval(h.touchtimer),h.touchtimer=null)},h.SendMouseMsg=function(e,t){if(3==h.State&&null!=e&&null!=h.Canvas){if(!t)t=window.event;var n=h.Canvas.canvas.height/h.CanvasId.clientHeight,o=h.Canvas.canvas.width/h.CanvasId.clientWidth,a=h.GetPositionOfControl(h.Canvas.canvas),r=(t.pageX-a[0])*o,s=(t.pageY-a[1])*n;if(t.addx&&(r+=t.addx),t.addy&&(s+=t.addy),0<=r&&r<=h.Canvas.canvas.width&&0<=s&&s<=h.Canvas.canvas.height){var i=0,c=0;e==h.KeyAction.UP||e==h.KeyAction.DOWN?t.which?i=1==t.which?h.MouseButton.LEFT:2==t.which?h.MouseButton.MIDDLE:h.MouseButton.RIGHT:t.button&&(i=0==t.button?h.MouseButton.LEFT:1==t.button?h.MouseButton.MIDDLE:h.MouseButton.RIGHT):e==h.KeyAction.SCROLL&&(t.detail?c=120*t.detail*-1:t.wheelDelta&&(c=3*t.wheelDelta));var u="";if(e==h.KeyAction.DBLCLICK)u=String.fromCharCode(0,h.InputType.MOUSE,0,10,0,136,r/256&255,255&r,s/256&255,255&s);else if(e==h.KeyAction.SCROLL){var l=0,d=0;d=c<0?(l=255-(Math.abs(c)>>8),255-(255&Math.abs(c))):(l=c>>8,255&c),u=String.fromCharCode(0,h.InputType.MOUSE,0,12,0,0,r/256&255,255&r,s/256&255,255&s,l,d)}else u=String.fromCharCode(0,h.InputType.MOUSE,0,10,0,e==h.KeyAction.DOWN?i:2*i&255,r/256&255,255&r,s/256&255,255&s);h.Action==h.KeyAction.NONE?0==h.Alternate||h.ipad?(h.send(u),h.Alternate=1):h.Alternate=0:h.send(u)}}},h.GetDisplayNumbers=function(){h.send(String.fromCharCode(0,11,0,4))},h.SetDisplay=function(e){h.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},h.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},h.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},h.onResize=function(){0!=h.ScreenWidth&&0!=h.ScreenHeight&&(h.Canvas.canvas.width==h.ScreenWidth&&h.Canvas.canvas.height==h.ScreenHeight||(h.FirstDraw&&(h.Canvas.canvas.width=h.ScreenWidth,h.Canvas.canvas.height=h.ScreenHeight,h.Canvas.fillRect(0,0,h.ScreenWidth,h.ScreenHeight),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)),h.FirstDraw=!1))},h.xxMouseInputGrab=!1,h.xxKeyInputGrab=!1,h.xxMouseMove=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.NONE,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseUp=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseDown=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseDblClick=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.DBLCLICK,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxDOMMouseScroll=function(e){return 3!=h.State||(h.SendMouseMsg(h.KeyAction.SCROLL,e),!1)},h.xxMouseWheel=function(e){return 3!=h.State||(h.SendMouseMsg(h.KeyAction.SCROLL,e),!1)},h.xxKeyUp=function(e){return 3==h.State&&h.SendKeyMsg(h.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxKeyDown=function(e){return 3==h.State&&h.SendKeyMsg(h.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxKeyPress=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.handleKeys=function(e){return 1!=h.stopInput&&3==desktop.State&&h.xxKeyPress(e)},h.handleKeyUp=function(e){if(1==h.stopInput||3!=desktop.State)return!1;if(h.firstUpKeys.length<5&&(h.firstUpKeys.push(e.keyCode),5==h.firstUpKeys.length)){var t=h.firstUpKeys.join(",");"16,17,91,91,16"!=t&&"16,17,18,91,92"!=t||(h.stopInput=!0)}return h.xxKeyUp(e)},h.handleKeyDown=function(e){return 1!=h.stopInput&&3==desktop.State&&h.xxKeyDown(e)},h.handleReleaseKeys=function(){var e=JSON.parse(JSON.stringify(h.pressedKeys));for(var t in e)h.SendKeyMsgKC(h.KeyAction.UP,e[t])},h.mousedblclick=function(e){return 1!=h.stopInput&&h.xxMouseDblClick(e)},h.mousedown=function(e){return 1!=h.stopInput&&h.xxMouseDown(e)},h.mouseup=function(e){return 1!=h.stopInput&&h.xxMouseUp(e)},h.mousemove=function(e){return 1!=h.stopInput&&h.xxMouseMove(e)},h.mousewheel=function(e){return 1!=h.stopInput&&h.xxMouseWheel(e)},h.xxMsTouchEvent=function(e){if(4!=e.originalEvent.pointerType){if(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),"MSPointerDown"==e.type||"MSPointerMove"==e.type||"MSPointerUp"==e.type){var t=0,n=e.originalEvent.pointerId%256,o=e.offsetX*(Canvas.canvas.width/h.CanvasId.clientWidth),a=e.offsetY*(Canvas.canvas.height/h.CanvasId.clientHeight);"MSPointerDown"==e.type?t=65542:"MSPointerMove"==e.type?t=131078:"MSPointerUp"==e.type&&(t=262144),h.TouchArray[n]||(h.TouchArray[n]={x:o,y:a}),h.SendTouchMsg2(n,t),"MSPointerUp"==e.type&&delete h.TouchArray[n]}else alert(e.type);return!0}},h.xxTouchStart=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;var t=e.originalEvent.touches[0];e.which=1,h.LastX=e.pageX=t.pageX,h.LastY=e.pageY=t.pageY,h.SendMouseMsg(KeyAction.DOWN,e)}else{var n=h.GetPositionOfControl(Canvas.canvas);for(var o in e.originalEvent.changedTouches)if(e.originalEvent.changedTouches[o].identifier){var a=e.originalEvent.changedTouches[o].identifier%256;h.TouchArray[a]||(h.TouchArray[a]={x:(e.originalEvent.touches[o].pageX-n[0])*(Canvas.canvas.width/h.CanvasId.clientWidth),y:(e.originalEvent.touches[o].pageY-n[1])*(Canvas.canvas.height/h.CanvasId.clientHeight),f:1})}0<Object.keys(h.TouchArray).length&&null==touchtimer&&(h.touchtimer=setInterval(function(){h.SendTouchMsg2(256,0)},50))}},h.xxTouchMove=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;var t=e.originalEvent.touches[0];e.which=1,h.LastX=e.pageX=t.pageX,h.LastY=e.pageY=t.pageY,h.SendMouseMsg(h.KeyAction.NONE,e)}else{var n=h.GetPositionOfControl(Canvas.canvas);for(var o in e.originalEvent.changedTouches)if(e.originalEvent.changedTouches[o].identifier){var a=e.originalEvent.changedTouches[o].identifier%256;h.TouchArray[a]&&(h.TouchArray[a].x=(e.originalEvent.touches[o].pageX-n[0])*(h.Canvas.canvas.width/h.CanvasId.clientWidth),h.TouchArray[a].y=(e.originalEvent.touches[o].pageY-n[1])*(h.Canvas.canvas.height/h.CanvasId.clientHeight))}}},h.xxTouchEnd=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;e.which=1,e.pageX=LastX,e.pageY=LastY,h.SendMouseMsg(KeyAction.UP,e)}else for(var t in e.originalEvent.changedTouches)if(e.originalEvent.changedTouches[t].identifier){var n=e.originalEvent.changedTouches[t].identifier%256;h.TouchArray[n]&&(h.TouchArray[n].f=2)}},h.GrabMouseInput=function(){if(1!=h.xxMouseInputGrab){var e=h.CanvasId;e.onmousemove=h.xxMouseMove,e.onmouseup=h.xxMouseUp,e.onmousedown=h.xxMouseDown,e.touchstart=h.xxTouchStart,e.touchmove=h.xxTouchMove,e.touchend=h.xxTouchEnd,e.MSPointerDown=h.xxMsTouchEvent,e.MSPointerMove=h.xxMsTouchEvent,e.MSPointerUp=h.xxMsTouchEvent,navigator.userAgent.match(/mozilla/i)?e.DOMMouseScroll=h.xxDOMMouseScroll:e.onmousewheel=h.xxMouseWheel,h.xxMouseInputGrab=!0}},h.UnGrabMouseInput=function(){if(0!=h.xxMouseInputGrab){var e=h.CanvasId;e.onmousemove=null,e.onmouseup=null,e.onmousedown=null,e.touchstart=null,e.touchmove=null,e.touchend=null,e.MSPointerDown=null,e.MSPointerMove=null,e.MSPointerUp=null,navigator.userAgent.match(/mozilla/i)?e.DOMMouseScroll=null:e.onmousewheel=null,h.xxMouseInputGrab=!1}},h.GrabKeyInput=function(){1!=h.xxKeyInputGrab&&(document.onkeyup=h.xxKeyUp,document.onkeydown=h.xxKeyDown,document.onkeypress=h.xxKeyPress,h.xxKeyInputGrab=!0)},h.UnGrabKeyInput=function(){0!=h.xxKeyInputGrab&&(document.onkeyup=null,document.onkeydown=null,document.onkeypress=null,h.xxKeyInputGrab=!1)},h.GetPositionOfControl=function(e){var t=Array(2);for(t[0]=t[1]=0;e;)t[0]+=e.offsetLeft,t[1]+=e.offsetTop,e=e.offsetParent;return t},h.crotX=function(e,t){return 0==h.rotation?e:1==h.rotation?t:2==h.rotation?h.Canvas.canvas.width-e:3==h.rotation?h.Canvas.canvas.height-t:void 0},h.crotY=function(e,t){return 0==h.rotation?t:1==h.rotation?h.Canvas.canvas.width-e:2==h.rotation?h.Canvas.canvas.height-t:3==h.rotation?e:void 0},h.rotX=function(e,t){return 0==h.rotation||1==h.rotation?e:2==h.rotation?e-h.Canvas.canvas.width:3==h.rotation?e-h.Canvas.canvas.height:void 0},h.rotY=function(e,t){return 0==h.rotation||3==h.rotation?t:1==h.rotation?t-h.Canvas.canvas.width:2==h.rotation?t-h.Canvas.canvas.height:void 0},h.tcanvas=null,h.setRotation=function(e){for(;e<0;)e+=4;var t=e%4;if(t==h.rotation)return!0;var n=h.Canvas.canvas.width,o=h.Canvas.canvas.height;1!=h.rotation&&3!=h.rotation||(n=h.Canvas.canvas.height,o=h.Canvas.canvas.width),null==h.tcanvas&&(h.tcanvas=document.createElement("canvas"));var a=h.tcanvas.getContext("2d");return a.setTransform(1,0,0,1,0,0),a.canvas.width=n,a.canvas.height=o,a.rotate(-90*h.rotation*Math.PI/180),0==h.rotation&&a.drawImage(h.Canvas.canvas,0,0),1==h.rotation&&a.drawImage(h.Canvas.canvas,-h.Canvas.canvas.width,0),2==h.rotation&&a.drawImage(h.Canvas.canvas,-h.Canvas.canvas.width,-h.Canvas.canvas.height),3==h.rotation&&a.drawImage(h.Canvas.canvas,0,-h.Canvas.canvas.height),0!=h.rotation&&2!=h.rotation||(h.Canvas.canvas.height=n,h.Canvas.canvas.width=o),1!=h.rotation&&3!=h.rotation||(h.Canvas.canvas.height=o,h.Canvas.canvas.width=n),h.Canvas.setTransform(1,0,0,1,0,0),h.Canvas.rotate(90*t*Math.PI/180),h.rotation=t,h.Canvas.drawImage(h.tcanvas,h.rotX(0,0),h.rotY(0,0)),h.ScreenWidth=h.Canvas.canvas.width,h.ScreenHeight=h.Canvas.canvas.height,null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId),!0},h.StartRecording=function(){null==h.recordedData&&h.CanvasId.toBlob(function(e){var s=new FileReader;s.readAsArrayBuffer(e),s.onload=function(e){for(var t="",n=new Uint8Array(s.result),o=n.byteLength,a=0;a<o;a++)t+=String.fromCharCode(n[a]);h.recordedData=[],h.recordedStart=Date.now(),h.recordedSize=0,h.recordedData.push(S(1,0,JSON.stringify({magic:"MeshCentralRelaySession",ver:1,time:(new Date).toLocaleString(),protocol:2}))),h.recordedData.push(S(2,1,h.shortToStr(7)+h.shortToStr(8)+h.shortToStr(h.ScreenWidth)+h.shortToStr(h.ScreenHeight)));var r=8+t.length;65e3<r?h.recordedData.push(S(2,1,h.shortToStr(27)+h.shortToStr(8)+h.intToStr(r)+h.shortToStr(3)+h.shortToStr(0)+h.shortToStr(0)+h.shortToStr(0)+t)):h.recordedData.push(S(2,1,h.shortToStr(3)+h.shortToStr(r)+h.shortToStr(0)+h.shortToStr(0)+t))}})},h.StopRecording=function(){if(null!=h.recordedData){var e=h.recordedData;return e.push(S(3,0,"MeshCentralMCREC")),delete h.recordedData,delete h.recordedStart,delete h.recordedSize,e}},h.MuchTheSame=function(e,t){return Math.abs(e-t)<4},h.Debug=function(e){console.log(e)},h.getIEVersion=function(){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent;null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1))}return e},h.haltEvent=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h}
\ No newline at end of file
1
+Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(e,t){return new Uint8Array(Array.prototype.slice.call(this,e,t))}});var CreateAgentRemoteDesktop=function(e,t){var h={};"string"==typeof(h.CanvasId=e)&&(h.CanvasId=Q(e)),h.Canvas=h.CanvasId.getContext("2d"),h.scrolldiv=t,h.State=0,h.PendingOperations=[],h.tilesReceived=0,h.TilesDrawn=0,h.KillDraw=0,h.ipad=!1,h.tabletKeyboardVisible=!1,h.LastX=0,h.LastY=0,h.touchenabled=0,h.submenuoffset=0,h.touchtimer=null,h.TouchArray={},h.connectmode=0,h.connectioncount=0,h.rotation=0,h.protocol=2,h.debugmode=0,h.firstUpKeys=[],h.stopInput=!1,h.localKeyMap=!0,h.pressedKeys=[],h.sessionid=0,h.username,h.oldie=!1,h.CompressionLevel=50,h.ScalingLevel=1024,h.FrameRateTimer=100,h.FirstDraw=!1,h.ScreenWidth=960,h.ScreenHeight=700,h.width=960,h.height=960,h.displays=null,h.selectedDisplay=null,h.onScreenSizeChange=null,h.onMessage=null,h.onConnectCountChanged=null,h.onDebugMessage=null,h.onTouchEnabledChanged=null,h.onDisplayinfo=null;var g=!(h.accumulator=null),p="default";h.mouseCursorActive=function(e){g!=e&&(g=e,h.CanvasId.style.cursor=1==e?p:"default")};var v=["default","progress","crosshair","pointer","help","text","no-drop","move","nesw-resize","ns-resize","nwse-resize","w-resize","alias","wait","none","not-allowed","col-resize","row-resize","copy","zoom-in","zoom-out"];h.Start=function(){h.State=0,h.accumulator=null},h.Stop=function(){h.setRotation(0),h.UnGrabKeyInput(),h.UnGrabMouseInput(),h.touchenabled=0,null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId),h.Canvas.clearRect(0,0,h.CanvasId.width,h.CanvasId.height)},h.xxStateChange=function(e){h.State!=e&&(h.State=e,h.CanvasId.style.cursor="default",0===e&&h.Stop())},h.send=function(e){1<h.debugmode&&console.log("KSend("+e.length+"): "+rstr2hex(e)),null!=h.parent&&h.parent.send(e)},h.ProcessPictureMsg=function(e,t,n){var o=new Image;o.xcount=h.tilesReceived++;for(var a=h.tilesReceived,r=e.slice(4),s=0,i=[];5e4<r.byteLength-s;)i.push(String.fromCharCode.apply(null,r.slice(s,s+5e4))),s+=5e4;0<s?i.push(String.fromCharCode.apply(null,r.slice(s))):i.push(String.fromCharCode.apply(null,r)),o.src="data:image/jpeg;base64,"+btoa(i.join("")),o.onload=function(){if(null!=h.Canvas&&h.KillDraw<a&&0!=h.State)for(h.PendingOperations.push([a,2,o,t,n]);h.DoPendingOperations(););else h.PendingOperations.push([a,0])},o.error=function(){console.log("DecodeTileError")}},h.DoPendingOperations=function(){if(0==h.PendingOperations.length)return!1;for(var e=0;e<h.PendingOperations.length;e++){var t=h.PendingOperations[e];if(t[0]==h.TilesDrawn+1)return 1==t[1]?h.ProcessCopyRectMsg(t[2]):2==t[1]&&(h.Canvas.drawImage(t[2],h.rotX(t[3],t[4]),h.rotY(t[3],t[4])),delete t[2]),h.PendingOperations.splice(e,1),delete t,h.TilesDrawn++,h.TilesDrawn==h.tilesReceived&&h.KillDraw<h.TilesDrawn&&(h.KillDraw=h.TilesDrawn=h.tilesReceived=0),!0}return h.oldie&&0<h.PendingOperations.length&&h.TilesDrawn++,!1},h.ProcessCopyRectMsg=function(e){var t=((255&e.charCodeAt(0))<<8)+(255&e.charCodeAt(1)),n=((255&e.charCodeAt(2))<<8)+(255&e.charCodeAt(3)),o=((255&e.charCodeAt(4))<<8)+(255&e.charCodeAt(5)),a=((255&e.charCodeAt(6))<<8)+(255&e.charCodeAt(7)),r=((255&e.charCodeAt(8))<<8)+(255&e.charCodeAt(9)),s=((255&e.charCodeAt(10))<<8)+(255&e.charCodeAt(11));h.Canvas.drawImage(Canvas.canvas,t,n,r,s,o,a,r,s)},h.SendUnPause=function(){h.send(String.fromCharCode(0,8,0,5,0))},h.SendPause=function(){h.send(String.fromCharCode(0,8,0,5,1))},h.SendCompressionLevel=function(e,t,n,o){t&&(h.CompressionLevel=t),n&&(h.ScalingLevel=n),o&&(h.FrameRateTimer=o),h.send(String.fromCharCode(0,5,0,10,e,h.CompressionLevel)+h.shortToStr(h.ScalingLevel)+h.shortToStr(h.FrameRateTimer))},h.SendRefresh=function(){h.send(String.fromCharCode(0,6,0,4))},h.ProcessScreenMsg=function(e,t){for(0<h.debugmode&&console.log("ScreenSize: "+e+" x "+t),h.Canvas.setTransform(1,0,0,1,0,0),h.rotation=0,h.FirstDraw=!0,h.ScreenWidth=h.width=e,h.ScreenHeight=h.height=t,h.KillDraw=h.tilesReceived;0<h.PendingOperations.length;)h.PendingOperations.shift();h.SendCompressionLevel(1),h.SendUnPause(),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)},h.ProcessBinaryCommand=function(e,t,n){var o,a;switch(3!=e&&4!=e&&7!=e||(o=(n[4]<<8)+n[5],a=(n[6]<<8)+n[7]),null!=h.recordedData&&(65e3<t?h.recordedData.push(S(2,1,h.shortToStr(27)+h.shortToStr(8)+h.intToStr(t)+h.shortToStr(e)+h.shortToStr(0)+h.shortToStr(0)+h.shortToStr(0)+String.fromCharCode.apply(null,n))):h.recordedData.push(S(2,1,String.fromCharCode.apply(null,n)))),e){case 3:h.FirstDraw&&h.onResize(),h.ProcessPictureMsg(n.slice(4),o,a);break;case 7:h.ProcessScreenMsg(o,a),h.SendKeyMsgKC(h.KeyAction.UP,16),h.SendKeyMsgKC(h.KeyAction.UP,17),h.SendKeyMsgKC(h.KeyAction.UP,18),h.SendKeyMsgKC(h.KeyAction.UP,91),h.SendKeyMsgKC(h.KeyAction.UP,92),h.SendKeyMsgKC(h.KeyAction.UP,16),h.send(String.fromCharCode(0,14,0,4));break;case 11:var r=0,s={},i=(n[4]<<8)+n[5];if(0<i){r=(n[6+2*i]<<8)+n[7+2*i];for(var c=0;c<i;c++){var u=(n[6+2*c]<<8)+n[7+2*c];s[u]=65535==u?"All Displays":"Display "+u}}h.displays=s,h.selectedDisplay=r,null!=h.onDisplayinfo&&h.onDisplayinfo(h,s,r);break;case 12:break;case 14:h.touchenabled=1,h.TouchArray={},null!=h.onTouchEnabledChanged&&h.onTouchEnabledChanged(h.touchenabled);break;case 15:h.TouchArray={};break;case 17:var l=String.fromCharCode.apply(null,data.slice(4));h.Debug("Got KVM Message: "+l),null!=h.onMessage&&h.onMessage(l,h);break;case 65:"."!=(l=String.fromCharCode.apply(null,data.slice(4)))[0]?(console.log(l),h.parent&&h.parent.setConsoleMessage&&h.parent.setConsoleMessage(l)):console.log("KVM: "+l.substring(1));break;case 88:if(5!=t)break;var d=n[4];v.length<d&&(d=0),p=v[d],g&&(h.CanvasId.style.cursor=p);break;default:console.log("Unknown command",e,t)}},h.MouseButton={NONE:0,LEFT:2,RIGHT:8,MIDDLE:32},h.KeyAction={NONE:0,DOWN:1,UP:2,SCROLL:3,EXUP:4,EXDOWN:5,DBLCLICK:6},h.InputType={KEY:1,MOUSE:2,CTRLALTDEL:10,TOUCH:15},h.Alternate=0;var a={Pause:19,CapsLock:20,Space:32,Quote:222,Minus:189,NumpadMultiply:106,NumpadAdd:107,PrintScreen:44,Comma:188,NumpadSubtract:109,NumpadDecimal:110,Period:190,Slash:191,NumpadDivide:111,Semicolon:186,Equal:187,OSLeft:91,BracketLeft:219,OSRight:91,Backslash:220,BracketRight:221,ContextMenu:93,Backquote:192,NumLock:144,ScrollLock:145,Backspace:8,Tab:9,Enter:13,NumpadEnter:13,Escape:27,Delete:46,Home:36,PageUp:33,PageDown:34,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,End:35,Insert:45,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,ShiftLeft:16,ShiftRight:16,ControlLeft:17,ControlRight:17,AltLeft:18,AltRight:18,MetaLeft:91,MetaRight:92,VolumeMute:181};function S(e,t,n){var o=Date.now();return"number"==typeof n?(h.recordedSize+=n,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n)+h.intToStr(o>>32)+h.intToStr(32&o)):(h.recordedSize+=n.length,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n.length)+h.intToStr(o>>32)+h.intToStr(32&o)+n)}return h.SendKeyMsg=function(e,t){var n,o;null!=e&&((t=t||window.event).code&&0==h.localKeyMap?null!=(n=(o=t).code.startsWith("Key")&&4==o.code.length?o.code.charCodeAt(3):o.code.startsWith("Digit")&&6==o.code.length?o.code.charCodeAt(5):o.code.startsWith("Numpad")&&7==o.code.length?o.code.charCodeAt(6)+48:a[o.code])&&h.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),h.SendKeyMsgKC(e,n)))},h.SendMessage=function(e){3==h.State&&h.send(String.fromCharCode(0,17)+h.shortToStr(4+e.length)+e)},h.SendKeyMsgKC=function(e,t){if(3==h.State)if("object"==typeof e)for(var n in e)h.SendKeyMsgKC(e[n][0],e[n][1]);else 1==e?-1==h.pressedKeys.indexOf(t)&&h.pressedKeys.unshift(t):2==e&&-1!=(n=h.pressedKeys.indexOf(t))&&h.pressedKeys.splice(n,1),h.send(String.fromCharCode(0,h.InputType.KEY,0,6,e-1,t))},h.sendcad=function(){h.SendCtrlAltDelMsg()},h.SendCtrlAltDelMsg=function(){3==h.State&&h.send(String.fromCharCode(0,h.InputType.CTRLALTDEL,0,4))},h.SendEscKey=function(){3==h.State&&h.send(String.fromCharCode(0,h.InputType.KEY,0,6,0,27,0,h.InputType.KEY,0,6,1,27))},h.SendStartMsg=function(){h.SendKeyMsgKC(h.KeyAction.EXDOWN,91),h.SendKeyMsgKC(h.KeyAction.EXUP,91)},h.SendCharmsMsg=function(){h.SendKeyMsgKC(h.KeyAction.EXDOWN,91),h.SendKeyMsgKC(h.KeyAction.DOWN,67),h.SendKeyMsgKC(h.KeyAction.UP,67),h.SendKeyMsgKC(h.KeyAction.EXUP,91)},h.SendTouchMsg1=function(e,t,n,o){3==h.State&&h.send(String.fromCharCode(0,h.InputType.TOUCH)+h.shortToStr(14)+String.fromCharCode(1,e)+h.intToStr(t)+h.shortToStr(n)+h.shortToStr(o))},h.SendTouchMsg2=function(e,t){var n,o,a="";for(o in h.TouchArray)o==e?n=t:1==h.TouchArray[o].f?(n=65542,h.TouchArray[o].f=3,0):2==h.TouchArray[o].f?(n=262144,0):n=131078,a+=String.fromCharCode(o)+h.intToStr(n)+h.shortToStr(h.TouchArray[o].x)+h.shortToStr(h.TouchArray[o].y),2==h.TouchArray[o].f&&delete h.TouchArray[o];3==h.State&&h.send(String.fromCharCode(0,h.InputType.TOUCH)+h.shortToStr(5+a.length)+String.fromCharCode(2)+a),0==Object.keys(h.TouchArray).length&&null!=h.touchtimer&&(clearInterval(h.touchtimer),h.touchtimer=null)},h.SendMouseMsg=function(e,t){var n,o,a,r,s,i,c,u,l,d;3==h.State&&null!=e&&null!=h.Canvas&&(t=t||window.event,n=h.Canvas.canvas.height/h.CanvasId.clientHeight,o=h.Canvas.canvas.width/h.CanvasId.clientWidth,a=h.GetPositionOfControl(h.Canvas.canvas),r=(t.pageX-a[0])*o,s=(t.pageY-a[1])*n,t.addx&&(r+=t.addx),t.addy&&(s+=t.addy),0<=r&&r<=h.Canvas.canvas.width&&0<=s&&s<=h.Canvas.canvas.height&&(c=i=0,e==h.KeyAction.UP||e==h.KeyAction.DOWN?t.which?i=1==t.which?h.MouseButton.LEFT:2==t.which?h.MouseButton.MIDDLE:h.MouseButton.RIGHT:t.button&&(i=0==t.button?h.MouseButton.LEFT:1==t.button?h.MouseButton.MIDDLE:h.MouseButton.RIGHT):e==h.KeyAction.SCROLL&&(t.detail?c=120*t.detail*-1:t.wheelDelta&&(c=3*t.wheelDelta)),d="",d=e==h.KeyAction.DBLCLICK?String.fromCharCode(0,h.InputType.MOUSE,0,10,0,136,r/256&255,255&r,s/256&255,255&s):e==h.KeyAction.SCROLL?(l=c<(l=u=0)?(u=255-(Math.abs(c)>>8),255-(255&Math.abs(c))):(u=c>>8,255&c),String.fromCharCode(0,h.InputType.MOUSE,0,12,0,0,r/256&255,255&r,s/256&255,255&s,u,l)):String.fromCharCode(0,h.InputType.MOUSE,0,10,0,e==h.KeyAction.DOWN?i:2*i&255,r/256&255,255&r,s/256&255,255&s),h.Action==h.KeyAction.NONE?0==h.Alternate||h.ipad?(h.send(d),h.Alternate=1):h.Alternate=0:h.send(d)))},h.GetDisplayNumbers=function(){h.send(String.fromCharCode(0,11,0,4))},h.SetDisplay=function(e){h.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},h.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},h.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},h.onResize=function(){0!=h.ScreenWidth&&0!=h.ScreenHeight&&(h.Canvas.canvas.width==h.ScreenWidth&&h.Canvas.canvas.height==h.ScreenHeight||(h.FirstDraw&&(h.Canvas.canvas.width=h.ScreenWidth,h.Canvas.canvas.height=h.ScreenHeight,h.Canvas.fillRect(0,0,h.ScreenWidth,h.ScreenHeight),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)),h.FirstDraw=!1))},h.xxMouseInputGrab=!1,h.xxKeyInputGrab=!1,h.xxMouseMove=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.NONE,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseUp=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseDown=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxMouseDblClick=function(e){return 3==h.State&&h.SendMouseMsg(h.KeyAction.DBLCLICK,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxDOMMouseScroll=function(e){return 3!=h.State||(h.SendMouseMsg(h.KeyAction.SCROLL,e),!1)},h.xxMouseWheel=function(e){return 3!=h.State||(h.SendMouseMsg(h.KeyAction.SCROLL,e),!1)},h.xxKeyUp=function(e){return 3==h.State&&h.SendKeyMsg(h.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxKeyDown=function(e){return 3==h.State&&h.SendKeyMsg(h.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.xxKeyPress=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h.handleKeys=function(e){return 1!=h.stopInput&&3==desktop.State&&h.xxKeyPress(e)},h.handleKeyUp=function(e){return 1!=h.stopInput&&3==desktop.State&&(h.firstUpKeys.length<5&&(h.firstUpKeys.push(e.keyCode),5==h.firstUpKeys.length&&("16,17,91,91,16"!=(t=h.firstUpKeys.join(","))&&"16,17,18,91,92"!=t||(h.stopInput=!0))),h.xxKeyUp(e));var t},h.handleKeyDown=function(e){return 1!=h.stopInput&&3==desktop.State&&h.xxKeyDown(e)},h.handleReleaseKeys=function(){var e,t=JSON.parse(JSON.stringify(h.pressedKeys));for(e in t)h.SendKeyMsgKC(h.KeyAction.UP,t[e])},h.mousedblclick=function(e){return 1!=h.stopInput&&h.xxMouseDblClick(e)},h.mousedown=function(e){return 1!=h.stopInput&&h.xxMouseDown(e)},h.mouseup=function(e){return 1!=h.stopInput&&h.xxMouseUp(e)},h.mousemove=function(e){return 1!=h.stopInput&&h.xxMouseMove(e)},h.mousewheel=function(e){return 1!=h.stopInput&&h.xxMouseWheel(e)},h.xxMsTouchEvent=function(e){var t,n,o,a;if(4!=e.originalEvent.pointerType)return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),"MSPointerDown"==e.type||"MSPointerMove"==e.type||"MSPointerUp"==e.type?(t=0,n=e.originalEvent.pointerId%256,o=e.offsetX*(Canvas.canvas.width/h.CanvasId.clientWidth),a=e.offsetY*(Canvas.canvas.height/h.CanvasId.clientHeight),"MSPointerDown"==e.type?t=65542:"MSPointerMove"==e.type?t=131078:"MSPointerUp"==e.type&&(t=262144),h.TouchArray[n]||(h.TouchArray[n]={x:o,y:a}),h.SendTouchMsg2(n,t),"MSPointerUp"==e.type&&delete h.TouchArray[n]):alert(e.type),!0},h.xxTouchStart=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;var t=e.originalEvent.touches[0];e.which=1,h.LastX=e.pageX=t.pageX,h.LastY=e.pageY=t.pageY,h.SendMouseMsg(KeyAction.DOWN,e)}else{var n,o,a=h.GetPositionOfControl(Canvas.canvas);for(n in e.originalEvent.changedTouches){e.originalEvent.changedTouches[n].identifier&&(o=e.originalEvent.changedTouches[n].identifier%256,h.TouchArray[o]||(h.TouchArray[o]={x:(e.originalEvent.touches[n].pageX-a[0])*(Canvas.canvas.width/h.CanvasId.clientWidth),y:(e.originalEvent.touches[n].pageY-a[1])*(Canvas.canvas.height/h.CanvasId.clientHeight),f:1}))}0<Object.keys(h.TouchArray).length&&null==touchtimer&&(h.touchtimer=setInterval(function(){h.SendTouchMsg2(256,0)},50))}},h.xxTouchMove=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;var t=e.originalEvent.touches[0];e.which=1,h.LastX=e.pageX=t.pageX,h.LastY=e.pageY=t.pageY,h.SendMouseMsg(h.KeyAction.NONE,e)}else{var n,o,a=h.GetPositionOfControl(Canvas.canvas);for(n in e.originalEvent.changedTouches){e.originalEvent.changedTouches[n].identifier&&(o=e.originalEvent.changedTouches[n].identifier%256,h.TouchArray[o]&&(h.TouchArray[o].x=(e.originalEvent.touches[n].pageX-a[0])*(h.Canvas.canvas.width/h.CanvasId.clientWidth),h.TouchArray[o].y=(e.originalEvent.touches[n].pageY-a[1])*(h.Canvas.canvas.height/h.CanvasId.clientHeight)))}}},h.xxTouchEnd=function(e){if(3==h.State)if(e.preventDefault&&e.preventDefault(),0==h.touchenabled||1==h.touchenabled){if(1<e.originalEvent.touches.length)return;e.which=1,e.pageX=LastX,e.pageY=LastY,h.SendMouseMsg(KeyAction.UP,e)}else for(var t in e.originalEvent.changedTouches){var n;e.originalEvent.changedTouches[t].identifier&&(n=e.originalEvent.changedTouches[t].identifier%256,h.TouchArray[n]&&(h.TouchArray[n].f=2))}},h.GrabMouseInput=function(){var e;1!=h.xxMouseInputGrab&&((e=h.CanvasId).onmousemove=h.xxMouseMove,e.onmouseup=h.xxMouseUp,e.onmousedown=h.xxMouseDown,e.touchstart=h.xxTouchStart,e.touchmove=h.xxTouchMove,e.touchend=h.xxTouchEnd,e.MSPointerDown=h.xxMsTouchEvent,e.MSPointerMove=h.xxMsTouchEvent,e.MSPointerUp=h.xxMsTouchEvent,navigator.userAgent.match(/mozilla/i)?e.DOMMouseScroll=h.xxDOMMouseScroll:e.onmousewheel=h.xxMouseWheel,h.xxMouseInputGrab=!0)},h.UnGrabMouseInput=function(){var e;0!=h.xxMouseInputGrab&&((e=h.CanvasId).onmousemove=null,e.onmouseup=null,e.onmousedown=null,e.touchstart=null,e.touchmove=null,e.touchend=null,e.MSPointerDown=null,e.MSPointerMove=null,e.MSPointerUp=null,navigator.userAgent.match(/mozilla/i)?e.DOMMouseScroll=null:e.onmousewheel=null,h.xxMouseInputGrab=!1)},h.GrabKeyInput=function(){1!=h.xxKeyInputGrab&&(document.onkeyup=h.xxKeyUp,document.onkeydown=h.xxKeyDown,document.onkeypress=h.xxKeyPress,h.xxKeyInputGrab=!0)},h.UnGrabKeyInput=function(){0!=h.xxKeyInputGrab&&(document.onkeyup=null,document.onkeydown=null,document.onkeypress=null,h.xxKeyInputGrab=!1)},h.GetPositionOfControl=function(e){var t=Array(2);for(t[0]=t[1]=0;e;)t[0]+=e.offsetLeft,t[1]+=e.offsetTop,e=e.offsetParent;return t},h.crotX=function(e,t){return 0==h.rotation?e:1==h.rotation?t:2==h.rotation?h.Canvas.canvas.width-e:3==h.rotation?h.Canvas.canvas.height-t:void 0},h.crotY=function(e,t){return 0==h.rotation?t:1==h.rotation?h.Canvas.canvas.width-e:2==h.rotation?h.Canvas.canvas.height-t:3==h.rotation?e:void 0},h.rotX=function(e,t){return 0==h.rotation||1==h.rotation?e:2==h.rotation?e-h.Canvas.canvas.width:3==h.rotation?e-h.Canvas.canvas.height:void 0},h.rotY=function(e,t){return 0==h.rotation||3==h.rotation?t:1==h.rotation?t-h.Canvas.canvas.width:2==h.rotation?t-h.Canvas.canvas.height:void 0},h.tcanvas=null,h.setRotation=function(e){for(;e<0;)e+=4;var t=e%4;if(t==h.rotation)return!0;var n=h.Canvas.canvas.width,o=h.Canvas.canvas.height;1!=h.rotation&&3!=h.rotation||(n=h.Canvas.canvas.height,o=h.Canvas.canvas.width),null==h.tcanvas&&(h.tcanvas=document.createElement("canvas"));var a=h.tcanvas.getContext("2d");return a.setTransform(1,0,0,1,0,0),a.canvas.width=n,a.canvas.height=o,a.rotate(-90*h.rotation*Math.PI/180),0==h.rotation&&a.drawImage(h.Canvas.canvas,0,0),1==h.rotation&&a.drawImage(h.Canvas.canvas,-h.Canvas.canvas.width,0),2==h.rotation&&a.drawImage(h.Canvas.canvas,-h.Canvas.canvas.width,-h.Canvas.canvas.height),3==h.rotation&&a.drawImage(h.Canvas.canvas,0,-h.Canvas.canvas.height),0!=h.rotation&&2!=h.rotation||(h.Canvas.canvas.height=n,h.Canvas.canvas.width=o),1!=h.rotation&&3!=h.rotation||(h.Canvas.canvas.height=o,h.Canvas.canvas.width=n),h.Canvas.setTransform(1,0,0,1,0,0),h.Canvas.rotate(90*t*Math.PI/180),h.rotation=t,h.Canvas.drawImage(h.tcanvas,h.rotX(0,0),h.rotY(0,0)),h.ScreenWidth=h.Canvas.canvas.width,h.ScreenHeight=h.Canvas.canvas.height,null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId),!0},h.StartRecording=function(){null==h.recordedData&&h.CanvasId.toBlob(function(e){var s=new FileReader;s.readAsArrayBuffer(e),s.onload=function(e){for(var t="",n=new Uint8Array(s.result),o=n.byteLength,a=0;a<o;a++)t+=String.fromCharCode(n[a]);h.recordedData=[],h.recordedStart=Date.now(),h.recordedSize=0,h.recordedData.push(S(1,0,JSON.stringify({magic:"MeshCentralRelaySession",ver:1,time:(new Date).toLocaleString(),protocol:2}))),h.recordedData.push(S(2,1,h.shortToStr(7)+h.shortToStr(8)+h.shortToStr(h.ScreenWidth)+h.shortToStr(h.ScreenHeight)));var r=8+t.length;65e3<r?h.recordedData.push(S(2,1,h.shortToStr(27)+h.shortToStr(8)+h.intToStr(r)+h.shortToStr(3)+h.shortToStr(0)+h.shortToStr(0)+h.shortToStr(0)+t)):h.recordedData.push(S(2,1,h.shortToStr(3)+h.shortToStr(r)+h.shortToStr(0)+h.shortToStr(0)+t))}})},h.StopRecording=function(){if(null!=h.recordedData){var e=h.recordedData;return e.push(S(3,0,"MeshCentralMCREC")),delete h.recordedData,delete h.recordedStart,delete h.recordedSize,e}},h.MuchTheSame=function(e,t){return Math.abs(e-t)<4},h.Debug=function(e){console.log(e)},h.getIEVersion=function(){var e,t=-1;return"Microsoft Internet Explorer"==navigator.appName&&(e=navigator.userAgent,null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))),t},h.haltEvent=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},h}
\ No newline at end of file
public/scripts/agent-redir-ws-0.1.1-min.js
+1
-1
@@ -1 +1 @@
1
-var CreateAgentRedirect=function(e,t,n,o,a,c){var i={};function d(){1==i.webSwitchOk&&1==i.webRtcActive&&(i.latency.current=-1,i.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc0"}'),i.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc1"}'),null!=i.onStateChanged&&i.onStateChanged(i,i.State))}((i.m=t).parent=i).meshserver=e,i.authCookie=o,i.rauthCookie=a,i.State=0,i.nodeid=null,i.options=null,i.socket=null,i.connectstate=-1,i.tunnelid=Math.random().toString(36).substring(2),i.protocol=t.protocol,i.onStateChanged=null,i.ctrlMsgAllowed=!0,i.attemptWebRTC=!1,i.webRtcActive=!1,i.webSwitchOk=!1,i.webchannel=null,i.webrtc=null,i.debugmode=0,i.serverIsRecording=!1,i.latency={lastSend:null,current:-1,callback:null},null==c&&(c="/"),i.consoleMessage=null,i.onConsoleMessageChange=null,i.metadata=null,i.onMetadataChange=null,i.Start=function(e){var t=window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/meshrelay.ashx?browser=1&p="+i.protocol+(e?"&nodeid="+e:"")+"&id="+i.tunnelid;if(null!=o&&""!=o&&(t+="&auth="+o),null!=urlargs&&null!=urlargs.slowrelay&&(t+="&slowrelay="+urlargs.slowrelay),i.nodeid=e,i.connectstate=0,i.socket=new WebSocket(t),i.socket.binaryType="arraybuffer",i.socket.onopen=i.xxOnSocketConnected,i.socket.onmessage=i.xxOnMessage,i.socket.onerror=function(e){},i.socket.onclose=i.xxOnSocketClosed,i.xxStateChange(1),null!=i.meshserver){var n="*"+c+"meshrelay.ashx?p="+i.protocol+"&nodeid="+e+"&id="+i.tunnelid;null!=a&&""!=a&&(n+="&rauth="+a),i.meshserver.send({action:"msg",type:"tunnel",nodeid:i.nodeid,value:n,usage:i.protocol})}},i.xxOnSocketConnected=function(){1==i.debugmode&&console.log("onSocketConnected"),i.xxStateChange(2)},i.xxOnControlCommand=function(e){var t;try{t=JSON.parse(e)}catch(e){return}"102938"==t.ctrlChannel?("undefined"!=typeof args&&args.redirtrace&&console.log("RedirRecv",t),"console"==t.type?i.setConsoleMessage(t.msg,t.msgid,t.msgargs,t.timeout):"metadata"==t.type?(i.metadata=t,i.onMetadataChange&&i.onMetadataChange(i.metadata)):"rtt"==t.type&&"number"==typeof t.time?(i.latency.current=(new Date).getTime()-t.time,null!=i.latency.callbacks&&i.latency.callback(i.latency.current)):null!=i.webrtc&&("answer"==t.type?i.webrtc.setRemoteDescription(new RTCSessionDescription(t),function(){},i.xxCloseWebRTC):"webrtc0"==t.type?(i.webSwitchOk=!0,d()):"webrtc1"==t.type?i.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc2"}'):t.type)):i.m.ProcessData(e)},i.setConsoleMessage=function(e,t,n,o){i.consoleMessage!=e&&(i.consoleMessage=e,i.consoleMessageId=t,i.consoleMessageArgs=n,i.consoleMessageTimeout=o,i.onConsoleMessageChange&&i.onConsoleMessageChange(i,i.consoleMessage,i.consoleMessageId))},i.sendCtrlMsg=function(e){if(1==i.ctrlMsgAllowed){"undefined"!=typeof args&&args.redirtrace&&console.log("RedirSend",typeof e,e);try{i.socket.send(e)}catch(e){}}},i.xxOnMessage=function(e){if(i.State<3&&("c"==e.data||"cr"==e.data)){if("cr"==e.data&&(i.serverIsRecording=!0),null!=i.options){delete i.options.action,i.options.type="options";try{i.sendCtrlMsg(JSON.stringify(i.options))}catch(e){}}try{i.socket.send(i.protocol)}catch(e){}if(i.xxStateChange(3),1==i.attemptWebRTC){"undefined"!=typeof RTCPeerConnection?i.webrtc=new RTCPeerConnection(null):"undefined"!=typeof webkitRTCPeerConnection&&(i.webrtc=new webkitRTCPeerConnection(null)),null!=i.webrtc&&i.webrtc.createDataChannel&&(i.webchannel=i.webrtc.createDataChannel("DataChannel",{}),i.webchannel.binaryType="arraybuffer",i.webchannel.onmessage=i.xxOnMessage,i.webchannel.onopen=function(){i.webRtcActive=!0,d()},i.webchannel.onclose=function(e){i.webRtcActive&&i.Stop()},i.webrtc.onicecandidate=function(e){if(null==e.candidate)try{i.sendCtrlMsg(JSON.stringify(i.webrtcoffer))}catch(e){}else i.webrtcoffer.sdp+="a="+e.candidate.candidate+"\r\n"},i.webrtc.oniceconnectionstatechange=function(){null!=i.webrtc&&("disconnected"==i.webrtc.iceConnectionState?1==i.webRtcActive?i.Stop():i.xxCloseWebRTC():"failed"==i.webrtc.iceConnectionState&&i.xxCloseWebRTC())},i.webrtc.createOffer(function(e){i.webrtcoffer=e,i.webrtc.setLocalDescription(e,function(){},i.xxCloseWebRTC)},i.xxCloseWebRTC,{mandatory:{OfferToReceiveAudio:!1,OfferToReceiveVideo:!1}}))}}else if("string"==typeof e.data)i.xxOnControlCommand(e.data);else if(i.m.ProcessBinaryCommand)if(0!=f){var t=new Uint8Array(e.data);if(b.push(t),f+=t.byteLength,g<=f){var n=new Uint8Array(f),o=0;for(var a in b)n.set(b[a],o),o+=b[a].byteLength;i.m.ProcessBinaryCommand(u,g,n),f=g=u=0,b=[]}}else{var c=((t=new Uint8Array(e.data))[0]<<8)+t[1],r=(t[2]<<8)+t[3];27==c&&8==r&&(c=(t[8]<<8)+t[9],r=(t[5]<<16)+(t[6]<<8)+t[7],t=t.slice(8)),r!=t.byteLength?(u=c,g=r,f=t.byteLength,b=[t]):i.m.ProcessBinaryCommand(c,r,t)}else if(i.m.ProcessBinaryData)i.m.ProcessBinaryData(new Uint8Array(e.data));else if(e.data.byteLength<16e3)i.m.ProcessData(String.fromCharCode.apply(null,new Uint8Array(e.data)));else{var s=new Blob([new Uint8Array(e.data)]),l=new FileReader;l.onload=function(e){i.m.ProcessData(e.target.result)},l.readAsText(s)}};var u=0,g=0,f=0,b=[];return i.sendText=function(e){"string"!=typeof e&&(e=JSON.stringify(e)),i.send(encode_utf8(e))},i.send=function(e){"undefined"!=typeof args&&args.redirtrace&&console.log("RedirSend",typeof e,e.length,"{"==e[0]?e:rstr2hex(e).substring(0,64));try{if(null!=i.socket&&i.socket.readyState==WebSocket.OPEN)if("string"==typeof e)if(1==i.debugmode){for(var t=new Uint8Array(e.length),n=[],o=0;o<e.length;++o)t[o]=e.charCodeAt(o),n.push(e.charCodeAt(o));1==i.webRtcActive?i.webchannel.send(t.buffer):i.socket.send(t.buffer)}else{for(t=new Uint8Array(e.length),o=0;o<e.length;++o)t[o]=e.charCodeAt(o);1==i.webRtcActive?i.webchannel.send(t.buffer):i.socket.send(t.buffer)}else 1==i.webRtcActive?i.webchannel.send(e):i.socket.send(e)}catch(e){}},i.xxOnSocketClosed=function(){i.Stop(1)},i.xxStateChange=function(e){i.State!=e&&(i.State=e,i.m.xxStateChange(i.State),null!=i.onStateChanged&&i.onStateChanged(i,i.State))},i.xxCloseWebRTC=function(){if(null!=i.webchannel){try{i.webchannel.close()}catch(e){}i.webchannel=null}if(null!=i.webrtc){try{i.webrtc.close()}catch(e){}i.webrtc=null}i.webRtcActive=!1},i.Stop=function(e){if(1==i.debugmode&&console.log("stop",e),i.xxCloseWebRTC(),i.connectstate=-1,null!=i.socket){try{1==i.socket.readyState&&(i.sendCtrlMsg('{"ctrlChannel":"102938","type":"close"}'),i.socket.close())}catch(e){}i.socket=null}i.xxStateChange(0)},i}
\ No newline at end of file
1
+var CreateAgentRedirect=function(e,t,n,o,a,c){var d={};function u(){1==d.webSwitchOk&&1==d.webRtcActive&&(d.latency.current=-1,d.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc0"}'),d.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc1"}'),null!=d.onStateChanged&&d.onStateChanged(d,d.State))}((d.m=t).parent=d).meshserver=e,d.authCookie=o,d.rauthCookie=a,d.State=0,d.nodeid=null,d.options=null,d.socket=null,d.connectstate=-1,d.tunnelid=Math.random().toString(36).substring(2),d.protocol=t.protocol,d.onStateChanged=null,d.ctrlMsgAllowed=!0,d.attemptWebRTC=!1,d.webRtcActive=!1,d.webSwitchOk=!1,d.webchannel=null,d.webrtc=null,d.debugmode=0,d.serverIsRecording=!1,d.latency={lastSend:null,current:-1,callback:null},null==c&&(c="/"),d.consoleMessage=null,d.onConsoleMessageChange=null,d.metadata=null,d.onMetadataChange=null,d.Start=function(e){var t,n=window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/meshrelay.ashx?browser=1&p="+d.protocol+(e?"&nodeid="+e:"")+"&id="+d.tunnelid;null!=o&&""!=o&&(n+="&auth="+o),null!=urlargs&&null!=urlargs.slowrelay&&(n+="&slowrelay="+urlargs.slowrelay),d.nodeid=e,d.connectstate=0,d.socket=new WebSocket(n),d.socket.binaryType="arraybuffer",d.socket.onopen=d.xxOnSocketConnected,d.socket.onmessage=d.xxOnMessage,d.socket.onerror=function(e){},d.socket.onclose=d.xxOnSocketClosed,d.xxStateChange(1),null!=d.meshserver&&(t="*"+c+"meshrelay.ashx?p="+d.protocol+"&nodeid="+e+"&id="+d.tunnelid,null!=a&&""!=a&&(t+="&rauth="+a),d.meshserver.send({action:"msg",type:"tunnel",nodeid:d.nodeid,value:t,usage:d.protocol}))},d.xxOnSocketConnected=function(){1==d.debugmode&&console.log("onSocketConnected"),d.xxStateChange(2)},d.xxOnControlCommand=function(e){var t;try{t=JSON.parse(e)}catch(e){return}"102938"==t.ctrlChannel?("undefined"!=typeof args&&args.redirtrace&&console.log("RedirRecv",t),"console"==t.type?d.setConsoleMessage(t.msg,t.msgid,t.msgargs,t.timeout):"metadata"==t.type?(d.metadata=t,d.onMetadataChange&&d.onMetadataChange(d.metadata)):"rtt"==t.type&&"number"==typeof t.time?(d.latency.current=(new Date).getTime()-t.time,null!=d.latency.callbacks&&d.latency.callback(d.latency.current)):null!=d.webrtc&&("answer"==t.type?d.webrtc.setRemoteDescription(new RTCSessionDescription(t),function(){},d.xxCloseWebRTC):"webrtc0"==t.type?(d.webSwitchOk=!0,u()):"webrtc1"==t.type?d.sendCtrlMsg('{"ctrlChannel":"102938","type":"webrtc2"}'):t.type)):d.m.ProcessData(e)},d.setConsoleMessage=function(e,t,n,o){d.consoleMessage!=e&&(d.consoleMessage=e,d.consoleMessageId=t,d.consoleMessageArgs=n,d.consoleMessageTimeout=o,d.onConsoleMessageChange&&d.onConsoleMessageChange(d,d.consoleMessage,d.consoleMessageId))},d.sendCtrlMsg=function(e){if(1==d.ctrlMsgAllowed){"undefined"!=typeof args&&args.redirtrace&&console.log("RedirSend",typeof e,e);try{d.socket.send(e)}catch(e){}}},d.xxOnMessage=function(e){if(d.State<3&&("c"==e.data||"cr"==e.data)){if("cr"==e.data&&(d.serverIsRecording=!0),null!=d.options){delete d.options.action,d.options.type="options";try{d.sendCtrlMsg(JSON.stringify(d.options))}catch(e){}}try{d.socket.send(d.protocol)}catch(e){}var t;return d.xxStateChange(3),void(1==d.attemptWebRTC&&(t=null,"undefined"!=typeof RTCPeerConnection?d.webrtc=new RTCPeerConnection(t):"undefined"!=typeof webkitRTCPeerConnection&&(d.webrtc=new webkitRTCPeerConnection(t)),null!=d.webrtc&&d.webrtc.createDataChannel&&(d.webchannel=d.webrtc.createDataChannel("DataChannel",{}),d.webchannel.binaryType="arraybuffer",d.webchannel.onmessage=d.xxOnMessage,d.webchannel.onopen=function(){d.webRtcActive=!0,u()},d.webchannel.onclose=function(e){d.webRtcActive&&d.Stop()},d.webrtc.onicecandidate=function(e){if(null==e.candidate)try{d.sendCtrlMsg(JSON.stringify(d.webrtcoffer))}catch(e){}else d.webrtcoffer.sdp+="a="+e.candidate.candidate+"\r\n"},d.webrtc.oniceconnectionstatechange=function(){null!=d.webrtc&&("disconnected"==d.webrtc.iceConnectionState?1==d.webRtcActive?d.Stop():d.xxCloseWebRTC():"failed"==d.webrtc.iceConnectionState&&d.xxCloseWebRTC())},d.webrtc.createOffer(function(e){d.webrtcoffer=e,d.webrtc.setLocalDescription(e,function(){},d.xxCloseWebRTC)},d.xxCloseWebRTC,{mandatory:{OfferToReceiveAudio:!1,OfferToReceiveVideo:!1}}))))}var n,o;if("string"==typeof e.data)d.xxOnControlCommand(e.data);else if(d.m.ProcessBinaryCommand)if(0!=f){var a=new Uint8Array(e.data);if(w.push(a),f+=a.byteLength,b<=f){var c,r=new Uint8Array(f),s=0;for(c in w)r.set(w[c],s),s+=w[c].byteLength;d.m.ProcessBinaryCommand(g,b,r),f=b=g=0,w=[]}}else{var l=((a=new Uint8Array(e.data))[0]<<8)+a[1],i=(a[2]<<8)+a[3];27==l&&8==i&&(l=(a[8]<<8)+a[9],i=(a[5]<<16)+(a[6]<<8)+a[7],a=a.slice(8)),i!=a.byteLength?(g=l,b=i,f=a.byteLength,w=[a]):d.m.ProcessBinaryCommand(l,i,a)}else d.m.ProcessBinaryData?d.m.ProcessBinaryData(new Uint8Array(e.data)):e.data.byteLength<16e3?d.m.ProcessData(String.fromCharCode.apply(null,new Uint8Array(e.data))):(n=new Blob([new Uint8Array(e.data)]),(o=new FileReader).onload=function(e){d.m.ProcessData(e.target.result)},o.readAsText(n))};var g=0,b=0,f=0,w=[];return d.sendText=function(e){"string"!=typeof e&&(e=JSON.stringify(e)),d.send(encode_utf8(e))},d.send=function(e){"undefined"!=typeof args&&args.redirtrace&&console.log("RedirSend",typeof e,e.length,"{"==e[0]?e:rstr2hex(e).substring(0,64));try{if(null!=d.socket&&d.socket.readyState==WebSocket.OPEN)if("string"==typeof e)if(1==d.debugmode){for(var t=new Uint8Array(e.length),n=[],o=0;o<e.length;++o)t[o]=e.charCodeAt(o),n.push(e.charCodeAt(o));1==d.webRtcActive?d.webchannel.send(t.buffer):d.socket.send(t.buffer)}else{for(t=new Uint8Array(e.length),o=0;o<e.length;++o)t[o]=e.charCodeAt(o);1==d.webRtcActive?d.webchannel.send(t.buffer):d.socket.send(t.buffer)}else 1==d.webRtcActive?d.webchannel.send(e):d.socket.send(e)}catch(e){}},d.xxOnSocketClosed=function(){d.Stop(1)},d.xxStateChange=function(e){d.State!=e&&(d.State=e,d.m.xxStateChange(d.State),null!=d.onStateChanged&&d.onStateChanged(d,d.State))},d.xxCloseWebRTC=function(){if(null!=d.webchannel){try{d.webchannel.close()}catch(e){}d.webchannel=null}if(null!=d.webrtc){try{d.webrtc.close()}catch(e){}d.webrtc=null}d.webRtcActive=!1},d.Stop=function(e){if(1==d.debugmode&&console.log("stop",e),d.xxCloseWebRTC(),d.connectstate=-1,null!=d.socket){try{1==d.socket.readyState&&(d.sendCtrlMsg('{"ctrlChannel":"102938","type":"close"}'),d.socket.close())}catch(e){}d.socket=null}d.xxStateChange(0)},d}
\ No newline at end of file
public/scripts/amt-0.2.0-min.js
+1
-1
@@ -1 +1 @@
1
-function AmtStackCreateService(e){var E=new Object;E.wsman=e,E.pfx=["http://intel.com/wbem/wscim/1/amt-schema/1/","http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/","http://intel.com/wbem/wscim/1/ips-schema/1/"],E.PendingEnums=[],E.PendingBatchOperations=0,E.ActiveEnumsCount=0,E.MaxActiveEnumsCount=1,E.onProcessChanged=null;var t=0,n=0;function A(){var e=E.GetPendingActions();t<e&&(t=e),null!=E.onProcessChanged&&n!=e&&(n=e,E.onProcessChanged(e,t)),0==e&&(t=0)}function _(e){if(E.ActiveEnumsCount-=e,!(E.ActiveEnumsCount>=E.MaxActiveEnumsCount||0==E.PendingEnums.length)){var t=E.PendingEnums.shift();E.Enum(t[0],t[1],t[2]),_(0)}}function r(o){o.names.length<=o.current?o.callback(E,o.name,o.responses,200,o.tag):(E.wsman.ExecGet(E.CompleteName(o.names[o.current]),function(e,t,n,i){!function(e,t,n){null==t||200!=n?e.callback(E,e.name,null,n,e.tag):(e.responses[t.Header.Method]=t,r(e))}(o,n,i)},o.pri),o.current++),A()}function i(e,t,n,i,o){200==i&&"0"==n.Body.ReturnValue?E.AMT_MessageLog_GetRecords(n.Body.IterationIdentifier,390,l,o):o[0](E,null,o[2])}function l(e,t,n,i,o){if(200==i&&"0"==n.Body.ReturnValue){var r,c,a,s,u,d=o[2],S=new Date,A=n.Body.RecordArray;for(r in"string"==typeof A&&(n.Body.RecordArray=[n.Body.RecordArray]),A){s=null;try{s=window.atob(A[r])}catch(e){}if(null!=s&&0<(u=ReadIntX(s,0))&&u<4294967295){for(a={DeviceAddress:s.charCodeAt(4),EventSensorType:s.charCodeAt(5),EventType:s.charCodeAt(6),EventOffset:s.charCodeAt(7),EventSourceType:s.charCodeAt(8),EventSeverity:s.charCodeAt(9),SensorNumber:s.charCodeAt(10),Entity:s.charCodeAt(11),EntityInstance:s.charCodeAt(12),EventData:[],Time:new Date(1e3*(u+60*S.getTimezoneOffset()))},c=13;c<21;c++)a.EventData.push(s.charCodeAt(c));a.EntityStr=C[a.Entity],a.Desc=m(a.EventSensorType,a.EventOffset,a.EventData,a.Entity),a.EntityStr||(a.EntityStr="Unknown"),d.push(a)}}1!=n.Body.NoMoreRecords?E.AMT_MessageLog_GetRecords(n.Body.IterationIdentifier,390,l,[o[0],d,o[2]]):o[0](E,d,o[2])}else o[0](E,null,o[2])}E.GetPendingActions=function(){return 2*E.PendingEnums.length+E.ActiveEnumsCount+E.wsman.comm.PendingAjax.length+E.wsman.comm.ActiveAjaxCount+E.PendingBatchOperations},E.Subscribe=function(o,e,t,r,c,n,i,a,s,u){E.wsman.ExecSubscribe(E.CompleteName(o),e,t,function(e,t,n,i){A(),r(E,o,n,i,c)},0,n,i,a,s,u),A()},E.UnSubscribe=function(o,r,c,e,t){E.wsman.ExecUnSubscribe(E.CompleteName(o),function(e,t,n,i){A(),r(E,o,n,i,c)},0,e,t),A()},E.Get=function(o,r,c,e){E.wsman.ExecGet(E.CompleteName(o),function(e,t,n,i){A(),r(E,o,n,i,c)},0,e),A()},E.Put=function(o,e,r,c,t,n){E.wsman.ExecPut(E.CompleteName(o),e,function(e,t,n,i){A(),r(E,o,n,i,c)},0,t,n),A()},E.Create=function(o,e,r,c,t){E.wsman.ExecCreate(E.CompleteName(o),e,function(e,t,n,i){A(),r(E,o,n,i,c)},0,t),A()},E.Delete=function(o,e,r,c,t){E.wsman.ExecDelete(E.CompleteName(o),e,function(e,t,n,i){A(),r(E,o,n,i,c)},0,t),A()},E.Exec=function(o,e,t,r,c,n,i){E.wsman.ExecMethod(E.CompleteName(o),e,t,function(e,t,n,i){A(),r(E,o,E.CompleteExecResponse(n),i,c)},0,n,i),A()},E.ExecWithXml=function(o,e,t,r,c,n,i){E.wsman.ExecMethodXml(E.CompleteName(o),e,execArgumentsToXml(t),function(e,t,n,i){A(),r(E,o,E.CompleteExecResponse(n),i,c)},0,n,i),A()},E.Enum=function(r,c,e,t){E.ActiveEnumsCount<E.MaxActiveEnumsCount?(E.ActiveEnumsCount++,E.wsman.ExecEnum(E.CompleteName(r),function(e,t,n,i,o){A(),function(o,e,r,t,n,c){if(200!=n)return r(E,o,null,n,c),_(1);if(null==e||"EnumerateResponse"!=e.Header.Method||!e.Body.EnumerationContext)return r(E,o,null,603,c),_(1);var i=e.Body.EnumerationContext;E.wsman.ExecPull(t,i,function(e,t,n,i){!function o(r,e,c,t,a,n,s,i){if(200!=n)return c(E,r,null,n,s),void _(1);if(null==e||"PullResponse"!=e.Header.Method)return c(E,r,null,604,s),void _(1);for(var u in e.Body.Items)if(e.Body.Items[u]instanceof Array)for(var d in e.Body.Items[u])a.push(e.Body.Items[u][d]);else a.push(e.Body.Items[u]);if(e.Body.EnumerationContext){var S=e.Body.EnumerationContext;E.wsman.ExecPull(t,S,function(e,t,n,i){o(r,n,c,t,a,i,s,1)})}else _(1),c(E,r,a,n,s),A()}(o,n,r,t,[],i,c)})}(r,n,c,t,i,o)},e,t)):E.PendingEnums.push([r,c,e,t]),A()},E.BatchEnum=function(e,t,n,i,o,r){E.PendingBatchOperations+=2*t.length,function r(c,a,s,u,e,d,S){E.PendingBatchOperations-=2;var t=a.shift(),n=E.Enum;"*"==t[0]&&(n=E.Get,t=t.substring(1));n(t,function(e,t,n,i,o){o[2][t]={response:null==n?null:n.Body,responses:n,status:i},0==o[1].length||401==i||1!=d&&200!=i&&400!=i?(E.PendingBatchOperations-=2*a.length,A(),s(E,c,o[2],i,u)):(A(),r(c,a,s,u,o[2],S))},[c,a,e],S);A()}(e,Clone(t),n,i,{},o,r),A()},E.BatchGet=function(e,t,n,i,o){r({name:e,names:t,callback:n,current:0,responses:{},tag:i,pri:o}),A()},E.CompleteName=function(e){return 0==e.indexOf("AMT_")?E.pfx[0]+e:0==e.indexOf("CIM_")?E.pfx[1]+e:0==e.indexOf("IPS_")?E.pfx[2]+e:void 0},E.CompleteExecResponse=function(e){return e&&null!=e&&e.Body&&e.Body.ReturnValue&&(e.Body.ReturnValueStr=E.AmtStatusToStr(e.Body.ReturnValue)),e},E.RequestPowerStateChange=function(e,t){E.CIM_PowerManagementService_RequestPowerStateChange(e,'<Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="CreationClassName">CIM_ComputerSystem</Selector><Selector Name="Name">ManagedSystem</Selector></SelectorSet></ReferenceParameters>',null,null,t)},E.SetBootConfigRole=function(e,t){E.CIM_BootService_SetBootConfigRole('<Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootConfigSetting</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="InstanceID">Intel(r) AMT: Boot Configuration 0</Selector></SelectorSet></ReferenceParameters>',e,t)},E.CancelAllQueries=function(e){E.wsman.CancelAllQueries(e)},E.AMT_AgentPresenceWatchdog_RegisterAgent=function(e){E.Exec("AMT_AgentPresenceWatchdog","RegisterAgent",{},e)},E.AMT_AgentPresenceWatchdog_AssertPresence=function(e,t){E.Exec("AMT_AgentPresenceWatchdog","AssertPresence",{SequenceNumber:e},t)},E.AMT_AgentPresenceWatchdog_AssertShutdown=function(e,t){E.Exec("AMT_AgentPresenceWatchdog","AssertShutdown",{SequenceNumber:e},t)},E.AMT_AgentPresenceWatchdog_AddAction=function(e,t,n,i,o,r,c,a,s){E.Exec("AMT_AgentPresenceWatchdog","AddAction",{OldState:e,NewState:t,EventOnTransition:n,ActionSd:i,ActionEac:o},r,c,a,s)},E.AMT_AgentPresenceWatchdog_DeleteAllActions=function(e,t,n,i){E.Exec("AMT_AgentPresenceWatchdog","DeleteAllActions",{},e,t,n,i)},E.AMT_AgentPresenceWatchdogAction_GetActionEac=function(e){E.Exec("AMT_AgentPresenceWatchdogAction","GetActionEac",{},e)},E.AMT_AgentPresenceWatchdogVA_RegisterAgent=function(e){E.Exec("AMT_AgentPresenceWatchdogVA","RegisterAgent",{},e)},E.AMT_AgentPresenceWatchdogVA_AssertPresence=function(e,t){E.Exec("AMT_AgentPresenceWatchdogVA","AssertPresence",{SequenceNumber:e},t)},E.AMT_AgentPresenceWatchdogVA_AssertShutdown=function(e,t){E.Exec("AMT_AgentPresenceWatchdogVA","AssertShutdown",{SequenceNumber:e},t)},E.AMT_AgentPresenceWatchdogVA_AddAction=function(e,t,n,i,o,r){E.Exec("AMT_AgentPresenceWatchdogVA","AddAction",{OldState:e,NewState:t,EventOnTransition:n,ActionSd:i,ActionEac:o},r)},E.AMT_AgentPresenceWatchdogVA_DeleteAllActions=function(e,t){E.Exec("AMT_AgentPresenceWatchdogVA","DeleteAllActions",{_method_dummy:e},t)},E.AMT_AuditLog_ClearLog=function(e){E.Exec("AMT_AuditLog","ClearLog",{},e)},E.AMT_AuditLog_RequestStateChange=function(e,t,n){E.Exec("AMT_AuditLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AMT_AuditLog_ReadRecords=function(e,t,n){E.Exec("AMT_AuditLog","ReadRecords",{StartIndex:e},t,n)},E.AMT_AuditLog_SetAuditLock=function(e,t,n,i){E.Exec("AMT_AuditLog","SetAuditLock",{LockTimeoutInSeconds:e,Flag:t,Handle:n},i)},E.AMT_AuditLog_ExportAuditLogSignature=function(e,t){E.Exec("AMT_AuditLog","ExportAuditLogSignature",{SigningMechanism:e},t)},E.AMT_AuditLog_SetSigningKeyMaterial=function(e,t,n,i,o){E.Exec("AMT_AuditLog","SetSigningKeyMaterial",{SigningMechanismType:e,SigningKey:t,LengthOfCertificates:n,Certificates:i},o)},E.AMT_AuditPolicyRule_SetAuditPolicy=function(e,t,n,i,o){E.Exec("AMT_AuditPolicyRule","SetAuditPolicy",{Enable:e,AuditedAppID:t,EventID:n,PolicyType:i},o)},E.AMT_AuditPolicyRule_SetAuditPolicyBulk=function(e,t,n,i,o){E.Exec("AMT_AuditPolicyRule","SetAuditPolicyBulk",{Enable:e,AuditedAppID:t,EventID:n,PolicyType:i},o)},E.AMT_AuthorizationService_AddUserAclEntryEx=function(e,t,n,i,o,r){E.Exec("AMT_AuthorizationService","AddUserAclEntryEx",{DigestUsername:e,DigestPassword:t,KerberosUserSid:n,AccessPermission:i,Realms:o},r)},E.AMT_AuthorizationService_EnumerateUserAclEntries=function(e,t){E.Exec("AMT_AuthorizationService","EnumerateUserAclEntries",{StartIndex:e},t)},E.AMT_AuthorizationService_GetUserAclEntryEx=function(e,t,n){E.Exec("AMT_AuthorizationService","GetUserAclEntryEx",{Handle:e},t,n)},E.AMT_AuthorizationService_UpdateUserAclEntryEx=function(e,t,n,i,o,r,c){E.Exec("AMT_AuthorizationService","UpdateUserAclEntryEx",{Handle:e,DigestUsername:t,DigestPassword:n,KerberosUserSid:i,AccessPermission:o,Realms:r},c)},E.AMT_AuthorizationService_RemoveUserAclEntry=function(e,t){E.Exec("AMT_AuthorizationService","RemoveUserAclEntry",{Handle:e},t)},E.AMT_AuthorizationService_SetAdminAclEntryEx=function(e,t,n){E.Exec("AMT_AuthorizationService","SetAdminAclEntryEx",{Username:e,DigestPassword:t},n)},E.AMT_AuthorizationService_GetAdminAclEntry=function(e){E.Exec("AMT_AuthorizationService","GetAdminAclEntry",{},e)},E.AMT_AuthorizationService_GetAdminAclEntryStatus=function(e){E.Exec("AMT_AuthorizationService","GetAdminAclEntryStatus",{},e)},E.AMT_AuthorizationService_GetAdminNetAclEntryStatus=function(e){E.Exec("AMT_AuthorizationService","GetAdminNetAclEntryStatus",{},e)},E.AMT_AuthorizationService_SetAclEnabledState=function(e,t,n,i){E.Exec("AMT_AuthorizationService","SetAclEnabledState",{Handle:e,Enabled:t},n,i)},E.AMT_AuthorizationService_GetAclEnabledState=function(e,t,n){E.Exec("AMT_AuthorizationService","GetAclEnabledState",{Handle:e},t,n)},E.AMT_EndpointAccessControlService_RequestStateChange=function(e,t,n){E.Exec("AMT_EndpointAccessControlService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AMT_EndpointAccessControlService_GetPosture=function(e,t){E.Exec("AMT_EndpointAccessControlService","GetPosture",{PostureType:e},t)},E.AMT_EndpointAccessControlService_GetPostureHash=function(e,t){E.Exec("AMT_EndpointAccessControlService","GetPostureHash",{PostureType:e},t)},E.AMT_EndpointAccessControlService_UpdatePostureState=function(e,t){E.Exec("AMT_EndpointAccessControlService","UpdatePostureState",{UpdateType:e},t)},E.AMT_EndpointAccessControlService_GetEacOptions=function(e){E.Exec("AMT_EndpointAccessControlService","GetEacOptions",{},e)},E.AMT_EndpointAccessControlService_SetEacOptions=function(e,t,n){E.Exec("AMT_EndpointAccessControlService","SetEacOptions",{EacVendors:e,PostureHashAlgorithm:t},n)},E.AMT_EnvironmentDetectionSettingData_SetSystemDefensePolicy=function(e,t){E.Exec("AMT_EnvironmentDetectionSettingData","SetSystemDefensePolicy",{Policy:e},t)},E.AMT_EnvironmentDetectionSettingData_EnableVpnRouting=function(e,t){E.Exec("AMT_EnvironmentDetectionSettingData","EnableVpnRouting",{Enable:e},t)},E.AMT_EthernetPortSettings_SetLinkPreference=function(e,t,n){E.Exec("AMT_EthernetPortSettings","SetLinkPreference",{LinkPreference:e,Timeout:t},n)},E.AMT_HeuristicPacketFilterStatistics_ResetSelectedStats=function(e,t){E.Exec("AMT_HeuristicPacketFilterStatistics","ResetSelectedStats",{SelectedStatistics:e},t)},E.AMT_KerberosSettingData_GetCredentialCacheState=function(e){E.Exec("AMT_KerberosSettingData","GetCredentialCacheState",{},e)},E.AMT_KerberosSettingData_SetCredentialCacheState=function(e,t){E.Exec("AMT_KerberosSettingData","SetCredentialCacheState",{Enable:e},t)},E.AMT_MessageLog_CancelIteration=function(e,t){E.Exec("AMT_MessageLog","CancelIteration",{IterationIdentifier:e},t)},E.AMT_MessageLog_RequestStateChange=function(e,t,n){E.Exec("AMT_MessageLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AMT_MessageLog_ClearLog=function(e){E.Exec("AMT_MessageLog","ClearLog",{},e)},E.AMT_MessageLog_GetRecords=function(e,t,n,i){E.Exec("AMT_MessageLog","GetRecords",{IterationIdentifier:e,MaxReadRecords:t},n,i)},E.AMT_MessageLog_GetRecord=function(e,t,n){E.Exec("AMT_MessageLog","GetRecord",{IterationIdentifier:e,PositionToNext:t},n)},E.AMT_MessageLog_PositionAtRecord=function(e,t,n,i){E.Exec("AMT_MessageLog","PositionAtRecord",{IterationIdentifier:e,MoveAbsolute:t,RecordNumber:n},i)},E.AMT_MessageLog_PositionToFirstRecord=function(e,t){E.Exec("AMT_MessageLog","PositionToFirstRecord",{},e,t)},E.AMT_MessageLog_FreezeLog=function(e,t){E.Exec("AMT_MessageLog","FreezeLog",{Freeze:e},t)},E.AMT_PublicKeyManagementService_AddCRL=function(e,t,n){E.Exec("AMT_PublicKeyManagementService","AddCRL",{Url:e,SerialNumbers:t},n)},E.AMT_PublicKeyManagementService_ResetCRLList=function(e,t){E.Exec("AMT_PublicKeyManagementService","ResetCRLList",{_method_dummy:e},t)},E.AMT_PublicKeyManagementService_AddCertificate=function(e,t){E.Exec("AMT_PublicKeyManagementService","AddCertificate",{CertificateBlob:e},t)},E.AMT_PublicKeyManagementService_AddTrustedRootCertificate=function(e,t){E.Exec("AMT_PublicKeyManagementService","AddTrustedRootCertificate",{CertificateBlob:e},t)},E.AMT_PublicKeyManagementService_AddKey=function(e,t){E.Exec("AMT_PublicKeyManagementService","AddKey",{KeyBlob:e},t)},E.AMT_PublicKeyManagementService_GeneratePKCS10Request=function(e,t,n,i){E.Exec("AMT_PublicKeyManagementService","GeneratePKCS10Request",{KeyPair:e,DNName:t,Usage:n},i)},E.AMT_PublicKeyManagementService_GeneratePKCS10RequestEx=function(e,t,n,i){E.Exec("AMT_PublicKeyManagementService","GeneratePKCS10RequestEx",{KeyPair:e,SigningAlgorithm:t,NullSignedCertificateRequest:n},i)},E.AMT_PublicKeyManagementService_GenerateKeyPair=function(e,t,n){E.Exec("AMT_PublicKeyManagementService","GenerateKeyPair",{KeyAlgorithm:e,KeyLength:t},n)},E.AMT_RedirectionService_RequestStateChange=function(e,t){E.Exec("AMT_RedirectionService","RequestStateChange",{RequestedState:e},t)},E.AMT_RedirectionService_TerminateSession=function(e,t){E.Exec("AMT_RedirectionService","TerminateSession",{SessionType:e},t)},E.AMT_RemoteAccessService_AddMpServer=function(e,t,n,i,o,r,c,a,s){E.Exec("AMT_RemoteAccessService","AddMpServer",{AccessInfo:e,InfoFormat:t,Port:n,AuthMethod:i,Certificate:o,Username:r,Password:c,CN:a},s)},E.AMT_RemoteAccessService_AddRemoteAccessPolicyRule=function(e,t,n,i,o){E.Exec("AMT_RemoteAccessService","AddRemoteAccessPolicyRule",{Trigger:e,TunnelLifeTime:t,ExtendedData:n,MpServer:i},o)},E.AMT_RemoteAccessService_CloseRemoteAccessConnection=function(e,t){E.Exec("AMT_RemoteAccessService","CloseRemoteAccessConnection",{_method_dummy:e},t)},E.AMT_SetupAndConfigurationService_CommitChanges=function(e,t){E.Exec("AMT_SetupAndConfigurationService","CommitChanges",{_method_dummy:e},t)},E.AMT_SetupAndConfigurationService_Unprovision=function(e,t){E.Exec("AMT_SetupAndConfigurationService","Unprovision",{ProvisioningMode:e},t)},E.AMT_SetupAndConfigurationService_PartialUnprovision=function(e,t){E.Exec("AMT_SetupAndConfigurationService","PartialUnprovision",{_method_dummy:e},t)},E.AMT_SetupAndConfigurationService_ResetFlashWearOutProtection=function(e,t){E.Exec("AMT_SetupAndConfigurationService","ResetFlashWearOutProtection",{_method_dummy:e},t)},E.AMT_SetupAndConfigurationService_ExtendProvisioningPeriod=function(e,t){E.Exec("AMT_SetupAndConfigurationService","ExtendProvisioningPeriod",{Duration:e},t)},E.AMT_SetupAndConfigurationService_SetMEBxPassword=function(e,t){E.Exec("AMT_SetupAndConfigurationService","SetMEBxPassword",{Password:e},t)},E.AMT_SetupAndConfigurationService_SetTLSPSK=function(e,t,n){E.Exec("AMT_SetupAndConfigurationService","SetTLSPSK",{PID:e,PPS:t},n)},E.AMT_SetupAndConfigurationService_GetProvisioningAuditRecord=function(e){E.Exec("AMT_SetupAndConfigurationService","GetProvisioningAuditRecord",{},e)},E.AMT_SetupAndConfigurationService_GetUuid=function(e){E.Exec("AMT_SetupAndConfigurationService","GetUuid",{},e)},E.AMT_SetupAndConfigurationService_GetUnprovisionBlockingComponents=function(e){E.Exec("AMT_SetupAndConfigurationService","GetUnprovisionBlockingComponents",{},e)},E.AMT_SetupAndConfigurationService_GetProvisioningAuditRecordV2=function(e){E.Exec("AMT_SetupAndConfigurationService","GetProvisioningAuditRecordV2",{},e)},E.AMT_SystemDefensePolicy_GetTimeout=function(e){E.Exec("AMT_SystemDefensePolicy","GetTimeout",{},e)},E.AMT_SystemDefensePolicy_SetTimeout=function(e,t){E.Exec("AMT_SystemDefensePolicy","SetTimeout",{Timeout:e},t)},E.AMT_SystemDefensePolicy_UpdateStatistics=function(e,t,n,i,o,r){E.Exec("AMT_SystemDefensePolicy","UpdateStatistics",{NetworkInterface:e,ResetOnRead:t},n,i,o,r)},E.AMT_SystemPowerScheme_SetPowerScheme=function(e,t,n){E.Exec("AMT_SystemPowerScheme","SetPowerScheme",{},e,n,0,{InstanceID:t})},E.AMT_TimeSynchronizationService_GetLowAccuracyTimeSynch=function(e,t){E.Exec("AMT_TimeSynchronizationService","GetLowAccuracyTimeSynch",{},e,t)},E.AMT_TimeSynchronizationService_SetHighAccuracyTimeSynch=function(e,t,n,i,o){E.Exec("AMT_TimeSynchronizationService","SetHighAccuracyTimeSynch",{Ta0:e,Tm1:t,Tm2:n},i,o)},E.AMT_UserInitiatedConnectionService_RequestStateChange=function(e,t,n){E.Exec("AMT_UserInitiatedConnectionService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AMT_WebUIService_RequestStateChange=function(e,t,n){E.Exec("AMT_WebUIService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AMT_WiFiPortConfigurationService_AddWiFiSettings=function(e,t,n,i,o,r){E.ExecWithXml("AMT_WiFiPortConfigurationService","AddWiFiSettings",{WiFiEndpoint:e,WiFiEndpointSettingsInput:t,IEEE8021xSettingsInput:n,ClientCredential:i,CACredential:o},r)},E.AMT_WiFiPortConfigurationService_UpdateWiFiSettings=function(e,t,n,i,o,r){E.ExecWithXml("AMT_WiFiPortConfigurationService","UpdateWiFiSettings",{WiFiEndpointSettings:e,WiFiEndpointSettingsInput:t,IEEE8021xSettingsInput:n,ClientCredential:i,CACredential:o},r)},E.AMT_WiFiPortConfigurationService_DeleteAllITProfiles=function(e,t){E.Exec("AMT_WiFiPortConfigurationService","DeleteAllITProfiles",{_method_dummy:e},t)},E.AMT_WiFiPortConfigurationService_DeleteAllUserProfiles=function(e,t){E.Exec("AMT_WiFiPortConfigurationService","DeleteAllUserProfiles",{_method_dummy:e},t)},E.CIM_Account_RequestStateChange=function(e,t,n){E.Exec("CIM_Account","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_AccountManagementService_CreateAccount=function(e,t,n){E.Exec("CIM_AccountManagementService","CreateAccount",{System:e,AccountTemplate:t},n)},E.CIM_BootConfigSetting_ChangeBootOrder=function(e,t){E.Exec("CIM_BootConfigSetting","ChangeBootOrder",{Source:e},t)},E.CIM_BootService_SetBootConfigRole=function(e,t,n){E.Exec("CIM_BootService","SetBootConfigRole",{BootConfigSetting:e,Role:t},n,0,1)},E.CIM_Card_ConnectorPower=function(e,t,n){E.Exec("CIM_Card","ConnectorPower",{Connector:e,PoweredOn:t},n)},E.CIM_Card_IsCompatible=function(e,t){E.Exec("CIM_Card","IsCompatible",{ElementToCheck:e},t)},E.CIM_Chassis_IsCompatible=function(e,t){E.Exec("CIM_Chassis","IsCompatible",{ElementToCheck:e},t)},E.CIM_Fan_SetSpeed=function(e,t){E.Exec("CIM_Fan","SetSpeed",{DesiredSpeed:e},t)},E.CIM_KVMRedirectionSAP_RequestStateChange=function(e,t,n){E.Exec("CIM_KVMRedirectionSAP","RequestStateChange",{RequestedState:e},n)},E.CIM_MediaAccessDevice_LockMedia=function(e,t){E.Exec("CIM_MediaAccessDevice","LockMedia",{Lock:e},t)},E.CIM_MediaAccessDevice_SetPowerState=function(e,t,n){E.Exec("CIM_MediaAccessDevice","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_MediaAccessDevice_Reset=function(e){E.Exec("CIM_MediaAccessDevice","Reset",{},e)},E.CIM_MediaAccessDevice_EnableDevice=function(e,t){E.Exec("CIM_MediaAccessDevice","EnableDevice",{Enabled:e},t)},E.CIM_MediaAccessDevice_OnlineDevice=function(e,t){E.Exec("CIM_MediaAccessDevice","OnlineDevice",{Online:e},t)},E.CIM_MediaAccessDevice_QuiesceDevice=function(e,t){E.Exec("CIM_MediaAccessDevice","QuiesceDevice",{Quiesce:e},t)},E.CIM_MediaAccessDevice_SaveProperties=function(e){E.Exec("CIM_MediaAccessDevice","SaveProperties",{},e)},E.CIM_MediaAccessDevice_RestoreProperties=function(e){E.Exec("CIM_MediaAccessDevice","RestoreProperties",{},e)},E.CIM_MediaAccessDevice_RequestStateChange=function(e,t,n){E.Exec("CIM_MediaAccessDevice","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_PhysicalFrame_IsCompatible=function(e,t){E.Exec("CIM_PhysicalFrame","IsCompatible",{ElementToCheck:e},t)},E.CIM_PhysicalPackage_IsCompatible=function(e,t){E.Exec("CIM_PhysicalPackage","IsCompatible",{ElementToCheck:e},t)},E.CIM_PowerManagementService_RequestPowerStateChange=function(e,t,n,i,o){E.Exec("CIM_PowerManagementService","RequestPowerStateChange",{PowerState:e,ManagedElement:t,Time:n,TimeoutPeriod:i},o,0,1)},E.CIM_PowerSupply_SetPowerState=function(e,t,n){E.Exec("CIM_PowerSupply","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_PowerSupply_Reset=function(e){E.Exec("CIM_PowerSupply","Reset",{},e)},E.CIM_PowerSupply_EnableDevice=function(e,t){E.Exec("CIM_PowerSupply","EnableDevice",{Enabled:e},t)},E.CIM_PowerSupply_OnlineDevice=function(e,t){E.Exec("CIM_PowerSupply","OnlineDevice",{Online:e},t)},E.CIM_PowerSupply_QuiesceDevice=function(e,t){E.Exec("CIM_PowerSupply","QuiesceDevice",{Quiesce:e},t)},E.CIM_PowerSupply_SaveProperties=function(e){E.Exec("CIM_PowerSupply","SaveProperties",{},e)},E.CIM_PowerSupply_RestoreProperties=function(e){E.Exec("CIM_PowerSupply","RestoreProperties",{},e)},E.CIM_PowerSupply_RequestStateChange=function(e,t,n){E.Exec("CIM_PowerSupply","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_Processor_SetPowerState=function(e,t,n){E.Exec("CIM_Processor","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_Processor_Reset=function(e){E.Exec("CIM_Processor","Reset",{},e)},E.CIM_Processor_EnableDevice=function(e,t){E.Exec("CIM_Processor","EnableDevice",{Enabled:e},t)},E.CIM_Processor_OnlineDevice=function(e,t){E.Exec("CIM_Processor","OnlineDevice",{Online:e},t)},E.CIM_Processor_QuiesceDevice=function(e,t){E.Exec("CIM_Processor","QuiesceDevice",{Quiesce:e},t)},E.CIM_Processor_SaveProperties=function(e){E.Exec("CIM_Processor","SaveProperties",{},e)},E.CIM_Processor_RestoreProperties=function(e){E.Exec("CIM_Processor","RestoreProperties",{},e)},E.CIM_Processor_RequestStateChange=function(e,t,n){E.Exec("CIM_Processor","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_RecordLog_ClearLog=function(e){E.Exec("CIM_RecordLog","ClearLog",{},e)},E.CIM_RecordLog_RequestStateChange=function(e,t,n){E.Exec("CIM_RecordLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_RedirectionService_RequestStateChange=function(e,t,n){E.Exec("CIM_RedirectionService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_Sensor_SetPowerState=function(e,t,n){E.Exec("CIM_Sensor","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_Sensor_Reset=function(e){E.Exec("CIM_Sensor","Reset",{},e)},E.CIM_Sensor_EnableDevice=function(e,t){E.Exec("CIM_Sensor","EnableDevice",{Enabled:e},t)},E.CIM_Sensor_OnlineDevice=function(e,t){E.Exec("CIM_Sensor","OnlineDevice",{Online:e},t)},E.CIM_Sensor_QuiesceDevice=function(e,t){E.Exec("CIM_Sensor","QuiesceDevice",{Quiesce:e},t)},E.CIM_Sensor_SaveProperties=function(e){E.Exec("CIM_Sensor","SaveProperties",{},e)},E.CIM_Sensor_RestoreProperties=function(e){E.Exec("CIM_Sensor","RestoreProperties",{},e)},E.CIM_Sensor_RequestStateChange=function(e,t,n){E.Exec("CIM_Sensor","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_StatisticalData_ResetSelectedStats=function(e,t){E.Exec("CIM_StatisticalData","ResetSelectedStats",{SelectedStatistics:e},t)},E.CIM_Watchdog_KeepAlive=function(e){E.Exec("CIM_Watchdog","KeepAlive",{},e)},E.CIM_Watchdog_SetPowerState=function(e,t,n){E.Exec("CIM_Watchdog","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_Watchdog_Reset=function(e){E.Exec("CIM_Watchdog","Reset",{},e)},E.CIM_Watchdog_EnableDevice=function(e,t){E.Exec("CIM_Watchdog","EnableDevice",{Enabled:e},t)},E.CIM_Watchdog_OnlineDevice=function(e,t){E.Exec("CIM_Watchdog","OnlineDevice",{Online:e},t)},E.CIM_Watchdog_QuiesceDevice=function(e,t){E.Exec("CIM_Watchdog","QuiesceDevice",{Quiesce:e},t)},E.CIM_Watchdog_SaveProperties=function(e){E.Exec("CIM_Watchdog","SaveProperties",{},e)},E.CIM_Watchdog_RestoreProperties=function(e){E.Exec("CIM_Watchdog","RestoreProperties",{},e)},E.CIM_Watchdog_RequestStateChange=function(e,t,n){E.Exec("CIM_Watchdog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.CIM_WiFiPort_SetPowerState=function(e,t,n){E.Exec("CIM_WiFiPort","SetPowerState",{PowerState:e,Time:t},n)},E.CIM_WiFiPort_Reset=function(e){E.Exec("CIM_WiFiPort","Reset",{},e)},E.CIM_WiFiPort_EnableDevice=function(e,t){E.Exec("CIM_WiFiPort","EnableDevice",{Enabled:e},t)},E.CIM_WiFiPort_OnlineDevice=function(e,t){E.Exec("CIM_WiFiPort","OnlineDevice",{Online:e},t)},E.CIM_WiFiPort_QuiesceDevice=function(e,t){E.Exec("CIM_WiFiPort","QuiesceDevice",{Quiesce:e},t)},E.CIM_WiFiPort_SaveProperties=function(e){E.Exec("CIM_WiFiPort","SaveProperties",{},e)},E.CIM_WiFiPort_RestoreProperties=function(e){E.Exec("CIM_WiFiPort","RestoreProperties",{},e)},E.CIM_WiFiPort_RequestStateChange=function(e,t,n){E.Exec("CIM_WiFiPort","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.IPS_HostBasedSetupService_Setup=function(e,t,n,i,o,r,c){E.Exec("IPS_HostBasedSetupService","Setup",{NetAdminPassEncryptionType:e,NetworkAdminPassword:t,McNonce:n,Certificate:i,SigningAlgorithm:o,DigitalSignature:r},c)},E.IPS_HostBasedSetupService_AddNextCertInChain=function(e,t,n,i){E.Exec("IPS_HostBasedSetupService","AddNextCertInChain",{NextCertificate:e,IsLeafCertificate:t,IsRootCertificate:n},i)},E.IPS_HostBasedSetupService_AdminSetup=function(e,t,n,i,o,r){E.Exec("IPS_HostBasedSetupService","AdminSetup",{NetAdminPassEncryptionType:e,NetworkAdminPassword:t,McNonce:n,SigningAlgorithm:i,DigitalSignature:o},r)},E.IPS_HostBasedSetupService_UpgradeClientToAdmin=function(e,t,n,i){E.Exec("IPS_HostBasedSetupService","UpgradeClientToAdmin",{McNonce:e,SigningAlgorithm:t,DigitalSignature:n},i)},E.IPS_HostBasedSetupService_DisableClientControlMode=function(e,t){E.Exec("IPS_HostBasedSetupService","DisableClientControlMode",{_method_dummy:e},t)},E.IPS_KVMRedirectionSettingData_TerminateSession=function(e){E.Exec("IPS_KVMRedirectionSettingData","TerminateSession",{},e)},E.IPS_OptInService_StartOptIn=function(e){E.Exec("IPS_OptInService","StartOptIn",{},e)},E.IPS_OptInService_CancelOptIn=function(e){E.Exec("IPS_OptInService","CancelOptIn",{},e)},E.IPS_OptInService_SendOptInCode=function(e,t){E.Exec("IPS_OptInService","SendOptInCode",{OptInCode:e},t)},E.IPS_OptInService_StartService=function(e){E.Exec("IPS_OptInService","StartService",{},e)},E.IPS_OptInService_StopService=function(e){E.Exec("IPS_OptInService","StopService",{},e)},E.IPS_OptInService_RequestStateChange=function(e,t,n){E.Exec("IPS_OptInService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.IPS_ProvisioningRecordLog_RequestStateChange=function(e,t,n){E.Exec("IPS_ProvisioningRecordLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.IPS_ProvisioningRecordLog_ClearLog=function(e,t){E.Exec("IPS_ProvisioningRecordLog","ClearLog",{_method_dummy:e},t)},E.IPS_SecIOService_RequestStateChange=function(e,t,n){E.Exec("IPS_SecIOService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},E.AmtStatusToStr=function(e){return E.AmtStatusCodes[e]?E.AmtStatusCodes[e]:"UNKNOWN_ERROR"},E.AmtStatusCodes={0:"SUCCESS",1:"INTERNAL_ERROR",2:"NOT_READY",3:"INVALID_PT_MODE",4:"INVALID_MESSAGE_LENGTH",5:"TABLE_FINGERPRINT_NOT_AVAILABLE",6:"INTEGRITY_CHECK_FAILED",7:"UNSUPPORTED_ISVS_VERSION",8:"APPLICATION_NOT_REGISTERED",9:"INVALID_REGISTRATION_DATA",10:"APPLICATION_DOES_NOT_EXIST",11:"NOT_ENOUGH_STORAGE",12:"INVALID_NAME",13:"BLOCK_DOES_NOT_EXIST",14:"INVALID_BYTE_OFFSET",15:"INVALID_BYTE_COUNT",16:"NOT_PERMITTED",17:"NOT_OWNER",18:"BLOCK_LOCKED_BY_OTHER",19:"BLOCK_NOT_LOCKED",20:"INVALID_GROUP_PERMISSIONS",21:"GROUP_DOES_NOT_EXIST",22:"INVALID_MEMBER_COUNT",23:"MAX_LIMIT_REACHED",24:"INVALID_AUTH_TYPE",25:"AUTHENTICATION_FAILED",26:"INVALID_DHCP_MODE",27:"INVALID_IP_ADDRESS",28:"INVALID_DOMAIN_NAME",29:"UNSUPPORTED_VERSION",30:"REQUEST_UNEXPECTED",31:"INVALID_TABLE_TYPE",32:"INVALID_PROVISIONING_STATE",33:"UNSUPPORTED_OBJECT",34:"INVALID_TIME",35:"INVALID_INDEX",36:"INVALID_PARAMETER",37:"INVALID_NETMASK",38:"FLASH_WRITE_LIMIT_EXCEEDED",39:"INVALID_IMAGE_LENGTH",40:"INVALID_IMAGE_SIGNATURE",41:"PROPOSE_ANOTHER_VERSION",42:"INVALID_PID_FORMAT",43:"INVALID_PPS_FORMAT",44:"BIST_COMMAND_BLOCKED",45:"CONNECTION_FAILED",46:"CONNECTION_TOO_MANY",47:"RNG_GENERATION_IN_PROGRESS",48:"RNG_NOT_READY",49:"CERTIFICATE_NOT_READY",1024:"DISABLED_BY_POLICY",2048:"NETWORK_IF_ERROR_BASE",2049:"UNSUPPORTED_OEM_NUMBER",2050:"UNSUPPORTED_BOOT_OPTION",2051:"INVALID_COMMAND",2052:"INVALID_SPECIAL_COMMAND",2053:"INVALID_HANDLE",2054:"INVALID_PASSWORD",2055:"INVALID_REALM",2056:"STORAGE_ACL_ENTRY_IN_USE",2057:"DATA_MISSING",2058:"DUPLICATE",2059:"EVENTLOG_FROZEN",2060:"PKI_MISSING_KEYS",2061:"PKI_GENERATING_KEYS",2062:"INVALID_KEY",2063:"INVALID_CERT",2064:"CERT_KEY_NOT_MATCH",2065:"MAX_KERB_DOMAIN_REACHED",2066:"UNSUPPORTED",2067:"INVALID_PRIORITY",2068:"NOT_FOUND",2069:"INVALID_CREDENTIALS",2070:"INVALID_PASSPHRASE",2072:"NO_ASSOCIATION",2075:"AUDIT_FAIL",2076:"BLOCKING_COMPONENT",2081:"USER_CONSENT_REQUIRED",4096:"APP_INTERNAL_ERROR",4097:"NOT_INITIALIZED",4098:"LIB_VERSION_UNSUPPORTED",4099:"INVALID_PARAM",4100:"RESOURCES",4101:"HARDWARE_ACCESS_ERROR",4102:"REQUESTOR_NOT_REGISTERED",4103:"NETWORK_ERROR",4104:"PARAM_BUFFER_TOO_SHORT",4105:"COM_NOT_INITIALIZED_IN_THREAD",4106:"URL_REQUIRED"},E.GetMessageLog=function(e,t){E.AMT_MessageLog_PositionToFirstRecord(i,[e,t,[]])};"Platform firmware (e.g. BIOS)|SMI handler|ISV system management software|Alert ASIC|IPMI|BIOS vendor|System board set vendor|System integrator|Third party add-in|OSV|NIC|System management card".split("|");var o="Unspecified.|No system memory is physically installed in the system.|No usable system memory, all installed memory has experienced an unrecoverable failure.|Unrecoverable hard-disk/ATAPI/IDE device failure.|Unrecoverable system-board failure.|Unrecoverable diskette subsystem failure.|Unrecoverable hard-disk controller failure.|Unrecoverable PS/2 or USB keyboard failure.|Removable boot media not found.|Unrecoverable video controller failure.|No video device detected.|Firmware (BIOS) ROM corruption detected.|CPU voltage mismatch (processors that share same supply have mismatched voltage requirements)|CPU speed matching failure".split("|"),c="Unspecified.|Memory initialization.|Starting hard-disk initialization and test|Secondary processor(s) initialization|User authentication|User-initiated system setup|USB resource configuration|PCI resource configuration|Option ROM initialization|Video initialization|Cache initialization|SM Bus initialization|Keyboard controller initialization|Embedded controller/management controller initialization|Docking station attachment|Enabling docking station|Docking station ejection|Disabling docking station|Calling operating system wake-up vector|Starting operating system boot process|Baseboard or motherboard initialization|reserved|Floppy initialization|Keyboard test|Pointing device test|Primary processor initialization".split("|"),C="Unspecified|Other|Unknown|Processor|Disk|Peripheral|System management module|System board|Memory module|Processor module|Power supply|Add in card|Front panel board|Back panel board|Power system board|Drive backplane|System internal expansion board|Other system board|Processor board|Power unit|Power module|Power management board|Chassis back panel board|System chassis|Sub chassis|Other chassis board|Disk drive bay|Peripheral bay|Device bay|Fan cooling|Cooling unit|Cable interconnect|Memory device|System management software|BIOS|Intel(r) ME|System bus|Group|Intel(r) ME|External environment|Battery|Processing blade|Connectivity switch|Processor/memory module|I/O module|Processor I/O module|Management controller firmware|IPMI channel|PCI bus|PCI express bus|SCSI bus|SATA/SAS bus|Processor front side bus".split("|");function m(e,t,n){return 15==e?235==n[0]?"Invalid Data":0==t?o[n[1]]:c[n[1]]:18==e&&170==n[0]?"Agent watchdog "+char2hex(n[4])+char2hex(n[3])+char2hex(n[2])+char2hex(n[1])+"-"+char2hex(n[6])+char2hex(n[5])+"-... changed to "+E.WatchdogCurrentStates[n[7]]:6==e?"Authentication failed "+(n[1]+(n[2]<<8))+" times. The system may be under attack.":30==e?"No bootable media":32==e?"Operating system lockup or power interrupt":35==e?"System boot failure":37==e?"System firmware started (at least one CPU is properly executing).":"Unknown Sensor Type #"+e}E.RealmNames="||Redirection|PT Administration|Hardware Asset|Remote Control|Storage|Event Manager|Storage Admin|Agent Presence Local|Agent Presence Remote|Circuit Breaker|Network Time|General Information|Firmware Update|EIT|LocalUN|Endpoint Access Control|Endpoint Access Control Admin|Event Log Reader|Audit Log|ACL Realm|||Local System".split("|"),E.WatchdogCurrentStates={1:"Not Started",2:"Stopped",4:"Running",8:"Expired",16:"Suspended"};var g={16:"Security Admin",17:"RCO",18:"Redirection Manager",19:"Firmware Update Manager",20:"Security Audit Log",21:"Network Time",22:"Network Administration",23:"Storage Administration",24:"Event Manager",25:"Circuit Breaker Manager",26:"Agent Presence Manager",27:"Wireless Configuration",28:"EAC",29:"KVM",30:"User Opt-In Events",32:"Screen Blanking",33:"Watchdog Events",1600:"Provisioning Started",1601:"Provisioning Completed",1602:"ACL Entry Added",1603:"ACL Entry Modified",1604:"ACL Entry Removed",1605:"ACL Access with Invalid Credentials",1606:"ACL Entry State",1607:"TLS State Changed",1608:"TLS Server Certificate Set",1609:"TLS Server Certificate Remove",1610:"TLS Trusted Root Certificate Added",1611:"TLS Trusted Root Certificate Removed",1612:"TLS Preshared Key Set",1613:"Kerberos Settings Modified",1614:"Kerberos Main Key Modified",1615:"Flash Wear out Counters Reset",1616:"Power Package Modified",1617:"Set Realm Authentication Mode",1618:"Upgrade Client to Admin Control Mode",1619:"Unprovisioning Started",1700:"Performed Power Up",1701:"Performed Power Down",1702:"Performed Power Cycle",1703:"Performed Reset",1704:"Set Boot Options",1800:"IDER Session Opened",1801:"IDER Session Closed",1802:"IDER Enabled",1803:"IDER Disabled",1804:"SoL Session Opened",1805:"SoL Session Closed",1806:"SoL Enabled",1807:"SoL Disabled",1808:"KVM Session Started",1809:"KVM Session Ended",1810:"KVM Enabled",1811:"KVM Disabled",1812:"VNC Password Failed 3 Times",1900:"Firmware Updated",1901:"Firmware Update Failed",2e3:"Security Audit Log Cleared",2001:"Security Audit Policy Modified",2002:"Security Audit Log Disabled",2003:"Security Audit Log Enabled",2004:"Security Audit Log Exported",2005:"Security Audit Log Recovered",2100:"Intel® ME Time Set",2200:"TCPIP Parameters Set",2201:"Host Name Set",2202:"Domain Name Set",2203:"VLAN Parameters Set",2204:"Link Policy Set",2205:"IPv6 Parameters Set",2300:"Global Storage Attributes Set",2301:"Storage EACL Modified",2302:"Storage FPACL Modified",2303:"Storage Write Operation",2400:"Alert Subscribed",2401:"Alert Unsubscribed",2402:"Event Log Cleared",2403:"Event Log Frozen",2500:"CB Filter Added",2501:"CB Filter Removed",2502:"CB Policy Added",2503:"CB Policy Removed",2504:"CB Default Policy Set",2505:"CB Heuristics Option Set",2506:"CB Heuristics State Cleared",2600:"Agent Watchdog Added",2601:"Agent Watchdog Removed",2602:"Agent Watchdog Action Set",2700:"Wireless Profile Added",2701:"Wireless Profile Removed",2702:"Wireless Profile Updated",2800:"EAC Posture Signer SET",2801:"EAC Enabled",2802:"EAC Disabled",2803:"EAC Posture State",2804:"EAC Set Options",2900:"KVM Opt-in Enabled",2901:"KVM Opt-in Disabled",2902:"KVM Password Changed",2903:"KVM Consent Succeeded",2904:"KVM Consent Failed",3e3:"Opt-In Policy Change",3001:"Send Consent Code Event",3002:"Start Opt-In Blocked Event"};function M(e,t,n,i,o){if(200==i){var r,c,a,s,u,d=o[1],S=new Date;if(0<n.Body.RecordsReturned)for(c in n.Body.EventRecords=MakeToArray(n.Body.EventRecords),n.Body.EventRecords){a=null;try{a=window.atob(n.Body.EventRecords[c])}catch(a){console.log(a+" "+n.Body.EventRecords[c])}if((s={AuditAppID:ReadShort(a,0),EventID:ReadShort(a,2),InitiatorType:a.charCodeAt(4)}).AuditApp=g[s.AuditAppID],s.Event=g[100*s.AuditAppID+s.EventID],s.Event||(s.Event="#"+s.EventID),0==s.InitiatorType){var A=a.charCodeAt(5);s.Initiator=a.substring(6,6+A),r=6+A}if(1==s.InitiatorType){s.KerberosUserInDomain=ReadInt(a,5);A=a.charCodeAt(9);s.Initiator=GetSidString(a.substring(10,10+A)),r=10+A}2==s.InitiatorType&&(s.Initiator="<i>Local</i>",r=5),3==s.InitiatorType&&(s.Initiator="<i>KVM Default Port</i>",r=5),u=ReadInt(a,r),s.Time=new Date(1e3*(u+60*S.getTimezoneOffset())),r+=4,s.MCLocationType=a.charCodeAt(r++);var _=a.charCodeAt(r++);s.NetAddress=a.substring(r,r+_),r+=_;var l=a.charCodeAt(r++);s.Ex=a.substring(r,r+l),s.ExStr=E.GetAuditLogExtendedDataStr(100*s.AuditAppID+s.EventID,s.Ex),d.push(s)}n.Body.TotalRecordCount>d.length?E.AMT_AuditLog_ReadRecords(d.length+1,M,[o[0],d]):o[0](E,d,i)}else o[0](E,[],i)}return E.GetAuditLogExtendedDataStr=function(e,t){if((1602==e||1604==e)&&0==t.charCodeAt(0))return t.substring(2,2+t.charCodeAt(1));if(1603==e)return 0==t.charCodeAt(1)?t.substring(3):null;if(1605==e)return["Invalid ME access","Invalid MEBx access"][t.charCodeAt(0)];if(1606==e){var n=["Disabled","Enabled"][t.charCodeAt(0)];return 0==t.charCodeAt(1)&&(n+=", "+t.substring(3)),n}if(1607==e)return"Remote "+["NoAuth","ServerAuth","MutualAuth"][t.charCodeAt(0)]+", Local "+["NoAuth","ServerAuth","MutualAuth"][t.charCodeAt(1)];if(1617==e)return E.RealmNames[ReadInt(t,0)]+", "+["NoAuth","Auth","Disabled"][t.charCodeAt(4)];if(1619==e)return["BIOS","MEBx","Local MEI","Local WSMAN","Remote WSAMN"][t.charCodeAt(0)];if(1900==e)return"From "+ReadShort(t,0)+"."+ReadShort(t,2)+"."+ReadShort(t,4)+"."+ReadShort(t,6)+" to "+ReadShort(t,8)+"."+ReadShort(t,10)+"."+ReadShort(t,12)+"."+ReadShort(t,14);if(2100!=e)return 3e3==e?"From "+["None","KVM","All"][t.charCodeAt(0)]+" to "+["None","KVM","All"][t.charCodeAt(1)]:3001==e?["Success","Failed 3 times"][t.charCodeAt(0)]:null;var i=new Date;return i.setTime(1e3*ReadInt(t,0)+6e4*(new Date).getTimezoneOffset()),i.toLocaleString()},E.GetAuditLog=function(e){E.AMT_AuditLog_ReadRecords(1,M,[e,[]])},E}function hex_md5(e){return null==e&&(e=""),forge.md.md5.create().update(e).digest().toHex()}for(var md5_k=[],i=0;i<64;)md5_k[i]=0|4294967296*Math.abs(Math.sin(++i));function hex_md5(e){null==e&&(e="");for(var t,n,i,o,r=[],c=unescape(encodeURI(e)),a=c.length,s=[t=1732584193,n=-271733879,~t,~n],u=0;u<=a;)r[u>>2]|=(c.charCodeAt(u)||128)<<u++%4*8;for(r[e=16*(a+8>>6)+14]=8*a,u=0;u<e;u+=16){for(a=s,o=0;o<64;)a=[i=a[3],(t=0|a[1])+((i=a[0]+[t&(n=a[2])|~t&i,i&t|~i&n,t^n^i,n^(t|~i)][a=o>>4]+(md5_k[o]+(0|r[[o,5*o+1,3*o+5,7*o][a]%16+u])))<<(a=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*a+o++%4])|i>>>32-a),t,n];for(o=4;o;)s[--o]=s[o]+a[o]}for(e="";o<32;)e+=(s[o>>3]>>4*(1^7&o++)&15).toString(16);return e}function rstr_md5(e){return hex2rstr(hex_md5(e))}function execArgumentsToXml(e){if(null==e)return null;var t="";for(var n in e){var i=e[n];i&&("reference"===i.__parameterType?t+=referenceToXml(n,i):t+=instanceToXml(n,i))}return t}function instanceToXml(e,t){if(null==t)return null;var n=!!t.__namespace,i=n?"<q:":"<",o=n?"</q:":"</",r="<r:"+e+(n?' xmlns:q="'+t.__namespace+'"':"")+">";for(var c in t)t.hasOwnProperty(c)&&0!==c.indexOf("__")&&("function"==typeof t[c]||Array.isArray(t[c])||("object"==typeof t[c]?console.error("only convert one level down..."):r+=i+c+">"+t[c].toString()+o+c+">"));return r+="</r:"+e+">"}function referenceToXml(e,t){if(null==t)return null;var n="<r:"+e+"><a:Address>/wsman</a:Address><a:ReferenceParameters><w:ResourceURI>"+t.__resourceUri+"</w:ResourceURI><w:SelectorSet>";for(var i in t)t.hasOwnProperty(i)&&0!==i.indexOf("__")&&("function"==typeof t[i]||"object"==typeof t[i]||Array.isArray(t[i])||(n+='<w:Selector Name="'+i+'">'+t[i].toString()+"</w:Selector>"));return n+="</w:SelectorSet></a:ReferenceParameters></r:"+e+">"}function GetSidString(e){for(var t="S-"+e.charCodeAt(0)+"-"+e.charCodeAt(7),n=2;n<e.length/4;n++)t+="-"+ReadIntX(e,4*n);return t}function GetSidByteArray(e){if(!e||null==e)return null;var t=e.split("-");if(t.length<4||"s"!=t[0]&&"S"!=t[0])return null;for(var n=1;n<t.length;n++){var i=parseInt(t[n]);if(i!=t[n])return null;t[n]=i}var o=String.fromCharCode(t[1])+String.fromCharCode(t.length-3)+ShortToStr(Math.floor(t[2]/Math.pow(2,32)))+IntToStr(65535&t[2]);for(n=3;n<t.length;n++)o+=IntToStrX(t[n]);return o}
\ No newline at end of file
1
+function AmtStackCreateService(e){var C=new Object;C.wsman=e,C.pfx=["http://intel.com/wbem/wscim/1/amt-schema/1/","http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/","http://intel.com/wbem/wscim/1/ips-schema/1/"],C.PendingEnums=[],C.PendingBatchOperations=0,C.ActiveEnumsCount=0,C.MaxActiveEnumsCount=1,C.onProcessChanged=null;var t=0,n=0;function A(){var e=C.GetPendingActions();t<e&&(t=e),null!=C.onProcessChanged&&n!=e&&(n=e,C.onProcessChanged(e,t)),0==e&&(t=0)}function _(e){var t;C.ActiveEnumsCount-=e,C.ActiveEnumsCount>=C.MaxActiveEnumsCount||0==C.PendingEnums.length||(t=C.PendingEnums.shift(),C.Enum(t[0],t[1],t[2]),_(0))}function s(a){a.names.length<=a.current?a.callback(C,a.name,a.responses,200,a.tag):(C.wsman.ExecGet(C.CompleteName(a.names[a.current]),function(e,t,n,i){var o,r,c;o=a,c=i,null==(r=n)||200!=c?o.callback(C,o.name,null,c,o.tag):(o.responses[r.Header.Method]=r,s(o))},a.pri),a.current++),A()}function i(e,t,n,i,o){200==i&&"0"==n.Body.ReturnValue?C.AMT_MessageLog_GetRecords(n.Body.IterationIdentifier,390,m,o):o[0](C,null,o[2])}function m(e,t,n,i,o){if(200==i&&"0"==n.Body.ReturnValue){var r,c,a,s,u,d,S,A,_=o[2],l=new Date,E=n.Body.RecordArray;for(r in"string"==typeof E&&(n.Body.RecordArray=[n.Body.RecordArray]),E){s=null;try{s=window.atob(E[r])}catch(e){}if(null!=s&&0<(u=ReadIntX(s,0))&&u<4294967295){for(a={DeviceAddress:s.charCodeAt(4),EventSensorType:s.charCodeAt(5),EventType:s.charCodeAt(6),EventOffset:s.charCodeAt(7),EventSourceType:s.charCodeAt(8),EventSeverity:s.charCodeAt(9),SensorNumber:s.charCodeAt(10),Entity:s.charCodeAt(11),EntityInstance:s.charCodeAt(12),EventData:[],Time:new Date(1e3*(u+60*l.getTimezoneOffset()))},c=13;c<21;c++)a.EventData.push(s.charCodeAt(c));a.EntityStr=I[a.Entity],a.Desc=(d=a.EventSensorType,S=a.EventOffset,A=a.EventData,a.Entity,15!=d?18!=d||170!=A[0]?6==d?"Authentication failed "+(A[1]+(A[2]<<8))+" times. The system may be under attack.":30==d?"No bootable media":32==d?"Operating system lockup or power interrupt":35==d?"System boot failure":37==d?"System firmware started (at least one CPU is properly executing).":"Unknown Sensor Type #"+d:"Agent watchdog "+char2hex(A[4])+char2hex(A[3])+char2hex(A[2])+char2hex(A[1])+"-"+char2hex(A[6])+char2hex(A[5])+"-... changed to "+C.WatchdogCurrentStates[A[7]]:235==A[0]?"Invalid Data":0==S?g[A[1]]:M[A[1]]),a.EntityStr||(a.EntityStr="Unknown"),_.push(a)}}1!=n.Body.NoMoreRecords?C.AMT_MessageLog_GetRecords(n.Body.IterationIdentifier,390,m,[o[0],_,o[2]]):o[0](C,_,o[2])}else o[0](C,null,o[2])}C.GetPendingActions=function(){return 2*C.PendingEnums.length+C.ActiveEnumsCount+C.wsman.comm.PendingAjax.length+C.wsman.comm.ActiveAjaxCount+C.PendingBatchOperations},C.Subscribe=function(o,e,t,r,c,n,i,a,s,u){C.wsman.ExecSubscribe(C.CompleteName(o),e,t,function(e,t,n,i){A(),r(C,o,n,i,c)},0,n,i,a,s,u),A()},C.UnSubscribe=function(o,r,c,e,t){C.wsman.ExecUnSubscribe(C.CompleteName(o),function(e,t,n,i){A(),r(C,o,n,i,c)},0,e,t),A()},C.Get=function(o,r,c,e){C.wsman.ExecGet(C.CompleteName(o),function(e,t,n,i){A(),r(C,o,n,i,c)},0,e),A()},C.Put=function(o,e,r,c,t,n){C.wsman.ExecPut(C.CompleteName(o),e,function(e,t,n,i){A(),r(C,o,n,i,c)},0,t,n),A()},C.Create=function(o,e,r,c,t){C.wsman.ExecCreate(C.CompleteName(o),e,function(e,t,n,i){A(),r(C,o,n,i,c)},0,t),A()},C.Delete=function(o,e,r,c,t){C.wsman.ExecDelete(C.CompleteName(o),e,function(e,t,n,i){A(),r(C,o,n,i,c)},0,t),A()},C.Exec=function(o,e,t,r,c,n,i){C.wsman.ExecMethod(C.CompleteName(o),e,t,function(e,t,n,i){A(),r(C,o,C.CompleteExecResponse(n),i,c)},0,n,i),A()},C.ExecWithXml=function(o,e,t,r,c,n,i){C.wsman.ExecMethodXml(C.CompleteName(o),e,execArgumentsToXml(t),function(e,t,n,i){A(),r(C,o,C.CompleteExecResponse(n),i,c)},0,n,i),A()},C.Enum=function(r,c,e,t){C.ActiveEnumsCount<C.MaxActiveEnumsCount?(C.ActiveEnumsCount++,C.wsman.ExecEnum(C.CompleteName(r),function(e,t,n,i,o){A(),function(o,e,r,t,n,c){if(200!=n)return r(C,o,null,n,c),_(1);if(null==e||"EnumerateResponse"!=e.Header.Method||!e.Body.EnumerationContext)return r(C,o,null,603,c),_(1);var i=e.Body.EnumerationContext;C.wsman.ExecPull(t,i,function(e,t,n,i){!function o(r,e,c,t,a,n,s,i){if(200!=n)return c(C,r,null,n,s),void _(1);if(null==e||"PullResponse"!=e.Header.Method)return c(C,r,null,604,s),void _(1);for(var u in e.Body.Items)if(e.Body.Items[u]instanceof Array)for(var d in e.Body.Items[u])a.push(e.Body.Items[u][d]);else a.push(e.Body.Items[u]);{var S;e.Body.EnumerationContext?(S=e.Body.EnumerationContext,C.wsman.ExecPull(t,S,function(e,t,n,i){o(r,n,c,t,a,i,s,1)})):(_(1),c(C,r,a,n,s),A())}}(o,n,r,t,[],i,c)})}(r,n,c,t,i,o)},e,t)):C.PendingEnums.push([r,c,e,t]),A()},C.BatchEnum=function(e,t,n,i,o,r){C.PendingBatchOperations+=2*t.length,function r(c,a,s,u,e,d,S){C.PendingBatchOperations-=2;var t=a.shift(),n=C.Enum;"*"==t[0]&&(n=C.Get,t=t.substring(1));n(t,function(e,t,n,i,o){o[2][t]={response:null==n?null:n.Body,responses:n,status:i},0==o[1].length||401==i||1!=d&&200!=i&&400!=i?(C.PendingBatchOperations-=2*a.length,A(),s(C,c,o[2],i,u)):(A(),r(c,a,s,u,o[2],S))},[c,a,e],S);A()}(e,Clone(t),n,i,{},o,r),A()},C.BatchGet=function(e,t,n,i,o){s({name:e,names:t,callback:n,current:0,responses:{},tag:i,pri:o}),A()},C.CompleteName=function(e){return 0==e.indexOf("AMT_")?C.pfx[0]+e:0==e.indexOf("CIM_")?C.pfx[1]+e:0==e.indexOf("IPS_")?C.pfx[2]+e:void 0},C.CompleteExecResponse=function(e){return e&&null!=e&&e.Body&&e.Body.ReturnValue&&(e.Body.ReturnValueStr=C.AmtStatusToStr(e.Body.ReturnValue)),e},C.RequestPowerStateChange=function(e,t){C.CIM_PowerManagementService_RequestPowerStateChange(e,'<Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="CreationClassName">CIM_ComputerSystem</Selector><Selector Name="Name">ManagedSystem</Selector></SelectorSet></ReferenceParameters>',null,null,t)},C.SetBootConfigRole=function(e,t){C.CIM_BootService_SetBootConfigRole('<Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootConfigSetting</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="InstanceID">Intel(r) AMT: Boot Configuration 0</Selector></SelectorSet></ReferenceParameters>',e,t)},C.CancelAllQueries=function(e){C.wsman.CancelAllQueries(e)},C.AMT_AgentPresenceWatchdog_RegisterAgent=function(e){C.Exec("AMT_AgentPresenceWatchdog","RegisterAgent",{},e)},C.AMT_AgentPresenceWatchdog_AssertPresence=function(e,t){C.Exec("AMT_AgentPresenceWatchdog","AssertPresence",{SequenceNumber:e},t)},C.AMT_AgentPresenceWatchdog_AssertShutdown=function(e,t){C.Exec("AMT_AgentPresenceWatchdog","AssertShutdown",{SequenceNumber:e},t)},C.AMT_AgentPresenceWatchdog_AddAction=function(e,t,n,i,o,r,c,a,s){C.Exec("AMT_AgentPresenceWatchdog","AddAction",{OldState:e,NewState:t,EventOnTransition:n,ActionSd:i,ActionEac:o},r,c,a,s)},C.AMT_AgentPresenceWatchdog_DeleteAllActions=function(e,t,n,i){C.Exec("AMT_AgentPresenceWatchdog","DeleteAllActions",{},e,t,n,i)},C.AMT_AgentPresenceWatchdogAction_GetActionEac=function(e){C.Exec("AMT_AgentPresenceWatchdogAction","GetActionEac",{},e)},C.AMT_AgentPresenceWatchdogVA_RegisterAgent=function(e){C.Exec("AMT_AgentPresenceWatchdogVA","RegisterAgent",{},e)},C.AMT_AgentPresenceWatchdogVA_AssertPresence=function(e,t){C.Exec("AMT_AgentPresenceWatchdogVA","AssertPresence",{SequenceNumber:e},t)},C.AMT_AgentPresenceWatchdogVA_AssertShutdown=function(e,t){C.Exec("AMT_AgentPresenceWatchdogVA","AssertShutdown",{SequenceNumber:e},t)},C.AMT_AgentPresenceWatchdogVA_AddAction=function(e,t,n,i,o,r){C.Exec("AMT_AgentPresenceWatchdogVA","AddAction",{OldState:e,NewState:t,EventOnTransition:n,ActionSd:i,ActionEac:o},r)},C.AMT_AgentPresenceWatchdogVA_DeleteAllActions=function(e,t){C.Exec("AMT_AgentPresenceWatchdogVA","DeleteAllActions",{_method_dummy:e},t)},C.AMT_AuditLog_ClearLog=function(e){C.Exec("AMT_AuditLog","ClearLog",{},e)},C.AMT_AuditLog_RequestStateChange=function(e,t,n){C.Exec("AMT_AuditLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AMT_AuditLog_ReadRecords=function(e,t,n){C.Exec("AMT_AuditLog","ReadRecords",{StartIndex:e},t,n)},C.AMT_AuditLog_SetAuditLock=function(e,t,n,i){C.Exec("AMT_AuditLog","SetAuditLock",{LockTimeoutInSeconds:e,Flag:t,Handle:n},i)},C.AMT_AuditLog_ExportAuditLogSignature=function(e,t){C.Exec("AMT_AuditLog","ExportAuditLogSignature",{SigningMechanism:e},t)},C.AMT_AuditLog_SetSigningKeyMaterial=function(e,t,n,i,o){C.Exec("AMT_AuditLog","SetSigningKeyMaterial",{SigningMechanismType:e,SigningKey:t,LengthOfCertificates:n,Certificates:i},o)},C.AMT_AuditPolicyRule_SetAuditPolicy=function(e,t,n,i,o){C.Exec("AMT_AuditPolicyRule","SetAuditPolicy",{Enable:e,AuditedAppID:t,EventID:n,PolicyType:i},o)},C.AMT_AuditPolicyRule_SetAuditPolicyBulk=function(e,t,n,i,o){C.Exec("AMT_AuditPolicyRule","SetAuditPolicyBulk",{Enable:e,AuditedAppID:t,EventID:n,PolicyType:i},o)},C.AMT_AuthorizationService_AddUserAclEntryEx=function(e,t,n,i,o,r){C.Exec("AMT_AuthorizationService","AddUserAclEntryEx",{DigestUsername:e,DigestPassword:t,KerberosUserSid:n,AccessPermission:i,Realms:o},r)},C.AMT_AuthorizationService_EnumerateUserAclEntries=function(e,t){C.Exec("AMT_AuthorizationService","EnumerateUserAclEntries",{StartIndex:e},t)},C.AMT_AuthorizationService_GetUserAclEntryEx=function(e,t,n){C.Exec("AMT_AuthorizationService","GetUserAclEntryEx",{Handle:e},t,n)},C.AMT_AuthorizationService_UpdateUserAclEntryEx=function(e,t,n,i,o,r,c){C.Exec("AMT_AuthorizationService","UpdateUserAclEntryEx",{Handle:e,DigestUsername:t,DigestPassword:n,KerberosUserSid:i,AccessPermission:o,Realms:r},c)},C.AMT_AuthorizationService_RemoveUserAclEntry=function(e,t){C.Exec("AMT_AuthorizationService","RemoveUserAclEntry",{Handle:e},t)},C.AMT_AuthorizationService_SetAdminAclEntryEx=function(e,t,n){C.Exec("AMT_AuthorizationService","SetAdminAclEntryEx",{Username:e,DigestPassword:t},n)},C.AMT_AuthorizationService_GetAdminAclEntry=function(e){C.Exec("AMT_AuthorizationService","GetAdminAclEntry",{},e)},C.AMT_AuthorizationService_GetAdminAclEntryStatus=function(e){C.Exec("AMT_AuthorizationService","GetAdminAclEntryStatus",{},e)},C.AMT_AuthorizationService_GetAdminNetAclEntryStatus=function(e){C.Exec("AMT_AuthorizationService","GetAdminNetAclEntryStatus",{},e)},C.AMT_AuthorizationService_SetAclEnabledState=function(e,t,n,i){C.Exec("AMT_AuthorizationService","SetAclEnabledState",{Handle:e,Enabled:t},n,i)},C.AMT_AuthorizationService_GetAclEnabledState=function(e,t,n){C.Exec("AMT_AuthorizationService","GetAclEnabledState",{Handle:e},t,n)},C.AMT_EndpointAccessControlService_RequestStateChange=function(e,t,n){C.Exec("AMT_EndpointAccessControlService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AMT_EndpointAccessControlService_GetPosture=function(e,t){C.Exec("AMT_EndpointAccessControlService","GetPosture",{PostureType:e},t)},C.AMT_EndpointAccessControlService_GetPostureHash=function(e,t){C.Exec("AMT_EndpointAccessControlService","GetPostureHash",{PostureType:e},t)},C.AMT_EndpointAccessControlService_UpdatePostureState=function(e,t){C.Exec("AMT_EndpointAccessControlService","UpdatePostureState",{UpdateType:e},t)},C.AMT_EndpointAccessControlService_GetEacOptions=function(e){C.Exec("AMT_EndpointAccessControlService","GetEacOptions",{},e)},C.AMT_EndpointAccessControlService_SetEacOptions=function(e,t,n){C.Exec("AMT_EndpointAccessControlService","SetEacOptions",{EacVendors:e,PostureHashAlgorithm:t},n)},C.AMT_EnvironmentDetectionSettingData_SetSystemDefensePolicy=function(e,t){C.Exec("AMT_EnvironmentDetectionSettingData","SetSystemDefensePolicy",{Policy:e},t)},C.AMT_EnvironmentDetectionSettingData_EnableVpnRouting=function(e,t){C.Exec("AMT_EnvironmentDetectionSettingData","EnableVpnRouting",{Enable:e},t)},C.AMT_EthernetPortSettings_SetLinkPreference=function(e,t,n){C.Exec("AMT_EthernetPortSettings","SetLinkPreference",{LinkPreference:e,Timeout:t},n)},C.AMT_HeuristicPacketFilterStatistics_ResetSelectedStats=function(e,t){C.Exec("AMT_HeuristicPacketFilterStatistics","ResetSelectedStats",{SelectedStatistics:e},t)},C.AMT_KerberosSettingData_GetCredentialCacheState=function(e){C.Exec("AMT_KerberosSettingData","GetCredentialCacheState",{},e)},C.AMT_KerberosSettingData_SetCredentialCacheState=function(e,t){C.Exec("AMT_KerberosSettingData","SetCredentialCacheState",{Enable:e},t)},C.AMT_MessageLog_CancelIteration=function(e,t){C.Exec("AMT_MessageLog","CancelIteration",{IterationIdentifier:e},t)},C.AMT_MessageLog_RequestStateChange=function(e,t,n){C.Exec("AMT_MessageLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AMT_MessageLog_ClearLog=function(e){C.Exec("AMT_MessageLog","ClearLog",{},e)},C.AMT_MessageLog_GetRecords=function(e,t,n,i){C.Exec("AMT_MessageLog","GetRecords",{IterationIdentifier:e,MaxReadRecords:t},n,i)},C.AMT_MessageLog_GetRecord=function(e,t,n){C.Exec("AMT_MessageLog","GetRecord",{IterationIdentifier:e,PositionToNext:t},n)},C.AMT_MessageLog_PositionAtRecord=function(e,t,n,i){C.Exec("AMT_MessageLog","PositionAtRecord",{IterationIdentifier:e,MoveAbsolute:t,RecordNumber:n},i)},C.AMT_MessageLog_PositionToFirstRecord=function(e,t){C.Exec("AMT_MessageLog","PositionToFirstRecord",{},e,t)},C.AMT_MessageLog_FreezeLog=function(e,t){C.Exec("AMT_MessageLog","FreezeLog",{Freeze:e},t)},C.AMT_PublicKeyManagementService_AddCRL=function(e,t,n){C.Exec("AMT_PublicKeyManagementService","AddCRL",{Url:e,SerialNumbers:t},n)},C.AMT_PublicKeyManagementService_ResetCRLList=function(e,t){C.Exec("AMT_PublicKeyManagementService","ResetCRLList",{_method_dummy:e},t)},C.AMT_PublicKeyManagementService_AddCertificate=function(e,t){C.Exec("AMT_PublicKeyManagementService","AddCertificate",{CertificateBlob:e},t)},C.AMT_PublicKeyManagementService_AddTrustedRootCertificate=function(e,t){C.Exec("AMT_PublicKeyManagementService","AddTrustedRootCertificate",{CertificateBlob:e},t)},C.AMT_PublicKeyManagementService_AddKey=function(e,t){C.Exec("AMT_PublicKeyManagementService","AddKey",{KeyBlob:e},t)},C.AMT_PublicKeyManagementService_GeneratePKCS10Request=function(e,t,n,i){C.Exec("AMT_PublicKeyManagementService","GeneratePKCS10Request",{KeyPair:e,DNName:t,Usage:n},i)},C.AMT_PublicKeyManagementService_GeneratePKCS10RequestEx=function(e,t,n,i){C.Exec("AMT_PublicKeyManagementService","GeneratePKCS10RequestEx",{KeyPair:e,SigningAlgorithm:t,NullSignedCertificateRequest:n},i)},C.AMT_PublicKeyManagementService_GenerateKeyPair=function(e,t,n){C.Exec("AMT_PublicKeyManagementService","GenerateKeyPair",{KeyAlgorithm:e,KeyLength:t},n)},C.AMT_RedirectionService_RequestStateChange=function(e,t){C.Exec("AMT_RedirectionService","RequestStateChange",{RequestedState:e},t)},C.AMT_RedirectionService_TerminateSession=function(e,t){C.Exec("AMT_RedirectionService","TerminateSession",{SessionType:e},t)},C.AMT_RemoteAccessService_AddMpServer=function(e,t,n,i,o,r,c,a,s){C.Exec("AMT_RemoteAccessService","AddMpServer",{AccessInfo:e,InfoFormat:t,Port:n,AuthMethod:i,Certificate:o,Username:r,Password:c,CN:a},s)},C.AMT_RemoteAccessService_AddRemoteAccessPolicyRule=function(e,t,n,i,o){C.Exec("AMT_RemoteAccessService","AddRemoteAccessPolicyRule",{Trigger:e,TunnelLifeTime:t,ExtendedData:n,MpServer:i},o)},C.AMT_RemoteAccessService_CloseRemoteAccessConnection=function(e,t){C.Exec("AMT_RemoteAccessService","CloseRemoteAccessConnection",{_method_dummy:e},t)},C.AMT_SetupAndConfigurationService_CommitChanges=function(e,t){C.Exec("AMT_SetupAndConfigurationService","CommitChanges",{_method_dummy:e},t)},C.AMT_SetupAndConfigurationService_Unprovision=function(e,t){C.Exec("AMT_SetupAndConfigurationService","Unprovision",{ProvisioningMode:e},t)},C.AMT_SetupAndConfigurationService_PartialUnprovision=function(e,t){C.Exec("AMT_SetupAndConfigurationService","PartialUnprovision",{_method_dummy:e},t)},C.AMT_SetupAndConfigurationService_ResetFlashWearOutProtection=function(e,t){C.Exec("AMT_SetupAndConfigurationService","ResetFlashWearOutProtection",{_method_dummy:e},t)},C.AMT_SetupAndConfigurationService_ExtendProvisioningPeriod=function(e,t){C.Exec("AMT_SetupAndConfigurationService","ExtendProvisioningPeriod",{Duration:e},t)},C.AMT_SetupAndConfigurationService_SetMEBxPassword=function(e,t){C.Exec("AMT_SetupAndConfigurationService","SetMEBxPassword",{Password:e},t)},C.AMT_SetupAndConfigurationService_SetTLSPSK=function(e,t,n){C.Exec("AMT_SetupAndConfigurationService","SetTLSPSK",{PID:e,PPS:t},n)},C.AMT_SetupAndConfigurationService_GetProvisioningAuditRecord=function(e){C.Exec("AMT_SetupAndConfigurationService","GetProvisioningAuditRecord",{},e)},C.AMT_SetupAndConfigurationService_GetUuid=function(e){C.Exec("AMT_SetupAndConfigurationService","GetUuid",{},e)},C.AMT_SetupAndConfigurationService_GetUnprovisionBlockingComponents=function(e){C.Exec("AMT_SetupAndConfigurationService","GetUnprovisionBlockingComponents",{},e)},C.AMT_SetupAndConfigurationService_GetProvisioningAuditRecordV2=function(e){C.Exec("AMT_SetupAndConfigurationService","GetProvisioningAuditRecordV2",{},e)},C.AMT_SystemDefensePolicy_GetTimeout=function(e){C.Exec("AMT_SystemDefensePolicy","GetTimeout",{},e)},C.AMT_SystemDefensePolicy_SetTimeout=function(e,t){C.Exec("AMT_SystemDefensePolicy","SetTimeout",{Timeout:e},t)},C.AMT_SystemDefensePolicy_UpdateStatistics=function(e,t,n,i,o,r){C.Exec("AMT_SystemDefensePolicy","UpdateStatistics",{NetworkInterface:e,ResetOnRead:t},n,i,o,r)},C.AMT_SystemPowerScheme_SetPowerScheme=function(e,t,n){C.Exec("AMT_SystemPowerScheme","SetPowerScheme",{},e,n,0,{InstanceID:t})},C.AMT_TimeSynchronizationService_GetLowAccuracyTimeSynch=function(e,t){C.Exec("AMT_TimeSynchronizationService","GetLowAccuracyTimeSynch",{},e,t)},C.AMT_TimeSynchronizationService_SetHighAccuracyTimeSynch=function(e,t,n,i,o){C.Exec("AMT_TimeSynchronizationService","SetHighAccuracyTimeSynch",{Ta0:e,Tm1:t,Tm2:n},i,o)},C.AMT_UserInitiatedConnectionService_RequestStateChange=function(e,t,n){C.Exec("AMT_UserInitiatedConnectionService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AMT_WebUIService_RequestStateChange=function(e,t,n){C.Exec("AMT_WebUIService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AMT_WiFiPortConfigurationService_AddWiFiSettings=function(e,t,n,i,o,r){C.ExecWithXml("AMT_WiFiPortConfigurationService","AddWiFiSettings",{WiFiEndpoint:e,WiFiEndpointSettingsInput:t,IEEE8021xSettingsInput:n,ClientCredential:i,CACredential:o},r)},C.AMT_WiFiPortConfigurationService_UpdateWiFiSettings=function(e,t,n,i,o,r){C.ExecWithXml("AMT_WiFiPortConfigurationService","UpdateWiFiSettings",{WiFiEndpointSettings:e,WiFiEndpointSettingsInput:t,IEEE8021xSettingsInput:n,ClientCredential:i,CACredential:o},r)},C.AMT_WiFiPortConfigurationService_DeleteAllITProfiles=function(e,t){C.Exec("AMT_WiFiPortConfigurationService","DeleteAllITProfiles",{_method_dummy:e},t)},C.AMT_WiFiPortConfigurationService_DeleteAllUserProfiles=function(e,t){C.Exec("AMT_WiFiPortConfigurationService","DeleteAllUserProfiles",{_method_dummy:e},t)},C.CIM_Account_RequestStateChange=function(e,t,n){C.Exec("CIM_Account","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_AccountManagementService_CreateAccount=function(e,t,n){C.Exec("CIM_AccountManagementService","CreateAccount",{System:e,AccountTemplate:t},n)},C.CIM_BootConfigSetting_ChangeBootOrder=function(e,t){C.Exec("CIM_BootConfigSetting","ChangeBootOrder",{Source:e},t)},C.CIM_BootService_SetBootConfigRole=function(e,t,n){C.Exec("CIM_BootService","SetBootConfigRole",{BootConfigSetting:e,Role:t},n,0,1)},C.CIM_Card_ConnectorPower=function(e,t,n){C.Exec("CIM_Card","ConnectorPower",{Connector:e,PoweredOn:t},n)},C.CIM_Card_IsCompatible=function(e,t){C.Exec("CIM_Card","IsCompatible",{ElementToCheck:e},t)},C.CIM_Chassis_IsCompatible=function(e,t){C.Exec("CIM_Chassis","IsCompatible",{ElementToCheck:e},t)},C.CIM_Fan_SetSpeed=function(e,t){C.Exec("CIM_Fan","SetSpeed",{DesiredSpeed:e},t)},C.CIM_KVMRedirectionSAP_RequestStateChange=function(e,t,n){C.Exec("CIM_KVMRedirectionSAP","RequestStateChange",{RequestedState:e},n)},C.CIM_MediaAccessDevice_LockMedia=function(e,t){C.Exec("CIM_MediaAccessDevice","LockMedia",{Lock:e},t)},C.CIM_MediaAccessDevice_SetPowerState=function(e,t,n){C.Exec("CIM_MediaAccessDevice","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_MediaAccessDevice_Reset=function(e){C.Exec("CIM_MediaAccessDevice","Reset",{},e)},C.CIM_MediaAccessDevice_EnableDevice=function(e,t){C.Exec("CIM_MediaAccessDevice","EnableDevice",{Enabled:e},t)},C.CIM_MediaAccessDevice_OnlineDevice=function(e,t){C.Exec("CIM_MediaAccessDevice","OnlineDevice",{Online:e},t)},C.CIM_MediaAccessDevice_QuiesceDevice=function(e,t){C.Exec("CIM_MediaAccessDevice","QuiesceDevice",{Quiesce:e},t)},C.CIM_MediaAccessDevice_SaveProperties=function(e){C.Exec("CIM_MediaAccessDevice","SaveProperties",{},e)},C.CIM_MediaAccessDevice_RestoreProperties=function(e){C.Exec("CIM_MediaAccessDevice","RestoreProperties",{},e)},C.CIM_MediaAccessDevice_RequestStateChange=function(e,t,n){C.Exec("CIM_MediaAccessDevice","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_PhysicalFrame_IsCompatible=function(e,t){C.Exec("CIM_PhysicalFrame","IsCompatible",{ElementToCheck:e},t)},C.CIM_PhysicalPackage_IsCompatible=function(e,t){C.Exec("CIM_PhysicalPackage","IsCompatible",{ElementToCheck:e},t)},C.CIM_PowerManagementService_RequestPowerStateChange=function(e,t,n,i,o){C.Exec("CIM_PowerManagementService","RequestPowerStateChange",{PowerState:e,ManagedElement:t,Time:n,TimeoutPeriod:i},o,0,1)},C.CIM_PowerSupply_SetPowerState=function(e,t,n){C.Exec("CIM_PowerSupply","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_PowerSupply_Reset=function(e){C.Exec("CIM_PowerSupply","Reset",{},e)},C.CIM_PowerSupply_EnableDevice=function(e,t){C.Exec("CIM_PowerSupply","EnableDevice",{Enabled:e},t)},C.CIM_PowerSupply_OnlineDevice=function(e,t){C.Exec("CIM_PowerSupply","OnlineDevice",{Online:e},t)},C.CIM_PowerSupply_QuiesceDevice=function(e,t){C.Exec("CIM_PowerSupply","QuiesceDevice",{Quiesce:e},t)},C.CIM_PowerSupply_SaveProperties=function(e){C.Exec("CIM_PowerSupply","SaveProperties",{},e)},C.CIM_PowerSupply_RestoreProperties=function(e){C.Exec("CIM_PowerSupply","RestoreProperties",{},e)},C.CIM_PowerSupply_RequestStateChange=function(e,t,n){C.Exec("CIM_PowerSupply","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_Processor_SetPowerState=function(e,t,n){C.Exec("CIM_Processor","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_Processor_Reset=function(e){C.Exec("CIM_Processor","Reset",{},e)},C.CIM_Processor_EnableDevice=function(e,t){C.Exec("CIM_Processor","EnableDevice",{Enabled:e},t)},C.CIM_Processor_OnlineDevice=function(e,t){C.Exec("CIM_Processor","OnlineDevice",{Online:e},t)},C.CIM_Processor_QuiesceDevice=function(e,t){C.Exec("CIM_Processor","QuiesceDevice",{Quiesce:e},t)},C.CIM_Processor_SaveProperties=function(e){C.Exec("CIM_Processor","SaveProperties",{},e)},C.CIM_Processor_RestoreProperties=function(e){C.Exec("CIM_Processor","RestoreProperties",{},e)},C.CIM_Processor_RequestStateChange=function(e,t,n){C.Exec("CIM_Processor","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_RecordLog_ClearLog=function(e){C.Exec("CIM_RecordLog","ClearLog",{},e)},C.CIM_RecordLog_RequestStateChange=function(e,t,n){C.Exec("CIM_RecordLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_RedirectionService_RequestStateChange=function(e,t,n){C.Exec("CIM_RedirectionService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_Sensor_SetPowerState=function(e,t,n){C.Exec("CIM_Sensor","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_Sensor_Reset=function(e){C.Exec("CIM_Sensor","Reset",{},e)},C.CIM_Sensor_EnableDevice=function(e,t){C.Exec("CIM_Sensor","EnableDevice",{Enabled:e},t)},C.CIM_Sensor_OnlineDevice=function(e,t){C.Exec("CIM_Sensor","OnlineDevice",{Online:e},t)},C.CIM_Sensor_QuiesceDevice=function(e,t){C.Exec("CIM_Sensor","QuiesceDevice",{Quiesce:e},t)},C.CIM_Sensor_SaveProperties=function(e){C.Exec("CIM_Sensor","SaveProperties",{},e)},C.CIM_Sensor_RestoreProperties=function(e){C.Exec("CIM_Sensor","RestoreProperties",{},e)},C.CIM_Sensor_RequestStateChange=function(e,t,n){C.Exec("CIM_Sensor","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_StatisticalData_ResetSelectedStats=function(e,t){C.Exec("CIM_StatisticalData","ResetSelectedStats",{SelectedStatistics:e},t)},C.CIM_Watchdog_KeepAlive=function(e){C.Exec("CIM_Watchdog","KeepAlive",{},e)},C.CIM_Watchdog_SetPowerState=function(e,t,n){C.Exec("CIM_Watchdog","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_Watchdog_Reset=function(e){C.Exec("CIM_Watchdog","Reset",{},e)},C.CIM_Watchdog_EnableDevice=function(e,t){C.Exec("CIM_Watchdog","EnableDevice",{Enabled:e},t)},C.CIM_Watchdog_OnlineDevice=function(e,t){C.Exec("CIM_Watchdog","OnlineDevice",{Online:e},t)},C.CIM_Watchdog_QuiesceDevice=function(e,t){C.Exec("CIM_Watchdog","QuiesceDevice",{Quiesce:e},t)},C.CIM_Watchdog_SaveProperties=function(e){C.Exec("CIM_Watchdog","SaveProperties",{},e)},C.CIM_Watchdog_RestoreProperties=function(e){C.Exec("CIM_Watchdog","RestoreProperties",{},e)},C.CIM_Watchdog_RequestStateChange=function(e,t,n){C.Exec("CIM_Watchdog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.CIM_WiFiPort_SetPowerState=function(e,t,n){C.Exec("CIM_WiFiPort","SetPowerState",{PowerState:e,Time:t},n)},C.CIM_WiFiPort_Reset=function(e){C.Exec("CIM_WiFiPort","Reset",{},e)},C.CIM_WiFiPort_EnableDevice=function(e,t){C.Exec("CIM_WiFiPort","EnableDevice",{Enabled:e},t)},C.CIM_WiFiPort_OnlineDevice=function(e,t){C.Exec("CIM_WiFiPort","OnlineDevice",{Online:e},t)},C.CIM_WiFiPort_QuiesceDevice=function(e,t){C.Exec("CIM_WiFiPort","QuiesceDevice",{Quiesce:e},t)},C.CIM_WiFiPort_SaveProperties=function(e){C.Exec("CIM_WiFiPort","SaveProperties",{},e)},C.CIM_WiFiPort_RestoreProperties=function(e){C.Exec("CIM_WiFiPort","RestoreProperties",{},e)},C.CIM_WiFiPort_RequestStateChange=function(e,t,n){C.Exec("CIM_WiFiPort","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.IPS_HostBasedSetupService_Setup=function(e,t,n,i,o,r,c){C.Exec("IPS_HostBasedSetupService","Setup",{NetAdminPassEncryptionType:e,NetworkAdminPassword:t,McNonce:n,Certificate:i,SigningAlgorithm:o,DigitalSignature:r},c)},C.IPS_HostBasedSetupService_AddNextCertInChain=function(e,t,n,i){C.Exec("IPS_HostBasedSetupService","AddNextCertInChain",{NextCertificate:e,IsLeafCertificate:t,IsRootCertificate:n},i)},C.IPS_HostBasedSetupService_AdminSetup=function(e,t,n,i,o,r){C.Exec("IPS_HostBasedSetupService","AdminSetup",{NetAdminPassEncryptionType:e,NetworkAdminPassword:t,McNonce:n,SigningAlgorithm:i,DigitalSignature:o},r)},C.IPS_HostBasedSetupService_UpgradeClientToAdmin=function(e,t,n,i){C.Exec("IPS_HostBasedSetupService","UpgradeClientToAdmin",{McNonce:e,SigningAlgorithm:t,DigitalSignature:n},i)},C.IPS_HostBasedSetupService_DisableClientControlMode=function(e,t){C.Exec("IPS_HostBasedSetupService","DisableClientControlMode",{_method_dummy:e},t)},C.IPS_KVMRedirectionSettingData_TerminateSession=function(e){C.Exec("IPS_KVMRedirectionSettingData","TerminateSession",{},e)},C.IPS_OptInService_StartOptIn=function(e){C.Exec("IPS_OptInService","StartOptIn",{},e)},C.IPS_OptInService_CancelOptIn=function(e){C.Exec("IPS_OptInService","CancelOptIn",{},e)},C.IPS_OptInService_SendOptInCode=function(e,t){C.Exec("IPS_OptInService","SendOptInCode",{OptInCode:e},t)},C.IPS_OptInService_StartService=function(e){C.Exec("IPS_OptInService","StartService",{},e)},C.IPS_OptInService_StopService=function(e){C.Exec("IPS_OptInService","StopService",{},e)},C.IPS_OptInService_RequestStateChange=function(e,t,n){C.Exec("IPS_OptInService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.IPS_ProvisioningRecordLog_RequestStateChange=function(e,t,n){C.Exec("IPS_ProvisioningRecordLog","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.IPS_ProvisioningRecordLog_ClearLog=function(e,t){C.Exec("IPS_ProvisioningRecordLog","ClearLog",{_method_dummy:e},t)},C.IPS_SecIOService_RequestStateChange=function(e,t,n){C.Exec("IPS_SecIOService","RequestStateChange",{RequestedState:e,TimeoutPeriod:t},n)},C.AmtStatusToStr=function(e){return C.AmtStatusCodes[e]?C.AmtStatusCodes[e]:"UNKNOWN_ERROR"},C.AmtStatusCodes={0:"SUCCESS",1:"INTERNAL_ERROR",2:"NOT_READY",3:"INVALID_PT_MODE",4:"INVALID_MESSAGE_LENGTH",5:"TABLE_FINGERPRINT_NOT_AVAILABLE",6:"INTEGRITY_CHECK_FAILED",7:"UNSUPPORTED_ISVS_VERSION",8:"APPLICATION_NOT_REGISTERED",9:"INVALID_REGISTRATION_DATA",10:"APPLICATION_DOES_NOT_EXIST",11:"NOT_ENOUGH_STORAGE",12:"INVALID_NAME",13:"BLOCK_DOES_NOT_EXIST",14:"INVALID_BYTE_OFFSET",15:"INVALID_BYTE_COUNT",16:"NOT_PERMITTED",17:"NOT_OWNER",18:"BLOCK_LOCKED_BY_OTHER",19:"BLOCK_NOT_LOCKED",20:"INVALID_GROUP_PERMISSIONS",21:"GROUP_DOES_NOT_EXIST",22:"INVALID_MEMBER_COUNT",23:"MAX_LIMIT_REACHED",24:"INVALID_AUTH_TYPE",25:"AUTHENTICATION_FAILED",26:"INVALID_DHCP_MODE",27:"INVALID_IP_ADDRESS",28:"INVALID_DOMAIN_NAME",29:"UNSUPPORTED_VERSION",30:"REQUEST_UNEXPECTED",31:"INVALID_TABLE_TYPE",32:"INVALID_PROVISIONING_STATE",33:"UNSUPPORTED_OBJECT",34:"INVALID_TIME",35:"INVALID_INDEX",36:"INVALID_PARAMETER",37:"INVALID_NETMASK",38:"FLASH_WRITE_LIMIT_EXCEEDED",39:"INVALID_IMAGE_LENGTH",40:"INVALID_IMAGE_SIGNATURE",41:"PROPOSE_ANOTHER_VERSION",42:"INVALID_PID_FORMAT",43:"INVALID_PPS_FORMAT",44:"BIST_COMMAND_BLOCKED",45:"CONNECTION_FAILED",46:"CONNECTION_TOO_MANY",47:"RNG_GENERATION_IN_PROGRESS",48:"RNG_NOT_READY",49:"CERTIFICATE_NOT_READY",1024:"DISABLED_BY_POLICY",2048:"NETWORK_IF_ERROR_BASE",2049:"UNSUPPORTED_OEM_NUMBER",2050:"UNSUPPORTED_BOOT_OPTION",2051:"INVALID_COMMAND",2052:"INVALID_SPECIAL_COMMAND",2053:"INVALID_HANDLE",2054:"INVALID_PASSWORD",2055:"INVALID_REALM",2056:"STORAGE_ACL_ENTRY_IN_USE",2057:"DATA_MISSING",2058:"DUPLICATE",2059:"EVENTLOG_FROZEN",2060:"PKI_MISSING_KEYS",2061:"PKI_GENERATING_KEYS",2062:"INVALID_KEY",2063:"INVALID_CERT",2064:"CERT_KEY_NOT_MATCH",2065:"MAX_KERB_DOMAIN_REACHED",2066:"UNSUPPORTED",2067:"INVALID_PRIORITY",2068:"NOT_FOUND",2069:"INVALID_CREDENTIALS",2070:"INVALID_PASSPHRASE",2072:"NO_ASSOCIATION",2075:"AUDIT_FAIL",2076:"BLOCKING_COMPONENT",2081:"USER_CONSENT_REQUIRED",4096:"APP_INTERNAL_ERROR",4097:"NOT_INITIALIZED",4098:"LIB_VERSION_UNSUPPORTED",4099:"INVALID_PARAM",4100:"RESOURCES",4101:"HARDWARE_ACCESS_ERROR",4102:"REQUESTOR_NOT_REGISTERED",4103:"NETWORK_ERROR",4104:"PARAM_BUFFER_TOO_SHORT",4105:"COM_NOT_INITIALIZED_IN_THREAD",4106:"URL_REQUIRED"},C.GetMessageLog=function(e,t){C.AMT_MessageLog_PositionToFirstRecord(i,[e,t,[]])};"Platform firmware (e.g. BIOS)|SMI handler|ISV system management software|Alert ASIC|IPMI|BIOS vendor|System board set vendor|System integrator|Third party add-in|OSV|NIC|System management card".split("|");var g="Unspecified.|No system memory is physically installed in the system.|No usable system memory, all installed memory has experienced an unrecoverable failure.|Unrecoverable hard-disk/ATAPI/IDE device failure.|Unrecoverable system-board failure.|Unrecoverable diskette subsystem failure.|Unrecoverable hard-disk controller failure.|Unrecoverable PS/2 or USB keyboard failure.|Removable boot media not found.|Unrecoverable video controller failure.|No video device detected.|Firmware (BIOS) ROM corruption detected.|CPU voltage mismatch (processors that share same supply have mismatched voltage requirements)|CPU speed matching failure".split("|"),M="Unspecified.|Memory initialization.|Starting hard-disk initialization and test|Secondary processor(s) initialization|User authentication|User-initiated system setup|USB resource configuration|PCI resource configuration|Option ROM initialization|Video initialization|Cache initialization|SM Bus initialization|Keyboard controller initialization|Embedded controller/management controller initialization|Docking station attachment|Enabling docking station|Docking station ejection|Disabling docking station|Calling operating system wake-up vector|Starting operating system boot process|Baseboard or motherboard initialization|reserved|Floppy initialization|Keyboard test|Pointing device test|Primary processor initialization".split("|"),I="Unspecified|Other|Unknown|Processor|Disk|Peripheral|System management module|System board|Memory module|Processor module|Power supply|Add in card|Front panel board|Back panel board|Power system board|Drive backplane|System internal expansion board|Other system board|Processor board|Power unit|Power module|Power management board|Chassis back panel board|System chassis|Sub chassis|Other chassis board|Disk drive bay|Peripheral bay|Device bay|Fan cooling|Cooling unit|Cable interconnect|Memory device|System management software|BIOS|Intel(r) ME|System bus|Group|Intel(r) ME|External environment|Battery|Processing blade|Connectivity switch|Processor/memory module|I/O module|Processor I/O module|Management controller firmware|IPMI channel|PCI bus|PCI express bus|SCSI bus|SATA/SAS bus|Processor front side bus".split("|");C.RealmNames="||Redirection|PT Administration|Hardware Asset|Remote Control|Storage|Event Manager|Storage Admin|Agent Presence Local|Agent Presence Remote|Circuit Breaker|Network Time|General Information|Firmware Update|EIT|LocalUN|Endpoint Access Control|Endpoint Access Control Admin|Event Log Reader|Audit Log|ACL Realm|||Local System".split("|"),C.WatchdogCurrentStates={1:"Not Started",2:"Stopped",4:"Running",8:"Expired",16:"Suspended"};var E={16:"Security Admin",17:"RCO",18:"Redirection Manager",19:"Firmware Update Manager",20:"Security Audit Log",21:"Network Time",22:"Network Administration",23:"Storage Administration",24:"Event Manager",25:"Circuit Breaker Manager",26:"Agent Presence Manager",27:"Wireless Configuration",28:"EAC",29:"KVM",30:"User Opt-In Events",32:"Screen Blanking",33:"Watchdog Events",1600:"Provisioning Started",1601:"Provisioning Completed",1602:"ACL Entry Added",1603:"ACL Entry Modified",1604:"ACL Entry Removed",1605:"ACL Access with Invalid Credentials",1606:"ACL Entry State",1607:"TLS State Changed",1608:"TLS Server Certificate Set",1609:"TLS Server Certificate Remove",1610:"TLS Trusted Root Certificate Added",1611:"TLS Trusted Root Certificate Removed",1612:"TLS Preshared Key Set",1613:"Kerberos Settings Modified",1614:"Kerberos Main Key Modified",1615:"Flash Wear out Counters Reset",1616:"Power Package Modified",1617:"Set Realm Authentication Mode",1618:"Upgrade Client to Admin Control Mode",1619:"Unprovisioning Started",1700:"Performed Power Up",1701:"Performed Power Down",1702:"Performed Power Cycle",1703:"Performed Reset",1704:"Set Boot Options",1800:"IDER Session Opened",1801:"IDER Session Closed",1802:"IDER Enabled",1803:"IDER Disabled",1804:"SoL Session Opened",1805:"SoL Session Closed",1806:"SoL Enabled",1807:"SoL Disabled",1808:"KVM Session Started",1809:"KVM Session Ended",1810:"KVM Enabled",1811:"KVM Disabled",1812:"VNC Password Failed 3 Times",1900:"Firmware Updated",1901:"Firmware Update Failed",2e3:"Security Audit Log Cleared",2001:"Security Audit Policy Modified",2002:"Security Audit Log Disabled",2003:"Security Audit Log Enabled",2004:"Security Audit Log Exported",2005:"Security Audit Log Recovered",2100:"Intel® ME Time Set",2200:"TCPIP Parameters Set",2201:"Host Name Set",2202:"Domain Name Set",2203:"VLAN Parameters Set",2204:"Link Policy Set",2205:"IPv6 Parameters Set",2300:"Global Storage Attributes Set",2301:"Storage EACL Modified",2302:"Storage FPACL Modified",2303:"Storage Write Operation",2400:"Alert Subscribed",2401:"Alert Unsubscribed",2402:"Event Log Cleared",2403:"Event Log Frozen",2500:"CB Filter Added",2501:"CB Filter Removed",2502:"CB Policy Added",2503:"CB Policy Removed",2504:"CB Default Policy Set",2505:"CB Heuristics Option Set",2506:"CB Heuristics State Cleared",2600:"Agent Watchdog Added",2601:"Agent Watchdog Removed",2602:"Agent Watchdog Action Set",2700:"Wireless Profile Added",2701:"Wireless Profile Removed",2702:"Wireless Profile Updated",2800:"EAC Posture Signer SET",2801:"EAC Enabled",2802:"EAC Disabled",2803:"EAC Posture State",2804:"EAC Set Options",2900:"KVM Opt-in Enabled",2901:"KVM Opt-in Disabled",2902:"KVM Password Changed",2903:"KVM Consent Succeeded",2904:"KVM Consent Failed",3e3:"Opt-In Policy Change",3001:"Send Consent Code Event",3002:"Start Opt-In Blocked Event"};function P(e,t,n,i,o){if(200==i){var r,c,a,s,u,d,S=o[1],A=new Date;if(0<n.Body.RecordsReturned)for(c in n.Body.EventRecords=MakeToArray(n.Body.EventRecords),n.Body.EventRecords){a=null;try{a=window.atob(n.Body.EventRecords[c])}catch(a){console.log(a+" "+n.Body.EventRecords[c])}(d={AuditAppID:ReadShort(a,0),EventID:ReadShort(a,2),InitiatorType:a.charCodeAt(4)}).AuditApp=E[d.AuditAppID],d.Event=E[100*d.AuditAppID+d.EventID],d.Event||(d.Event="#"+d.EventID),0==d.InitiatorType&&(u=a.charCodeAt(5),d.Initiator=a.substring(6,6+u),r=6+u),1==d.InitiatorType&&(d.KerberosUserInDomain=ReadInt(a,5),u=a.charCodeAt(9),d.Initiator=GetSidString(a.substring(10,10+u)),r=10+u),2==d.InitiatorType&&(d.Initiator="<i>Local</i>",r=5),3==d.InitiatorType&&(d.Initiator="<i>KVM Default Port</i>",r=5),s=ReadInt(a,r),d.Time=new Date(1e3*(s+60*A.getTimezoneOffset())),r+=4,d.MCLocationType=a.charCodeAt(r++);var _=a.charCodeAt(r++);d.NetAddress=a.substring(r,r+_),r+=_;var l=a.charCodeAt(r++);d.Ex=a.substring(r,r+l),d.ExStr=C.GetAuditLogExtendedDataStr(100*d.AuditAppID+d.EventID,d.Ex),S.push(d)}n.Body.TotalRecordCount>S.length?C.AMT_AuditLog_ReadRecords(S.length+1,P,[o[0],S]):o[0](C,S,i)}else o[0](C,[],i)}return C.GetAuditLogExtendedDataStr=function(e,t){if((1602==e||1604==e)&&0==t.charCodeAt(0))return t.substring(2,2+t.charCodeAt(1));if(1603==e)return 0==t.charCodeAt(1)?t.substring(3):null;if(1605==e)return["Invalid ME access","Invalid MEBx access"][t.charCodeAt(0)];if(1606==e){var n=["Disabled","Enabled"][t.charCodeAt(0)];return 0==t.charCodeAt(1)&&(n+=", "+t.substring(3)),n}if(1607==e)return"Remote "+["NoAuth","ServerAuth","MutualAuth"][t.charCodeAt(0)]+", Local "+["NoAuth","ServerAuth","MutualAuth"][t.charCodeAt(1)];if(1617==e)return C.RealmNames[ReadInt(t,0)]+", "+["NoAuth","Auth","Disabled"][t.charCodeAt(4)];if(1619==e)return["BIOS","MEBx","Local MEI","Local WSMAN","Remote WSAMN"][t.charCodeAt(0)];if(1900==e)return"From "+ReadShort(t,0)+"."+ReadShort(t,2)+"."+ReadShort(t,4)+"."+ReadShort(t,6)+" to "+ReadShort(t,8)+"."+ReadShort(t,10)+"."+ReadShort(t,12)+"."+ReadShort(t,14);if(2100!=e)return 3e3==e?"From "+["None","KVM","All"][t.charCodeAt(0)]+" to "+["None","KVM","All"][t.charCodeAt(1)]:3001==e?["Success","Failed 3 times"][t.charCodeAt(0)]:null;var i=new Date;return i.setTime(1e3*ReadInt(t,0)+6e4*(new Date).getTimezoneOffset()),i.toLocaleString()},C.GetAuditLog=function(e){C.AMT_AuditLog_ReadRecords(1,P,[e,[]])},C}function hex_md5(e){return null==e&&(e=""),forge.md.md5.create().update(e).digest().toHex()}for(var md5_k=[],i=0;i<64;)md5_k[i]=0|4294967296*Math.abs(Math.sin(++i));function hex_md5(e){null==e&&(e="");for(var t,n,i,o,r=[],c=unescape(encodeURI(e)),a=c.length,s=[1732584193,-271733879,-1732584194,271733878],u=0;u<=a;)r[u>>2]|=(c.charCodeAt(u)||128)<<u++%4*8;for(r[e=16*(a+8>>6)+14]=8*a,u=0;u<e;u+=16){for(a=s,o=0;o<64;)a=[i=a[3],(t=0|a[1])+((i=a[0]+[t&(n=a[2])|~t&i,i&t|~i&n,t^n^i,n^(t|~i)][a=o>>4]+(md5_k[o]+(0|r[[o,5*o+1,3*o+5,7*o][a]%16+u])))<<(a=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*a+o++%4])|i>>>32-a),t,n];for(o=4;o;)s[--o]=s[o]+a[o]}for(e="";o<32;)e+=(s[o>>3]>>4*(1^7&o++)&15).toString(16);return e}function rstr_md5(e){return hex2rstr(hex_md5(e))}function execArgumentsToXml(e){if(null==e)return null;var t,n="";for(t in e){var i=e[t];i&&("reference"===i.__parameterType?n+=referenceToXml(t,i):n+=instanceToXml(t,i))}return n}function instanceToXml(e,t){if(null==t)return null;var n,i=!!t.__namespace,o=i?"<q:":"<",r=i?"</q:":"</",c="<r:"+e+(i?' xmlns:q="'+t.__namespace+'"':"")+">";for(n in t)t.hasOwnProperty(n)&&0!==n.indexOf("__")&&("function"==typeof t[n]||Array.isArray(t[n])||("object"==typeof t[n]?console.error("only convert one level down..."):c+=o+n+">"+t[n].toString()+r+n+">"));return c+="</r:"+e+">"}function referenceToXml(e,t){if(null==t)return null;var n,i="<r:"+e+"><a:Address>/wsman</a:Address><a:ReferenceParameters><w:ResourceURI>"+t.__resourceUri+"</w:ResourceURI><w:SelectorSet>";for(n in t)t.hasOwnProperty(n)&&0!==n.indexOf("__")&&("function"==typeof t[n]||"object"==typeof t[n]||Array.isArray(t[n])||(i+='<w:Selector Name="'+n+'">'+t[n].toString()+"</w:Selector>"));return i+="</w:SelectorSet></a:ReferenceParameters></r:"+e+">"}function GetSidString(e){for(var t="S-"+e.charCodeAt(0)+"-"+e.charCodeAt(7),n=2;n<e.length/4;n++)t+="-"+ReadIntX(e,4*n);return t}function GetSidByteArray(e){if(!e||null==e)return null;var t=e.split("-");if(t.length<4||"s"!=t[0]&&"S"!=t[0])return null;for(var n=1;n<t.length;n++){var i=parseInt(t[n]);if(i!=t[n])return null;t[n]=i}for(var o=String.fromCharCode(t[1])+String.fromCharCode(t.length-3)+ShortToStr(Math.floor(t[2]/Math.pow(2,32)))+IntToStr(65535&t[2]),n=3;n<t.length;n++)o+=IntToStrX(t[n]);return o}
\ No newline at end of file
public/scripts/amt-desktop-0.0.2-min.js
+1
-1
@@ -1 +1 @@
1
-var CreateAmtRemoteDesktop=function(t,a){var y={};function b(t){return String.fromCharCode.apply(null,t)}function C(t){for(var a=new Uint8Array(t.length),e=0,n=t.length;e<n;++e)a[e]=t.charCodeAt(e);return a}function D(t,a,e,n,o,r,i){var s,c,h,f,d=t[a++],v={},u=0,l=0;if(0==d){if(2==y.bpp)for(f=0;f<i;f++)L(t[a++]+(t[a++]<<8),f);else for(f=0;f<i;f++)K(t[a++],f);k(y.spare,e,n)}else if(1==d){c=t[a++]+(2==y.bpp?t[a++]<<8:0),y.canvas.fillStyle="rgb("+(1==y.bpp?(224&c)+","+((28&c)<<3)+","+A((3&c)<<6):(c>>8&248)+","+(c>>3&252)+","+((31&c)<<3))+")";var g=T(e,n);n=x(e,n),e=g,y.canvas.fillRect(e,n,o,r)}else if(1<d&&d<17){var p=4,m=15;if(2==y.bpp){for(f=0;f<d;f++)v[f]=t[a++]+(t[a++]<<8);for(2==d?m=p=1:d<=4&&(p=2,m=3);u<i&&a<t.byteLength;)for(c=t[a++],f=8-p;0<=f;f-=p)L(v[c>>f&m],u++)}else{for(f=0;f<d;f++)v[f]=t[a++];for(2==d?m=p=1:d<=4&&(p=2,m=3);u<i&&a<t.byteLength;)for(c=t[a++],f=8-p;0<=f;f-=p)K(v[c>>f&m],u++)}k(y.spare,e,n)}else if(128==d){if(2==y.bpp)for(;u<i&&a<t.byteLength;){for(c=t[a++]+(t[a++]<<8),l=1;l+=h=t[a++],255==h;);if(0==y.rotation)w(c,u,l),u+=l;else for(;0<=--l;)L(c,u++)}else for(;u<i&&a<t.byteLength;){for(c=t[a++],l=1;l+=h=t[a++],255==h;);if(0==y.rotation)S(c,u,l),u+=l;else for(;0<=--l;)K(c,u++)}k(y.spare,e,n)}else if(129<d){if(2==y.bpp)for(f=0;f<d-128;f++)v[f]=t[a++]+(t[a++]<<8);else for(f=0;f<d-128;f++)v[f]=t[a++];for(;u<i&&a<t.byteLength;){if(l=1,c=v[(s=t[a++])%128],127<s)for(;l+=h=t[a++],255==h;);if(0==y.rotation)2==y.bpp?w(c,u,l):S(c,u,l),u+=l;else if(2==y.bpp)for(;0<=--l;)L(c,u++);else for(;0<=--l;)K(c,u++)}k(y.spare,e,n)}}function k(t,a,e){if(1!=y.holding){var n=function(t,a){return 0==y.rotation?t:1==y.rotation?y.canvas.canvas.width-y.sparew2-a:2==y.rotation?y.canvas.canvas.width-y.sparew2-t:3==y.rotation?a:0}(a,e);e=function(t,a){return 0==y.rotation?a:1==y.rotation?t:2==y.rotation?y.canvas.canvas.height-y.spareh2-a:3==y.rotation?y.canvas.canvas.height-y.spareh-t:0}(a,e),a=n,y.canvas.putImageData(t,a,e)}}function K(t,a){var e=a<<2;if(0<y.rotation)if(1==y.rotation){var n=a%y.sparew,o=Math.floor(a/y.sparew);e=(a=n*y.sparew2+(y.sparew2-1-o))<<2}else if(2==y.rotation)e=y.sparew*y.spareh*4-4-e;else if(3==y.rotation){n=a%y.sparew,o=Math.floor(a/y.sparew);e=(a=(y.sparew2-1-n)*y.sparew2+o)<<2}y.spare.data[e]=224&t,y.spare.data[e+1]=(28&t)<<3,y.spare.data[e+2]=A((3&t)<<6)}function L(t,a){var e=a<<2;if(0<y.rotation)if(1==y.rotation){var n=a%y.sparew,o=Math.floor(a/y.sparew);e=(a=n*y.sparew2+(y.sparew2-1-o))<<2}else if(2==y.rotation)e=y.sparew*y.spareh*4-4-e;else if(3==y.rotation){n=a%y.sparew,o=Math.floor(a/y.sparew);e=(a=(y.sparew2-1-n)*y.sparew2+o)<<2}y.spare.data[e]=t>>8&248,y.spare.data[e+1]=t>>3&252,y.spare.data[e+2]=(31&t)<<3}function S(t,a,e){for(var n=a<<2,o=224&t,r=(28&t)<<3,i=A((3&t)<<6);0<=--e;)y.spare.data[n]=o,y.spare.data[n+1]=r,y.spare.data[n+2]=i,n+=4}function w(t,a,e){for(var n=a<<2,o=t>>8&248,r=t>>3&252,i=(31&t)<<3;0<=--e;)y.spare.data[n]=o,y.spare.data[n+1]=r,y.spare.data[n+2]=i,n+=4}function T(t){return 0==y.rotation?t:1==y.rotation?t:2==y.rotation?t-y.canvas.canvas.width:3==y.rotation?t-y.canvas.canvas.height:0}function x(t,a){return 0==y.rotation?a:1==y.rotation?a-y.canvas.canvas.width:2==y.rotation?a-y.canvas.canvas.height:3==y.rotation?a:0}function A(t){return 127<t?t+32:t}function I(){if(1!=y.holding)if(0<y.focusmode){var t=2*y.focusmode;y.send(String.fromCharCode(3,1)+ShortToStr(Math.max(Math.min(y.ox,y.mx)-y.focusmode,0))+ShortToStr(Math.max(Math.min(y.oy,y.my)-y.focusmode,0))+ShortToStr(t+Math.abs(y.ox-y.mx))+ShortToStr(t+Math.abs(y.oy-y.my))),y.ox=y.mx,y.oy=y.my}else y.send(String.fromCharCode(3,1,0,0,0,0)+ShortToStr(y.rwidth)+ShortToStr(y.rheight))}y.canvasid=t,y.CanvasId=Q(t),y.scrolldiv=a,y.canvas=Q(t).getContext("2d"),y.protocol=2,y.state=0,y.acc=null,y.ScreenWidth=960,y.ScreenHeight=700,y.width=0,y.height=0,y.rwidth=0,y.rheight=0,y.bpp=2,y.useZRLE=!0,y.showmouse=!0,y.buttonmask=0,y.localKeyMap=!0,y.spare=null,y.sparew=0,y.spareh=0,y.sparew2=0,y.spareh2=0,y.sparecache={},y.ZRLEfirst=1,y.onScreenSizeChange=null,y.frameRateDelay=0,y.noMouseRotate=!1,y.rotation=0,y.kvmDataSupported=!1,y.onKvmData=null,y.onKvmDataPending=[],y.onKvmDataAck=-1,y.holding=!1,y.lastKeepAlive=Date.now(),y.mNagleTimer=null,y.mx=0,y.my=0,y.ox=-1,y.oy=-1,y.focusmode=0,y.inflate=ZLIB.inflateInit(-15),y.xxStateChange=function(t){0==t?(y.canvas.fillStyle="#000000",y.canvas.fillRect(0,0,y.width,y.height),y.canvas.canvas.width=y.rwidth=y.width=640,y.canvas.canvas.height=y.rheight=y.height=400,QS(y.canvasid).cursor="default"):QS(y.canvasid).cursor=y.showmouse?"default":"none"},y.ProcessBinaryData=function(t){if(null==y.acc)y.acc=new Uint8Array(t);else{var a=new Uint8Array(y.acc.byteLength+t.byteLength);a.set(y.acc,0),a.set(new Uint8Array(t),y.acc.byteLength),y.acc=a}for(;null!=y.acc&&0<y.acc.byteLength;){var e=0,n=new DataView(y.acc.buffer);if(0==y.state&&12<=y.acc.byteLength)e=12,y.state=1,y.send("RFB 003.008\n");else if(1==y.state&&1<=y.acc.byteLength)e=y.acc[0]+1,y.send(String.fromCharCode(1)),y.state=2;else if(2==y.state&&4<=y.acc.byteLength){if(e=4,0!=n.getUint32(0))return y.Stop();y.send(String.fromCharCode(1)),y.state=3}else if(3==y.state&&24<=y.acc.byteLength){y.rotation=0;var o=n.getUint32(20);if(y.acc.byteLength<24+o)return;e=24+o,y.canvas.canvas.width=y.rwidth=y.width=y.ScreenWidth=n.getUint16(0),y.canvas.canvas.height=y.rheight=y.height=y.ScreenHeight=n.getUint16(2);var r="";y.useZRLE&&(r+=IntToStr(16)),r+=IntToStr(0),r+=IntToStr(1092),y.send(String.fromCharCode(2,0)+ShortToStr(r.length/4+1)+r+IntToStr(-223)),1==y.bpp&&y.send(String.fromCharCode(0,0,0,0,8,8,0,1)+ShortToStr(7)+ShortToStr(7)+ShortToStr(3)+String.fromCharCode(5,2,0,0,0,0)),y.state=4,y.parent&&y.parent.xxStateChange(3),I(),y.ox=-1,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight)}else if(4==y.state)switch(y.acc[0]){case 0:if(y.acc.byteLength<4)return;y.state=100+n.getUint16(2),e=4;break;case 2:e=1;break;case 3:if(y.acc.byteLength<8)return;var i=n.getUint32(4)+8;if(y.acc.byteLength<i)return;e=M(y.acc,n)}else if(100<y.state&&12<=y.acc.byteLength){var s=n.getUint16(0),c=n.getUint16(2),h=n.getUint16(4),f=n.getUint16(6),d=h*f,v=n.getUint32(8);if(v<17){if(h<1||64<h||f<1||64<f)return console.log("Invalid tile size ("+h+","+f+"), disconnecting."),y.Stop();if(y.sparew!=h||y.spareh!=f){y.sparew=y.sparew2=h,y.spareh=y.spareh2=f,1!=y.rotation&&3!=y.rotation||(y.sparew2=f,y.spareh2=h);var u=y.sparew2+"x"+y.spareh2;if(y.spare=y.sparecache[u],!y.spare){y.sparecache[u]=y.spare=y.canvas.createImageData(y.sparew2,y.spareh2);for(var l=y.sparew2*y.spareh2<<2,g=3;g<l;g+=4)y.spare.data[g]=255}}}if(4294967073==v)y.canvas.canvas.width=y.rwidth=y.width=h,y.canvas.canvas.height=y.rheight=y.height=f,y.send(String.fromCharCode(3,0,0,0,0,0)+ShortToStr(y.width)+ShortToStr(y.height)),e=12,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight);else if(0==v){var p=12,m=12+d*y.bpp;if(y.acc.byteLength<m)return;if(e=m,2==y.bpp)for(g=0;g<d;g++)L(n.getUint16(p,!0),g),p+=2;else for(g=0;g<d;g++)K(y.acc[p++],g);k(y.spare,s,c)}else{if(16!=v)return y.Stop();if(y.acc.byteLength<16)return;var S=n.getUint32(12);if(y.acc.byteLength<16+S)return;p=16;if(5<S&&0==y.acc[p]&&n.getUint16(p+1,!0)==S-5)D(y.acc,p+5,s,c,h,f,d,S);else{var w=y.inflate.inflate(b(new Uint8Array(y.acc.buffer.slice(p,p+S-0))));0<w.length?D(C(w),0,s,c,h,f,d,w.length):console.log("Invalid deflate data")}e=16+S}100==--y.state&&(y.state=4,0==y.frameRateDelay?I():setTimeout(I,y.frameRateDelay))}if(0==e)return;e!=y.acc.byteLength?y.acc=new Uint8Array(y.acc.buffer.slice(e)):y.acc=null}},y.hold=function(t){y.holding!=t&&(y.holding=t,y.canvas.fillStyle="#000000",y.canvas.fillRect(0,0,y.width,y.height),0==y.holding?(y.canvas.canvas.width==y.width&&y.canvas.canvas.height==y.height||(y.canvas.canvas.width=y.width,y.canvas.canvas.height=y.height,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight)),y.Send(String.fromCharCode(3,0,0,0,0,0)+ShortToStr(y.width)+ShortToStr(y.height))):(y.UnGrabMouseInput(),y.UnGrabKeyInput()))},y.tcanvas=null,y.setRotation=function(t){for(;t<0;)t+=4;var a=t%4;if(1!=y.holding){if(a==y.rotation)return!0;var e=y.canvas.canvas.width,n=y.canvas.canvas.height;1!=y.rotation&&3!=y.rotation||(e=y.canvas.canvas.height,n=y.canvas.canvas.width),null==y.tcanvas&&(y.tcanvas=document.createElement("canvas"));var o=y.tcanvas.getContext("2d");return o.setTransform(1,0,0,1,0,0),o.canvas.width=e,o.canvas.height=n,o.rotate(-90*y.rotation*Math.PI/180),0==y.rotation&&o.drawImage(y.canvas.canvas,0,0),1==y.rotation&&o.drawImage(y.canvas.canvas,-y.canvas.canvas.width,0),2==y.rotation&&o.drawImage(y.canvas.canvas,-y.canvas.canvas.width,-y.canvas.canvas.height),3==y.rotation&&o.drawImage(y.canvas.canvas,0,-y.canvas.canvas.height),0!=y.rotation&&2!=y.rotation||(y.canvas.canvas.height=e,y.canvas.canvas.width=n),1!=y.rotation&&3!=y.rotation||(y.canvas.canvas.height=n,y.canvas.canvas.width=e),y.canvas.setTransform(1,0,0,1,0,0),y.canvas.rotate(90*a*Math.PI/180),y.rotation=a,y.canvas.drawImage(y.tcanvas,T(0),x(0,0)),y.width=y.canvas.canvas.width,y.height=y.canvas.canvas.height,null!=y.onScreenResize&&y.onScreenResize(y,y.width,y.height,y.CanvasId),!0}y.rotation=a},y.Start=function(){for(var t in y.state=0,y.acc=null,y.ZRLEfirst=1,y.inflate.inflateReset(),y.onKvmDataPending=[],y.onKvmDataAck=-1,y.kvmDataSupported=!1,y.sparecache)delete y.sparecache[t]},y.Stop=function(){y.UnGrabMouseInput(),y.UnGrabKeyInput(),y.parent&&y.parent.Stop()},y.send=function(t){y.parent&&y.parent.send(t)};var o={Pause:19,CapsLock:20,Space:32,Quote:39,Minus:45,NumpadMultiply:42,NumpadAdd:43,PrintScreen:44,Comma:44,NumpadSubtract:45,NumpadDecimal:46,Period:46,Slash:47,NumpadDivide:47,Semicolon:59,Equal:61,OSLeft:91,BracketLeft:91,OSRight:91,Backslash:92,BracketRight:93,ContextMenu:93,Backquote:96,NumLock:144,ScrollLock:145,Backspace:65288,Tab:65289,Enter:65293,NumpadEnter:65293,Escape:65307,Delete:65535,Home:65360,PageUp:65365,PageDown:65366,ArrowLeft:65361,ArrowUp:65362,ArrowRight:65363,ArrowDown:65364,End:65367,Insert:65379,F1:65470,F2:65471,F3:65472,F4:65473,F5:65474,F6:65475,F7:65476,F8:65477,F9:65478,F10:65479,F11:65480,F12:65481,ShiftLeft:65505,ShiftRight:65506,ControlLeft:65507,ControlRight:65508,AltLeft:65513,AltRight:65514,MetaLeft:65511,MetaRight:65512};function e(t,a){if((a=a||window.event).code&&0==y.localKeyMap){null!=(e=function(t){return t.code.startsWith("Key")&&4==t.code.length?t.code.charCodeAt(3)+(0==t.shiftKey?32:0):t.code.startsWith("Digit")&&6==t.code.length?t.code.charCodeAt(5):t.code.startsWith("Numpad")&&7==t.code.length?t.code.charCodeAt(6):o[t.code]}(a))&&y.sendkey(e,t)}else{var e,n=e=a.keyCode;0==a.shiftKey&&65<=e&&e<=90&&(n=e+32),112<=e&&e<=124&&(n=e+65358),8==e&&(n=65288),9==e&&(n=65289),13==e&&(n=65293),16==e&&(n=65505),17==e&&(n=65507),18==e&&(n=65513),27==e&&(n=65307),33==e&&(n=65365),34==e&&(n=65366),35==e&&(n=65367),36==e&&(n=65360),37==e&&(n=65361),38==e&&(n=65362),39==e&&(n=65363),40==e&&(n=65364),45==e&&(n=65379),46==e&&(n=65535),96<=e&&e<=105&&(n=e-48),106==e&&(n=42),107==e&&(n=43),109==e&&(n=45),110==e&&(n=46),111==e&&(n=47),186==e&&(n=59),187==e&&(n=61),188==e&&(n=44),189==e&&(n=45),190==e&&(n=46),191==e&&(n=47),192==e&&(n=96),219==e&&(n=91),220==e&&(n=92),221==e&&(n=93),222==e&&(n=39),y.sendkey(n,t)}return y.haltEvent(a)}function M(t,a){if(t.byteLength<8)return 0;var e=a.getUint32(4)+8;if(t.byteLength<e)return 0;if(null!=y.onKvmData){var n=b(t.slice(8,e));16<=n.length&&"\0KvmDataChannel"==n.substring(0,15)&&(0==y.kvmDataSupported&&(y.kvmDataSupported=!0,console.log("KVM Data Channel Supported.")),(-1==y.onKvmDataAck&&16==n.length||0!=n.charCodeAt(15))&&(y.onKvmDataAck=!0),16<=n.length&&y.onKvmData(n.substring(16)),1==y.onKvmDataAck&&0<y.onKvmDataPending.length&&y.sendKvmData(y.onKvmDataPending.shift()))}return e}y.sendkey=function(t,a){if("object"==typeof t){var e="";for(var n in t)e+=String.fromCharCode(4,t[n][1],0,0)+IntToStr(t[n][0]);y.send(e)}else y.send(String.fromCharCode(4,a,0,0)+IntToStr(t))},y.sendKvmData=function(t){!0!==y.onKvmDataAck?y.onKvmDataPending.push(t):(t="\0KvmDataChannel\0"+t,y.send(String.fromCharCode(6,0,0,0)+IntToStr(t.length)+t),y.onKvmDataAck=!1)},y.sendKeepAlive=function(){y.lastKeepAlive<Date.now()-5e3&&(y.lastKeepAlive=Date.now(),y.send(String.fromCharCode(6,0,0,0)+IntToStr(16)+"\0KvmDataChannel\0"))},y.SendCtrlAltDelMsg=function(){y.sendcad()};var n=!(y.sendcad=function(){y.sendkey([[65507,1],[65513,1],[65535,1],[65535,0],[65513,0],[65507,0]])}),r=!1;return y.GrabMouseInput=function(){if(1!=n){var t=y.canvas.canvas;t.onmouseup=y.mouseup,t.onmousedown=y.mousedown,t.onmousemove=y.mousemove,n=!0}},y.UnGrabMouseInput=function(){if(0!=n){var t=y.canvas.canvas;t.onmousemove=null,t.onmouseup=null,t.onmousedown=null,n=!1}},y.GrabKeyInput=function(){1!=r&&(document.onkeyup=y.handleKeyUp,document.onkeydown=y.handleKeyDown,document.onkeypress=y.handleKeys,r=!0)},y.UnGrabKeyInput=function(){0!=r&&(document.onkeyup=null,document.onkeydown=null,document.onkeypress=null,r=!1)},y.handleKeys=function(t){return y.haltEvent(t)},y.handleKeyUp=function(t){return e(0,t)},y.handleKeyDown=function(t){return e(1,t)},y.haltEvent=function(t){return t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),!1},y.mousedblclick=function(t){},y.mousedown=function(t){return y.buttonmask|=1<<t.button,y.mousemove(t,1)},y.mouseup=function(t){return y.buttonmask&=65535-(1<<t.button),y.mousemove(t,1)},y.mousemove=function(t,a){if(y.state<4)return!0;var e=y.canvas.canvas.height/Q(y.canvasid).offsetHeight,n=y.canvas.canvas.width/Q(y.canvasid).offsetWidth,o=y.getPositionOfControl(Q(y.canvasid));if(y.mx=(event.pageX-o[0])*n,y.my=(event.pageY-o[1])*e,event.addx&&(y.mx+=event.addx),event.addy&&(y.my+=event.addy),1!=y.noMouseRotate&&(y.mx2=function(t,a){return 0==y.rotation?t:1==y.rotation?a:2==y.rotation?y.canvas.canvas.width-t:3==y.rotation?y.canvas.canvas.height-a:0}(y.mx,y.my),y.my=function(t,a){return 0==y.rotation?a:1==y.rotation?y.canvas.canvas.width-t:2==y.rotation?y.canvas.canvas.height-a:3==y.rotation?t:0}(y.mx,y.my),y.mx=y.mx2),1==a?(y.send(String.fromCharCode(5,y.buttonmask)+ShortToStr(y.mx)+ShortToStr(y.my)),null!=y.mNagleTimer&&(clearTimeout(y.mNagleTimer),y.mNagleTimer=null)):null==y.mNagleTimer&&(y.mNagleTimer=setTimeout(function(){y.send(String.fromCharCode(5,y.buttonmask)+ShortToStr(y.mx)+ShortToStr(y.my)),y.mNagleTimer=null},50)),QV("DeskFocus",y.focusmode),0!=y.focusmode){var r=Math.min(y.mx,y.canvas.canvas.width-y.focusmode),i=Math.min(y.my,y.canvas.canvas.height-y.focusmode),s=2*y.focusmode,c=Q(y.canvasid),h=c.offsetHeight/y.canvas.canvas.height,f=c.offsetWidth/y.canvas.canvas.width,d=QS("DeskFocus"),v=y.getPositionOfControl(Q(y.canvasid).parentElement);d.left=Math.max((r-y.focusmode)*h,0)+(pos[0]-v[0])+"px",d.top=Math.max((i-y.focusmode)*f,0)+(pos[1]-v[1])+"px",d.width=s*h-6+"px",d.height=s*h-6+"px"}return y.haltEvent(t)},y.getPositionOfControl=function(t){var a=Array(2);for(a[0]=a[1]=0;t;)a[0]+=t.offsetLeft,a[1]+=t.offsetTop,t=t.offsetParent;return a},y}
\ No newline at end of file
1
+var CreateAmtRemoteDesktop=function(a,t){var y={};function b(a){return String.fromCharCode.apply(null,a)}function C(a,t,e,n,o,r,s){var i,c,h,d,v=a[t++],f={},l=0,u=0;if(0==v){if(2==y.bpp)for(d=0;d<s;d++)K(a[t++]+(a[t++]<<8),d);else for(d=0;d<s;d++)k(a[t++],d);D(y.spare,e,n)}else if(1==v){c=a[t++]+(2==y.bpp?a[t++]<<8:0),y.canvas.fillStyle="rgb("+(1==y.bpp?(224&c)+","+((28&c)<<3)+","+x((3&c)<<6):(c>>8&248)+","+(c>>3&252)+","+((31&c)<<3))+")";var g=L(e);n=T(0,n),e=g,y.canvas.fillRect(e,n,o,r)}else if(1<v&&v<17){var p=4,m=15;if(2==y.bpp){for(d=0;d<v;d++)f[d]=a[t++]+(a[t++]<<8);for(2==v?m=p=1:v<=4&&(p=2,m=3);l<s&&t<a.byteLength;)for(c=a[t++],d=8-p;0<=d;d-=p)K(f[c>>d&m],l++)}else{for(d=0;d<v;d++)f[d]=a[t++];for(2==v?m=p=1:v<=4&&(p=2,m=3);l<s&&t<a.byteLength;)for(c=a[t++],d=8-p;0<=d;d-=p)k(f[c>>d&m],l++)}D(y.spare,e,n)}else if(128==v){if(2==y.bpp)for(;l<s&&t<a.byteLength;){for(c=a[t++]+(a[t++]<<8),u=1;u+=h=a[t++],255==h;);if(0==y.rotation)w(c,l,u),l+=u;else for(;0<=--u;)K(c,l++)}else for(;l<s&&t<a.byteLength;){for(c=a[t++],u=1;u+=h=a[t++],255==h;);if(0==y.rotation)S(c,l,u),l+=u;else for(;0<=--u;)k(c,l++)}D(y.spare,e,n)}else if(129<v){if(2==y.bpp)for(d=0;d<v-128;d++)f[d]=a[t++]+(a[t++]<<8);else for(d=0;d<v-128;d++)f[d]=a[t++];for(;l<s&&t<a.byteLength;){if(u=1,c=f[(i=a[t++])%128],127<i)for(;u+=h=a[t++],255==h;);if(0==y.rotation)(2==y.bpp?w:S)(c,l,u),l+=u;else if(2==y.bpp)for(;0<=--u;)K(c,l++);else for(;0<=--u;)k(c,l++)}D(y.spare,e,n)}}function D(a,t,e){var n,o,r,s,i;1!=y.holding&&(o=t,r=e,n=0==y.rotation?o:1==y.rotation?y.canvas.canvas.width-y.sparew2-r:2==y.rotation?y.canvas.canvas.width-y.sparew2-o:3==y.rotation?r:0,s=t,i=e,e=0==y.rotation?i:1==y.rotation?s:2==y.rotation?y.canvas.canvas.height-y.spareh2-i:3==y.rotation?y.canvas.canvas.height-y.spareh-s:0,t=n,y.canvas.putImageData(a,t,e))}function k(a,t){var e,n,o=t<<2;0<y.rotation&&(1==y.rotation?(e=t%y.sparew,n=Math.floor(t/y.sparew),o=(t=e*y.sparew2+(y.sparew2-1-n))<<2):2==y.rotation?o=y.sparew*y.spareh*4-4-o:3==y.rotation&&(e=t%y.sparew,n=Math.floor(t/y.sparew),o=(t=(y.sparew2-1-e)*y.sparew2+n)<<2)),y.spare.data[o]=224&a,y.spare.data[o+1]=(28&a)<<3,y.spare.data[o+2]=x((3&a)<<6)}function K(a,t){var e,n,o=t<<2;0<y.rotation&&(1==y.rotation?(e=t%y.sparew,n=Math.floor(t/y.sparew),o=(t=e*y.sparew2+(y.sparew2-1-n))<<2):2==y.rotation?o=y.sparew*y.spareh*4-4-o:3==y.rotation&&(e=t%y.sparew,n=Math.floor(t/y.sparew),o=(t=(y.sparew2-1-e)*y.sparew2+n)<<2)),y.spare.data[o]=a>>8&248,y.spare.data[o+1]=a>>3&252,y.spare.data[o+2]=(31&a)<<3}function S(a,t,e){for(var n=t<<2,o=224&a,r=(28&a)<<3,s=x((3&a)<<6);0<=--e;)y.spare.data[n]=o,y.spare.data[n+1]=r,y.spare.data[n+2]=s,n+=4}function w(a,t,e){for(var n=t<<2,o=a>>8&248,r=a>>3&252,s=(31&a)<<3;0<=--e;)y.spare.data[n]=o,y.spare.data[n+1]=r,y.spare.data[n+2]=s,n+=4}function L(a){return 0==y.rotation||1==y.rotation?a:2==y.rotation?a-y.canvas.canvas.width:3==y.rotation?a-y.canvas.canvas.height:0}function T(a,t){return 0==y.rotation?t:1==y.rotation?t-y.canvas.canvas.width:2==y.rotation?t-y.canvas.canvas.height:3==y.rotation?t:0}function x(a){return 127<a?a+32:a}function A(){var a;1!=y.holding&&(0<y.focusmode?(a=2*y.focusmode,y.send(String.fromCharCode(3,1)+ShortToStr(Math.max(Math.min(y.ox,y.mx)-y.focusmode,0))+ShortToStr(Math.max(Math.min(y.oy,y.my)-y.focusmode,0))+ShortToStr(a+Math.abs(y.ox-y.mx))+ShortToStr(a+Math.abs(y.oy-y.my))),y.ox=y.mx,y.oy=y.my):y.send(String.fromCharCode(3,1,0,0,0,0)+ShortToStr(y.rwidth)+ShortToStr(y.rheight)))}y.canvasid=a,y.CanvasId=Q(a),y.scrolldiv=t,y.canvas=Q(a).getContext("2d"),y.protocol=2,y.state=0,y.acc=null,y.ScreenWidth=960,y.ScreenHeight=700,y.width=0,y.height=0,y.rwidth=0,y.rheight=0,y.bpp=2,y.useZRLE=!0,y.showmouse=!0,y.buttonmask=0,y.localKeyMap=!0,y.spare=null,y.sparew=0,y.spareh=0,y.sparew2=0,y.spareh2=0,y.sparecache={},y.ZRLEfirst=1,y.onScreenSizeChange=null,y.frameRateDelay=0,y.noMouseRotate=!1,y.rotation=0,y.kvmDataSupported=!1,y.onKvmData=null,y.onKvmDataPending=[],y.onKvmDataAck=-1,y.holding=!1,y.lastKeepAlive=Date.now(),y.mNagleTimer=null,y.mx=0,y.my=0,y.ox=-1,y.oy=-1,y.focusmode=0,y.inflate=ZLIB.inflateInit(-15),y.xxStateChange=function(a){0==a?(y.canvas.fillStyle="#000000",y.canvas.fillRect(0,0,y.width,y.height),y.canvas.canvas.width=y.rwidth=y.width=640,y.canvas.canvas.height=y.rheight=y.height=400,QS(y.canvasid).cursor="default"):QS(y.canvasid).cursor=y.showmouse?"default":"none"},y.ProcessBinaryData=function(a){var t;for(null==y.acc?y.acc=new Uint8Array(a):((t=new Uint8Array(y.acc.byteLength+a.byteLength)).set(y.acc,0),t.set(new Uint8Array(a),y.acc.byteLength),y.acc=t);null!=y.acc&&0<y.acc.byteLength;){var e=0,n=new DataView(y.acc.buffer);if(0==y.state&&12<=y.acc.byteLength)e=12,y.state=1,y.send("RFB 003.008\n");else if(1==y.state&&1<=y.acc.byteLength)e=y.acc[0]+1,y.send(String.fromCharCode(1)),y.state=2;else if(2==y.state&&4<=y.acc.byteLength){if(e=4,0!=n.getUint32(0))return y.Stop();y.send(String.fromCharCode(1)),y.state=3}else if(3==y.state&&24<=y.acc.byteLength){y.rotation=0;var o=n.getUint32(20);if(y.acc.byteLength<24+o)return;e=24+o,y.canvas.canvas.width=y.rwidth=y.width=y.ScreenWidth=n.getUint16(0),y.canvas.canvas.height=y.rheight=y.height=y.ScreenHeight=n.getUint16(2);var r="";y.useZRLE&&(r+=IntToStr(16)),r+=IntToStr(0),r+=IntToStr(1092),y.send(String.fromCharCode(2,0)+ShortToStr(r.length/4+1)+r+IntToStr(-223)),1==y.bpp&&y.send(String.fromCharCode(0,0,0,0,8,8,0,1)+ShortToStr(7)+ShortToStr(7)+ShortToStr(3)+String.fromCharCode(5,2,0,0,0,0)),y.state=4,y.parent&&y.parent.xxStateChange(3),A(),y.ox=-1,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight)}else if(4==y.state)switch(y.acc[0]){case 0:if(y.acc.byteLength<4)return;y.state=100+n.getUint16(2),e=4;break;case 2:e=1;break;case 3:if(y.acc.byteLength<8)return;var s=n.getUint32(4)+8;if(y.acc.byteLength<s)return;e=function(a,t){if(a.byteLength<8)return 0;var e=t.getUint32(4)+8;if(a.byteLength<e)return 0;{var n;null==y.onKvmData||16<=(n=b(a.slice(8,e))).length&&"\0KvmDataChannel"==n.substring(0,15)&&(0==y.kvmDataSupported&&(y.kvmDataSupported=!0,console.log("KVM Data Channel Supported.")),(-1==y.onKvmDataAck&&16==n.length||0!=n.charCodeAt(15))&&(y.onKvmDataAck=!0),16<=n.length&&y.onKvmData(n.substring(16)),1==y.onKvmDataAck&&0<y.onKvmDataPending.length&&y.sendKvmData(y.onKvmDataPending.shift()))}return e}(y.acc,n)}else if(100<y.state&&12<=y.acc.byteLength){var i=n.getUint16(0),c=n.getUint16(2),h=n.getUint16(4),d=n.getUint16(6),v=h*d,f=n.getUint32(8);if(f<17){if(h<1||64<h||d<1||64<d)return console.log("Invalid tile size ("+h+","+d+"), disconnecting."),y.Stop();if(y.sparew!=h||y.spareh!=d){y.sparew=y.sparew2=h,y.spareh=y.spareh2=d,1!=y.rotation&&3!=y.rotation||(y.sparew2=d,y.spareh2=h);var l=y.sparew2+"x"+y.spareh2;if(y.spare=y.sparecache[l],!y.spare){y.sparecache[l]=y.spare=y.canvas.createImageData(y.sparew2,y.spareh2);for(var u=y.sparew2*y.spareh2<<2,g=3;g<u;g+=4)y.spare.data[g]=255}}}if(4294967073==f)y.canvas.canvas.width=y.rwidth=y.width=h,y.canvas.canvas.height=y.rheight=y.height=d,y.send(String.fromCharCode(3,0,0,0,0,0)+ShortToStr(y.width)+ShortToStr(y.height)),e=12,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight);else if(0==f){var p=12,m=12+v*y.bpp;if(y.acc.byteLength<m)return;if(e=m,2==y.bpp)for(g=0;g<v;g++)K(n.getUint16(p,!0),g),p+=2;else for(g=0;g<v;g++)k(y.acc[p++],g);D(y.spare,i,c)}else{if(16!=f)return y.Stop();if(y.acc.byteLength<16)return;var S=n.getUint32(12);if(y.acc.byteLength<16+S)return;var w,p=16;5<S&&0==y.acc[p]&&n.getUint16(p+1,!0)==S-5?C(y.acc,p+5,i,c,h,d,v):0<(w=y.inflate.inflate(b(new Uint8Array(y.acc.buffer.slice(p,+(p+S)))))).length?C(function(a){for(var t=new Uint8Array(a.length),e=0,n=a.length;e<n;++e)t[e]=a.charCodeAt(e);return t}(w),0,i,c,h,d,v,w.length):console.log("Invalid deflate data"),e=16+S}100==--y.state&&(y.state=4,0==y.frameRateDelay?A():setTimeout(A,y.frameRateDelay))}if(0==e)return;e!=y.acc.byteLength?y.acc=new Uint8Array(y.acc.buffer.slice(e)):y.acc=null}},y.hold=function(a){y.holding!=a&&(y.holding=a,y.canvas.fillStyle="#000000",y.canvas.fillRect(0,0,y.width,y.height),0==y.holding?(y.canvas.canvas.width==y.width&&y.canvas.canvas.height==y.height||(y.canvas.canvas.width=y.width,y.canvas.canvas.height=y.height,null!=y.onScreenSizeChange&&y.onScreenSizeChange(y,y.ScreenWidth,y.ScreenHeight)),y.Send(String.fromCharCode(3,0,0,0,0,0)+ShortToStr(y.width)+ShortToStr(y.height))):(y.UnGrabMouseInput(),y.UnGrabKeyInput()))},y.tcanvas=null,y.setRotation=function(a){for(;a<0;)a+=4;var t=a%4;if(1!=y.holding){if(t==y.rotation)return!0;var e=y.canvas.canvas.width,n=y.canvas.canvas.height;1!=y.rotation&&3!=y.rotation||(e=y.canvas.canvas.height,n=y.canvas.canvas.width),null==y.tcanvas&&(y.tcanvas=document.createElement("canvas"));var o=y.tcanvas.getContext("2d");return o.setTransform(1,0,0,1,0,0),o.canvas.width=e,o.canvas.height=n,o.rotate(-90*y.rotation*Math.PI/180),0==y.rotation&&o.drawImage(y.canvas.canvas,0,0),1==y.rotation&&o.drawImage(y.canvas.canvas,-y.canvas.canvas.width,0),2==y.rotation&&o.drawImage(y.canvas.canvas,-y.canvas.canvas.width,-y.canvas.canvas.height),3==y.rotation&&o.drawImage(y.canvas.canvas,0,-y.canvas.canvas.height),0!=y.rotation&&2!=y.rotation||(y.canvas.canvas.height=e,y.canvas.canvas.width=n),1!=y.rotation&&3!=y.rotation||(y.canvas.canvas.height=n,y.canvas.canvas.width=e),y.canvas.setTransform(1,0,0,1,0,0),y.canvas.rotate(90*t*Math.PI/180),y.rotation=t,y.canvas.drawImage(y.tcanvas,L(0),T(0,0)),y.width=y.canvas.canvas.width,y.height=y.canvas.canvas.height,null!=y.onScreenResize&&y.onScreenResize(y,y.width,y.height,y.CanvasId),!0}y.rotation=t},y.Start=function(){for(var a in y.state=0,y.acc=null,y.ZRLEfirst=1,y.inflate.inflateReset(),y.onKvmDataPending=[],y.onKvmDataAck=-1,y.kvmDataSupported=!1,y.sparecache)delete y.sparecache[a]},y.Stop=function(){y.UnGrabMouseInput(),y.UnGrabKeyInput(),y.parent&&y.parent.Stop()},y.send=function(a){y.parent&&y.parent.send(a)};var r={Pause:19,CapsLock:20,Space:32,Quote:39,Minus:45,NumpadMultiply:42,NumpadAdd:43,PrintScreen:44,Comma:44,NumpadSubtract:45,NumpadDecimal:46,Period:46,Slash:47,NumpadDivide:47,Semicolon:59,Equal:61,OSLeft:91,BracketLeft:91,OSRight:91,Backslash:92,BracketRight:93,ContextMenu:93,Backquote:96,NumLock:144,ScrollLock:145,Backspace:65288,Tab:65289,Enter:65293,NumpadEnter:65293,Escape:65307,Delete:65535,Home:65360,PageUp:65365,PageDown:65366,ArrowLeft:65361,ArrowUp:65362,ArrowRight:65363,ArrowDown:65364,End:65367,Insert:65379,F1:65470,F2:65471,F3:65472,F4:65473,F5:65474,F6:65475,F7:65476,F8:65477,F9:65478,F10:65479,F11:65480,F12:65481,ShiftLeft:65505,ShiftRight:65506,ControlLeft:65507,ControlRight:65508,AltLeft:65513,AltRight:65514,MetaLeft:65511,MetaRight:65512};function e(a,t){var e,n,o;return(t=t||window.event).code&&0==y.localKeyMap?null!=(e=(o=t).code.startsWith("Key")&&4==o.code.length?o.code.charCodeAt(3)+(0==o.shiftKey?32:0):o.code.startsWith("Digit")&&6==o.code.length?o.code.charCodeAt(5):o.code.startsWith("Numpad")&&7==o.code.length?o.code.charCodeAt(6):r[o.code])&&y.sendkey(e,a):(n=e=t.keyCode,0==t.shiftKey&&65<=e&&e<=90&&(n=e+32),112<=e&&e<=124&&(n=e+65358),8==e&&(n=65288),9==e&&(n=65289),13==e&&(n=65293),16==e&&(n=65505),17==e&&(n=65507),18==e&&(n=65513),27==e&&(n=65307),33==e&&(n=65365),34==e&&(n=65366),35==e&&(n=65367),36==e&&(n=65360),37==e&&(n=65361),38==e&&(n=65362),39==e&&(n=65363),40==e&&(n=65364),45==e&&(n=65379),46==e&&(n=65535),96<=e&&e<=105&&(n=e-48),106==e&&(n=42),107==e&&(n=43),109==e&&(n=45),110==e&&(n=46),111==e&&(n=47),186==e&&(n=59),187==e&&(n=61),188==e&&(n=44),189==e&&(n=45),190==e&&(n=46),191==e&&(n=47),192==e&&(n=96),219==e&&(n=91),220==e&&(n=92),221==e&&(n=93),222==e&&(n=39),y.sendkey(n,a)),y.haltEvent(t)}y.sendkey=function(a,t){if("object"==typeof a){var e,n="";for(e in a)n+=String.fromCharCode(4,a[e][1],0,0)+IntToStr(a[e][0]);y.send(n)}else y.send(String.fromCharCode(4,t,0,0)+IntToStr(a))},y.sendKvmData=function(a){!0!==y.onKvmDataAck?y.onKvmDataPending.push(a):(a="\0KvmDataChannel\0"+a,y.send(String.fromCharCode(6,0,0,0)+IntToStr(a.length)+a),y.onKvmDataAck=!1)},y.sendKeepAlive=function(){y.lastKeepAlive<Date.now()-5e3&&(y.lastKeepAlive=Date.now(),y.send(String.fromCharCode(6,0,0,0)+IntToStr(16)+"\0KvmDataChannel\0"))},y.SendCtrlAltDelMsg=function(){y.sendcad()};var n=!(y.sendcad=function(){y.sendkey([[65507,1],[65513,1],[65535,1],[65535,0],[65513,0],[65507,0]])}),o=!1;return y.GrabMouseInput=function(){var a;1!=n&&((a=y.canvas.canvas).onmouseup=y.mouseup,a.onmousedown=y.mousedown,a.onmousemove=y.mousemove,n=!0)},y.UnGrabMouseInput=function(){var a;0!=n&&((a=y.canvas.canvas).onmousemove=null,a.onmouseup=null,a.onmousedown=null,n=!1)},y.GrabKeyInput=function(){1!=o&&(document.onkeyup=y.handleKeyUp,document.onkeydown=y.handleKeyDown,document.onkeypress=y.handleKeys,o=!0)},y.UnGrabKeyInput=function(){0!=o&&(document.onkeyup=null,document.onkeydown=null,document.onkeypress=null,o=!1)},y.handleKeys=function(a){return y.haltEvent(a)},y.handleKeyUp=function(a){return e(0,a)},y.handleKeyDown=function(a){return e(1,a)},y.haltEvent=function(a){return a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),!1},y.mousedblclick=function(a){},y.mousedown=function(a){return y.buttonmask|=1<<a.button,y.mousemove(a,1)},y.mouseup=function(a){return y.buttonmask&=65535-(1<<a.button),y.mousemove(a,1)},y.mousemove=function(a,t){if(y.state<4)return!0;var e,n,o,r,s,i,c,h,d,v,f,l,u=y.canvas.canvas.height/Q(y.canvasid).offsetHeight,g=y.canvas.canvas.width/Q(y.canvasid).offsetWidth,p=y.getPositionOfControl(Q(y.canvasid));return y.mx=(event.pageX-p[0])*g,y.my=(event.pageY-p[1])*u,event.addx&&(y.mx+=event.addx),event.addy&&(y.my+=event.addy),1!=y.noMouseRotate&&(y.mx2=(o=y.mx,r=y.my,0==y.rotation?o:1==y.rotation?r:2==y.rotation?y.canvas.canvas.width-o:3==y.rotation?y.canvas.canvas.height-r:0),y.my=(e=y.mx,n=y.my,0==y.rotation?n:1==y.rotation?y.canvas.canvas.width-e:2==y.rotation?y.canvas.canvas.height-n:3==y.rotation?e:0),y.mx=y.mx2),1==t?(y.send(String.fromCharCode(5,y.buttonmask)+ShortToStr(y.mx)+ShortToStr(y.my)),null!=y.mNagleTimer&&(clearTimeout(y.mNagleTimer),y.mNagleTimer=null)):null==y.mNagleTimer&&(y.mNagleTimer=setTimeout(function(){y.send(String.fromCharCode(5,y.buttonmask)+ShortToStr(y.mx)+ShortToStr(y.my)),y.mNagleTimer=null},50)),QV("DeskFocus",y.focusmode),0!=y.focusmode&&(s=Math.min(y.mx,y.canvas.canvas.width-y.focusmode),i=Math.min(y.my,y.canvas.canvas.height-y.focusmode),c=2*y.focusmode,d=(h=Q(y.canvasid)).offsetHeight/y.canvas.canvas.height,v=h.offsetWidth/y.canvas.canvas.width,f=QS("DeskFocus"),l=y.getPositionOfControl(Q(y.canvasid).parentElement),f.left=Math.max((s-y.focusmode)*d,0)+(pos[0]-l[0])+"px",f.top=Math.max((i-y.focusmode)*v,0)+(pos[1]-l[1])+"px",f.width=c*d-6+"px",f.height=c*d-6+"px"),y.haltEvent(a)},y.getPositionOfControl=function(a){var t=Array(2);for(t[0]=t[1]=0;a;)t[0]+=a.offsetLeft,t[1]+=a.offsetTop,a=a.offsetParent;return t},y}
\ No newline at end of file
public/scripts/amt-redir-ws-0.1.0-min.js
+1
-1
@@ -1 +1 @@
1
-var CreateAmtRedirect=function(e,c){var A={};function T(e){return String.fromCharCode.apply(null,e)}function U(e){for(var t="",n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t}return((A.m=e).parent=A).authCookie=c,A.State=0,A.socket=null,A.host=null,A.port=0,A.user=null,A.pass=null,A.authuri="/RedirectionService",A.tlsv1only=0,A.inDataCount=0,A.connectstate=0,A.protocol=e.protocol,A.acc=null,A.amtsequence=1,A.amtkeepalivetimer=null,A.onStateChanged=null,A.Start=function(e,t,n,r,a){A.host=e,A.port=t,A.user=n,A.pass=r,A.connectstate=0,A.inDataCount=0;var o=window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=2&host="+e+"&port="+t+"&tls="+a+("*"==n?"&serverauth=1":"")+(void 0===r?"&serverauth=1&user="+n:"");null!=c&&""!=c&&(o+="&auth="+c),A.socket=new WebSocket(o),A.socket.binaryType="arraybuffer",A.socket.onopen=A.xxOnSocketConnected,A.socket.onmessage=A.xxOnMessage,A.socket.onclose=A.xxOnSocketClosed,A.xxStateChange(1)},A.xxOnSocketConnected=function(){A.xxStateChange(2),1==A.protocol&&A.directSend(new Uint8Array([16,0,0,0,83,79,76,32])),2==A.protocol&&A.directSend(new Uint8Array([16,1,0,0,75,86,77,82])),3==A.protocol&&A.directSend(new Uint8Array([16,0,0,0,73,68,69,82]))},A.xxOnMessage=function(e){if(e.data&&-1!=A.connectstate){if(A.inDataCount++,1==A.connectstate&&(2==A.protocol||3==A.protocol))return A.m.ProcessBinaryData?A.m.ProcessBinaryData(e.data):A.m.ProcessData(T(e.data));if(null==A.acc)A.acc=e.data;else{var t=new Uint8Array(A.acc.byteLength+e.data.byteLength);t.set(new Uint8Array(A.acc),0),t.set(new Uint8Array(e.data),A.acc.byteLength),A.acc=t.buffer}for(;null!=A.acc&&1<=A.acc.byteLength;){var n=0,r=new Uint8Array(A.acc);switch(r[0]){case 17:if(r.byteLength<4)return;switch(r[1]){case 0:if(r.byteLength<13)return;var a=r[12];if(r.byteLength<13+a)return;A.directSend(new Uint8Array([19,0,0,0,0,0,0,0,0])),n=13+a;break;default:A.Stop(1)}break;case 20:if(r.byteLength<9)return;var o=new DataView(A.acc).getUint32(5,!0);if(r.byteLength<9+o)return;var c=r[1],s=r[4],l=[];for(i=0;i<o;i++)l.push(r[9+i]);var h=new Uint8Array(A.acc.slice(9,9+o));if(n=9+o,0==s)0<=l.indexOf(4)?A.xxSend(String.fromCharCode(19,0,0,0,4)+IntToStrX(A.user.length+A.authuri.length+8)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(0,0)+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(0,0,0,0)):0<=l.indexOf(3)?A.xxSend(String.fromCharCode(19,0,0,0,3)+IntToStrX(A.user.length+A.authuri.length+7)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(0,0)+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(0,0,0)):0<=l.indexOf(1)?A.xxSend(String.fromCharCode(19,0,0,0,1)+IntToStrX(A.user.length+A.pass.length+2)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(A.pass.length)+A.pass):A.Stop(2);else if(3!=s&&4!=s||1!=c)if(0==c)switch(A.protocol){case 1:A.xxSend(String.fromCharCode(32,0,0,0)+IntToStrX(A.amtsequence++)+ShortToStrX(1e4)+ShortToStrX(100)+ShortToStrX(0)+ShortToStrX(1e4)+ShortToStrX(100)+ShortToStrX(0)+IntToStrX(0));break;case 2:A.directSend(new Uint8Array([64,0,0,0,0,0,0,0]));break;case 3:A.connectstate=1,A.xxStateChange(3)}else A.Stop(3);else{var u=0,S=h[u],d=T(new Uint8Array(h.buffer.slice(u+1,u+1+S))),f=h[u+=S+1],g=T(new Uint8Array(h.buffer.slice(u+1,u+1+f)));u+=f+1;var C=0,m=null,x=U(32),y="00000002",b="";4==s&&(C=h[u],m=T(new Uint8Array(h.buffer.slice(u+1,u+1+C))),u+=C+1,b=y+":"+x+":"+m+":");var p=hex_md5(hex_md5(A.user+":"+d+":"+A.pass)+":"+g+":"+b+hex_md5("POST:"+A.authuri)),k=A.user.length+d.length+g.length+A.authuri.length+x.length+y.length+p.length+7;4==s&&(k+=m.length+1);var w=String.fromCharCode(19,0,0,0,s)+IntToStrX(k)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(d.length)+d+String.fromCharCode(g.length)+g+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(x.length)+x+String.fromCharCode(y.length)+y+String.fromCharCode(p.length)+p;4==s&&(w+=String.fromCharCode(m.length)+m),A.xxSend(w)}break;case 33:if(r.byteLength<23)break;n=23,A.xxSend(String.fromCharCode(39,0,0,0)+IntToStrX(A.amtsequence++)+String.fromCharCode(0,0,27,0,0,0)),1==A.protocol&&(A.amtkeepalivetimer=setInterval(A.xxSendAmtKeepAlive,2e3)),A.connectstate=1,A.xxStateChange(3);break;case 41:if(r.byteLength<10)break;n=10;break;case 42:if(r.byteLength<10)break;var v=10+(r[9]<<8)+r[8];if(r.byteLength<v)break;A.m.ProcessBinaryData?A.m.ProcessBinaryData(new Uint8Array(r.buffer.slice(10,v))):A.m.ProcessData(T(new Uint8Array(r.buffer.slice(10,v)))),n=v;break;case 43:if(r.byteLength<8)break;n=8;break;case 65:if(r.byteLength<8)break;A.connectstate=1,A.m.Start(),8<r.byteLength&&(A.m.ProcessBinaryData?A.m.ProcessBinaryData(new Uint8Array(r.buffer.slice(8))):A.m.ProcessData(T(new Uint8Array(r.buffer.slice(8))))),n=r.byteLength;break;case 240:A.serverIsRecording=!0,n=1;break;default:return console.log("Unknown Intel AMT command: "+r[0]+" acclen="+r.byteLength),void A.Stop(4)}if(0==n)return;n!=A.acc.byteLength?A.acc=A.acc.slice(n):A.acc=null}}},A.directSend=function(e){try{A.socket.send(e.buffer)}catch(e){}},A.xxSend=function(e){if(null!=A.socket&&A.socket.readyState==WebSocket.OPEN){for(var t=new Uint8Array(e.length),n=0;n<e.length;++n)t[n]=e.charCodeAt(n);try{A.socket.send(t.buffer)}catch(e){}}},A.Send=A.send=function(e){null!=A.socket&&1==A.connectstate&&(1==A.protocol?A.xxSend(String.fromCharCode(40,0,0,0)+IntToStrX(A.amtsequence++)+ShortToStrX(e.length)+e):A.xxSend(e))},A.xxSendAmtKeepAlive=function(){null!=A.socket&&A.xxSend(String.fromCharCode(43,0,0,0)+IntToStrX(A.amtsequence++))},A.xxOnSocketClosed=function(){0==A.inDataCount&&0==A.tlsv1only?(A.tlsv1only=1,A.socket=new WebSocket(window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=2&host="+A.host+"&port="+A.port+"&tls="+A.tls+"&tls1only=1"+("*"==A.user?"&serverauth=1":"")+("undefined"==typeof pass?"&serverauth=1&user="+A.user:"")),A.socket.binaryType="arraybuffer",A.socket.onopen=A.xxOnSocketConnected,A.socket.onmessage=A.xxOnMessage,A.socket.onclose=A.xxOnSocketClosed):A.Stop(5)},A.xxStateChange=function(e){A.State!=e&&(A.State=e,A.m.xxStateChange(A.State),null!=A.onStateChanged&&A.onStateChanged(A,A.State))},A.Stop=function(e){A.xxStateChange(0),A.connectstate=-1,(A.acc=null)!=A.socket&&(A.socket.close(),A.socket=null),null!=A.amtkeepalivetimer&&(clearInterval(A.amtkeepalivetimer),A.amtkeepalivetimer=null)},A}
\ No newline at end of file
1
+var CreateAmtRedirect=function(e,c){var A={};function T(e){return String.fromCharCode.apply(null,e)}return((A.m=e).parent=A).authCookie=c,A.State=0,A.socket=null,A.host=null,A.port=0,A.user=null,A.pass=null,A.authuri="/RedirectionService",A.tlsv1only=0,A.inDataCount=0,A.connectstate=0,A.protocol=e.protocol,A.acc=null,A.amtsequence=1,A.amtkeepalivetimer=null,A.onStateChanged=null,A.Start=function(e,t,n,r,a){A.host=e,A.port=t,A.user=n,A.pass=r,A.connectstate=0,A.inDataCount=0;var o=window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=2&host="+e+"&port="+t+"&tls="+a+("*"==n?"&serverauth=1":"")+(void 0===r?"&serverauth=1&user="+n:"");null!=c&&""!=c&&(o+="&auth="+c),A.socket=new WebSocket(o),A.socket.binaryType="arraybuffer",A.socket.onopen=A.xxOnSocketConnected,A.socket.onmessage=A.xxOnMessage,A.socket.onclose=A.xxOnSocketClosed,A.xxStateChange(1)},A.xxOnSocketConnected=function(){A.xxStateChange(2),1==A.protocol&&A.directSend(new Uint8Array([16,0,0,0,83,79,76,32])),2==A.protocol&&A.directSend(new Uint8Array([16,1,0,0,75,86,77,82])),3==A.protocol&&A.directSend(new Uint8Array([16,0,0,0,73,68,69,82]))},A.xxOnMessage=function(e){if(e.data&&-1!=A.connectstate){if(A.inDataCount++,1==A.connectstate&&(2==A.protocol||3==A.protocol))return A.m.ProcessBinaryData?A.m.ProcessBinaryData(e.data):A.m.ProcessData(T(e.data));var t;for(null==A.acc?A.acc=e.data:((t=new Uint8Array(A.acc.byteLength+e.data.byteLength)).set(new Uint8Array(A.acc),0),t.set(new Uint8Array(e.data),A.acc.byteLength),A.acc=t.buffer);null!=A.acc&&1<=A.acc.byteLength;){var n=0,r=new Uint8Array(A.acc);switch(r[0]){case 17:if(r.byteLength<4)return;if(0===r[1]){if(r.byteLength<13)return;var a=r[12];if(r.byteLength<13+a)return;A.directSend(new Uint8Array([19,0,0,0,0,0,0,0,0])),n=13+a}else A.Stop(1);break;case 20:if(r.byteLength<9)return;var o=new DataView(A.acc).getUint32(5,!0);if(r.byteLength<9+o)return;var c=r[1],s=r[4],l=[];for(i=0;i<o;i++)l.push(r[9+i]);var h=new Uint8Array(A.acc.slice(9,9+o)),n=9+o;if(0==s)0<=l.indexOf(4)?A.xxSend(String.fromCharCode(19,0,0,0,4)+IntToStrX(A.user.length+A.authuri.length+8)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(0,0)+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(0,0,0,0)):0<=l.indexOf(3)?A.xxSend(String.fromCharCode(19,0,0,0,3)+IntToStrX(A.user.length+A.authuri.length+7)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(0,0)+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(0,0,0)):0<=l.indexOf(1)?A.xxSend(String.fromCharCode(19,0,0,0,1)+IntToStrX(A.user.length+A.pass.length+2)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(A.pass.length)+A.pass):A.Stop(2);else if(3!=s&&4!=s||1!=c)if(0==c)switch(A.protocol){case 1:A.xxSend(String.fromCharCode(32,0,0,0)+IntToStrX(A.amtsequence++)+ShortToStrX(1e4)+ShortToStrX(100)+ShortToStrX(0)+ShortToStrX(1e4)+ShortToStrX(100)+ShortToStrX(0)+IntToStrX(0));break;case 2:A.directSend(new Uint8Array([64,0,0,0,0,0,0,0]));break;case 3:A.connectstate=1,A.xxStateChange(3)}else A.Stop(3);else{var u=0,S=h[0],d=T(new Uint8Array(h.buffer.slice(1,1+S))),f=h[u+=S+1],g=T(new Uint8Array(h.buffer.slice(u+1,u+1+f)));u+=f+1;var C,m=null,x=function(e){for(var t="",n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t}(32),y="00000002",b="";4==s&&(C=h[u],m=T(new Uint8Array(h.buffer.slice(u+1,u+1+C))),b=y+":"+x+":"+m+":");var p=hex_md5(hex_md5(A.user+":"+d+":"+A.pass)+":"+g+":"+b+hex_md5("POST:"+A.authuri)),k=A.user.length+d.length+g.length+A.authuri.length+x.length+y.length+p.length+7;4==s&&(k+=m.length+1);var w=String.fromCharCode(19,0,0,0,s)+IntToStrX(k)+String.fromCharCode(A.user.length)+A.user+String.fromCharCode(d.length)+d+String.fromCharCode(g.length)+g+String.fromCharCode(A.authuri.length)+A.authuri+String.fromCharCode(x.length)+x+String.fromCharCode(y.length)+y+String.fromCharCode(p.length)+p;4==s&&(w+=String.fromCharCode(m.length)+m),A.xxSend(w)}break;case 33:if(r.byteLength<23)break;n=23,A.xxSend(String.fromCharCode(39,0,0,0)+IntToStrX(A.amtsequence++)+String.fromCharCode(0,0,27,0,0,0)),1==A.protocol&&(A.amtkeepalivetimer=setInterval(A.xxSendAmtKeepAlive,2e3)),A.connectstate=1,A.xxStateChange(3);break;case 41:if(r.byteLength<10)break;n=10;break;case 42:if(r.byteLength<10)break;var v=10+(r[9]<<8)+r[8];if(r.byteLength<v)break;A.m.ProcessBinaryData?A.m.ProcessBinaryData(new Uint8Array(r.buffer.slice(10,v))):A.m.ProcessData(T(new Uint8Array(r.buffer.slice(10,v)))),n=v;break;case 43:if(r.byteLength<8)break;n=8;break;case 65:if(r.byteLength<8)break;A.connectstate=1,A.m.Start(),8<r.byteLength&&(A.m.ProcessBinaryData?A.m.ProcessBinaryData(new Uint8Array(r.buffer.slice(8))):A.m.ProcessData(T(new Uint8Array(r.buffer.slice(8))))),n=r.byteLength;break;case 240:A.serverIsRecording=!0,n=1;break;default:return console.log("Unknown Intel AMT command: "+r[0]+" acclen="+r.byteLength),void A.Stop(4)}if(0==n)return;n!=A.acc.byteLength?A.acc=A.acc.slice(n):A.acc=null}}},A.directSend=function(e){try{A.socket.send(e.buffer)}catch(e){}},A.xxSend=function(e){if(null!=A.socket&&A.socket.readyState==WebSocket.OPEN){for(var t=new Uint8Array(e.length),n=0;n<e.length;++n)t[n]=e.charCodeAt(n);try{A.socket.send(t.buffer)}catch(e){}}},A.Send=A.send=function(e){null!=A.socket&&1==A.connectstate&&(1==A.protocol?A.xxSend(String.fromCharCode(40,0,0,0)+IntToStrX(A.amtsequence++)+ShortToStrX(e.length)+e):A.xxSend(e))},A.xxSendAmtKeepAlive=function(){null!=A.socket&&A.xxSend(String.fromCharCode(43,0,0,0)+IntToStrX(A.amtsequence++))},A.xxOnSocketClosed=function(){0==A.inDataCount&&0==A.tlsv1only?(A.tlsv1only=1,A.socket=new WebSocket(window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=2&host="+A.host+"&port="+A.port+"&tls="+A.tls+"&tls1only=1"+("*"==A.user?"&serverauth=1":"")+("undefined"==typeof pass?"&serverauth=1&user="+A.user:"")),A.socket.binaryType="arraybuffer",A.socket.onopen=A.xxOnSocketConnected,A.socket.onmessage=A.xxOnMessage,A.socket.onclose=A.xxOnSocketClosed):A.Stop(5)},A.xxStateChange=function(e){A.State!=e&&(A.State=e,A.m.xxStateChange(A.State),null!=A.onStateChanged&&A.onStateChanged(A,A.State))},A.Stop=function(e){A.xxStateChange(0),A.connectstate=-1,(A.acc=null)!=A.socket&&(A.socket.close(),A.socket=null),null!=A.amtkeepalivetimer&&(clearInterval(A.amtkeepalivetimer),A.amtkeepalivetimer=null)},A}
\ No newline at end of file
public/scripts/amt-script-0.2.0-min.js
+1
-1
@@ -1 +1 @@
1
-function script_setup(e,t){var d={startvars:t};return e.length<6?(console.error("Invalid script length"),null):612182341!=ReadInt(e,0)?(console.error("Invalid binary script"),null):1<ReadShort(e,4)?(console.error("Unsupported script version"),null):(d.script=e.substring(6),d.reset=function(e){d.stop(),d.ip=0,d.variables=t,d.state=1},d.start=function(e){d.stop(),0<(d.stepspeed=e)&&(d.timer=setInterval(function(){d.step()},e))},d.stop=function(){null!=d.timer&&clearInterval(d.timer),d.timer=null,d.stepspeed=0},d.getVar=function(e){if(null!=e)return d.getVarEx(e.split("."),d.variables)},d.getVarEx=function(e,t){try{if(null==e)return;return 0==e.length?t:d.getVarEx(e.slice(1),t[e[0]])}catch(e){return null}},d.setVar=function(e,t){d.setVarEx(e.split("."),d.variables,t)},d.setVarEx=function(e,t,r){1==e.length?t[e[0]]=r:d.setVarEx(e.slice(1),t[e[0]],r)},d.step=function(){if(1==d.state){if(d.ip<d.script.length){var e=ReadShort(d.script,d.ip),t=ReadShort(d.script,d.ip+2),r=ReadShort(d.script,d.ip+4),a=d.ip+6,n=[];for(var s in d.variables)s.startsWith("__")&&delete d.variables[s];for(s=0;s<r;s++){var i=ReadShort(d.script,a),o=d.script.substring(a+2,a+2+i),l=o.charCodeAt(0);if(o=o.substring(1),l<2){for(;1<o.split("{").length;){var c=o.split("{").pop().split("}").shift();o=o.replace("{"+c+"}",d.getVar(c))}1==l&&(d.variables["__"+s]=decodeURI(o),o="__"+s),n.push(o)}2!=l&&3!=l||(d.variables["__"+s]=ReadSInt(o,0),n.push("__"+s)),a+=2+i}d.ip+=t;var u,p=[];for(s=0;s<10;s++)p.push(d.getVar(n[s]));try{if(e<1e4)switch(e){case 0:break;case 1:p[2]?("<"==p[2]&&p[1]<p[3]||"<="==p[2]&&p[1]<=p[3]||"!="==p[2]&&p[1]!=p[3]||"="==p[2]&&p[1]==p[3]||">="==p[2]&&p[1]>=p[3]||">"==p[2]&&p[1]>p[3])&&(d.ip=p[0]):d.ip=p[0];break;case 2:null==n[1]?delete d.variables[n[0]]:d.setVar(n[0],p[1]);break;case 3:d.onConsole?d.onConsole(d.toString(p[0]),d):console.log(d.toString(p[0]));break;case 4:d.state=2,d.dialog=!0,setDialogMode(11,p[0],p[2],d.xxStepDialogOk,p[1],d);break;case 5:for(var s in p[1])p[1][s][p[2]]==p[3]&&(u=s);break;case 6:u=p[1].substr(p[2],p[3]);break;case 7:u=p[1].indexOf(p[2]);break;case 8:u=p[1].split(p[2]);break;case 9:u=p[1].join(p[2]);break;case 10:u=p[1].length;break;case 11:u=JSON.parse(p[1]);break;case 12:u=JSON.stringify(p[1]);break;case 13:u=p[1]+p[2];break;case 14:u=p[1]-p[2];break;case 15:u=parseInt(p[1]);break;case 16:d.state=2,d.amtstack.BatchEnum(p[0],p[1],d.xxWsmanReturn,d);break;case 17:d.state=2,d.amtstack.Put(p[0],p[1],d.xxWsmanReturn,d);break;case 18:d.state=2,d.amtstack.Create(p[0],p[1],d.xxWsmanReturn,d);break;case 19:d.state=2,d.amtstack.Delete(p[0],p[1],d.xxWsmanReturn,d);break;case 20:d.state=2,d.amtstack.Exec(p[0],p[1],p[2],d.xxWsmanReturn,d,0,p[3]);break;case 21:d.stepspeed=p[0],null!=d.timer&&(clearInterval(d.timer),d.timer=setInterval(function(){d.step()},d.stepspeed));break;case 22:d.state=2,d.amtstack.Subscribe(p[0],p[1],p[2],d.xxWsmanReturn,d,0,p[3],p[4],p[5],p[6]);break;case 23:d.state=2,d.amtstack.UnSubscribe(p[0],d.xxWsmanReturn,d,0,p[1]);break;case 24:console.log(p[1],p[2],p[1].charCodeAt(p[2])),u=p[1].charCodeAt(p[2]);break;case 25:d.state=2,amtcert_signWithCaKey(p[0],null,p[1],{CN:"Untrusted Root Certificate"},d.xxSignWithDummyCaReturn);break;default:d.state=9,console.error("Script Error, unknown command: "+e)}else e<2e4?u=script_functionTableX2[e-1e4](p[1],p[2],p[3],p[4],p[5],p[6]):script_functionTableX3&&script_functionTableX3[e-2e4]&&(u=script_functionTableX3[e-2e4](d,p[1],p[2],p[3],p[4],p[5],p[6]));null!=u&&d.setVar(n[0],u)}catch(e){"object"==typeof e&&(e=e.message),d.setVar("_exception",e)}}return 1==d.state&&d.ip>=d.script.length&&(d.state=0,d.stop()),d.onStep&&d.onStep(d),d}},d.xxStepDialogOk=function(e){d.variables.DialogSelect=e,d.state=1,d.dialog=!1,d.onStep&&d.onStep(d)},d.xxWsmanReturnFix=function(e){e&&null!=e&&(e.Header&&(e.Header=e.Header,delete e.Header),e.Body&&(e.Body=e.Body,delete e.Body),e.Responses&&(e.Responses=e.Responses,delete e.Responses),e.Response&&(e.Response=e.Response,delete e.Response),e.ReturnValueStr&&(e.ReturnValueStr=e.ReturnValueStr,delete e.ReturnValueStr))},d.xxWsmanReturn=function(e,t,r,a){if(r)for(var n in d.xxWsmanReturnFix(r),r)for(var s in d.xxWsmanReturnFix(r[n]),r[n])d.xxWsmanReturnFix(r[n][s]);d.setVar(t,r),d.setVar("wsman_result",a),d.setVar("wsman_result_str",httpErrorTable[a]?httpErrorTable[a]:"Error #"+a),d.state=1,d.onStep&&d.onStep(d)},d.xxSignWithDummyCaReturn=function(e){d.setVar("signed_cert",btoa(_arrayBufferToString(e))),d.state=1,d.onStep&&d.onStep(d)},d.toString=function(e){return"object"==typeof e?JSON.stringify(e):e},d.reset(),d)}function script_compile(e,t){var r="",a=e.split("\n"),n={},s=[],i=[];for(var o in a){var l=a[o];if(l.startsWith("##SWAP "))3==(c=l.split(" ")).length&&(i[c[1]]=c[2]);if("#"!=l[0]&&0!=l.length){for(var c in i)l=l.split(c).join(i[c]);var u=l.match(/"[^"]*"|[^\s"]+/g);if(0!=u.length)if(":"!=l[0]){var p=script_functionTable1.indexOf(u[0].toLowerCase());if(-1==p&&0<=(p=script_functionTable2.indexOf(u[0].toLowerCase()))&&(p+=1e4),-1==p&&0<=(p=script_functionTable3.indexOf(u[0].toLowerCase()))&&(p+=2e4),-1==p)return t&&t("Unabled to compile, unknown command: "+u[0]),"";var d=ShortToStr(u.length-1);for(var f in u)if(0!=f)if(":"==u[f][0])s.push([u[f],r.length+d.length+7]),d+=ShortToStr(5)+String.fromCharCode(3)+IntToStr(4294967295);else{var h=parseInt(u[f]);h==u[f]?d+=ShortToStr(5)+String.fromCharCode(2)+IntToStr(h):'"'==u[f][0]&&'"'==u[f][u[f].length-1]?d+=ShortToStr(u[f].length-1)+String.fromCharCode(1)+u[f].substring(1,u[f].length-1):d+=ShortToStr(u[f].length+1)+String.fromCharCode(0)+u[f]}r+=d=ShortToStr(p)+ShortToStr(d.length+4)+d}else n[u[0].toUpperCase()]=r.length}}for(o in s){var b=s[o][0].toUpperCase(),g=s[o][1],S=n[b];if(null==S)return t&&t("Unabled to compile, unknown label: "+b),"";r=r.substr(0,g)+IntToStr(S)+r.substr(g+4)}return IntToStr(612182341)+ShortToStr(1)+r}function script_decompile(e,t){var r="",a=6,n={};if(0<=t)a=t;else{if(e.length<6)return"# Invalid script length";var s=ReadInt(e,0),i=ReadShort(e,4);if(612182341!=s)return"# Invalid binary script: "+s;if(1!=i)return"# Invalid script version"}for(;a<e.length;){var o=ReadShort(e,a),l=ReadShort(e,a+2),c=ReadShort(e,a+4),u=a+6,p="";0<=t||(r+=":label"+(a-6)+"\n");for(var d=0;d<c;d++){var f=ReadShort(e,u),h=e.substring(u+2,u+2+f),b=h.charCodeAt(0);if(0==b)p+=" "+h.substring(1);else if(1==b)p+=' "'+h.substring(1)+'"';else if(2==b)p+=" "+ReadInt(h,1);else if(3==b){var g=ReadInt(h,1),S=n[g];S||(n[S=":label"+g]=g),p+=" "+S}u+=2+f}if(r+=o<1e4?script_functionTable1[o]+p+"\n":2e4<=o?script_functionTable3[o-2e4]+p+"\n":script_functionTable2[o-1e4]+p+"\n",a+=l,0<=t)return r}var m=r.split("\n");for(var d in r="",m){var x=m[d];":"!=x[0]?r+=x+"\n":n[x]&&(r+=x+"\n")}return r}script_functionTable1=["nop","jump","set","print","dialog","getitem","substr","indexof","split","join","length","jsonparse","jsonstr","add","substract","parseint","wsbatchenum","wsput","wscreate","wsdelete","wsexec","scriptspeed","wssubscribe","wsunsubscribe","readchar","signwithdummyca"],script_functionTable2=["encodeuri","decodeuri","passwordcheck","atob","btoa","hex2str","str2hex","random","md5","maketoarray","readshort","readshortx","readint","readsint","readintx","shorttostr","shorttostrx","inttostr","inttostrx"],script_functionTableX2=[encodeURI,decodeURI,passwordcheck,window.atob.bind(window),window.btoa.bind(window),hex2rstr,rstr2hex,random,rstr_md5,MakeToArray,ReadShort,ReadShortX,ReadInt,ReadSInt,ReadIntX,ShortToStr,ShortToStrX,IntToStr,IntToStrX],script_functionTable3=["pullsystemstatus","pulleventlog","pullauditlog","pullcertificates","pullwatchdog","pullsystemdefense","pullhardware","pulluserinfo","pullremoteaccess","highlightblock","disconnect","getsidstring","getsidbytearray"],script_functionTableX3=[PullSystemStatus,PullEventLog,PullAuditLog,PullCertificates,PullWatchdog,PullSystemDefense,PullHardware,PullUserInfo,PullRemoteAccess,script_HighlightBlock,disconnect,function(e,t){return GetSidString(t)},function(e,t){return GetSidByteArray(t)}]
\ No newline at end of file
1
+function script_setup(e,t){var d={startvars:t};return e.length<6?(console.error("Invalid script length"),null):612182341!=ReadInt(e,0)?(console.error("Invalid binary script"),null):1<ReadShort(e,4)?(console.error("Unsupported script version"),null):(d.script=e.substring(6),d.reset=function(e){d.stop(),d.ip=0,d.variables=t,d.state=1},d.start=function(e){d.stop(),0<(d.stepspeed=e)&&(d.timer=setInterval(function(){d.step()},e))},d.stop=function(){null!=d.timer&&clearInterval(d.timer),d.timer=null,d.stepspeed=0},d.getVar=function(e){if(null!=e)return d.getVarEx(e.split("."),d.variables)},d.getVarEx=function(e,t){try{if(null==e)return;return 0==e.length?t:d.getVarEx(e.slice(1),t[e[0]])}catch(e){return null}},d.setVar=function(e,t){d.setVarEx(e.split("."),d.variables,t)},d.setVarEx=function(e,t,r){1==e.length?t[e[0]]=r:d.setVarEx(e.slice(1),t[e[0]],r)},d.step=function(){if(1==d.state){if(d.ip<d.script.length){var e=ReadShort(d.script,d.ip),t=ReadShort(d.script,d.ip+2),r=ReadShort(d.script,d.ip+4),n=d.ip+6,a=[];for(s in d.variables)s.startsWith("__")&&delete d.variables[s];for(var s=0;s<r;s++){var o=ReadShort(d.script,n),i=(c=d.script.substring(n+2,n+2+o)).charCodeAt(0);if(c=c.substring(1),i<2){for(;1<c.split("{").length;)var l=c.split("{").pop().split("}").shift(),c=c.replace("{"+l+"}",d.getVar(l));1==i&&(d.variables["__"+s]=decodeURI(c),c="__"+s),a.push(c)}2!=i&&3!=i||(d.variables["__"+s]=ReadSInt(c,0),a.push("__"+s)),n+=2+o}d.ip+=t;for(var u,p=[],s=0;s<10;s++)p.push(d.getVar(a[s]));try{if(e<1e4)switch(e){case 0:break;case 1:(!p[2]||"<"==p[2]&&p[1]<p[3]||"<="==p[2]&&p[1]<=p[3]||"!="==p[2]&&p[1]!=p[3]||"="==p[2]&&p[1]==p[3]||">="==p[2]&&p[1]>=p[3]||">"==p[2]&&p[1]>p[3])&&(d.ip=p[0]);break;case 2:null==a[1]?delete d.variables[a[0]]:d.setVar(a[0],p[1]);break;case 3:d.onConsole?d.onConsole(d.toString(p[0]),d):console.log(d.toString(p[0]));break;case 4:d.state=2,d.dialog=!0,setDialogMode(11,p[0],p[2],d.xxStepDialogOk,p[1],d);break;case 5:for(var s in p[1])p[1][s][p[2]]==p[3]&&(u=s);break;case 6:u=p[1].substr(p[2],p[3]);break;case 7:u=p[1].indexOf(p[2]);break;case 8:u=p[1].split(p[2]);break;case 9:u=p[1].join(p[2]);break;case 10:u=p[1].length;break;case 11:u=JSON.parse(p[1]);break;case 12:u=JSON.stringify(p[1]);break;case 13:u=p[1]+p[2];break;case 14:u=p[1]-p[2];break;case 15:u=parseInt(p[1]);break;case 16:d.state=2,d.amtstack.BatchEnum(p[0],p[1],d.xxWsmanReturn,d);break;case 17:d.state=2,d.amtstack.Put(p[0],p[1],d.xxWsmanReturn,d);break;case 18:d.state=2,d.amtstack.Create(p[0],p[1],d.xxWsmanReturn,d);break;case 19:d.state=2,d.amtstack.Delete(p[0],p[1],d.xxWsmanReturn,d);break;case 20:d.state=2,d.amtstack.Exec(p[0],p[1],p[2],d.xxWsmanReturn,d,0,p[3]);break;case 21:d.stepspeed=p[0],null!=d.timer&&(clearInterval(d.timer),d.timer=setInterval(function(){d.step()},d.stepspeed));break;case 22:d.state=2,d.amtstack.Subscribe(p[0],p[1],p[2],d.xxWsmanReturn,d,0,p[3],p[4],p[5],p[6]);break;case 23:d.state=2,d.amtstack.UnSubscribe(p[0],d.xxWsmanReturn,d,0,p[1]);break;case 24:console.log(p[1],p[2],p[1].charCodeAt(p[2])),u=p[1].charCodeAt(p[2]);break;case 25:d.state=2,amtcert_signWithCaKey(p[0],null,p[1],{CN:"Untrusted Root Certificate"},d.xxSignWithDummyCaReturn);break;default:d.state=9,console.error("Script Error, unknown command: "+e)}else e<2e4?u=script_functionTableX2[e-1e4](p[1],p[2],p[3],p[4],p[5],p[6]):script_functionTableX3&&script_functionTableX3[e-2e4]&&(u=script_functionTableX3[e-2e4](d,p[1],p[2],p[3],p[4],p[5],p[6]));null!=u&&d.setVar(a[0],u)}catch(e){"object"==typeof e&&(e=e.message),d.setVar("_exception",e)}}return 1==d.state&&d.ip>=d.script.length&&(d.state=0,d.stop()),d.onStep&&d.onStep(d),d}},d.xxStepDialogOk=function(e){d.variables.DialogSelect=e,d.state=1,d.dialog=!1,d.onStep&&d.onStep(d)},d.xxWsmanReturnFix=function(e){e&&null!=e&&(e.Header&&(e.Header=e.Header,delete e.Header),e.Body&&(e.Body=e.Body,delete e.Body),e.Responses&&(e.Responses=e.Responses,delete e.Responses),e.Response&&(e.Response=e.Response,delete e.Response),e.ReturnValueStr&&(e.ReturnValueStr=e.ReturnValueStr,delete e.ReturnValueStr))},d.xxWsmanReturn=function(e,t,r,n){if(r)for(var a in d.xxWsmanReturnFix(r),r)for(var s in d.xxWsmanReturnFix(r[a]),r[a])d.xxWsmanReturnFix(r[a][s]);d.setVar(t,r),d.setVar("wsman_result",n),d.setVar("wsman_result_str",httpErrorTable[n]?httpErrorTable[n]:"Error #"+n),d.state=1,d.onStep&&d.onStep(d)},d.xxSignWithDummyCaReturn=function(e){d.setVar("signed_cert",btoa(_arrayBufferToString(e))),d.state=1,d.onStep&&d.onStep(d)},d.toString=function(e){return"object"==typeof e?JSON.stringify(e):e},d.reset(),d)}function script_compile(e,t){var r,n="",a=e.split("\n"),s={},o=[],i=[];for(r in a){var l=a[r];if(l.startsWith("##SWAP ")&&3==(c=l.split(" ")).length&&(i[c[1]]=c[2]),"#"!=l[0]&&0!=l.length){for(var c in i)l=l.split(c).join(i[c]);var u=l.match(/"[^"]*"|[^\s"]+/g);if(0!=u.length)if(":"!=l[0]){var p=script_functionTable1.indexOf(u[0].toLowerCase());if(-1==p&&0<=(p=script_functionTable2.indexOf(u[0].toLowerCase()))&&(p+=1e4),-1==p&&0<=(p=script_functionTable3.indexOf(u[0].toLowerCase()))&&(p+=2e4),-1==p)return t&&t("Unabled to compile, unknown command: "+u[0]),"";var d,h,b=ShortToStr(u.length-1);for(d in u){0!=d&&(":"==u[d][0]?(o.push([u[d],n.length+b.length+7]),b+=ShortToStr(5)+String.fromCharCode(3)+IntToStr(4294967295)):(h=parseInt(u[d]))==u[d]?b+=ShortToStr(5)+String.fromCharCode(2)+IntToStr(h):'"'==u[d][0]&&'"'==u[d][u[d].length-1]?b+=ShortToStr(u[d].length-1)+String.fromCharCode(1)+u[d].substring(1,u[d].length-1):b+=ShortToStr(u[d].length+1)+String.fromCharCode(0)+u[d])}n+=b=ShortToStr(p)+ShortToStr(b.length+4)+b}else s[u[0].toUpperCase()]=n.length}}for(r in o){var f=o[r][0].toUpperCase(),g=o[r][1],S=s[f];if(null==S)return t&&t("Unabled to compile, unknown label: "+f),"";n=n.substr(0,g)+IntToStr(S)+n.substr(g+4)}return IntToStr(612182341)+ShortToStr(1)+n}function script_decompile(e,t){var r="",n=6,a={};if(0<=t)n=t;else{if(e.length<6)return"# Invalid script length";var s=ReadInt(e,0),o=ReadShort(e,4);if(612182341!=s)return"# Invalid binary script: "+s;if(1!=o)return"# Invalid script version"}for(;n<e.length;){var i=ReadShort(e,n),l=ReadShort(e,n+2),c=ReadShort(e,n+4),u=n+6,p="";0<=t||(r+=":label"+(n-6)+"\n");for(var d=0;d<c;d++){var h,b,f=ReadShort(e,u),g=e.substring(u+2,u+2+f),S=g.charCodeAt(0);0==S?p+=" "+g.substring(1):1==S?p+=' "'+g.substring(1)+'"':2==S?p+=" "+ReadInt(g,1):3==S&&((b=a[h=ReadInt(g,1)])||(a[b=":label"+h]=h),p+=" "+b),u+=2+f}if(r+=i<1e4?script_functionTable1[i]+p+"\n":2e4<=i?script_functionTable3[i-2e4]+p+"\n":script_functionTable2[i-1e4]+p+"\n",n+=l,0<=t)return r}var m=r.split("\n"),r="";for(d in m){var x=m[d];(":"!=x[0]||a[x])&&(r+=x+"\n")}return r}script_functionTable1=["nop","jump","set","print","dialog","getitem","substr","indexof","split","join","length","jsonparse","jsonstr","add","substract","parseint","wsbatchenum","wsput","wscreate","wsdelete","wsexec","scriptspeed","wssubscribe","wsunsubscribe","readchar","signwithdummyca"],script_functionTable2=["encodeuri","decodeuri","passwordcheck","atob","btoa","hex2str","str2hex","random","md5","maketoarray","readshort","readshortx","readint","readsint","readintx","shorttostr","shorttostrx","inttostr","inttostrx"],script_functionTableX2=[encodeURI,decodeURI,passwordcheck,window.atob.bind(window),window.btoa.bind(window),hex2rstr,rstr2hex,random,rstr_md5,MakeToArray,ReadShort,ReadShortX,ReadInt,ReadSInt,ReadIntX,ShortToStr,ShortToStrX,IntToStr,IntToStrX],script_functionTable3=["pullsystemstatus","pulleventlog","pullauditlog","pullcertificates","pullwatchdog","pullsystemdefense","pullhardware","pulluserinfo","pullremoteaccess","highlightblock","disconnect","getsidstring","getsidbytearray"],script_functionTableX3=[PullSystemStatus,PullEventLog,PullAuditLog,PullCertificates,PullWatchdog,PullSystemDefense,PullHardware,PullUserInfo,PullRemoteAccess,script_HighlightBlock,disconnect,function(e,t){return GetSidString(t)},function(e,t){return GetSidByteArray(t)}]
\ No newline at end of file
public/scripts/amt-setupbin-0.1.0-min.js
+1
-1
@@ -1 +1 @@
1
-var AmtSetupBinSetupGuids=["µûqËùJ´AÊ{85xù","²XÏkrL¡^Q.Ä","§÷öÆÄöGíâå\r¥","ª©4Rá)©DM\b¹cS"],AmtSetupBinVarIds={1:{1:[0,"Current MEBx Password"],2:[0,"New MEBx Password"],3:[1,"Manageability Feature Selection"],4:[1,"Firmware Local Update",{0:"Disabled",1:"Enabled",2:"Password Protected"}],5:[1,"Firmware Update Qualifier",{0:"Always",1:"Never",2:"Restricted"}],6:[0,"Power Package"]},2:{1:[0,"Provisioning Preshared Key ID (PID)"],2:[0,"Provisioning Preshared Key (PPS)"],3:[0,"PKI DNS Suffix"],4:[0,"Configuration Server FQDN"],5:[1,"Remote Configuration Enabled (RCFG)",{0:"Off",1:"On"}],6:[1,"Pre-Installed Certificates Enabled",{0:"Off",1:"On"}],7:[1,"User Defined Certificate Configuration",{0:"Disabled",1:"Enabled",2:"Delete"}],8:[0,"User Defined Certificate Addition"],10:[1,"SOL/IDER Redirection Configuration"],11:[0,"Hostname"],12:[0,"Domain Name"],13:[0,"DHCP"],14:[1,"Secure Firmware Update (SFWU)",{0:"Disabled",1:"Enabled"}],15:[0,"ITO"],16:[1,"Provisioning Mode (PM)",{0:"Enterprise",1:"Small Buisness"}],17:[0,"Provisioning Server Address"],18:[2,"Provision Server Port Number (PSPO)"],19:[0,"Static PV4 Parameters"],20:[0,"VLAN"],21:[0,"PASS Policy Flag"],22:[0,"IPv6"],23:[1,"Shared/Dedicated FQDN",{0:"Dedicated",1:"Shared"}],24:[1,"Dynamic DNS Update",{0:"Disabled",1:"Enabled"}],25:[1,"Remote Desktop (KVM) State",{0:"Disabled",1:"Enabled"}],26:[1,"Opt-in User Consent Option",{0:"Disabled",1:"KVM",255:"All"}],27:[1,"Opt-in Remote IT Consent Policy",{0:"Disabled",1:"Enabled"}],28:[1,"ME Provision Halt Active",{0:"Stop",1:"Start"}],29:[1,"Manual Setup and Configuration",{0:"Automated",1:"Manual"}],30:[3,"Support Channel Identifier"],31:[0,"Support Channel Description"],32:[0,"Service Account Number"],33:[0,"Enrollement Passcode"],34:[3,"Service Type"],35:[0,"Service Provider Identifier"]}},AmtSetupBinCreate=function(e,r){var t={};return t.fileType=e,t.recordChunkCount=0,t.recordHeaderByteCount=0,t.recordNumber=0,t.majorVersion=e,t.minorVersion=0,t.flags=r,t.dataRecordsConsumed=0,t.dataRecordChunkCount=0,t.records=[],t},AmtSetupBinDecode=function(e){var r={},t=e.substring(0,16);for(var a in r.fileType=0,AmtSetupBinSetupGuids)t==AmtSetupBinSetupGuids[a]&&(r.fileType=+a+1);if(0!=r.fileType){r.recordChunkCount=ReadShortX(e,16),r.recordHeaderByteCount=ReadShortX(e,18),r.recordNumber=ReadIntX(e,20),r.majorVersion=e.charCodeAt(24),r.minorVersion=e.charCodeAt(25),r.flags=ReadShortX(e,26);var o=ReadIntX(e,28);r.dataRecordsConsumed=ReadIntX(e,32),r.dataRecordChunkCount=ReadShortX(e,36),r.records=[];for(var n=512;n+512<=e.length;){var i={};i.typeIdentifier=ReadIntX(e,n),i.flags=ReadIntX(e,n+4),i.chunkCount=ReadShortX(e,n+8),i.headerByteCount=ReadShortX(e,n+10),i.number=ReadIntX(e,n+12),i.variables=[];var d=0,u=e.substring(n+24,n+512);for(0!=(2&i.flags)&&(u=AmtSetupBinDescrambleRecordData(u));;){var s={};if(s.moduleid=ReadShortX(u,d),s.varid=ReadShortX(u,d+2),0==s.moduleid||0==s.varid)break;AmtSetupBinVarIds[s.moduleid][s.varid]&&(s.length=ReadShortX(u,d+4),s.type=AmtSetupBinVarIds[s.moduleid][s.varid][0],s.desc=AmtSetupBinVarIds[s.moduleid][s.varid][1],s.value=u.substring(d+8,d+8+s.length),1==s.type&&1==s.length?s.value=s.value.charCodeAt(0):2==s.type&&2==s.length?s.value=ReadShortX(s.value,0):3==s.type&&4==s.length&&(s.value=ReadIntX(s.value,0)),i.variables.push(s)),d+=8+4*Math.floor((s.length+3)/4)}i.variables.sort(AmtSetupBinVariableCompare),r.records.push(i),n+=512}if(o==r.records.length)return r}},AmtSetupBinEncode=function(e){if(e.fileType<1&&e.fileType>AmtSetupBinSetupGuids.length)return null;var r=[],t=AmtSetupBinSetupGuids[e.fileType-1],a=0;for(t+=ShortToStrX(e.recordChunkCount),t+=ShortToStrX(e.recordHeaderByteCount),t+=IntToStrX(e.recordNumber),t+=String.fromCharCode(e.majorVersion,e.minorVersion),t+=ShortToStrX(e.flags),t+=IntToStrX(e.records.length),t+=IntToStrX(e.dataRecordsConsumed),t+=ShortToStrX(e.dataRecordChunkCount);t.length<512;)t+="\0";for(var o in r.push(t),e.records){var n="",i=e.records[o];for(var d in n+=IntToStrX(i.typeIdentifier),n+=IntToStrX(i.flags),n+=IntToStrX(0),n+=IntToStrX(0),n+=ShortToStrX(1),n+=ShortToStrX(24),n+=IntToStrX(++a),i.variables.sort(AmtSetupBinVariableCompare),i.variables){var u="",s=i.variables[d],l=s.value;for(s.type=AmtSetupBinVarIds[s.moduleid][s.varid][0],0<s.type&&(l=parseInt(l),1==s.type&&(l=String.fromCharCode(l)),2==s.type&&(l=ShortToStrX(l)),3==s.type&&(l=IntToStrX(l))),u+=ShortToStrX(s.moduleid),u+=ShortToStrX(s.varid),u+=ShortToStrX(l.length),u+=ShortToStrX(0),u+=l;u.length%4!=0;)u+="\0";n+=u}for(;n.length<512;)n+="\0";0!=(2&i.flags)&&(n=n.substring(0,24)+AmtSetupBinScrambleRecordData(n.substring(24))),r.push(n)}return r.join("")};function AmtSetupBinVariableCompare(e,r){return e.moduleid>r.moduleid?1:e.moduleid<r.moduleid?-1:e.varid>r.varid?1:e.varid<r.varid?-1:0}function AmtSetupBinScrambleRecordData(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)+17&255);return r}function AmtSetupBinDescrambleRecordData(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)+239&255);return r}
\ No newline at end of file
1
+var AmtSetupBinSetupGuids=["µûqËùJ´AÊ{85xù","²XÏkrL¡^Q.Ä","§÷öÆÄöGíâå\r¥","ª©4Rá)©DM\b¹cS"],AmtSetupBinVarIds={1:{1:[0,"Current MEBx Password"],2:[0,"New MEBx Password"],3:[1,"Manageability Feature Selection"],4:[1,"Firmware Local Update",{0:"Disabled",1:"Enabled",2:"Password Protected"}],5:[1,"Firmware Update Qualifier",{0:"Always",1:"Never",2:"Restricted"}],6:[0,"Power Package"]},2:{1:[0,"Provisioning Preshared Key ID (PID)"],2:[0,"Provisioning Preshared Key (PPS)"],3:[0,"PKI DNS Suffix"],4:[0,"Configuration Server FQDN"],5:[1,"Remote Configuration Enabled (RCFG)",{0:"Off",1:"On"}],6:[1,"Pre-Installed Certificates Enabled",{0:"Off",1:"On"}],7:[1,"User Defined Certificate Configuration",{0:"Disabled",1:"Enabled",2:"Delete"}],8:[0,"User Defined Certificate Addition"],10:[1,"SOL/IDER Redirection Configuration"],11:[0,"Hostname"],12:[0,"Domain Name"],13:[0,"DHCP"],14:[1,"Secure Firmware Update (SFWU)",{0:"Disabled",1:"Enabled"}],15:[0,"ITO"],16:[1,"Provisioning Mode (PM)",{0:"Enterprise",1:"Small Buisness"}],17:[0,"Provisioning Server Address"],18:[2,"Provision Server Port Number (PSPO)"],19:[0,"Static PV4 Parameters"],20:[0,"VLAN"],21:[0,"PASS Policy Flag"],22:[0,"IPv6"],23:[1,"Shared/Dedicated FQDN",{0:"Dedicated",1:"Shared"}],24:[1,"Dynamic DNS Update",{0:"Disabled",1:"Enabled"}],25:[1,"Remote Desktop (KVM) State",{0:"Disabled",1:"Enabled"}],26:[1,"Opt-in User Consent Option",{0:"Disabled",1:"KVM",255:"All"}],27:[1,"Opt-in Remote IT Consent Policy",{0:"Disabled",1:"Enabled"}],28:[1,"ME Provision Halt Active",{0:"Stop",1:"Start"}],29:[1,"Manual Setup and Configuration",{0:"Automated",1:"Manual"}],30:[3,"Support Channel Identifier"],31:[0,"Support Channel Description"],32:[0,"Service Account Number"],33:[0,"Enrollement Passcode"],34:[3,"Service Type"],35:[0,"Service Provider Identifier"]}},AmtSetupBinCreate=function(e,r){var t={};return t.fileType=e,t.recordChunkCount=0,t.recordHeaderByteCount=0,t.recordNumber=0,t.majorVersion=e,t.minorVersion=0,t.flags=r,t.dataRecordsConsumed=0,t.dataRecordChunkCount=0,t.records=[],t},AmtSetupBinDecode=function(e){var r,t={},a=e.substring(0,16);for(r in t.fileType=0,AmtSetupBinSetupGuids)a==AmtSetupBinSetupGuids[r]&&(t.fileType=+r+1);if(0!=t.fileType){t.recordChunkCount=ReadShortX(e,16),t.recordHeaderByteCount=ReadShortX(e,18),t.recordNumber=ReadIntX(e,20),t.majorVersion=e.charCodeAt(24),t.minorVersion=e.charCodeAt(25),t.flags=ReadShortX(e,26);var o=ReadIntX(e,28);t.dataRecordsConsumed=ReadIntX(e,32),t.dataRecordChunkCount=ReadShortX(e,36),t.records=[];for(var n=512;n+512<=e.length;){var i={};i.typeIdentifier=ReadIntX(e,n),i.flags=ReadIntX(e,n+4),i.chunkCount=ReadShortX(e,n+8),i.headerByteCount=ReadShortX(e,n+10),i.number=ReadIntX(e,n+12),i.variables=[];var d=0,u=e.substring(n+24,n+512);for(0!=(2&i.flags)&&(u=AmtSetupBinDescrambleRecordData(u));;){var s={};if(s.moduleid=ReadShortX(u,d),s.varid=ReadShortX(u,d+2),0==s.moduleid||0==s.varid)break;AmtSetupBinVarIds[s.moduleid][s.varid]&&(s.length=ReadShortX(u,d+4),s.type=AmtSetupBinVarIds[s.moduleid][s.varid][0],s.desc=AmtSetupBinVarIds[s.moduleid][s.varid][1],s.value=u.substring(d+8,d+8+s.length),1==s.type&&1==s.length?s.value=s.value.charCodeAt(0):2==s.type&&2==s.length?s.value=ReadShortX(s.value,0):3==s.type&&4==s.length&&(s.value=ReadIntX(s.value,0)),i.variables.push(s)),d+=8+4*Math.floor((s.length+3)/4)}i.variables.sort(AmtSetupBinVariableCompare),t.records.push(i),n+=512}if(o==t.records.length)return t}},AmtSetupBinEncode=function(e){if(e.fileType<1&&e.fileType>AmtSetupBinSetupGuids.length)return null;var r,t=[],a=AmtSetupBinSetupGuids[e.fileType-1],o=0;for(a+=ShortToStrX(e.recordChunkCount),a+=ShortToStrX(e.recordHeaderByteCount),a+=IntToStrX(e.recordNumber),a+=String.fromCharCode(e.majorVersion,e.minorVersion),a+=ShortToStrX(e.flags),a+=IntToStrX(e.records.length),a+=IntToStrX(e.dataRecordsConsumed),a+=ShortToStrX(e.dataRecordChunkCount);a.length<512;)a+="\0";for(r in t.push(a),e.records){var n,i="",d=e.records[r];for(n in i+=IntToStrX(d.typeIdentifier),i+=IntToStrX(d.flags),i+=IntToStrX(0),i+=IntToStrX(0),i+=ShortToStrX(1),i+=ShortToStrX(24),i+=IntToStrX(++o),d.variables.sort(AmtSetupBinVariableCompare),d.variables){var u="",s=d.variables[n],l=s.value;for(s.type=AmtSetupBinVarIds[s.moduleid][s.varid][0],0<s.type&&(l=parseInt(l),1==s.type&&(l=String.fromCharCode(l)),2==s.type&&(l=ShortToStrX(l)),3==s.type&&(l=IntToStrX(l))),u+=ShortToStrX(s.moduleid),u+=ShortToStrX(s.varid),u+=ShortToStrX(l.length),u+=ShortToStrX(0),u+=l;u.length%4!=0;)u+="\0";i+=u}for(;i.length<512;)i+="\0";0!=(2&d.flags)&&(i=i.substring(0,24)+AmtSetupBinScrambleRecordData(i.substring(24))),t.push(i)}return t.join("")};function AmtSetupBinVariableCompare(e,r){return e.moduleid>r.moduleid?1:e.moduleid<r.moduleid?-1:e.varid>r.varid?1:e.varid<r.varid?-1:0}function AmtSetupBinScrambleRecordData(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)+17&255);return r}function AmtSetupBinDescrambleRecordData(e){for(var r="",t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)+239&255);return r}
\ No newline at end of file
public/scripts/amt-terminal-0.0.2-min.js
+1
-1
@@ -1 +1 @@
1
-var CreateAmtRemoteTerminal=function(e,r){var l={};l.DivId=e,l.DivElement=document.getElementById(e),l.protocol=1,r.protocol&&(l.protocol=r.protocol),l.terminalEmulation=1,l.fxEmulation=0,l.lineFeed="\r\n",l.debugmode=0,l.width=80,l.height=25,l.heightLock=0;var m,f=["000000","BB0000","00BB00","BBBB00","0000BB","BB00BB","00BBBB","BBBBBB","555555","FF5555","55FF55","FFFF55","5555FF","FF55FF","55FFFF","FFFFFF"],u=0,g=7,w=0,C=!0,S=0,b=0,a=0,h=0,o=0,c=[],s=0,d=0,T=[],k=[],n=!1,v=!0,p=!1,y=[],t="";function i(e,r){switch(o){case 0:switch(r){case 27:o=1,c=[],d=s=0;break;default:B(e)}break;case 1:switch(e){case"[":o=2;break;case"(":o=4;break;case")":o=5;break;case"]":o=6;break;case"=":p=!0,o=0;break;case">":p=!1,o=0;break;case"7":a=S,h=b,o=0;break;case"8":S=a,b=h,o=0;break;case"M":for(var t=m[1];t>=m[0]+1;t--)for(var i=0;i<l.width;i++)k[t][i]=k[t-1][i],T[t][i]=T[t-1][i];for(t=m[0]+1-1;t>m[0]-1;t--)for(i=0;i<l.width;i++)k[t][i]=" ",T[t][i]=448;o=0;break;default:console.log("unknown terminal short code",e),o=0}break;case 2:if("0"<=e&&e<="9"){c[s]?c[s]=10*c[s]+(e-"0"):c[s]=e-"0";break}if(";"==e){s++;break}if("?"==e){d=1;break}c[0]||(c[0]=0),function(e,r,t,i){if(1==i)switch(e){case"l":25==r[0]&&(v=!1);break;case"h":25==r[0]&&(v=!0)}else if(0==i){var n;switch(e){case"c":l.TermResetScreen();break;case"A":1==t&&(0==r[0]?b--:b-=r[0],b<0&&(b=0));break;case"B":1==t&&(0==r[0]?b++:b+=r[0],b>l.height&&(b=l.height));break;case"C":1==t&&(0==r[0]?S++:S+=r[0],S>l.width&&(S=l.width));break;case"D":1==t&&(0==r[0]?S--:S-=r[0],S<0&&(S=0));break;case"d":1==t&&((b=r[0]-1)>l.height&&(b=l.height),b<0&&(b=0));break;case"G":1==t&&((S=r[0]-1)<0&&(S=0),S>l.width-1&&(S=l.width-1));break;case"P":var a=1;for(1==t&&(a=r[0]),n=S;n<l.width-a;n++)k[b][n]=k[b][n+a],T[b][n]=T[b][n+a];for(n=l.width-a;n<l.width;n++)k[b][n]=" ",T[b][n]=448;break;case"L":var h=1;for(1==t&&(h=r[0]),0==h&&(h=1),c=m[1];b+h<=c;c--)k[c]=k[c-h],T[c]=T[c-h];for(c=b;c<b+h;c++)for(k[c]=[],T[c]=[],a=0;a<l.width;a++)k[c][a]=" ",T[c][a]=448;break;case"J":if(1==t&&2==r[0])l.TermClear((w<<12)+(g<<6)),b=S=0,y=[];else if(0==t||1==t&&0==r[0])for(E(),n=b+1;n<l.height;n++)L(n);else if(1==t&&1==r[0])for(E(),n=0;n<b-1;n++)L(n);break;case"H":S=2==t?(r[0]<1&&(r[0]=1),r[1]<1&&(r[1]=1),r[0]>l.height&&(r[0]=l.height),r[1]>l.width&&(r[1]=l.width),b=r[0]-1,r[1]-1):b=0;break;case"m":for(n=0;n<t;n++)if(r[n]&&0!=r[n])if(1==r[n])g<8&&(g+=8);else if(2==r[n]||22==r[n])8<=g&&(g-=8);else if(7==r[n])u=2;else if(27==r[n])u=0;else if(30<=r[n]&&r[n]<=37){var o=8<=g;g=r[n]-30,o&&g<=8&&(g+=8)}else 40<=r[n]&&r[n]<=47?w=r[n]-40:90<=r[n]&&r[n]<=99?g=r[n]-82:100<=r[n]&&r[n]<=109&&(w=r[n]-92);else g=7,u=w=0;break;case"K":0!=t&&(1!=t||r[0]&&0!=r[0])?1==t&&(1==r[0]?function(){for(var e=(g<<6)+(w<<12)+u,r=0;r<S;r++)k[b][r]=" ",T[b][r]=e}():2==r[0]&&L(b)):E();break;case"h":C=!0;break;case"l":C=!1;break;case"r":2==t&&(m=[r[0]-1,r[1]-1]),m[0]<0&&(m[0]=0),m[0]>l.height-1&&(m[0]=l.height-1),m[1]<0&&(m[1]=0),m[1]>l.height-1&&(m[1]=l.height-1),m[0]>m[1]&&(m[0]=m[1]);break;case"S":a=1;1==t&&(a=r[0]);for(var c=m[0];c<=m[1]-a;c++)for(var f=0;f<l.width;f++)k[c][f]=k[c+a][f],T[c][f]=T[c+a][f];for(c=m[1]-a+1;c<m[1];c++)for(f=0;f<l.width;f++)k[c][f]=" ",T[c][f]=448;break;case"M":a=1;1==t&&(a=r[0]);for(c=b;c<=m[1]-a;c++)for(f=0;f<l.width;f++)k[c][f]=k[c+a][f],T[c][f]=T[c+a][f];for(c=m[1]-a+1;c<m[1];c++)for(f=0;f<l.width;f++)k[c][f]=" ",T[c][f]=448;break;case"T":a=1;1==t&&(a=r[0]);for(c=m[1];c>m[0]+a;c--)for(f=0;f<l.width;f++)k[c][f]=k[c-a][f],T[c][f]=T[c-a][f];for(c=m[0]+a;c>m[0];c--)for(f=0;f<l.width;f++)k[c][f]=" ",T[c][f]=448;break;case"X":a=1;var s=S,d=b;for(1==t&&(a=r[0]);0<a&&d<l.height;)k[d][s]=" ",a--,++s>=l.width&&(s=0,d++);break;default:console.log("Unknown terminal code",e,r,i)}}}(e,c,s+1,d),o=0;break;case 4:case 5:o=0;break;case 6:var n=e.charCodeAt(0);";"==e?s++:7==n?(function(e){if(0==e.length)return;var r=parseInt(e[0]);(0==r||2==r)&&1<e.length&&"?"!=e[1]&&l.onTitleChange&&l.onTitleChange(l,l.title=e[1])}(c),o=0):c[s]?c[s]+=e:c[s]=e}}l.title=null,l.onTitleChange=null,l.Start=function(){},l.Init=function(e,r){l.width=e||80,l.height=r||25;for(var t=0;t<l.height;t++){k[t]=[],T[t]=[];for(var i=0;i<l.width;i++)k[t][i]=" ",T[t][i]=448}l.TermInit(),l.TermDraw()},l.xxStateChange=function(e){},l.ProcessData=function(r){if(2==l.debugmode&&console.log("TRecv("+r.length+"): "+rstr2hex(r)),0==l.terminalEmulation)try{r=decode_utf8(t+r)}catch(e){return void(t+=r)}t="",null!=l.capture&&(l.capture+=r),function(e){for(var r=0;r<e.length;r++)i(String.fromCharCode(e.charCodeAt(r)),e.charCodeAt(r))}(r),l.TermDraw()},l.ProcessVt100String=function(e){for(var r=0;r<e.length;r++)B(String.fromCharCode(e.charCodeAt(r)))};var K=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,171,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160],D=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,174,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160];K=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,171,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160],D=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,174,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160];function B(e){if("\0"!=e&&7!=e.charCodeAt()){var r=e.charCodeAt();switch(1==l.terminalEmulation?0!=(128&r)&&(e=String.fromCharCode(K[127&r])):2==l.terminalEmulation&&0!=(128&r)&&(e=String.fromCharCode(D[127&r])),r){case 16:e=" ";break;case 24:e="↑";break;case 25:e="↓"}switch(S>l.width&&(S=l.width),b>l.height-1&&(b=l.height-1),e){case"\b":0<S&&(S--,n&&F(" "));break;case"\t":for(var t=8-S%8,i=0;i<t;i++)B(" ");break;case"\n":++b>m[1]&&(l.recordLineTobackBuffer(0),P(1),b=m[1]),(l.lineFeed="\r")&&(S=0);break;case"\r":S=0;break;default:S>=l.width&&(S=0,C&&b++,b>=l.height-1&&(P(1),b=l.height-1)),F(e),S++}}}function F(e){k[b][S]=e,T[b][S]=(g<<6)+(w<<12)+u}function E(){for(var e=(g<<6)+(w<<12)+u,r=S;r<l.width;r++)k[b][r]=" ",T[b][r]=e}function L(e){for(var r=(g<<6)+(w<<12)+u,t=0;t<l.width;t++)k[e][t]=" ",T[e][t]=r}function P(e){var r,t;for(t=m[0];t<=m[1]-e;t++)k[t]=k[t+e],T[t]=T[t+e];for(t=m[1]-e+1;t<=m[1];t++)for(k[t]=[],T[t]=[],r=0;r<l.width;r++)k[t][r]=" ",T[t][r]=448}return l.TermClear=function(e){for(var r=0;r<l.height;r++)for(var t=0;t<l.width;t++)k[r][t]=" ",T[r][t]=e;y=[]},l.TermResetScreen=function(){C=v=!(w=u=0),S=b=0,n=!(g=7),m=[0,l.height-1],p=!1,l.TermClear(448),t=""},l.TermSendKeys=function(e){2==l.debugmode&&console.log("TSend("+e.length+"): "+rstr2hex(e),e),l.parent.send(e)},l.TermSendKey=function(e){2==l.debugmode&&console.log("TSend(1): "+rstr2hex(String.fromCharCode(e)),e),l.parent.send(String.fromCharCode(e))},l.TermHandleKeys=function(e){if(!e.ctrlKey)return 127==e.which?l.TermSendKey(8):13==e.which?l.TermSendKeys(l.lineFeed):0!=e.which&&l.TermSendKey(e.which),!1;e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation()},l.TermHandleKeyUp=function(e){return 8!=e.which&&32!=e.which&&9!=e.which||(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1)},l.TermHandleKeyDown=function(e){if(65<=e.which&&e.which<=90&&1==e.ctrlKey)return l.TermSendKey(e.which-64),e.preventDefault&&e.preventDefault(),void(e.stopPropagation&&e.stopPropagation());if(27==e.which)return l.TermSendKeys(String.fromCharCode(27)),!0;if(1==p){if(37==e.which)return l.TermSendKeys(String.fromCharCode(27,79,68)),!0;if(38==e.which)return l.TermSendKeys(String.fromCharCode(27,79,65)),!0;if(39==e.which)return l.TermSendKeys(String.fromCharCode(27,79,67)),!0;if(40==e.which)return l.TermSendKeys(String.fromCharCode(27,79,66)),!0}else{if(37==e.which)return l.TermSendKeys(String.fromCharCode(27,91,68)),!0;if(38==e.which)return l.TermSendKeys(String.fromCharCode(27,91,65)),!0;if(39==e.which)return l.TermSendKeys(String.fromCharCode(27,91,67)),!0;if(40==e.which)return l.TermSendKeys(String.fromCharCode(27,91,66)),!0}if(33==e.which)return l.TermSendKeys(String.fromCharCode(27,91,53,126)),!0;if(34==e.which)return l.TermSendKeys(String.fromCharCode(27,91,54,126)),!0;if(35==e.which)return l.TermSendKeys(String.fromCharCode(27,91,70)),!0;if(36==e.which)return l.TermSendKeys(String.fromCharCode(27,91,72)),!0;if(45==e.which)return l.TermSendKeys(String.fromCharCode(27,91,50,126)),!0;if(46==e.which)return l.TermSendKeys(String.fromCharCode(27,91,51,126)),!0;if(9==e.which)return l.TermSendKeys("\t"),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!0;var r=[80,81,119,120,116,117,113,114,112,77],t=[49,50,51,52,53,54,55,56,57,48,33,64],i=[80,81,82,83,84,85,86,87,88,89,90,91];if(111<e.which&e.which<124&&0==e.repeat){if(0==l.fxEmulation&&e.which<122)return l.TermSendKeys(String.fromCharCode(27,91,79,r[e.which-112])),!0;if(1==l.fxEmulation)return l.TermSendKeys(String.fromCharCode(27,t[e.which-112])),!0;if(2==l.fxEmulation)return l.TermSendKeys(String.fromCharCode(27,79,i[e.which-112])),!0}r=[80,81,119,120,116,117,113,114,112,77];if(111<e.which&e.which<122&&0==e.repeat)return l.TermSendKeys(String.fromCharCode(27,91,79,r[e.which-112])),!0;t=[49,50,51,52,53,54,55,56,57,48,33,64];if(111<e.which&e.which<124&&0==e.repeat)return l.TermSendKeys(String.fromCharCode(27,t[e.which-112])),!0;i=[80,81,82,83,84,85,86,87,88,89,90,91];return 111<e.which&e.which<124&&0==e.repeat?(l.TermSendKeys(String.fromCharCode(27,79,i[e.which-112])),!0):8!=e.which&&32!=e.which&&9!=e.which||(l.TermSendKey(e.which),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1)},l.recordLineTobackBuffer=function(e){var r="",t="",i=l.TermDrawLine(t,e,r);t=i[0],r=i[1],y.push(t+r+"<br>")},l.TermDrawLine=function(e,r,t){for(var i,n,a,h,o=1,c=0;c<l.width;++c)switch(i=T[r][c],S==c&&b==r&&v&&(i|=2),i!=o&&(e+=t,a=6,h=12,2&i&&(a=12,h=6),e+='<span style="color:#'+f[i>>a&63]+";background-color:#"+f[i>>h&63],1&i&&(e+=";text-decoration:underline"),e+=';">',t="</span>"+(t=""),o=i),n=k[r][c]){case"&":e+="&";break;case"<":e+="<";break;case">":e+=">";break;case" ":e+=" ";break;default:e+=n}return[e,t]},l.TermDraw=function(){for(var e="",r="",t=0;t<l.height;++t){var i=l.TermDrawLine(r,t,e);r=i[0],e=i[1],t!=l.height-1&&(r+="<br>")}800<y.length&&(y=y.slice(y.length-800));var n=y.join("");l.DivElement.innerHTML="<font size='4'><b>"+n+r+e+"</b></font>",l.DivElement.scrollTop=l.DivElement.scrollHeight,0==l.heightLock&&setTimeout(l.TermLockHeight,10)},l.TermLockHeight=function(){l.heightLock=l.DivElement.clientHeight,l.DivElement.style.height=l.DivElement.parentNode.style.height=l.heightLock+"px",l.DivElement.style["overflow-y"]="scroll"},l.TermInit=function(){l.TermResetScreen()},l.heightLock=0,l.DivElement.style.height="",null!=r&&null!=r.cols&&null!=r.rows?l.Init(r.cols,r.rows):l.Init(),l}
\ No newline at end of file
1
+var CreateAmtRemoteTerminal=function(e,r){var l={};l.DivId=e,l.DivElement=document.getElementById(e),l.protocol=1,r.protocol&&(l.protocol=r.protocol),l.terminalEmulation=1,l.fxEmulation=0,l.lineFeed="\r\n",l.debugmode=0,l.width=80,l.height=25,l.heightLock=0;var m,f=["000000","BB0000","00BB00","BBBB00","0000BB","BB00BB","00BBBB","BBBBBB","555555","FF5555","55FF55","FFFF55","5555FF","FF55FF","55FFFF","FFFFFF"],u=0,g=7,w=0,C=!0,S=0,T=0,a=0,h=0,o=0,c=[],s=0,d=0,b=[],k=[],n=!1,v=!0,p=!1,y=[],t="";l.title=null,l.onTitleChange=null,l.Start=function(){},l.Init=function(e,r){l.width=e||80,l.height=r||25;for(var t=0;t<l.height;t++){k[t]=[],b[t]=[];for(var i=0;i<l.width;i++)k[t][i]=" ",b[t][i]=448}l.TermInit(),l.TermDraw()},l.xxStateChange=function(e){},l.ProcessData=function(r){if(2==l.debugmode&&console.log("TRecv("+r.length+"): "+rstr2hex(r)),0==l.terminalEmulation)try{r=decode_utf8(t+r)}catch(e){return void(t+=r)}t="",null!=l.capture&&(l.capture+=r),function(e){for(var r=0;r<e.length;r++)!function(e,r){switch(o){case 0:27===r?(o=1,c=[],d=s=0):B(e);break;case 1:switch(e){case"[":o=2;break;case"(":o=4;break;case")":o=5;break;case"]":o=6;break;case"=":p=!0,o=0;break;case">":p=!1,o=0;break;case"7":a=S,h=T,o=0;break;case"8":S=a,T=h,o=0;break;case"M":for(var t=m[1];t>=m[0]+1;t--)for(var i=0;i<l.width;i++)k[t][i]=k[t-1][i],b[t][i]=b[t-1][i];for(t=m[0]+1-1;t>m[0]-1;t--)for(i=0;i<l.width;i++)k[t][i]=" ",b[t][i]=448;o=0;break;default:console.log("unknown terminal short code",e),o=0}break;case 2:if("0"<=e&&e<="9"){c[s]?c[s]=10*c[s]+(e-"0"):c[s]=e-"0";break}if(";"==e){s++;break}if("?"==e){d=1;break}c[0]||(c[0]=0),function(e,r,t,i){if(1==i)switch(e){case"l":25==r[0]&&(v=!1);break;case"h":25==r[0]&&(v=!0)}else if(0==i){var n,a;switch(e){case"c":l.TermResetScreen();break;case"A":1==t&&(0==r[0]?T--:T-=r[0],T<0&&(T=0));break;case"B":1==t&&(0==r[0]?T++:T+=r[0],T>l.height&&(T=l.height));break;case"C":1==t&&(0==r[0]?S++:S+=r[0],S>l.width&&(S=l.width));break;case"D":1==t&&(0==r[0]?S--:S-=r[0],S<0&&(S=0));break;case"d":1==t&&((T=r[0]-1)>l.height&&(T=l.height),T<0&&(T=0));break;case"G":1==t&&((S=r[0]-1)<0&&(S=0),S>l.width-1&&(S=l.width-1));break;case"P":var h=1;for(1==t&&(h=r[0]),n=S;n<l.width-h;n++)k[T][n]=k[T][n+h],b[T][n]=b[T][n+h];for(n=l.width-h;n<l.width;n++)k[T][n]=" ",b[T][n]=448;break;case"L":var o=1;for(1==t&&(o=r[0]),0==o&&(o=1),c=m[1];T+o<=c;c--)k[c]=k[c-o],b[c]=b[c-o];for(c=T;c<T+o;c++)for(k[c]=[],b[c]=[],h=0;h<l.width;h++)k[c][h]=" ",b[c][h]=448;break;case"J":if(1==t&&2==r[0])l.TermClear((w<<12)+(g<<6)),T=S=0,y=[];else if(0==t||1==t&&0==r[0])for(E(),n=T+1;n<l.height;n++)L(n);else if(1==t&&1==r[0])for(E(),n=0;n<T-1;n++)L(n);break;case"H":S=2==t?(r[0]<1&&(r[0]=1),r[1]<1&&(r[1]=1),r[0]>l.height&&(r[0]=l.height),r[1]>l.width&&(r[1]=l.width),T=r[0]-1,r[1]-1):T=0;break;case"m":for(n=0;n<t;n++){r[n]&&0!=r[n]?1==r[n]?g<8&&(g+=8):2==r[n]||22==r[n]?8<=g&&(g-=8):7==r[n]?u=2:27==r[n]?u=0:30<=r[n]&&r[n]<=37?(a=8<=g,g=r[n]-30,a&&g<=8&&(g+=8)):40<=r[n]&&r[n]<=47?w=r[n]-40:90<=r[n]&&r[n]<=99?g=r[n]-82:100<=r[n]&&r[n]<=109&&(w=r[n]-92):(g=7,u=w=0)}break;case"K":0!=t&&(1!=t||r[0]&&0!=r[0])?1==t&&(1==r[0]?function(){for(var e=(g<<6)+(w<<12)+u,r=0;r<S;r++)k[T][r]=" ",b[T][r]=e}():2==r[0]&&L(T)):E();break;case"h":C=!0;break;case"l":C=!1;break;case"r":2==t&&(m=[r[0]-1,r[1]-1]),m[0]<0&&(m[0]=0),m[0]>l.height-1&&(m[0]=l.height-1),m[1]<0&&(m[1]=0),m[1]>l.height-1&&(m[1]=l.height-1),m[0]>m[1]&&(m[0]=m[1]);break;case"S":h=1;1==t&&(h=r[0]);for(var c=m[0];c<=m[1]-h;c++)for(var f=0;f<l.width;f++)k[c][f]=k[c+h][f],b[c][f]=b[c+h][f];for(c=m[1]-h+1;c<m[1];c++)for(f=0;f<l.width;f++)k[c][f]=" ",b[c][f]=448;break;case"M":h=1;1==t&&(h=r[0]);for(c=T;c<=m[1]-h;c++)for(f=0;f<l.width;f++)k[c][f]=k[c+h][f],b[c][f]=b[c+h][f];for(c=m[1]-h+1;c<m[1];c++)for(f=0;f<l.width;f++)k[c][f]=" ",b[c][f]=448;break;case"T":h=1;1==t&&(h=r[0]);for(c=m[1];c>m[0]+h;c--)for(f=0;f<l.width;f++)k[c][f]=k[c-h][f],b[c][f]=b[c-h][f];for(c=m[0]+h;c>m[0];c--)for(f=0;f<l.width;f++)k[c][f]=" ",b[c][f]=448;break;case"X":var h=1,s=S,d=T;for(1==t&&(h=r[0]);0<h&&d<l.height;)k[d][s]=" ",h--,++s>=l.width&&(s=0,d++);break;default:console.log("Unknown terminal code",e,r,i)}}}(e,c,s+1,d),o=0;break;case 4:case 5:o=0;break;case 6:var n=e.charCodeAt(0);";"==e?s++:7==n?(function(e){if(0==e.length)return;var r=parseInt(e[0]);(0==r||2==r)&&1<e.length&&"?"!=e[1]&&l.onTitleChange&&l.onTitleChange(l,l.title=e[1])}(c),o=0):c[s]?c[s]+=e:c[s]=e}}(String.fromCharCode(e.charCodeAt(r)),e.charCodeAt(r))}(r),l.TermDraw()},l.ProcessVt100String=function(e){for(var r=0;r<e.length;r++)B(String.fromCharCode(e.charCodeAt(r)))};var K=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,171,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160],D=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,174,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160],K=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,171,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160],D=[199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,218,191,8976,172,189,188,161,174,187,9619,9618,9617,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9576,9560,9554,9555,9579,9578,9496,9484,9608,9604,9611,9616,9600,945,223,915,960,931,963,181,964,966,952,8486,948,8734,248,949,8719,8801,177,8805,8806,8992,8993,247,8776,176,8226,183,8730,8319,178,8718,160];function B(e){if("\0"!=e&&7!=e.charCodeAt()){var r=e.charCodeAt();switch(1==l.terminalEmulation?0!=(128&r)&&(e=String.fromCharCode(K[127&r])):2==l.terminalEmulation&&0!=(128&r)&&(e=String.fromCharCode(D[127&r])),r){case 16:e=" ";break;case 24:e="↑";break;case 25:e="↓"}switch(S>l.width&&(S=l.width),T>l.height-1&&(T=l.height-1),e){case"\b":0<S&&(S--,n&&F(" "));break;case"\t":for(var t=8-S%8,i=0;i<t;i++)B(" ");break;case"\n":++T>m[1]&&(l.recordLineTobackBuffer(0),P(1),T=m[1]),l.lineFeed="\r",S=0;break;case"\r":S=0;break;default:S>=l.width&&(S=0,C&&T++,T>=l.height-1&&(P(1),T=l.height-1)),F(e),S++}}}function F(e){k[T][S]=e,b[T][S]=(g<<6)+(w<<12)+u}function E(){for(var e=(g<<6)+(w<<12)+u,r=S;r<l.width;r++)k[T][r]=" ",b[T][r]=e}function L(e){for(var r=(g<<6)+(w<<12)+u,t=0;t<l.width;t++)k[e][t]=" ",b[e][t]=r}function P(e){for(var r,t=m[0];t<=m[1]-e;t++)k[t]=k[t+e],b[t]=b[t+e];for(t=m[1]-e+1;t<=m[1];t++)for(k[t]=[],b[t]=[],r=0;r<l.width;r++)k[t][r]=" ",b[t][r]=448}return l.TermClear=function(e){for(var r=0;r<l.height;r++)for(var t=0;t<l.width;t++)k[r][t]=" ",b[r][t]=e;y=[]},l.TermResetScreen=function(){C=v=!(w=u=0),S=T=0,n=!(g=7),m=[0,l.height-1],p=!1,l.TermClear(448),t=""},l.TermSendKeys=function(e){2==l.debugmode&&console.log("TSend("+e.length+"): "+rstr2hex(e),e),l.parent.send(e)},l.TermSendKey=function(e){2==l.debugmode&&console.log("TSend(1): "+rstr2hex(String.fromCharCode(e)),e),l.parent.send(String.fromCharCode(e))},l.TermHandleKeys=function(e){if(!e.ctrlKey)return 127==e.which?l.TermSendKey(8):13==e.which?l.TermSendKeys(l.lineFeed):0!=e.which&&l.TermSendKey(e.which),!1;e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation()},l.TermHandleKeyUp=function(e){return 8!=e.which&&32!=e.which&&9!=e.which||(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1)},l.TermHandleKeyDown=function(e){if(65<=e.which&&e.which<=90&&1==e.ctrlKey)return l.TermSendKey(e.which-64),e.preventDefault&&e.preventDefault(),void(e.stopPropagation&&e.stopPropagation());if(27==e.which)return l.TermSendKeys(String.fromCharCode(27)),!0;if(1==p){if(37==e.which)return l.TermSendKeys(String.fromCharCode(27,79,68)),!0;if(38==e.which)return l.TermSendKeys(String.fromCharCode(27,79,65)),!0;if(39==e.which)return l.TermSendKeys(String.fromCharCode(27,79,67)),!0;if(40==e.which)return l.TermSendKeys(String.fromCharCode(27,79,66)),!0}else{if(37==e.which)return l.TermSendKeys(String.fromCharCode(27,91,68)),!0;if(38==e.which)return l.TermSendKeys(String.fromCharCode(27,91,65)),!0;if(39==e.which)return l.TermSendKeys(String.fromCharCode(27,91,67)),!0;if(40==e.which)return l.TermSendKeys(String.fromCharCode(27,91,66)),!0}if(33==e.which)return l.TermSendKeys(String.fromCharCode(27,91,53,126)),!0;if(34==e.which)return l.TermSendKeys(String.fromCharCode(27,91,54,126)),!0;if(35==e.which)return l.TermSendKeys(String.fromCharCode(27,91,70)),!0;if(36==e.which)return l.TermSendKeys(String.fromCharCode(27,91,72)),!0;if(45==e.which)return l.TermSendKeys(String.fromCharCode(27,91,50,126)),!0;if(46==e.which)return l.TermSendKeys(String.fromCharCode(27,91,51,126)),!0;if(9==e.which)return l.TermSendKeys("\t"),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!0;var r=[80,81,119,120,116,117,113,114,112,77],t=[49,50,51,52,53,54,55,56,57,48,33,64],i=[80,81,82,83,84,85,86,87,88,89,90,91];if(111<e.which&e.which<124&&0==e.repeat){if(0==l.fxEmulation&&e.which<122)return l.TermSendKeys(String.fromCharCode(27,91,79,r[e.which-112])),!0;if(1==l.fxEmulation)return l.TermSendKeys(String.fromCharCode(27,t[e.which-112])),!0;if(2==l.fxEmulation)return l.TermSendKeys(String.fromCharCode(27,79,i[e.which-112])),!0}r=[80,81,119,120,116,117,113,114,112,77];if(111<e.which&e.which<122&&0==e.repeat)return l.TermSendKeys(String.fromCharCode(27,91,79,r[e.which-112])),!0;t=[49,50,51,52,53,54,55,56,57,48,33,64];if(111<e.which&e.which<124&&0==e.repeat)return l.TermSendKeys(String.fromCharCode(27,t[e.which-112])),!0;i=[80,81,82,83,84,85,86,87,88,89,90,91];return 111<e.which&e.which<124&&0==e.repeat?(l.TermSendKeys(String.fromCharCode(27,79,i[e.which-112])),!0):8!=e.which&&32!=e.which&&9!=e.which||(l.TermSendKey(e.which),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1)},l.recordLineTobackBuffer=function(e){var r=l.TermDrawLine("",e,""),t=r[0],i=r[1];y.push(t+i+"<br>")},l.TermDrawLine=function(e,r,t){for(var i,n,a,h,o=1,c=0;c<l.width;++c)switch(i=b[r][c],S==c&&T==r&&v&&(i|=2),i!=o&&(e+=t,a=6,h=12,2&i&&(a=12,h=6),e+='<span style="color:#'+f[i>>a&63]+";background-color:#"+f[i>>h&63],1&i&&(e+=";text-decoration:underline"),e+=';">',t="</span>"+(t=""),o=i),n=k[r][c]){case"&":e+="&";break;case"<":e+="<";break;case">":e+=">";break;case" ":e+=" ";break;default:e+=n}return[e,t]},l.TermDraw=function(){for(var e="",r="",t=0;t<l.height;++t){var i=l.TermDrawLine(r,t,e),r=i[0],e=i[1];t!=l.height-1&&(r+="<br>")}800<y.length&&(y=y.slice(y.length-800));var n=y.join("");l.DivElement.innerHTML="<font size='4'><b>"+n+r+e+"</b></font>",l.DivElement.scrollTop=l.DivElement.scrollHeight,0==l.heightLock&&setTimeout(l.TermLockHeight,10)},l.TermLockHeight=function(){l.heightLock=l.DivElement.clientHeight,l.DivElement.style.height=l.DivElement.parentNode.style.height=l.heightLock+"px",l.DivElement.style["overflow-y"]="scroll"},l.TermInit=function(){l.TermResetScreen()},l.heightLock=0,l.DivElement.style.height="",null!=r&&null!=r.cols&&null!=r.rows?l.Init(r.cols,r.rows):l.Init(),l}
\ No newline at end of file
public/scripts/amt-wsman-0.2.0-min.js
+1
-1
@@ -1 +1 @@
1
-var WsmanStackCreateService=function(e,s,r,a,o,t){var p={};function l(e){if(!e)return"";var s=" ";for(var r in e)e.hasOwnProperty(r)&&0===r.indexOf("@")&&(s+=r.substring(1)+'="'+e[r]+'" ');return s}function w(e){if(!e)return"";if("string"==typeof e)return e;if(e.InstanceID)return'<w:SelectorSet><w:Selector Name="InstanceID">'+e.InstanceID+"</w:Selector></w:SelectorSet>";var s="<w:SelectorSet>";for(var r in e)if(e.hasOwnProperty(r)){if(s+='<w:Selector Name="'+r+'">',e[r].ReferenceParameters){s+="<a:EndpointReference>",s+="<a:Address>"+e[r].Address+"</a:Address><a:ReferenceParameters><w:ResourceURI>"+e[r].ReferenceParameters.ResourceURI+"</w:ResourceURI><w:SelectorSet>";var a=e[r].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(a))for(var o=0;o<a.length;o++)s+="<w:Selector"+l(a[o])+">"+a[o].Value+"</w:Selector>";else s+="<w:Selector"+l(a)+">"+a.Value+"</w:Selector>";s+="</w:SelectorSet></a:ReferenceParameters></a:EndpointReference>"}else s+=e[r];s+="</w:Selector>"}return s+="</w:SelectorSet>"}return p.NextMessageId=1,p.Address="/wsman",p.comm=CreateWsmanComm(e,s,r,a,o,t),p.PerformAjax=function(e,o,s,r,a){null==a&&(a=""),p.comm.PerformAjax('<?xml version=\"1.0\" encoding=\"utf-8\"?><Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns="http://www.w3.org/2003/05/soap-envelope" '+a+"><Header><a:Action>"+e,function(e,s,r){if(200==s){var a=p.ParseWsman(e);a&&null!=a?o(p,a.Header.ResourceURI,a,200,r):o(p,null,{Header:{HttpError:s}},601,r)}else o(p,null,{Header:{HttpError:s}},s,r)},s,r)},p.CancelAllQueries=function(e){p.comm.CancelAllQueries(e)},p.GetNameFromUrl=function(e){var s=e.lastIndexOf("/");return-1==s?e:e.substring(s+1)},p.ExecSubscribe=function(e,s,r,a,o,t,n,l,d,c){var m="",i="";null!=d&&null!=c&&(m="<t:IssuedTokens><t:RequestSecurityTokenResponse><t:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken</t:TokenType><t:RequestedSecurityToken><se:UsernameToken><se:Username>"+d+'</se:Username><se:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd#PasswordText">'+c+"</se:Password></se:UsernameToken></t:RequestedSecurityToken></t:RequestSecurityTokenResponse></t:IssuedTokens>",i='<Auth Profile="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/secprofile/http/digest"/>'),l=null!=l&&null!=l?"<a:ReferenceParameters>"+l+"</a:ReferenceParameters>":"";var u="http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo>"+w(n)+m+'</Header><Body><e:Subscribe><e:Delivery Mode="http://schemas.dmtf.org/wbem/wsman/1/wsman/'+s+'"><e:NotifyTo><a:Address>'+r+"</a:Address></e:NotifyTo>"+i+"</e:Delivery><e:Expires>PT0.000000S</e:Expires></e:Subscribe>";p.PerformAjax(u+"</Body></Envelope>",a,o,t,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:se="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:m="http://x.com"')},p.ExecUnSubscribe=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo>"+w(o)+"</Header><Body><e:Unsubscribe/>";p.PerformAjax(t+"</Body></Envelope>",s,r,a,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing"')},p.ExecPut=function(e,s,r,a,o,t){var n="http://schemas.xmlsoap.org/ws/2004/09/transfer/Put</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60.000S</w:OperationTimeout>"+w(t)+"</Header><Body>"+function(e,s){if(!e||null==s)return"";var r=p.GetNameFromUrl(e),a="<r:"+r+' xmlns:r="'+e+'">';for(var o in s)if(s.hasOwnProperty(o)&&0!==o.indexOf("__")&&0!==o.indexOf("@")&&void 0!==s[o]&&null!==s[o]&&"function"!=typeof s[o])if("object"==typeof s[o]&&s[o].ReferenceParameters){a+="<r:"+o+"><a:Address>"+s[o].Address+"</a:Address><a:ReferenceParameters><w:ResourceURI>"+s[o].ReferenceParameters.ResourceURI+"</w:ResourceURI><w:SelectorSet>";var t=s[o].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(t))for(var n=0;n<t.length;n++)a+="<w:Selector"+l(t[n])+">"+t[n].Value+"</w:Selector>";else a+="<w:Selector"+l(t)+">"+t.Value+"</w:Selector>";a+="</w:SelectorSet></a:ReferenceParameters></r:"+o+">"}else if(Array.isArray(s[o]))for(n=0;n<s[o].length;n++)a+="<r:"+o+">"+s[o][n].toString()+"</r:"+o+">";else a+="<r:"+o+">"+s[o].toString()+"</r:"+o+">";return a+="</r:"+r+">"}(e,s);p.PerformAjax(n+"</Body></Envelope>",r,a,o)},p.ExecCreate=function(e,s,r,a,o,t){var n=p.GetNameFromUrl(e),l="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(t)+"</Header><Body><g:"+n+' xmlns:g="'+e+'">';for(var d in s)l+="<g:"+d+">"+s[d]+"</g:"+d+">";p.PerformAjax(l+"</g:"+n+"></Body></Envelope>",r,a,o)},p.ExecCreateXml=function(e,s,r,a,o){var t=p.GetNameFromUrl(e);p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60.000S</w:OperationTimeout></Header><Body><r:"+t+' xmlns:r="'+e+'">'+s+"</r:"+t+"></Body></Envelope>",r,a,o)},p.ExecDelete=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(s)+"</Header><Body /></Envelope>";p.PerformAjax(t,r,a,o)},p.ExecGet=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body /></Envelope>",s,r,a)},p.ExecMethod=function(e,s,r,a,o,t,n){var l="";for(var d in r)if(null!=r[d])if(Array.isArray(r[d]))for(var c in r[d])l+="<r:"+d+">"+r[d][c]+"</r:"+d+">";else l+="<r:"+d+">"+r[d]+"</r:"+d+">";p.ExecMethodXml(e,s,l,a,o,t,n)},p.ExecMethodXml=function(e,s,r,a,o,t,n){p.PerformAjax(e+"/"+s+"</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(n)+"</Header><Body><r:"+s+'_INPUT xmlns:r="'+e+'">'+r+"</r:"+s+"_INPUT></Body></Envelope>",a,o,t)},p.ExecEnum=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++'</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>',s,r,a)},p.ExecPull=function(e,s,r,a,o){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++'</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>'+s+"</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>",r,a,o)},p.ParseWsman=function(s){try{s.childNodes||(s=function(e){{if(window.DOMParser)return(new DOMParser).parseFromString(e,"text/xml");var s=new ActiveXObject("Microsoft.XMLDOM");return s.async=!1,s.loadXML(e),s}}(s));var e,r={Header:{}},a=s.getElementsByTagName("Header")[0];if(!(a=a||s.getElementsByTagName("a:Header")[0]))return null;for(var o=0;o<a.childNodes.length;o++){var t=a.childNodes[o];r.Header[t.localName]=t.textContent}var n=s.getElementsByTagName("Body")[0];return(n=n||s.getElementsByTagName("a:Body")[0])?(0<n.childNodes.length&&((e=n.childNodes[0].localName).indexOf("_OUTPUT")==e.length-7&&(e=e.substring(0,e.length-7)),r.Header.Method=e,r.Body=function e(s){var r,a={};for(var o=0;o<s.childNodes.length;o++){var t=s.childNodes[o];"true"==(r=0==t.childElementCount?t.textContent:e(t))&&(r=!0),"false"==r&&(r=!1);var n=r;if(0<t.attributes.length){n={Value:r};for(var l=0;l<t.attributes.length;l++)n["@"+t.attributes[l].name]=t.attributes[l].value}a[t.localName]instanceof Array?a[t.localName].push(n):null==a[t.localName]?a[t.localName]=n:a[t.localName]=[a[t.localName],n]}return a}(n.childNodes[0])),r):null}catch(e){return console.log("Unable to parse XML: "+s),null}},p}
\ No newline at end of file
1
+var WsmanStackCreateService=function(e,s,r,a,o,t){var p={};function l(e){if(!e)return"";var s,r=" ";for(s in e)e.hasOwnProperty(s)&&0===s.indexOf("@")&&(r+=s.substring(1)+'="'+e[s]+'" ');return r}function w(e){if(!e)return"";if("string"==typeof e)return e;if(e.InstanceID)return'<w:SelectorSet><w:Selector Name="InstanceID">'+e.InstanceID+"</w:Selector></w:SelectorSet>";var s,r="<w:SelectorSet>";for(s in e)if(e.hasOwnProperty(s)){if(r+='<w:Selector Name="'+s+'">',e[s].ReferenceParameters){r+="<a:EndpointReference>",r+="<a:Address>"+e[s].Address+"</a:Address><a:ReferenceParameters><w:ResourceURI>"+e[s].ReferenceParameters.ResourceURI+"</w:ResourceURI><w:SelectorSet>";var a=e[s].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(a))for(var o=0;o<a.length;o++)r+="<w:Selector"+l(a[o])+">"+a[o].Value+"</w:Selector>";else r+="<w:Selector"+l(a)+">"+a.Value+"</w:Selector>";r+="</w:SelectorSet></a:ReferenceParameters></a:EndpointReference>"}else r+=e[s];r+="</w:Selector>"}return r+="</w:SelectorSet>"}return p.NextMessageId=1,p.Address="/wsman",p.comm=CreateWsmanComm(e,s,r,a,o,t),p.PerformAjax=function(e,o,s,r,a){null==a&&(a=""),p.comm.PerformAjax('<?xml version=\"1.0\" encoding=\"utf-8\"?><Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns="http://www.w3.org/2003/05/soap-envelope" '+a+"><Header><a:Action>"+e,function(e,s,r){var a;200==s?(a=p.ParseWsman(e))&&null!=a?o(p,a.Header.ResourceURI,a,200,r):o(p,null,{Header:{HttpError:s}},601,r):o(p,null,{Header:{HttpError:s}},s,r)},s,r)},p.CancelAllQueries=function(e){p.comm.CancelAllQueries(e)},p.GetNameFromUrl=function(e){var s=e.lastIndexOf("/");return-1==s?e:e.substring(s+1)},p.ExecSubscribe=function(e,s,r,a,o,t,n,l,d,c){var m="",i="";null!=d&&null!=c&&(m="<t:IssuedTokens><t:RequestSecurityTokenResponse><t:TokenType>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken</t:TokenType><t:RequestedSecurityToken><se:UsernameToken><se:Username>"+d+'</se:Username><se:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd#PasswordText">'+c+"</se:Password></se:UsernameToken></t:RequestedSecurityToken></t:RequestSecurityTokenResponse></t:IssuedTokens>",i='<Auth Profile="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/secprofile/http/digest"/>');var u="http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo>"+w(n)+m+'</Header><Body><e:Subscribe><e:Delivery Mode="http://schemas.dmtf.org/wbem/wsman/1/wsman/'+s+'"><e:NotifyTo><a:Address>'+r+"</a:Address></e:NotifyTo>"+i+"</e:Delivery><e:Expires>PT0.000000S</e:Expires></e:Subscribe>";p.PerformAjax(u+"</Body></Envelope>",a,o,t,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:se="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:m="http://x.com"')},p.ExecUnSubscribe=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo>"+w(o)+"</Header><Body><e:Unsubscribe/>";p.PerformAjax(t+"</Body></Envelope>",s,r,a,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing"')},p.ExecPut=function(e,s,r,a,o,t){var n="http://schemas.xmlsoap.org/ws/2004/09/transfer/Put</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60.000S</w:OperationTimeout>"+w(t)+"</Header><Body>"+function(e,s){if(!e||null==s)return"";var r,a=p.GetNameFromUrl(e),o="<r:"+a+' xmlns:r="'+e+'">';for(r in s)if(s.hasOwnProperty(r)&&0!==r.indexOf("__")&&0!==r.indexOf("@")&&void 0!==s[r]&&null!==s[r]&&"function"!=typeof s[r])if("object"==typeof s[r]&&s[r].ReferenceParameters){o+="<r:"+r+"><a:Address>"+s[r].Address+"</a:Address><a:ReferenceParameters><w:ResourceURI>"+s[r].ReferenceParameters.ResourceURI+"</w:ResourceURI><w:SelectorSet>";var t=s[r].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(t))for(var n=0;n<t.length;n++)o+="<w:Selector"+l(t[n])+">"+t[n].Value+"</w:Selector>";else o+="<w:Selector"+l(t)+">"+t.Value+"</w:Selector>";o+="</w:SelectorSet></a:ReferenceParameters></r:"+r+">"}else if(Array.isArray(s[r]))for(n=0;n<s[r].length;n++)o+="<r:"+r+">"+s[r][n].toString()+"</r:"+r+">";else o+="<r:"+r+">"+s[r].toString()+"</r:"+r+">";return o+="</r:"+a+">"}(e,s);p.PerformAjax(n+"</Body></Envelope>",r,a,o)},p.ExecCreate=function(e,s,r,a,o,t){var n,l=p.GetNameFromUrl(e),d="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(t)+"</Header><Body><g:"+l+' xmlns:g="'+e+'">';for(n in s)d+="<g:"+n+">"+s[n]+"</g:"+n+">";p.PerformAjax(d+"</g:"+l+"></Body></Envelope>",r,a,o)},p.ExecCreateXml=function(e,s,r,a,o){var t=p.GetNameFromUrl(e);p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60.000S</w:OperationTimeout></Header><Body><r:"+t+' xmlns:r="'+e+'">'+s+"</r:"+t+"></Body></Envelope>",r,a,o)},p.ExecDelete=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(s)+"</Header><Body /></Envelope>";p.PerformAjax(t,r,a,o)},p.ExecGet=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body /></Envelope>",s,r,a)},p.ExecMethod=function(e,s,r,a,o,t,n){var l,d="";for(l in r)if(null!=r[l])if(Array.isArray(r[l]))for(var c in r[l])d+="<r:"+l+">"+r[l][c]+"</r:"+l+">";else d+="<r:"+l+">"+r[l]+"</r:"+l+">";p.ExecMethodXml(e,s,d,a,o,t,n)},p.ExecMethodXml=function(e,s,r,a,o,t,n){p.PerformAjax(e+"/"+s+"</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++"</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout>"+w(n)+"</Header><Body><r:"+s+'_INPUT xmlns:r="'+e+'">'+r+"</r:"+s+"_INPUT></Body></Envelope>",a,o,t)},p.ExecEnum=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++'</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>',s,r,a)},p.ExecPull=function(e,s,r,a,o){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>"+p.Address+"</a:To><w:ResourceURI>"+e+"</w:ResourceURI><a:MessageID>"+p.NextMessageId+++'</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>PT60S</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>'+s+"</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>",r,a,o)},p.ParseWsman=function(s){try{s.childNodes||(s=function(e){{if(window.DOMParser)return(new DOMParser).parseFromString(e,"text/xml");var s=new ActiveXObject("Microsoft.XMLDOM");return s.async=!1,s.loadXML(e),s}}(s));var e,r={Header:{}},a=s.getElementsByTagName("Header")[0];if(!(a=a||s.getElementsByTagName("a:Header")[0]))return null;for(var o=0;o<a.childNodes.length;o++){var t=a.childNodes[o];r.Header[t.localName]=t.textContent}var n=s.getElementsByTagName("Body")[0];return(n=n||s.getElementsByTagName("a:Body")[0])?(0<n.childNodes.length&&((e=n.childNodes[0].localName).indexOf("_OUTPUT")==e.length-7&&(e=e.substring(0,e.length-7)),r.Header.Method=e,r.Body=function e(s){var r,a={};for(var o=0;o<s.childNodes.length;o++){var t=s.childNodes[o];"true"==(r=0==t.childElementCount?t.textContent:e(t))&&(r=!0),"false"==r&&(r=!1);var n=r;if(0<t.attributes.length){n={Value:r};for(var l=0;l<t.attributes.length;l++)n["@"+t.attributes[l].name]=t.attributes[l].value}a[t.localName]instanceof Array?a[t.localName].push(n):null==a[t.localName]?a[t.localName]=n:a[t.localName]=[a[t.localName],n]}return a}(n.childNodes[0])),r):null}catch(e){return console.log("Unable to parse XML: "+s),null}},p}
\ No newline at end of file
public/scripts/amt-wsman-ws-0.2.0-min.js
+1
-1
@@ -1 +1 @@
1
-var CreateWsmanComm=function(e,t,r,n,a){var c={};function o(){for(i in c.socketState=2,c.pendingAjaxCall)c.sendRequest(c.pendingAjaxCall[i][0],c.pendingAjaxCall[i][3],c.pendingAjaxCall[i][4])}function s(e){for(c.socketAccumulator+=function(e){return String.fromCharCode.apply(null,e)}(new Uint8Array(e.data));;){if(0==c.socketParseState){var t=c.socketAccumulator.indexOf("\r\n\r\n");if(t<0)return;if(c.socketHeader=c.socketAccumulator.substring(0,t).split("\r\n"),null==c.amtVersion)for(var r in c.socketHeader)0==c.socketHeader[r].indexOf("Server: Intel(R) Active Management Technology ")&&(c.amtVersion=c.socketHeader[r].substring(46));for(r in c.socketAccumulator=c.socketAccumulator.substring(t+4),c.socketParseState=1,c.socketData="",c.socketXHeader={Directive:c.socketHeader[0].split(" ")},c.socketHeader)if(0!=r){var n=c.socketHeader[r].indexOf(":");c.socketXHeader[c.socketHeader[r].substring(0,n).toLowerCase()]=c.socketHeader[r].substring(n+2)}}if(1==c.socketParseState){var a=-1;if(null==c.socketXHeader.connection||"close"!=c.socketXHeader.connection.toLowerCase()||null!=c.socketXHeader["transfer-encoding"]&&"chunked"==c.socketXHeader["transfer-encoding"].toLowerCase())if(null!=c.socketXHeader["content-length"]){if(a=parseInt(c.socketXHeader["content-length"]),c.socketAccumulator.length<a)return;var o=c.socketAccumulator.substring(0,a);c.socketAccumulator=c.socketAccumulator.substring(a),c.socketData=o,a=0}else{var s=c.socketAccumulator.indexOf("\r\n");if(s<0)return;if(a=parseInt(c.socketAccumulator.substring(0,s),16),isNaN(a))return void(c.websocket&&c.websocket.close());if(c.socketAccumulator.length<s+2+a+2)return;o=c.socketAccumulator.substring(s+2,s+2+a);c.socketAccumulator=c.socketAccumulator.substring(s+2+a+2),c.socketData+=o}else a=0;0==a&&(l(c.socketXHeader,c.socketData),c.socketParseState=0,c.socketHeader=null)}}}function l(e,t){var r=parseInt(e.Directive[1]);if(isNaN(r)&&(r=602),401==r&&++c.authcounter<3){if(c.challengeParams=c.parseDigest(e["www-authenticate"]),null!=c.challengeParams.qop){var n=c.challengeParams.qop.split(",");for(var a in n)n[a]=n[a].trim();0<=n.indexOf("auth-int")?c.challengeParams.qop="auth-int":c.challengeParams.qop="auth"}}else{var o=c.pendingAjaxCall.shift();c.authcounter=0,c.ActiveAjaxCount--,c.gotNextMessages(t,"success",{status:r},o),c.PerformNextAjax()}}function u(e){if(c.socketState=0,null!=c.socket&&(c.socket.close(),c.socket=null),0<c.pendingAjaxCall.length){var t=c.pendingAjaxCall.shift(),r=t[5];c.PerformAjaxExNodeJS2(t[0],t[1],t[2],t[3],t[4],--r)}}return c.PendingAjax=[],c.ActiveAjaxCount=0,c.MaxActiveAjaxCount=1,c.FailAllError=0,c.challengeParams=null,c.noncecounter=1,c.authcounter=0,c.socket=null,c.socketState=0,c.host=e,c.port=t,c.user=r,c.pass=n,c.tls=a,c.tlsv1only=1,c.cnonce=Math.random().toString(36).substring(7),c.PerformAjax=function(e,t,r,n,a,o){c.ActiveAjaxCount<c.MaxActiveAjaxCount&&0==c.PendingAjax.length?c.PerformAjaxEx(e,t,r,a,o):1==n?c.PendingAjax.unshift([e,t,r,a,o]):c.PendingAjax.push([e,t,r,a,o])},c.PerformNextAjax=function(){if(!(c.ActiveAjaxCount>=c.MaxActiveAjaxCount||0==c.PendingAjax.length)){var e=c.PendingAjax.shift();c.PerformAjaxEx(e[0],e[1],e[2],e[3],e[4]),c.PerformNextAjax()}},c.PerformAjaxEx=function(e,t,r,n,a){if(0==c.FailAllError)return e=e||"",c.ActiveAjaxCount++,c.PerformAjaxExNodeJS(e,t,r,n,a);c.gotNextMessagesError({status:c.FailAllError},"error",null,[e,t,r,n,a])},c.pendingAjaxCall=[],c.PerformAjaxExNodeJS=function(e,t,r,n,a){c.PerformAjaxExNodeJS2(e,t,r,n,a,3)},c.PerformAjaxExNodeJS2=function(e,t,r,n,a,o){if(o<=0||0!=c.FailAllError)return c.ActiveAjaxCount--,999!=c.FailAllError&&c.gotNextMessages(null,"error",{status:0==c.FailAllError?408:c.FailAllError},[e,t,r,n,a]),void c.PerformNextAjax();c.pendingAjaxCall.push([e,t,r,n,a,o]),0==c.socketState?c.xxConnectHttpSocket():2==c.socketState&&c.sendRequest(e,n,a)},c.sendRequest=function(e,t,r){var n=(r=r||"POST")+" "+(t=t||"/wsman")+" HTTP/1.1\r\n";if(null!=c.challengeParams){var a=hex_md5(hex_md5(c.user+":"+c.challengeParams.realm+":"+c.pass)+":"+c.challengeParams.nonce+":"+c.noncecounter+":"+c.cnonce+":"+c.challengeParams.qop+":"+hex_md5(r+":"+t+("auth-int"==c.challengeParams.qop?":"+hex_md5(e):"")));n+="Authorization: "+c.renderDigest({username:c.user,realm:c.challengeParams.realm,nonce:c.challengeParams.nonce,uri:t,qop:c.challengeParams.qop,response:a,nc:c.noncecounter++,cnonce:c.cnonce})+"\r\n"}!function(e){if(2==c.socketState&&null!=c.socket&&c.socket.readyState==WebSocket.OPEN){for(var t=new Uint8Array(e.length),r=0;r<e.length;++r)t[r]=e.charCodeAt(r);try{c.socket.send(t.buffer)}catch(e){}}}(n+="Host: "+c.host+":"+c.port+"\r\nTransfer-Encoding: chunked\r\n\r\n"+e.length.toString(16).toUpperCase()+"\r\n"+e+"\r\n0\r\n\r\n")},c.parseDigest=function(e){return function(e){return e.split(",").reduce(function(e,t){return e.ic?e.st[e.st.length-1]+=","+t:e.st.push(t),t.split('"').length%2==0&&(e.ic=!e.ic),e},{st:[],ic:!1}).st}(e.substring(7)).reduce(function(e,t){var r=t.trim().split("=");return e[r[0]]=r[1].replace(new RegExp('"',"g"),""),e},{})},c.renderDigest=function(r){var e=[];for(i in r)e.push(i);return"Digest "+e.reduce(function(e,t){return e+","+t+'="'+r[t]+'"'},"").substring(1)},c.xxConnectHttpSocket=function(){c.socketParseState=0,c.socketAccumulator="",c.socketHeader=null,c.socketData="",c.socketState=1,c.socket=new WebSocket(window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=1&host="+c.host+"&port="+c.port+"&tls="+c.tls+"&tlsv1only="+c.tlsv1only+("*"==r?"&serverauth=1":"")+(void 0===n?"&serverauth=1&user="+r:"")),c.socket.binaryType="arraybuffer",c.socket.onopen=o,c.socket.onmessage=s,c.socket.onclose=u},c.gotNextMessages=function(e,t,r,n){999!=c.FailAllError&&(0==c.FailAllError?200==r.status?n[1](e,200,n[2]):n[1](null,r.status,n[2]):n[1](null,c.FailAllError,n[2]))},c.gotNextMessagesError=function(e,t,r,n){999!=c.FailAllError&&(0==c.FailAllError?n[1](c,null,{Header:{HttpError:e.status}},e.status,n[2]):n[1](null,c.FailAllError,n[2]))},c.CancelAllQueries=function(e){for(;0<c.PendingAjax.length;){var t=c.PendingAjax.shift();t[1](null,e,t[2])}null!=c.websocket&&(c.websocket.close(),c.websocket=null,c.socketState=0)},c}
\ No newline at end of file
1
+var CreateWsmanComm=function(e,t,r,n,a){var l={};function o(){for(i in l.socketState=2,l.pendingAjaxCall)l.sendRequest(l.pendingAjaxCall[i][0],l.pendingAjaxCall[i][3],l.pendingAjaxCall[i][4])}function s(e){var t;for(l.socketAccumulator+=(t=new Uint8Array(e.data),String.fromCharCode.apply(null,t));;){if(0==l.socketParseState){var r,n=l.socketAccumulator.indexOf("\r\n\r\n");if(n<0)return;if(l.socketHeader=l.socketAccumulator.substring(0,n).split("\r\n"),null==l.amtVersion)for(var a in l.socketHeader)0==l.socketHeader[a].indexOf("Server: Intel(R) Active Management Technology ")&&(l.amtVersion=l.socketHeader[a].substring(46));for(a in l.socketAccumulator=l.socketAccumulator.substring(n+4),l.socketParseState=1,l.socketData="",l.socketXHeader={Directive:l.socketHeader[0].split(" ")},l.socketHeader){0!=a&&(r=l.socketHeader[a].indexOf(":"),l.socketXHeader[l.socketHeader[a].substring(0,r).toLowerCase()]=l.socketHeader[a].substring(r+2))}}if(1==l.socketParseState){var o=-1;if(null==l.socketXHeader.connection||"close"!=l.socketXHeader.connection.toLowerCase()||null!=l.socketXHeader["transfer-encoding"]&&"chunked"==l.socketXHeader["transfer-encoding"].toLowerCase())if(null!=l.socketXHeader["content-length"]){if(o=parseInt(l.socketXHeader["content-length"]),l.socketAccumulator.length<o)return;var s=l.socketAccumulator.substring(0,o);l.socketAccumulator=l.socketAccumulator.substring(o),l.socketData=s,o=0}else{var c=l.socketAccumulator.indexOf("\r\n");if(c<0)return;if(o=parseInt(l.socketAccumulator.substring(0,c),16),isNaN(o))return void(l.websocket&&l.websocket.close());if(l.socketAccumulator.length<c+2+o+2)return;s=l.socketAccumulator.substring(c+2,c+2+o);l.socketAccumulator=l.socketAccumulator.substring(c+2+o+2),l.socketData+=s}else o=0;0==o&&(function(e,t){var r=parseInt(e.Directive[1]);isNaN(r)&&(r=602);if(401==r&&++l.authcounter<3){if(l.challengeParams=l.parseDigest(e["www-authenticate"]),null!=l.challengeParams.qop){var n,a=l.challengeParams.qop.split(",");for(n in a)a[n]=a[n].trim();0<=a.indexOf("auth-int")?l.challengeParams.qop="auth-int":l.challengeParams.qop="auth"}}else{var o=l.pendingAjaxCall.shift();l.authcounter=0,l.ActiveAjaxCount--,l.gotNextMessages(t,"success",{status:r},o),l.PerformNextAjax()}}(l.socketXHeader,l.socketData),l.socketParseState=0,l.socketHeader=null)}}}function c(e){var t,r;l.socketState=0,null!=l.socket&&(l.socket.close(),l.socket=null),0<l.pendingAjaxCall.length&&(r=(t=l.pendingAjaxCall.shift())[5],l.PerformAjaxExNodeJS2(t[0],t[1],t[2],t[3],t[4],--r))}return l.PendingAjax=[],l.ActiveAjaxCount=0,l.MaxActiveAjaxCount=1,l.FailAllError=0,l.challengeParams=null,l.noncecounter=1,l.authcounter=0,l.socket=null,l.socketState=0,l.host=e,l.port=t,l.user=r,l.pass=n,l.tls=a,l.tlsv1only=1,l.cnonce=Math.random().toString(36).substring(7),l.PerformAjax=function(e,t,r,n,a,o){l.ActiveAjaxCount<l.MaxActiveAjaxCount&&0==l.PendingAjax.length?l.PerformAjaxEx(e,t,r,a,o):1==n?l.PendingAjax.unshift([e,t,r,a,o]):l.PendingAjax.push([e,t,r,a,o])},l.PerformNextAjax=function(){var e;l.ActiveAjaxCount>=l.MaxActiveAjaxCount||0==l.PendingAjax.length||(e=l.PendingAjax.shift(),l.PerformAjaxEx(e[0],e[1],e[2],e[3],e[4]),l.PerformNextAjax())},l.PerformAjaxEx=function(e,t,r,n,a){if(0==l.FailAllError)return e=e||"",l.ActiveAjaxCount++,l.PerformAjaxExNodeJS(e,t,r,n,a);l.gotNextMessagesError({status:l.FailAllError},"error",null,[e,t,r,n,a])},l.pendingAjaxCall=[],l.PerformAjaxExNodeJS=function(e,t,r,n,a){l.PerformAjaxExNodeJS2(e,t,r,n,a,3)},l.PerformAjaxExNodeJS2=function(e,t,r,n,a,o){if(o<=0||0!=l.FailAllError)return l.ActiveAjaxCount--,999!=l.FailAllError&&l.gotNextMessages(null,"error",{status:0==l.FailAllError?408:l.FailAllError},[e,t,r,n,a]),void l.PerformNextAjax();l.pendingAjaxCall.push([e,t,r,n,a,o]),0==l.socketState?l.xxConnectHttpSocket():2==l.socketState&&l.sendRequest(e,n,a)},l.sendRequest=function(e,t,r){var n,a=(r=r||"POST")+" "+(t=t||"/wsman")+" HTTP/1.1\r\n";null!=l.challengeParams&&(n=hex_md5(hex_md5(l.user+":"+l.challengeParams.realm+":"+l.pass)+":"+l.challengeParams.nonce+":"+l.noncecounter+":"+l.cnonce+":"+l.challengeParams.qop+":"+hex_md5(r+":"+t+("auth-int"==l.challengeParams.qop?":"+hex_md5(e):""))),a+="Authorization: "+l.renderDigest({username:l.user,realm:l.challengeParams.realm,nonce:l.challengeParams.nonce,uri:t,qop:l.challengeParams.qop,response:n,nc:l.noncecounter++,cnonce:l.cnonce})+"\r\n"),function(e){if(2==l.socketState&&null!=l.socket&&l.socket.readyState==WebSocket.OPEN){for(var t=new Uint8Array(e.length),r=0;r<e.length;++r)t[r]=e.charCodeAt(r);try{l.socket.send(t.buffer)}catch(e){}}}(a+="Host: "+l.host+":"+l.port+"\r\nTransfer-Encoding: chunked\r\n\r\n"+e.length.toString(16).toUpperCase()+"\r\n"+e+"\r\n0\r\n\r\n")},l.parseDigest=function(e){return e.substring(7).split(",").reduce(function(e,t){return e.ic?e.st[e.st.length-1]+=","+t:e.st.push(t),t.split('"').length%2==0&&(e.ic=!e.ic),e},{st:[],ic:!1}).st.reduce(function(e,t){var r=t.trim().split("=");return e[r[0]]=r[1].replace(new RegExp('"',"g"),""),e},{})},l.renderDigest=function(r){var e=[];for(i in r)e.push(i);return"Digest "+e.reduce(function(e,t){return e+","+t+'="'+r[t]+'"'},"").substring(1)},l.xxConnectHttpSocket=function(){l.socketParseState=0,l.socketAccumulator="",l.socketHeader=null,l.socketData="",l.socketState=1,l.socket=new WebSocket(window.location.protocol.replace("http","ws")+"//"+window.location.host+window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/"))+"/webrelay.ashx?p=1&host="+l.host+"&port="+l.port+"&tls="+l.tls+"&tlsv1only="+l.tlsv1only+("*"==r?"&serverauth=1":"")+(void 0===n?"&serverauth=1&user="+r:"")),l.socket.binaryType="arraybuffer",l.socket.onopen=o,l.socket.onmessage=s,l.socket.onclose=c},l.gotNextMessages=function(e,t,r,n){999!=l.FailAllError&&(0==l.FailAllError?200==r.status?n[1](e,200,n[2]):n[1](null,r.status,n[2]):n[1](null,l.FailAllError,n[2]))},l.gotNextMessagesError=function(e,t,r,n){999!=l.FailAllError&&(0==l.FailAllError?n[1](l,null,{Header:{HttpError:e.status}},e.status,n[2]):n[1](null,l.FailAllError,n[2]))},l.CancelAllQueries=function(e){for(;0<l.PendingAjax.length;){var t=l.PendingAjax.shift();t[1](null,e,t[2])}null!=l.websocket&&(l.websocket.close(),l.websocket=null,l.socketState=0)},l}
\ No newline at end of file
public/scripts/charts-min.js
+1
-1
@@ -1 +1 @@
1
-!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function r(o,s,l){function u(n,t){if(!s[n]){if(!o[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(d)return d(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var a=s[n]={exports:{}};o[n][0].call(a.exports,function(t){var e=o[n][1][t];return u(e||t)},a,a.exports,r,o,s,l)}return s[n].exports}for(var d="function"==typeof require&&require,t=0;t<l.length;t++)u(l[t]);return u}({1:[function(t,e,n){var r=t(5);function i(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16)}else if(i=t.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=r[i[1]]))return}for(a=0;a<e.length;a++)e[a]=d(e[a],0,255);return n=n||0==n?d(n,0,1):1,e[3]=n,e}}function a(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(n)?1:n,0,1)]}}}function o(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(n)?1:n,0,1)]}}}function s(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function u(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,n){return Math.min(Math.max(e,t),n)}function h(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}e.exports={getRgba:i,getHsla:a,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=a(t);return e&&e.slice(0,3)},getHwb:o,getAlpha:function(t){var e=i(t);{if(e)return e[3];if(e=a(t))return e[3];if(e=o(t))return e[3]}},hexString:function(t){return"#"+h(t[0])+h(t[1])+h(t[2])},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return s(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:s,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return l(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"},percentaString:l,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return u(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:u,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return c[t.slice(0,3)]}};var c={};for(var f in r)c[r[f]]=f},{5:5}],2:[function(t,e,n){var d=t(4),i=t(1),o=function(t){return t instanceof o?t:this instanceof o?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new o(t);var e};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return n<e?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,r=2*a-1,o=n.alpha()-i.alpha(),s=(1+(r*o==-1?r:(r+o)/(1+r*o)))/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},o.prototype.setValues=function(t,e){var n,i,a=this.values,r=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)a[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)a[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var l=r[t];for(n=0;n<t.length;n++)a[t][n]=e[l[n]];s=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===t)return!1;for(n=0;n<t.length;n++)i=Math.max(0,Math.min(o[t][n],a[t][n])),a[t][n]=Math.round(i);for(var u in r)u!==t&&(a[u]=d[t][u](a[t]));return!0},o.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},o.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=o),e.exports=o},{1:1,4:4}],3:[function(t,e,n){function a(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s==o?e=0:i==s?e=(a-r)/l:a==s?e=2+(r-i)/l:r==s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function i(t){var e,n,i=t[0],a=t[1],r=t[2],o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return n=0==s?0:l/s*1e3/10,s==o?e=0:i==s?e=(a-r)/l:a==s?e=2+(r-i)/l:r==s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,s/255*1e3/10]}function o(t){var e=t[0],n=t[1],i=t[2];return[a(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]}function s(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]}function l(t){return S[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function d(t){var e=u(t),n=e[0],i=e[1],a=e[2];return i/=100,a/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=.008856<a?Math.pow(a,1/3):7.787*a+16/116))]}function h(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,1<i&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a}function c(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));i*=255;switch(a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function f(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(1<u&&(s/=u,l/=u),i=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(i=1-i),a=s+i*((n=1-l)-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function m(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]}function p(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,e=.0031308<(e=3.2406*a+-1.5372*r+-.4986*o)?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function v(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function y(t){var e,n,i,a,r=t[0],o=t[1],s=t[2];return a=r<=8?(n=100*r/903.3)/100*7.787+16/116:(n=100*Math.pow((r+16)/116,3),Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),n,i=i/108.883<=.008859?i=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3)]}function x(t){var e,n=t[0],i=t[1],a=t[2];return(e=360*Math.atan2(a,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+a*a),e]}function _(t){return p(y(t))}function k(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]}function w(t){return M[t]}e.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:h,hsl2hsv:function(t){var e=t[0],n=t[1]/100,i=t[2]/100;return 0!==i?[e,100*(2*(n*=(i*=2)<=1?i:2-i)/(i+n)),100*((i+n)/2)]:[0,0,0]},hsl2hwb:function(t){return o(h(t))},hsl2cmyk:function(t){return s(h(t))},hsl2keyword:function(t){return l(h(t))},hsv2rgb:c,hsv2hsl:function(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return e=a*r,[i,100*(e=(e/=(n=(2-a)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return o(c(t))},hsv2cmyk:function(t){return s(c(t))},hsv2keyword:function(t){return l(c(t))},hwb2rgb:f,hwb2hsl:function(t){return a(f(t))},hwb2hsv:function(t){return i(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:m,cmyk2hsl:function(t){return a(m(t))},cmyk2hsv:function(t){return i(m(t))},cmyk2hwb:function(t){return o(m(t))},cmyk2keyword:function(t){return l(m(t))},keyword2rgb:w,keyword2hsl:function(t){return a(w(t))},keyword2hsv:function(t){return i(w(t))},keyword2hwb:function(t){return o(w(t))},keyword2cmyk:function(t){return s(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return u(w(t))},xyz2rgb:p,xyz2lab:v,xyz2lch:function(t){return x(v(t))},lab2xyz:y,lab2rgb:_,lab2lch:x,lch2lab:k,lch2xyz:function(t){return y(k(t))},lch2rgb:function(t){return _(k(t))}};var M={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},S={};for(var D in M)S[JSON.stringify(M[D])]=D},{}],4:[function(t,e,n){function a(){return new u}var r=t(3);for(var i in r){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var o=/(\w+)2(\w+)/.exec(i),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[i]=function(i){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var e=r[i](t);if("string"==typeof e||void 0===e)return e;for(var n=0;n<e.length;n++)e[n]=Math.round(e[n]);return e}}(i)}var u=function(){this.convs={}};u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=a[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=a},{3:3}],5:[function(t,e,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(jn,Un,t){var e,n;e=this,n=function(){"use strict";var t,a;function c(){return t.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function i(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,i){return De(t,e,n,i,!0).utc()}function g(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=g(t),n=a.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function p(t){var e=h(NaN);return null!=t?d(g(e),t):g(e).userInvalidated=!0,e}a=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var v=c.momentProperties=[];function y(t,e){var n,i,a;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=g(e)),r(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)r(a=e[i=v[n]])||(t[i]=a);return t}var e=!1;function b(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,c.updateOffset(this),e=!1)}function x(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function k(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=_(e)),n}function w(t,e,n){var i,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(i=0;i<a;i++)(n&&t[i]!==e[i]||!n&&k(t[i])!==k(e[i]))&&o++;return o+r}function M(t){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(a,r){var o=!0;return d(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,a),o){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var i in t+="\n["+n+"] ",arguments[0])t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}M(a+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),o=!1}return r.apply(this,arguments)},r)}var S,D={};function C(t,e){null!=c.deprecationHandler&&c.deprecationHandler(t,e),D[t]||(M(e),D[t]=!0)}function P(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t,e){var n,i=d({},t);for(n in e)f(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},d(i[n],t[n]),d(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)f(t,n)&&!f(e,n)&&s(t[n])&&(i[n]=d({},i[n]));return i}function O(t){null!=t&&this.set(t)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var I={};function A(t,e){var n=t.toLowerCase();I[n]=I[n+"s"]=I[e]=t}function F(t){return"string"==typeof t?I[t]||I[t.toLowerCase()]:void 0}function R(t){var e,n,i={};for(n in t)f(t,n)&&(e=F(n))&&(i[e]=t[n]);return i}var L={};function W(t,e){L[t]=e}function Y(t,e,n){var i=""+Math.abs(t),a=e-i.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},V={};function B(t,e,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),t&&(V[t]=a),e&&(V[e[0]]=function(){return Y(a.apply(this,arguments),e[1],e[2])}),n&&(V[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function E(t,e){return t.isValid()?(e=j(e,t.localeData()),H[e]=H[e]||function(i){var t,a,e,r=i.match(N);for(t=0,a=r.length;t<a;t++)V[r[t]]?r[t]=V[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(t){var e,n="";for(e=0;e<a;e++)n+=P(r[e])?r[e].call(t,i):r[e];return n}}(e),H[e](t)):t.localeData().invalidDate()}function j(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(z.lastIndex=0;0<=n&&z.test(t);)t=t.replace(z,i),z.lastIndex=0,n-=1;return t}var U=/\d/,q=/\d\d/,G=/\d{3}/,Z=/\d{4}/,X=/[+-]?\d{6}/,J=/\d\d?/,K=/\d\d\d\d?/,$=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,nt=/\d+/,it=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,rt=/Z|[+-]\d\d(?::?\d\d)?/gi,ot=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function lt(t,n,i){st[t]=P(n)?n:function(t,e){return t&&i?i:n}}function ut(t,e){return f(st,t)?st[t](e._strict,e._locale):new RegExp(function(t){return dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a}))}(t))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function ct(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),l(n)&&(i=function(t,e){e[n]=k(t)}),e=0;e<t.length;e++)ht[t[e]]=i}function ft(t,a){ct(t,function(t,e,n,i){n._w=n._w||{},a(t,n._w,n,i)})}var gt=0,mt=1,pt=2,vt=3,yt=4,bt=5,xt=6,_t=7,kt=8;function wt(t){return Mt(t)?366:365}function Mt(t){return t%4==0&&t%100!=0||t%400==0}B("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),A("year","y"),W("year",1),lt("Y",it),lt("YY",J,q),lt("YYYY",tt,Z),lt("YYYYY",et,X),lt("YYYYYY",et,X),ct(["YYYYY","YYYYYY"],gt),ct("YYYY",function(t,e){e[gt]=2===t.length?c.parseTwoDigitYear(t):k(t)}),ct("YY",function(t,e){e[gt]=c.parseTwoDigitYear(t)}),ct("Y",function(t,e){e[gt]=parseInt(t,10)}),c.parseTwoDigitYear=function(t){return k(t)+(68<k(t)?1900:2e3)};var St,Dt=Ct("FullYear",!0);function Ct(e,n){return function(t){return null!=t?(Tt(this,e,t),c.updateOffset(this,n),this):Pt(this,e)}}function Pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Tt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Mt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ot(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Ot(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-n)/12,1===n?Mt(t)?29:28:31-n%7%2}St=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),A("month","M"),W("month",8),lt("M",J),lt("MM",J,q),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),ct(["M","MM"],function(t,e){e[mt]=k(t)-1}),ct(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[mt]=a:g(n).invalidMonth=t});var It=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,At="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Ft="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=k(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ot(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Lt(t){return null!=t?(Rt(this,t),c.updateOffset(this,!0),this):Pt(this,"Month")}var Wt=ot;var Yt=ot;function Nt(){function t(t,e){return e.length-t.length}var e,n,i=[],a=[],r=[];for(e=0;e<12;e++)n=h([2e3,e]),i.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),a.sort(t),r.sort(t),e=0;e<12;e++)i[e]=dt(i[e]),a[e]=dt(a[e]);for(e=0;e<24;e++)r[e]=dt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function zt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ht(t,e,n){var i=7+e-n;return i-(7+zt(t,0,i).getUTCDay()-e)%7-1}function Vt(t,e,n,i,a){var r,o,s=1+7*(e-1)+(7+n-i)%7+Ht(t,i,a);return o=s<=0?wt(r=t-1)+s:s>wt(t)?(r=t+1,s-wt(t)):(r=t,s),{year:r,dayOfYear:o}}function Bt(t,e,n){var i,a,r=Ht(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?i=o+Et(a=t.year()-1,e,n):o>Et(t.year(),e,n)?(i=o-Et(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function Et(t,e,n){var i=Ht(t,e,n),a=Ht(t+1,e,n);return(wt(t)-i+a)/7}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),W("week",5),W("isoWeek",5),lt("w",J),lt("ww",J,q),lt("W",J),lt("WW",J,q),ft(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=k(t)});B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),lt("d",J),lt("e",J),lt("E",J),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:g(n).invalidWeekday=t}),ft(["d","e","E"],function(t,e,n,i){e[i]=k(t)});var jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=ot;var Zt=ot;var Xt=ot;function Jt(){function t(t,e){return e.length-t.length}var e,n,i,a,r,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),i=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),r=this.weekdays(n,""),o.push(i),s.push(a),l.push(r),u.push(i),u.push(a),u.push(r);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=dt(s[e]),l[e]=dt(l[e]),u[e]=dt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Kt(){return this.hours()%12||12}function $t(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Qt(t,e){return e._meridiemParse}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Kt),B("k",["kk",2],0,function(){return this.hours()||24}),B("hmm",0,0,function(){return""+Kt.apply(this)+Y(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Kt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),$t("a",!0),$t("A",!1),A("hour","h"),W("hour",13),lt("a",Qt),lt("A",Qt),lt("H",J),lt("h",J),lt("k",J),lt("HH",J,q),lt("hh",J,q),lt("kk",J,q),lt("hmm",K),lt("hmmss",$),lt("Hmm",K),lt("Hmmss",$),ct(["H","HH"],vt),ct(["k","kk"],function(t,e,n){var i=k(t);e[vt]=24===i?0:i}),ct(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),ct(["h","hh"],function(t,e,n){e[vt]=k(t),g(n).bigHour=!0}),ct("hmm",function(t,e,n){var i=t.length-2;e[vt]=k(t.substr(0,i)),e[yt]=k(t.substr(i)),g(n).bigHour=!0}),ct("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[vt]=k(t.substr(0,i)),e[yt]=k(t.substr(i,2)),e[bt]=k(t.substr(a)),g(n).bigHour=!0}),ct("Hmm",function(t,e,n){var i=t.length-2;e[vt]=k(t.substr(0,i)),e[yt]=k(t.substr(i))}),ct("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[vt]=k(t.substr(0,i)),e[yt]=k(t.substr(i,2)),e[bt]=k(t.substr(a))});var te,ee=Ct("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:At,monthsShort:Ft,week:{dow:0,doy:6},weekdays:jt,weekdaysMin:qt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},ie={},ae={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function oe(t){var e=null;if(!ie[t]&&void 0!==Un&&Un&&Un.exports)try{e=te._abbr,jn("./locale/"+t),se(e)}catch(t){}return ie[t]}function se(t,e){var n;return t&&(n=r(e)?ue(t):le(t,e))&&(te=n),te._abbr}function le(t,e){if(null===e)return delete ie[t],null;var n=ne;if(e.abbr=t,null!=ie[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ie[t]._config;else if(null!=e.parentLocale){if(null==ie[e.parentLocale])return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=ie[e.parentLocale]._config}return ie[t]=new O(T(n,e)),ae[t]&&ae[t].forEach(function(t){le(t.name,t.config)}),se(t),ie[t]}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return te;if(!o(t)){if(e=oe(t))return e;t=[t]}return function(t){for(var e,n,i,a,r=0;r<t.length;){for(e=(a=re(t[r]).split("-")).length,n=(n=re(t[r+1]))?n.split("-"):null;0<e;){if(i=oe(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&w(a,n,!0)>=e-1)break;e--}r++}return null}(t)}function de(t){var e,n=t._a;return n&&-2===g(t).overflow&&(e=n[mt]<0||11<n[mt]?mt:n[pt]<1||n[pt]>Ot(n[gt],n[mt])?pt:n[vt]<0||24<n[vt]||24===n[vt]&&(0!==n[yt]||0!==n[bt]||0!==n[xt])?vt:n[yt]<0||59<n[yt]?yt:n[bt]<0||59<n[bt]?bt:n[xt]<0||999<n[xt]?xt:-1,g(t)._overflowDayOfYear&&(e<gt||pt<e)&&(e=pt),g(t)._overflowWeeks&&-1===e&&(e=_t),g(t)._overflowWeekday&&-1===e&&(e=kt),g(t).overflow=e),t}function he(t,e,n){return null!=t?t:null!=e?e:n}function ce(t){var e,n,i,a,r,o=[];if(!t._d){for(i=function(t){var e=new Date(c.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[pt]&&null==t._a[mt]&&function(t){var e,n,i,a,r,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,o=4,n=he(e.GG,t._a[gt],Bt(Ce(),1,4).year),i=he(e.W,1),((a=he(e.E,1))<1||7<a)&&(l=!0);else{r=t._locale._week.dow,o=t._locale._week.doy;var u=Bt(Ce(),r,o);n=he(e.gg,t._a[gt],u.year),i=he(e.w,u.week),null!=e.d?((a=e.d)<0||6<a)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||6<e.e)&&(l=!0)):a=r}i<1||i>Et(n,r,o)?g(t)._overflowWeeks=!0:null!=l?g(t)._overflowWeekday=!0:(s=Vt(n,i,a,r,o),t._a[gt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(r=he(t._a[gt],i[gt]),(t._dayOfYear>wt(r)||0===t._dayOfYear)&&(g(t)._overflowDayOfYear=!0),n=zt(r,0,t._dayOfYear),t._a[mt]=n.getUTCMonth(),t._a[pt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[vt]&&0===t._a[yt]&&0===t._a[bt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[vt]=0),t._d=(t._useUTC?zt:function(t,e,n,i,a,r,o){var s=new Date(t,e,n,i,a,r,o);return t<100&&0<=t&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,o),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[vt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(g(t).weekdayMismatch=!0)}}var fe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ve=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ye=/^\/?Date\((\-?\d+)/i;function be(t){var e,n,i,a,r,o,s=t._i,l=fe.exec(s)||ge.exec(s);if(l){for(g(t).iso=!0,e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[1])){a=pe[e][0],i=!1!==pe[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(l[3])){r=(l[2]||" ")+ve[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!me.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),Me(t)}else t._isValid=!1}var xe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function _e(t,e,n,i,a,r){var o=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Ft.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return r&&o.push(parseInt(r,10)),o}var ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function we(t){var e=xe.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t._i));if(e){var n=_e(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,n){return!t||Ut.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1)}(e[1],n,t))return;t._a=n,t._tzm=function(t,e,n){if(t)return ke[t];if(e)return 0;var i=parseInt(n,10),a=i%100;return 60*((i-a)/100)+a}(e[8],e[9],e[10]),t._d=zt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),g(t).rfc2822=!0}else t._isValid=!1}function Me(t){if(t._f!==c.ISO_8601)if(t._f!==c.RFC_2822){t._a=[],g(t).empty=!0;var e,n,i,a,r,o,s,l,u=""+t._i,d=u.length,h=0;for(i=j(t._f,t._locale).match(N)||[],e=0;e<i.length;e++)a=i[e],(n=(u.match(ut(a,t))||[])[0])&&(0<(r=u.substr(0,u.indexOf(n))).length&&g(t).unusedInput.push(r),u=u.slice(u.indexOf(n)+n.length),h+=n.length),V[a]?(n?g(t).empty=!1:g(t).unusedTokens.push(a),o=a,l=t,null!=(s=n)&&f(ht,o)&&ht[o](s,l._a,l,o)):t._strict&&!n&&g(t).unusedTokens.push(a);g(t).charsLeftOver=d-h,0<u.length&&g(t).unusedInput.push(u),t._a[vt]<=12&&!0===g(t).bigHour&&0<t._a[vt]&&(g(t).bigHour=void 0),g(t).parsedDateParts=t._a.slice(0),g(t).meridiem=t._meridiem,t._a[vt]=function(t,e,n){var i;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0)),e)}(t._locale,t._a[vt],t._meridiem),ce(t),de(t)}else we(t);else be(t)}function Se(t){var e=t._i,n=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===n&&""===e?p({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new b(de(e)):(u(e)?t._d=e:o(n)?function(t){var e,n,i,a,r;if(0===t._f.length)return g(t).invalidFormat=!0,t._d=new Date(NaN);for(a=0;a<t._f.length;a++)r=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],Me(e),m(e)&&(r+=g(e).charsLeftOver,r+=10*g(e).unusedTokens.length,g(e).score=r,(null==i||r<i)&&(i=r,n=e));d(t,n||e)}(t):n?Me(t):function(t){var e=t._i;r(e)?t._d=new Date(c.now()):u(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ye.exec(t._i);null===e?(be(t),!1===t._isValid&&(delete t._isValid,we(t),!1===t._isValid&&(delete t._isValid,c.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):o(e)?(t._a=i(e.slice(0),function(t){return parseInt(t,10)}),ce(t)):s(e)?function(t){if(!t._d){var e=R(t._i);t._a=i([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ce(t)}}(t):l(e)?t._d=new Date(e):c.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function De(t,e,n,i,a){var r={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||o(t)&&0===t.length)&&(t=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=a,r._l=n,r._i=t,r._f=e,r._strict=i,function(t){var e=new b(de(Se(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}(r)}function Ce(t,e,n,i){return De(t,e,n,i,!1)}c.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),c.ISO_8601=function(){},c.RFC_2822=function(){};var Pe=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),Te=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:p()});function Oe(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ae(t){var e=R(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===St.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<Ie.length;++i)if(t[Ie[i]]){if(n)return!1;parseFloat(t[Ie[i]])!==k(t[Ie[i]])&&(n=!0)}return!0}(e),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=ue(),this._bubble()}function Fe(t){return t instanceof Ae}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Le(t,n){B(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+Y(~~(t/60),2)+n+Y(~~t%60,2)})}Le("Z",":"),Le("ZZ",""),lt("Z",rt),lt("ZZ",rt),ct(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ye(rt,t)});var We=/([\+\-]|\d\d)/gi;function Ye(t,e){var n=(e||"").match(t);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(We)||["-",0,0],a=60*i[1]+k(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ne(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(x(t)||u(t)?t.valueOf():Ce(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),c.updateOffset(n,!1),n):Ce(t).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function He(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};var Ve=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ee(t,e){var n,i,a,r=t,o=null;return Fe(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:l(t)?(r={},e?r[e]=t:r.milliseconds=t):(o=Ve.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:k(o[pt])*n,h:k(o[vt])*n,m:k(o[yt])*n,s:k(o[bt])*n,ms:k(Re(1e3*o[xt]))*n}):(o=Be.exec(t))?(n="-"===o[1]?-1:(o[1],1),r={y:je(o[2],n),M:je(o[3],n),w:je(o[4],n),d:je(o[5],n),h:je(o[6],n),m:je(o[7],n),s:je(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(a=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ne(e,t),t.isBefore(e)?n=Ue(t,e):((n=Ue(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Ce(r.from),Ce(r.to)),(r={}).ms=a.milliseconds,r.M=a.months),i=new Ae(r),Fe(t)&&f(t,"_locale")&&(i._locale=t._locale),i}function je(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ue(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=e-t.clone().add(n.months,"M"),n}function qe(i,a){return function(t,e){var n;return null===e||isNaN(+e)||(C(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Ge(this,Ee(t="string"==typeof t?+t:t,e),i),this}}function Ge(t,e,n,i){var a=e._milliseconds,r=Re(e._days),o=Re(e._months);t.isValid()&&(i=null==i||i,o&&Rt(t,Pt(t,"Month")+o*n),r&&Tt(t,"Date",Pt(t,"Date")+r*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&c.updateOffset(t,r||o))}Ee.fn=Ae.prototype,Ee.invalid=function(){return Ee(NaN)};var Ze=qe(1,"add"),Xe=qe(-1,"subtract");function Je(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $e=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Qe(){return this._locale}function tn(t,e){B(0,[t,t.length],0,e)}function en(t,e,n,i,a){var r;return null==t?Bt(this,i,a).year:((r=Et(t,i,a))<e&&(e=r),function(t,e,n,i,a){var r=Vt(t,e,n,i,a),o=zt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,t,e,n,i,a))}B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),lt("G",it),lt("g",it),lt("GG",J,q),lt("gg",J,q),lt("GGGG",tt,Z),lt("gggg",tt,Z),lt("GGGGG",et,X),lt("ggggg",et,X),ft(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=k(t)}),ft(["gg","GG"],function(t,e,n,i){e[i]=c.parseTwoDigitYear(t)}),B("Q",0,"Qo","quarter"),A("quarter","Q"),W("quarter",7),lt("Q",U),ct("Q",function(t,e){e[mt]=3*(k(t)-1)}),B("D",["DD",2],"Do","date"),A("date","D"),W("date",9),lt("D",J),lt("DD",J,q),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ct(["D","DD"],pt),ct("Do",function(t,e){e[pt]=k(t.match(J)[0])});var nn=Ct("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),W("dayOfYear",4),lt("DDD",Q),lt("DDDD",G),ct(["DDD","DDDD"],function(t,e,n){n._dayOfYear=k(t)}),B("m",["mm",2],0,"minute"),A("minute","m"),W("minute",14),lt("m",J),lt("mm",J,q),ct(["m","mm"],yt);var an=Ct("Minutes",!1);B("s",["ss",2],0,"second"),A("second","s"),W("second",15),lt("s",J),lt("ss",J,q),ct(["s","ss"],bt);var rn,on=Ct("Seconds",!1);for(B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),W("millisecond",16),lt("S",Q,U),lt("SS",Q,q),lt("SSS",Q,G),rn="SSSS";rn.length<=9;rn+="S")lt(rn,nt);function sn(t,e){e[xt]=k(1e3*("0."+t))}for(rn="S";rn.length<=9;rn+="S")ct(rn,sn);var ln=Ct("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var un=b.prototype;function dn(t){return t}un.add=Ze,un.calendar=function(t,e){var n=t||Ce(),i=Ne(n,this).startOf("day"),a=c.calendarFormat(this,i)||"sameElse",r=e&&(P(e[a])?e[a].call(this,n):e[a]);return this.format(r||this.localeData().calendar(a,this,Ce(n)))},un.clone=function(){return new b(this)},un.diff=function(t,e,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Ne(t,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),e=F(e)){case"year":r=Je(this,i)/12;break;case"month":r=Je(this,i);break;case"quarter":r=Je(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:_(r)},un.endOf=function(t){return void 0===(t=F(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},un.format=function(t){t=t||(this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var e=E(this,t);return this.localeData().postformat(e)},un.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?Ee({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},un.fromNow=function(t){return this.from(Ce(),t)},un.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?Ee({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},un.toNow=function(t){return this.to(Ce(),t)},un.get=function(t){return P(this[t=F(t)])?this[t]():this},un.invalidAt=function(){return g(this).overflow},un.isAfter=function(t,e){var n=x(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(r(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},un.isBefore=function(t,e){var n=x(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(r(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},un.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},un.isSame=function(t,e){var n,i=x(t)?t:Ce(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=F(e||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},un.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},un.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},un.isValid=function(){return m(this)},un.lang=$e,un.locale=Ke,un.localeData=Qe,un.max=Te,un.min=Pe,un.parsingFlags=function(){return d({},g(this))},un.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:L[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=R(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(P(this[t=F(t)]))return this[t](e);return this},un.startOf=function(t){switch(t=F(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},un.subtract=Xe,un.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},un.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||9999<n.year()?E(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",E(n,"Z")):E(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+a)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=Dt,un.isLeapYear=function(){return Mt(this.year())},un.weekYear=function(t){return en.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(t){return en.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},un.month=Lt,un.daysInMonth=function(){return Ot(this.year(),this.month())},un.week=un.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},un.isoWeek=un.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},un.weeksInYear=function(){var t=this.localeData()._week;return Et(this.year(),t.dow,t.doy)},un.isoWeeksInYear=function(){return Et(this.year(),1,4)},un.date=nn,un.day=un.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},un.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},un.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)},un.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},un.hour=un.hours=ee,un.minute=un.minutes=an,un.second=un.seconds=on,un.millisecond=un.milliseconds=ln,un.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:ze(this);if("string"==typeof t){if(null===(t=Ye(rt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=ze(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?Ge(this,Ee(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this},un.utc=function(t){return this.utcOffset(0,t)},un.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ye(at,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=He,un.isUTC=He,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=n("dates accessor is deprecated. Use date instead.",nn),un.months=n("months accessor is deprecated. Use month instead",Lt),un.years=n("years accessor is deprecated. Use year instead",Dt),un.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),un.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=Se(t))._a){var e=t._isUTC?h(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&0<w(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=O.prototype;function cn(t,e,n,i){var a=ue(),r=h().set(i,e);return a[n](r,t)}function fn(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=cn(t,i,n,"month");return a}function gn(t,e,n,i){e=("boolean"==typeof t?l(e)&&(n=e,e=void 0):(e=t,t=!1,l(n=e)&&(n=e,e=void 0)),e||"");var a,r=ue(),o=t?r._week.dow:0;if(null!=n)return cn(e,(n+o)%7,i,"day");var s=[];for(a=0;a<7;a++)s[a]=cn(e,(a+o)%7,i,"day");return s}hn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return P(i)?i.call(e,n):i},hn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(t){return this._ordinal.replace("%d",t)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return P(a)?a(t,e,n,i):a.replace(/%d/i,t)},hn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)},hn.set=function(t){var e,n;for(n in t)P(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||It).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},hn.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[It.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(t,e,n){var i,a,r;if(this._monthsParseExact)return function(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=St.call(this._shortMonthsParse,o))?a:null:-1!==(a=St.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=St.call(this._shortMonthsParse,o))?a:-1!==(a=St.call(this._longMonthsParse,o))?a:null:-1!==(a=St.call(this._longMonthsParse,o))?a:-1!==(a=St.call(this._shortMonthsParse,o))?a:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},hn.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Nt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Yt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Nt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(t,e){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},hn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},hn.weekdaysParse=function(t,e,n){var i,a,r;if(this._weekdaysParseExact)return function(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=St.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=St.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=St.call(this._weekdaysParse,o))?a:-1!==(a=St.call(this._shortWeekdaysParse,o))?a:-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=St.call(this._shortWeekdaysParse,o))?a:-1!==(a=St.call(this._weekdaysParse,o))?a:-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:-1!==(a=St.call(this._minWeekdaysParse,o))?a:-1!==(a=St.call(this._weekdaysParse,o))?a:-1!==(a=St.call(this._shortWeekdaysParse,o))?a:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},hn.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Gt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Zt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},se("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===k(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),c.lang=n("moment.lang is deprecated. Use moment.locale instead.",se),c.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ue);var mn=Math.abs;function pn(t,e,n,i){var a=Ee(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function yn(t){return 4800*t/146097}function bn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var _n=xn("ms"),kn=xn("s"),wn=xn("m"),Mn=xn("h"),Sn=xn("d"),Dn=xn("w"),Cn=xn("M"),Pn=xn("y");function Tn(t){return function(){return this.isValid()?this._data[t]:NaN}}var On=Tn("milliseconds"),In=Tn("seconds"),An=Tn("minutes"),Fn=Tn("hours"),Rn=Tn("days"),Ln=Tn("months"),Wn=Tn("years");var Yn=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};function zn(t,e,n){var i=Ee(t).abs(),a=Yn(i.as("s")),r=Yn(i.as("m")),o=Yn(i.as("h")),s=Yn(i.as("d")),l=Yn(i.as("M")),u=Yn(i.as("y")),d=a<=Nn.ss&&["s",a]||a<Nn.s&&["ss",a]||r<=1&&["m"]||r<Nn.m&&["mm",r]||o<=1&&["h"]||o<Nn.h&&["hh",o]||s<=1&&["d"]||s<Nn.d&&["dd",s]||l<=1&&["M"]||l<Nn.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=e,d[3]=0<+t,d[4]=n,function(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}.apply(null,d)}var Hn=Math.abs;function Vn(t){return(0<t)-(t<0)||+t}function Bn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Hn(this._milliseconds)/1e3,i=Hn(this._days),a=Hn(this._months);t=_(n/60),e=_(t/60),n%=60,t%=60;var r=_(a/12),o=a%=12,s=i,l=e,u=t,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=h<0?"-":"",f=Vn(this._months)!==Vn(h)?"-":"",g=Vn(this._days)!==Vn(h)?"-":"",m=Vn(this._milliseconds)!==Vn(h)?"-":"";return c+"P"+(r?f+r+"Y":"")+(o?f+o+"M":"")+(s?g+s+"D":"")+(l||u||d?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(d?m+d+"S":"")}var En=Ae.prototype;return En.isValid=function(){return this._isValid},En.abs=function(){var t=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),t.milliseconds=mn(t.milliseconds),t.seconds=mn(t.seconds),t.minutes=mn(t.minutes),t.hours=mn(t.hours),t.months=mn(t.months),t.years=mn(t.years),this},En.add=function(t,e){return pn(this,t,e,1)},En.subtract=function(t,e){return pn(this,t,e,-1)},En.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=F(t))||"year"===t)return e=this._days+i/864e5,n=this._months+yn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(bn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},En.asMilliseconds=_n,En.asSeconds=kn,En.asMinutes=wn,En.asHours=Mn,En.asDays=Sn,En.asWeeks=Dn,En.asMonths=Cn,En.asYears=Pn,En.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},En._bubble=function(){var t,e,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return 0<=r&&0<=o&&0<=s||r<=0&&o<=0&&s<=0||(r+=864e5*vn(bn(s)+o),s=o=0),l.milliseconds=r%1e3,t=_(r/1e3),l.seconds=t%60,e=_(t/60),l.minutes=e%60,n=_(e/60),l.hours=n%24,o+=_(n/24),s+=a=_(yn(o)),o-=vn(bn(a)),i=_(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},En.clone=function(){return Ee(this)},En.get=function(t){return t=F(t),this.isValid()?this[t+"s"]():NaN},En.milliseconds=On,En.seconds=In,En.minutes=An,En.hours=Fn,En.days=Rn,En.weeks=function(){return _(this.days()/7)},En.months=Ln,En.years=Wn,En.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=zn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},En.toISOString=Bn,En.toString=Bn,En.toJSON=Bn,En.locale=Ke,En.localeData=Qe,En.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bn),En.lang=$e,B("X",0,0,"unix"),B("x",0,0,"valueOf"),lt("x",it),lt("X",/[+-]?\d+(\.\d{1,3})?/),ct("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),ct("x",function(t,e,n){n._d=new Date(k(t))}),c.version="2.20.1",t=Ce,c.fn=un,c.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},c.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=h,c.unix=function(t){return Ce(1e3*t)},c.months=function(t,e){return fn(t,e,"months")},c.isDate=u,c.locale=se,c.invalid=p,c.duration=Ee,c.isMoment=x,c.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},c.parseZone=function(){return Ce.apply(null,arguments).parseZone()},c.localeData=ue,c.isDuration=Fe,c.monthsShort=function(t,e){return fn(t,e,"monthsShort")},c.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},c.defineLocale=le,c.updateLocale=function(t,e){if(null!=e){var n,i,a=ne;null!=(i=oe(t))&&(a=i._config),(n=new O(e=T(a,e))).parentLocale=ie[t],ie[t]=n,se(t)}else null!=ie[t]&&(null!=ie[t].parentLocale?ie[t]=ie[t].parentLocale:null!=ie[t]&&delete ie[t]);return ie[t]},c.locales=function(){return S(ie)},c.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},c.normalizeUnits=F,c.relativeTimeRounding=function(t){return void 0===t?Yn:"function"==typeof t&&(Yn=t,!0)},c.relativeTimeThreshold=function(t,e){return void 0!==Nn[t]&&(void 0===e?Nn[t]:(Nn[t]=e,"s"===t&&(Nn.ss=e-1),!0))},c.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},c.prototype=un,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},c},"object"==typeof t&&void 0!==Un?Un.exports=n():e.moment=n()},{}],7:[function(t,e,n){var i=t(29)();i.helpers=t(45),t(27)(i),i.defaults=t(25),i.Element=t(26),i.elements=t(40),i.Interaction=t(28),i.layouts=t(30),i.platform=t(48),i.plugins=t(31),i.Ticks=t(34),t(22)(i),t(23)(i),t(24)(i),t(33)(i),t(32)(i),t(35)(i),t(55)(i),t(53)(i),t(54)(i),t(56)(i),t(57)(i),t(58)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var a=t(49);for(var r in a)a.hasOwnProperty(r)&&i.plugins.register(a[r]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=a.legend._element,i.Title=a.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(n){n.Bar=function(t,e){return e.type="bar",new n(t,e)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(n){n.Bubble=function(t,e){return e.type="bubble",new n(t,e)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(n){n.Doughnut=function(t,e){return e.type="doughnut",new n(t,e)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(n){n.Line=function(t,e){return e.type="line",new n(t,e)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(n){n.PolarArea=function(t,e){return e.type="polarArea",new n(t,e)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(n){n.Radar=function(t,e){return e.type="radar",new n(t,e)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(n){n.Scatter=function(t,e){return e.type="scatter",new n(t,e)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),a=t(40),u=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return 0<t.length&&(t[0].yLabel?n=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.chart,r=i.getMeta(),o=i.getDataset(),s=t.custom||{},l=a.options.elements.rectangle;t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:o.label,label:a.data.labels[e],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:u.valueAtIndexOrDefault(o.backgroundColor,e,l.backgroundColor),borderColor:s.borderColor?s.borderColor:u.valueAtIndexOrDefault(o.borderColor,e,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:u.valueAtIndexOrDefault(o.borderWidth,e,l.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,a=t._model,r=i.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,l);a.horizontal=s,a.base=n?o:u.base,a.x=s?n?o:u.head:d.center,a.y=s?d.center:n?o:u.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){var e,n,i=this.chart,a=this.getIndexScale().options.stacked,r=void 0===t?i.data.datasets.length:t+1,o=[];for(e=0;e<r;++e)(n=i.getDatasetMeta(e)).bar&&i.isDatasetVisible(e)&&(!1===a||!0===a&&-1===o.indexOf(n.stack)||void 0===a&&(void 0===n.stack||-1===o.indexOf(n.stack)))&&o.push(n.stack);return o},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this.getIndexScale(),i=this.getStackCount(),a=this.index,r=n.isHorizontal(),o=r?n.left:n.top,s=o+(r?n.width:n.height),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(n.getPixelForValue(null,t,a));return{min:u.isNullOrUndef(n.options.barThickness)?function(t,e){var n,i,a,r,o=t.isHorizontal()?t.width:t.height,s=t.getTicks();for(a=1,r=e.length;a<r;++a)o=Math.min(o,e[a]-e[a-1]);for(a=0,r=s.length;a<r;++a)i=t.getPixelForTick(a),o=0<a?Math.min(o,i-n):o,n=i;return o}(n,l):-1,pixels:l,start:o,end:s,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,a,r,o,s,l=this.chart,u=this.getMeta(),d=this.getValueScale(),h=l.data.datasets,c=d.getRightValue(h[t].data[e]),f=d.options.stacked,g=u.stack,m=0;if(f||void 0===f&&void 0!==g)for(n=0;n<t;++n)(i=l.getDatasetMeta(n)).bar&&i.stack===g&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(n)&&(a=d.getRightValue(h[n].data[e]),(c<0&&a<0||0<=c&&0<a)&&(m+=a));return r=d.getPixelForValue(m),{size:s=((o=d.getPixelForValue(m+c))-r)/2,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(t,e,n){var i=n.scale.options,a="flex"===i.barThickness?function(t,e,n){var i,a=e.pixels,r=a[t],o=0<t?a[t-1]:null,s=t<a.length-1?a[t+1]:null,l=n.categoryPercentage;return null===o&&(o=r-(null===s?e.end-r:s-r)),null===s&&(s=r+r-o),i=r-(r-o)/2*l,{chunk:(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):function(t,e,n){var i,a,r=n.barThickness,o=e.stackCount,s=e.pixels[t];return a=u.isNullOrUndef(r)?(i=e.min*n.categoryPercentage,n.barPercentage):(i=r*o,1),{chunk:i/o,ratio:a,start:s-i/2}}(e,n,i),r=this.getStackIndex(t,this.getMeta().stack),o=a.start+a.chunk*r+a.chunk/2,s=Math.min(u.valueOrDefault(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var t=this.chart,e=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(u.canvas.clipArea(t.ctx,t.chartArea);r<a;++r)isNaN(e.getRightValue(i.data[r]))||n[r].draw();u.canvas.unclipArea(t.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:u.valueAtIndexOrDefault(e.hoverBackgroundColor,n,u.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:u.valueAtIndexOrDefault(e.hoverBorderColor,n,u.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:u.valueAtIndexOrDefault(e.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,r=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:u.valueAtIndexOrDefault(e.backgroundColor,n,r.backgroundColor),a.borderColor=i.borderColor?i.borderColor:u.valueAtIndexOrDefault(e.borderColor,n,r.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:u.valueAtIndexOrDefault(e.borderWidth,n,r.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),a=t(40),g=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(n){var i=this,t=i.getMeta().data;g.each(t,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=t.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],d=i.index,h=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,d),c=n?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=g.valueOrDefault(n.hoverBackgroundColor,g.getHoverColor(n.backgroundColor)),e.borderColor=g.valueOrDefault(n.hoverBorderColor,g.getHoverColor(n.borderColor)),e.borderWidth=g.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,a,r=this.chart,o=r.data.datasets[this.index],s=t.custom||{},l=r.options.elements.point,u=g.options.resolve,d=o.data[e],h={},c={chart:r,dataIndex:e,dataset:o,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=f.length;n<i;++n)h[a=f[n]]=u([s[a],o[a],l[a]],c,e);return h.radius=u([s.radius,d?d.r:void 0,o.radius,l.radius],c,e),h}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),a=t(40),O=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(l){var u=l.data;return u.labels.length&&u.datasets.length?u.labels.map(function(t,e){var n=l.getDatasetMeta(0),i=u.datasets[0],a=n.data[e],r=a&&a.custom||{},o=O.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:t,fillStyle:r.backgroundColor?r.backgroundColor:o(i.backgroundColor,e,s.backgroundColor),strokeStyle:r.borderColor?r.borderColor:o(i.borderColor,e,s.borderColor),lineWidth:r.borderWidth?r.borderWidth:o(i.borderWidth,e,s.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return O.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),i._set("pie",O.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:a.Arc,linkScales:O.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(n){var i=this,t=i.chart,e=t.chartArea,a=t.options,r=a.elements.arc,o=e.right-e.left-r.borderWidth,s=e.bottom-e.top-r.borderWidth,l=Math.min(o,s),u={x:0,y:0},d=i.getMeta(),h=a.cutoutPercentage,c=a.circumference;if(c<2*Math.PI){var f=a.rotation%(2*Math.PI),g=(f+=2*Math.PI*(f>=Math.PI?-1:f<-Math.PI?1:0))+c,m=Math.cos(f),p=Math.sin(f),v=Math.cos(g),y=Math.sin(g),b=f<=0&&0<=g||f<=2*Math.PI&&2*Math.PI<=g,x=f<=.5*Math.PI&&.5*Math.PI<=g||f<=2.5*Math.PI&&2.5*Math.PI<=g,_=f<=-Math.PI&&-Math.PI<=g||f<=Math.PI&&Math.PI<=g,k=f<=.5*-Math.PI&&.5*-Math.PI<=g||f<=1.5*Math.PI&&1.5*Math.PI<=g,w=h/100,M=_?-1:Math.min(m*(m<0?1:w),v*(v<0?1:w)),S=k?-1:Math.min(p*(p<0?1:w),y*(y<0?1:w)),D=b?1:Math.max(m*(0<m?1:w),v*(0<v?1:w)),C=x?1:Math.max(p*(0<p?1:w),y*(0<y?1:w)),P=.5*(D-M),T=.5*(C-S);l=Math.min(o/P,s/T),u={x:-.5*(D+M),y:-.5*(C+S)}}t.borderWidth=i.getMaxBorderWidth(d.data),t.outerRadius=Math.max((l-t.borderWidth)/2,0),t.innerRadius=Math.max(h?t.outerRadius/100*h:0,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),t.offsetX=u.x*t.outerRadius,t.offsetY=u.y*t.outerRadius,d.total=i.calculateTotal(),i.outerRadius=t.outerRadius-t.radiusLength*i.getRingIndex(i.index),i.innerRadius=Math.max(i.outerRadius-t.radiusLength,0),O.each(d.data,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d=o.rotation,h=o.rotation,c=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(c.data[e])*(o.circumference/(2*Math.PI)),g=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,p=O.valueAtIndexOrDefault;O.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:m,innerRadius:g,label:p(c.label,e,a.data.labels[e])}});var v=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(v.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),t=this.getMeta(),a=0;return O.each(t.data,function(t,e){n=i.data[e],isNaN(n)||t.hidden||(a+=Math.abs(n))}),a},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,a=this.index,r=t.length,o=0;o<r;o++)i=(i=i<(e=t[o]._model?t[o]._model.borderWidth:0)?e:i)<(n=t[o]._chart?t[o]._chart.config.data.datasets[a].hoverBorderWidth:0)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),g=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function f(t,e){return g.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var e,n,i,a=this,r=a.getMeta(),o=r.dataset,s=r.data||[],l=a.chart.options,u=l.elements.line,d=a.getScaleForId(r.yAxisID),h=a.getDataset(),c=f(h,l);for(c&&(i=o.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),o._scale=d,o._datasetIndex=a.index,o._children=s,o._model={spanGaps:h.spanGaps?h.spanGaps:l.spanGaps,tension:i.tension?i.tension:g.valueOrDefault(h.lineTension,u.tension),backgroundColor:i.backgroundColor?i.backgroundColor:h.backgroundColor||u.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:h.borderWidth||u.borderWidth,borderColor:i.borderColor?i.borderColor:h.borderColor||u.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:h.borderCapStyle||u.borderCapStyle,borderDash:i.borderDash?i.borderDash:h.borderDash||u.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:h.borderDashOffset||u.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:h.borderJoinStyle||u.borderJoinStyle,fill:i.fill?i.fill:void 0!==h.fill?h.fill:u.fill,steppedLine:i.steppedLine?i.steppedLine:g.valueOrDefault(h.steppedLine,u.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:g.valueOrDefault(h.cubicInterpolationMode,u.cubicInterpolationMode)},o.pivot()),e=0,n=s.length;e<n;++e)a.updateElement(s[e],e,t);for(c&&0!==o._model.tension&&a.updateBezierControlPoints(),e=0,n=s.length;e<n;++e)s[e].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=t.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=g.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=t.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=g.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=t.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||g.isArray(i.pointBorderWidth)?n=g.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(t,e,n){var i,a,r=this,o=r.getMeta(),s=t.custom||{},l=r.getDataset(),u=r.index,d=l.data[e],h=r.getScaleForId(o.yAxisID),c=r.getScaleForId(o.xAxisID),f=r.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),i=c.getPixelForValue("object"==typeof d?d:NaN,e,u),a=n?h.getBasePixel():r.calculatePointY(d,e,u),t._xScale=c,t._yScale=h,t._datasetIndex=u,t._index=e,t._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:s.radius||g.valueAtIndexOrDefault(l.pointRadius,e,f.radius),pointStyle:s.pointStyle||g.valueAtIndexOrDefault(l.pointStyle,e,f.pointStyle),backgroundColor:r.getPointBackgroundColor(t,e),borderColor:r.getPointBorderColor(t,e),borderWidth:r.getPointBorderWidth(t,e),tension:o.dataset._model?o.dataset._model.tension:0,steppedLine:!!o.dataset._model&&o.dataset._model.steppedLine,hitRadius:s.hitRadius||g.valueAtIndexOrDefault(l.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,n){var i,a,r,o=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),u=0,d=0;if(l.options.stacked){for(i=0;i<n;i++)if(a=o.data.datasets[i],"line"===(r=o.getDatasetMeta(i)).type&&r.yAxisID===l.id&&o.isDatasetVisible(i)){var h=Number(l.getRightValue(a.data[e]));h<0?d+=h||0:u+=h||0}var c=Number(l.getRightValue(t));return c<0?l.getPixelForValue(d+c):l.getPixelForValue(u+c)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,a=this.getMeta(),r=this.chart.chartArea,o=a.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}if(a.dataset._model.spanGaps&&(o=o.filter(function(t){return!t._model.skip})),"monotone"===a.dataset._model.cubicInterpolationMode)g.splineCurveMonotone(o);else for(t=0,e=o.length;t<e;++t)n=o[t]._model,i=g.splineCurve(g.previousItem(o,t)._model,n,g.nextItem(o,t)._model,a.dataset._model.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=o.length;t<e;++t)(n=o[t]._model).controlPointPreviousX=s(n.controlPointPreviousX,r.left,r.right),n.controlPointPreviousY=s(n.controlPointPreviousY,r.top,r.bottom),n.controlPointNextX=s(n.controlPointNextX,r.left,r.right),n.controlPointNextY=s(n.controlPointNextY,r.top,r.bottom)},draw:function(){var t=this.chart,e=this.getMeta(),n=e.data||[],i=t.chartArea,a=n.length,r=0;for(g.canvas.clipArea(t.ctx,i),f(this.getDataset(),t.options)&&e.dataset.draw(),g.canvas.unclipArea(t.ctx);r<a;++r)n[r].draw(i)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.radius=i.hoverRadius||g.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||g.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,g.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||g.valueAtIndexOrDefault(e.pointHoverBorderColor,n,g.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||g.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this,n=e.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=t._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),r.radius=a.radius||g.valueAtIndexOrDefault(n.pointRadius,i,e.chart.options.elements.point.radius),r.backgroundColor=e.getPointBackgroundColor(t,i),r.borderColor=e.getPointBorderColor(t,i),r.borderWidth=e.getPointBorderWidth(t,i)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),a=t(40),_=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[e].custom||{},r=_.valueAtIndexOrDefault,o=s.options.elements.arc;return{text:t,fillStyle:a.backgroundColor?a.backgroundColor:r(i.backgroundColor,e,o.backgroundColor),strokeStyle:a.borderColor?a.borderColor:r(i.borderColor,e,o.borderColor),lineWidth:a.borderWidth?a.borderWidth:r(i.borderWidth,e,o.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:a.Arc,linkScales:_.noop,update:function(n){var i=this,t=i.chart,e=t.chartArea,a=i.getMeta(),r=t.options,o=r.elements.arc,s=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max((s-o.borderWidth/2)/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),i.outerRadius=t.outerRadius-t.radiusLength*i.index,i.innerRadius=i.outerRadius-t.radiusLength,a.count=i.countVisibleElements(),_.each(a.data,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){for(var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,d=i.calculateCircumference(r.data[e]),h=l.xCenter,c=l.yCenter,f=0,g=i.getMeta(),m=0;m<e;++m)isNaN(r.data[m])||g.data[m].hidden||++f;var p=o.startAngle,v=t.hidden?0:l.getDistanceFromCenterForValue(r.data[e]),y=p+d*f,b=y+(t.hidden?0:d),x=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[e]);_.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{x:h,y:c,innerRadius:0,outerRadius:n?x:v,startAngle:n&&s.animateRotate?p:y,endAngle:n&&s.animateRotate?p:b,label:_.valueAtIndexOrDefault(u,e,u[e])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),t=this.getMeta(),i=0;return _.each(t.data,function(t,e){isNaN(n.data[e])||t.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return 0<e&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),u=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:u.noop,update:function(n){var i=this,t=i.getMeta(),e=t.dataset,a=t.data,r=e.custom||{},o=i.getDataset(),s=i.chart.options.elements.line,l=i.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),u.extend(t.dataset,{_datasetIndex:i.index,_scale:l,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:u.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),t.dataset.pivot(),u.each(a,function(t,e){i.updateElement(t,e,n)},i),i.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),o=i.chart.scale,s=i.chart.options.elements.point,l=o.getPointPositionForValue(e,r.data[e]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),u.extend(t,{_datasetIndex:i.index,_index:e,_scale:o,_model:{x:n?o.xCenter:l.x,y:n?o.yCenter:l.y,tension:a.tension?a.tension:u.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:u.valueAtIndexOrDefault(r.pointRadius,e,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:u.valueAtIndexOrDefault(r.pointBackgroundColor,e,s.backgroundColor),borderColor:a.borderColor?a.borderColor:u.valueAtIndexOrDefault(r.pointBorderColor,e,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:u.valueAtIndexOrDefault(r.pointBorderWidth,e,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:u.valueAtIndexOrDefault(r.pointStyle,e,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:u.valueAtIndexOrDefault(r.pointHitRadius,e,s.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var a=this.chart.chartArea,r=this.getMeta();u.each(r.data,function(t,e){var n=t._model,i=u.splineCurve(u.previousItem(r.data,e,!0)._model,n,u.nextItem(r.data,e,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(i.previous.x,a.right),a.left),n.controlPointPreviousY=Math.max(Math.min(i.previous.y,a.bottom),a.top),n.controlPointNextX=Math.max(Math.min(i.next.x,a.right),a.left),n.controlPointNextY=Math.max(Math.min(i.next.y,a.bottom),a.top),t.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model;a.radius=n.hoverRadius?n.hoverRadius:u.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:u.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,u.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:u.valueAtIndexOrDefault(e.pointHoverBorderColor,i,u.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:u.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:u.valueAtIndexOrDefault(e.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:u.valueAtIndexOrDefault(e.pointBackgroundColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:u.valueAtIndexOrDefault(e.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:u.valueAtIndexOrDefault(e.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:r.noop,onComplete:r.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,r,o=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=r.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=r.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;1<t.dropFrames&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a<i.length;)n=(e=i[a]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),r.callback(e.render,[n,e],n),r.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(r.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var s=t(25),h=t(45),a=t(28),i=t(30),l=t(48),c=t(31);e.exports=function(u){function d(t){return"top"===t||"bottom"===t}u.types={},u.instances={},u.controllers={},h.extend(u.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=h.configMerge(s.global,s[t.type],t.options||{}),t}(e);var i=l.acquireContext(t,e),a=i&&i.canvas,r=a&&a.height,o=a&&a.width;n.id=h.uid(),n.ctx=i,n.canvas=a,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,(n.chart=n).controller=n,u.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return c.notify(t,"beforeInit"),h.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),c.notify(t,"afterInit"),t},clear:function(){return h.canvas.clear(this),this},stop:function(){return u.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(h.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:h.getMaximumHeight(i)));if((e.width!==r||e.height!==o)&&(i.width=e.width=r,i.height=e.height=o,i.style.width=r+"px",i.style.height=o+"px",h.retinaScale(e,n.devicePixelRatio),!t)){var s={width:r,height:o};c.notify(e,"resize",[s]),e.options.onResize&&e.options.onResize(e,s),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;h.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),h.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var o=this,t=o.options,s=o.scales||{},e=[],l=Object.keys(s).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),h.each(e,function(t){var e=t.options,n=e.id,i=h.valueOrDefault(e.type,t.dtype);d(e.position)!==d(t.dposition)&&(e.position=t.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===i)(a=s[n]).options=e,a.ctx=o.ctx,a.chart=o;else{var r=u.scaleService.getScaleConstructor(i);if(!r)return;a=new r({id:n,type:i,options:e,ctx:o.ctx,chart:o}),s[a.id]=a}a.mergeTicksOptions(),t.isDefault&&(o.scale=a)}),h.each(l,function(t,e){t||delete s[e]}),o.scales=s,u.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var r=this,o=[],s=[];return h.each(r.data.datasets,function(t,e){var n=r.getDatasetMeta(e),i=t.type||r.config.type;if(n.type&&n.type!==i&&(r.destroyDatasetMeta(e),n=r.getDatasetMeta(e)),n.type=i,o.push(n.type),n.controller)n.controller.updateIndex(e),n.controller.linkScales();else{var a=u.controllers[n.type];if(void 0===a)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new a(r,e),s.push(n.controller)}},r),s},resetElements:function(){var n=this;h.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),function(e){var t=e.options;h.each(e.scales,function(t){i.removeBox(e,t)}),t=h.configMerge(u.defaults.global,u.defaults[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}(n),c._invalidate(n),!1!==c.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var e=n.buildOrUpdateControllers();h.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&h.each(e,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],c.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==c.notify(this,"beforeLayout")&&(i.update(this,this.width,this.height),c.notify(this,"afterScaleUpdate"),c.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==c.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);c.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==c.notify(this,"beforeDatasetUpdate",[n])&&(e.controller.update(),c.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=t.duration,i=t.lazy;if(!1!==c.notify(e,"beforeRender")){var a=e.options.animation,r=function(t){c.notify(e,"afterRender"),h.callback(a&&a.onComplete,[t],e)};if(a&&(void 0!==n&&0!==n||void 0===n&&0!==a.duration)){var o=new u.Animation({numSteps:(n||a.duration)/16.66,easing:t.easing||a.easing,render:function(t,e){var n=h.easing.effects[e.easing],i=e.currentStep,a=i/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:a.onProgress,onAnimationComplete:r});u.animationService.addAnimation(e,o,n,i)}else e.draw(),r(new u.Animation({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),h.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==c.notify(e,"beforeDraw",[t])&&(h.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),c.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==c.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;0<=n;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);c.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==c.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),c.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==c.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),c.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return a.modes.single(this,t)},getElementsAtEvent:function(t){return a.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return a.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=a.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return a.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n=n||(e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null})},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),h.canvas.clear(n),l.releaseContext(n.ctx),n.canvas=null,n.ctx=null),c.notify(n,"destroy"),delete u.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new u.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this,n=e._listeners={},i=function(){e.eventHandler.apply(e,arguments)};h.each(e.options.events,function(t){l.addEventListener(e,t,i),n[t]=i}),e.options.responsive&&(i=function(){e.resize()},l.addEventListener(e,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,t=n._listeners;t&&(delete n._listeners,h.each(t,function(t,e){l.removeEventListener(n,e,t)}))},updateHoverStyle:function(t,e,n){var i,a,r,o=n?"setHoverStyle":"removeHoverStyle";for(a=0,r=t.length;a<r;++a)(i=t[a])&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==c.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),c.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,a.mode,a),h.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e=!h.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),u.Controller=u}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(t,e,n){"use strict";var s=t(45);e.exports=function(t){var r=["push","pop","shift","splice","unshift"];function i(e,t){var n=e._chartjs;if(n){var i=n.listeners,a=i.indexOf(t);-1!==a&&i.splice(a,1),0<i.length||(r.forEach(function(t){delete e[t]}),delete e._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},s.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&i(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(t=0,e=i.length;t<e;++t)a[t]=a[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,e=t.getDataset(),n=e.data||(e.data=[]);t._data!==n&&(t._data&&i(t._data,t),function(a,t){a._chartjs?a._chartjs.listeners.push(t):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),r.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=a[t];Object.defineProperty(a,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=i.apply(this,e);return s.each(a._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),t}})}))}(n,t),t._data=n),t.resyncElements()},update:s.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=s.valueAtIndexOrDefault,o=t._model;o.backgroundColor=a.backgroundColor?a.backgroundColor:r(n.backgroundColor,i,e.backgroundColor),o.borderColor=a.borderColor?a.borderColor:r(n.borderColor,i,e.borderColor),o.borderWidth=a.borderWidth?a.borderWidth:r(n.borderWidth,i,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=s.valueAtIndexOrDefault,r=s.getHoverColor,o=t._model;o.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:a(e.hoverBackgroundColor,n,r(o.backgroundColor)),o.borderColor=i.hoverBorderColor?i.hoverBorderColor:a(e.hoverBorderColor,n,r(o.borderColor)),o.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:a(e.hoverBorderWidth,n,o.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=s.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";var g=t(2),i=t(45);function a(t){i.extend(this,t),this.initialize.apply(this,arguments)}i.extend(a.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=i.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,a=e._view;return n&&1!==t?(a=a||(e._view={}),function(t,e,n,i){var a,r,o,s,l,u,d,h,c,f=Object.keys(n);for(a=0,r=f.length;a<r;++a)if(u=n[o=f[a]],e.hasOwnProperty(o)||(e[o]=u),(s=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=s),(d=typeof u)==typeof(l=t[o]))if("string"==d){if((h=g(l)).valid&&(c=g(u)).valid){e[o]=c.mix(h,i).rgbString();continue}}else if("number"==d&&isFinite(l)&&isFinite(u)){e[o]=l+(u-l)*i;continue}e[o]=u}}(i=i||(e._start={}),a,n,t)):(e._view=n,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return i.isNumber(this._model.x)&&i.isNumber(this._model.y)}}),a.extend=i.inherits,e.exports=a},{2:2,45:45}],27:[function(t,e,n){"use strict";var i=t(2),a=t(25),g=t(45);e.exports=function(l){function d(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function h(t){return null!=t&&"none"!==t}function e(t,e,n){var i=document.defaultView,a=t.parentNode,r=i.getComputedStyle(t)[e],o=i.getComputedStyle(a)[e],s=h(r),l=h(o),u=Number.POSITIVE_INFINITY;return s||l?Math.min(s?d(r,t,n):u,l?d(o,a,n):u):"none"}g.configMerge=function(){return g.merge(g.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){var a=e[t]||{},r=n[t];"scales"===t?e[t]=g.scaleMerge(a,r):"scale"===t?e[t]=g.merge(a,[l.scaleService.getScaleDefaults(r.type),r]):g._merger(t,e,n,i)}})},g.scaleMerge=function(){return g.merge(g.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,r,o,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)o=n[t][a],r=g.valueOrDefault(o.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!==e[t][a].type?g.merge(e[t][a],[l.scaleService.getScaleDefaults(r),o]):g.merge(e[t][a],o)}else g._merger(t,e,n,i)}})},g.where=function(t,e){if(g.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return g.each(t,function(t){e(t)&&n.push(t)}),n},g.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},g.findNextWhere=function(t,e,n){g.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},g.findPreviousWhere=function(t,e,n){g.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;0<=i;i--){var a=t[i];if(e(a))return a}},g.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g.almostEquals=function(t,e,n){return Math.abs(t-e)<n},g.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&t<n+e},g.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},g.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},g.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:0<t?1:-1},g.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},g.toRadians=function(t){return t*(Math.PI/180)},g.toDegrees=function(t){return t*(180/Math.PI)},g.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},g.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},g.aliasPixel=function(t){return t%2==0?0:.5},g.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),h=i*(u=isNaN(u)?0:u),c=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},g.EPSILON=Number.EPSILON||1e-14,g.splineCurveMonotone=function(t){var e,n,i,a,r,o,s,l,u,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=d.length;for(e=0;e<h;++e)if(!(i=d[e]).model.skip){if(n=0<e?d[e-1]:null,(a=e<h-1?d[e+1]:null)&&!a.model.skip){var c=a.model.x-i.model.x;i.deltaK=0!=c?(a.model.y-i.model.y)/c:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(e=0;e<h-1;++e)i=d[e],a=d[e+1],i.model.skip||a.model.skip||(g.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(e=0;e<h;++e)(i=d[e]).model.skip||(n=0<e?d[e-1]:null,a=e<h-1?d[e+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),a&&!a.model.skip&&(u=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},g.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},g.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},g.niceNum=function(t,e){var n=Math.floor(g.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},g.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},g.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.currentTarget||t.srcElement,o=r.getBoundingClientRect(),s=a.touches;i=s&&0<s.length?(n=s[0].clientX,s[0].clientY):(n=a.clientX,a.clientY);var l=parseFloat(g.getStyle(r,"padding-left")),u=parseFloat(g.getStyle(r,"padding-top")),d=parseFloat(g.getStyle(r,"padding-right")),h=parseFloat(g.getStyle(r,"padding-bottom")),c=o.right-o.left-l-d,f=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},g.getConstraintWidth=function(t){return e(t,"max-width","clientWidth")},g.getConstraintHeight=function(t){return e(t,"max-height","clientHeight")},g.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(g.getStyle(e,"padding-left"),10),i=parseInt(g.getStyle(e,"padding-right"),10),a=e.clientWidth-n-i,r=g.getConstraintWidth(t);return isNaN(r)?a:Math.min(a,r)},g.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(g.getStyle(e,"padding-top"),10),i=parseInt(g.getStyle(e,"padding-bottom"),10),a=e.clientHeight-n-i,r=g.getConstraintHeight(t);return isNaN(r)?a:Math.min(a,r)},g.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},g.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,r=t.width;i.height=a*n,i.width=r*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},g.fontString=function(t,e,n){return e+" "+t+"px "+n},g.longestText=function(e,t,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(a=i.data={},r=i.garbageCollect=[],i.font=t),e.font=t;var o=0;g.each(n,function(t){null!=t&&!0!==g.isArray(t)?o=g.measureText(e,a,r,o,t):g.isArray(t)&&g.each(t,function(t){null==t||g.isArray(t)||(o=g.measureText(e,a,r,o,t))})});var s=r.length/2;if(s>n.length){for(var l=0;l<s;l++)delete a[r[l]];r.splice(0,s)}return o},g.measureText=function(t,e,n,i,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,n.push(a)),i<r&&(i=r),i},g.numberOfLabelLines=function(t){var e=1;return g.each(t,function(t){g.isArray(t)&&t.length>e&&(e=t.length)}),e},g.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},g.getHoverColor=function(t){return t instanceof CanvasPattern?t:g.color(t).saturate(.5).darken(.1).rgbString()}}},{2:2,25:25,45:45}],28:[function(t,e,n){"use strict";var i=t(45);function s(t,e){return t.native?{x:t.x,y:t.y}:i.getRelativePosition(t,e)}function l(t,e){var n,i,a,r,o;for(i=0,r=t.data.datasets.length;i<r;++i)if(t.isDatasetVisible(i))for(a=0,o=(n=t.getDatasetMeta(i)).data.length;a<o;++a){var s=n.data[a];s._view.skip||e(s)}}function u(t,e){var n=[];return l(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function d(t,i,a,r){var o=Number.POSITIVE_INFINITY,s=[];return l(t,function(t){if(!a||t.inRange(i.x,i.y)){var e=t.getCenterPoint(),n=r(i,e);n<o?(s=[t],o=n):n===o&&s.push(t)}}),s}function h(t){var a=-1!==t.indexOf("x"),r=-1!==t.indexOf("y");return function(t,e){var n=a?Math.abs(t.x-e.x):0,i=r?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function a(i,t,e){var n=s(t,i);e.axis=e.axis||"x";var a=h(e.axis),r=e.intersect?u(i,n):d(i,n,!1,a),o=[];return r.length?(i.data.datasets.forEach(function(t,e){if(i.isDatasetVisible(e)){var n=i.getDatasetMeta(e).data[r[0]._index];n&&!n._view.skip&&o.push(n)}}),o):[]}e.exports={modes:{single:function(t,e){var n=s(e,t),i=[];return l(t,function(t){if(t.inRange(n.x,n.y))return i.push(t),i}),i.slice(0,1)},label:a,index:a,dataset:function(t,e,n){var i=s(e,t);n.axis=n.axis||"xy";var a=h(n.axis),r=n.intersect?u(t,i):d(t,i,!1,a);return 0<r.length&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return a(t,e,{intersect:!1})},point:function(t,e){return u(t,s(e,t))},nearest:function(t,e,n){var i=s(e,t);n.axis=n.axis||"xy";var a=h(n.axis),r=d(t,i,n.intersect,a);return 1<r.length&&r.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),r.slice(0,1)},x:function(t,e,n){var i=s(e,t),a=[],r=!1;return l(t,function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a},y:function(t,e,n){var i=s(e,t),a=[],r=!1;return l(t,function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){function t(t,e){return this.construct(t,e),this}return t.Chart=t}},{25:25}],30:[function(t,e,n){"use strict";var N=t(45);function z(t,e){return N.where(t,function(t){return t.position===e})}function H(t,a){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,e){var n=a?e:t,i=a?t:e;return n.weight===i.weight?n._tmpIndex_-i._tmpIndex_:n.weight-i.weight}),t.forEach(function(t){delete t._tmpIndex_})}e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(e,n,t){if(e){var i=e.options.layout||{},a=N.options.toPadding(i.padding),r=a.left,o=a.right,s=a.top,l=a.bottom,u=z(e.boxes,"left"),d=z(e.boxes,"right"),h=z(e.boxes,"top"),c=z(e.boxes,"bottom"),f=z(e.boxes,"chartArea");H(u,!0),H(d,!1),H(h,!0),H(c,!1);var g=n-r-o,m=t-s-l,p=m/2,v=(n-g/2)/(u.length+d.length),y=(t-p)/(h.length+c.length),b=g,x=m,_=[];N.each(u.concat(d,h,c),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?g:b,y),x-=e.height):(e=t.update(v,x),b-=e.width),_.push({horizontal:n,minSize:e,box:t})});var k=0,w=0,M=0,S=0;N.each(h.concat(c),function(t){if(t.getPadding){var e=t.getPadding();k=Math.max(k,e.left),w=Math.max(w,e.right)}}),N.each(u.concat(d),function(t){if(t.getPadding){var e=t.getPadding();M=Math.max(M,e.top),S=Math.max(S,e.bottom)}});var D=r,C=o,P=s,T=l;N.each(u.concat(d),W),N.each(u,function(t){D+=t.width}),N.each(d,function(t){C+=t.width}),N.each(h.concat(c),W),N.each(h,function(t){P+=t.height}),N.each(c,function(t){T+=t.height}),N.each(u.concat(d),function(e){var t=N.findNextWhere(_,function(t){return t.box===e}),n={left:0,right:0,top:P,bottom:T};t&&e.update(t.minSize.width,x,n)}),D=r,C=o,P=s,T=l,N.each(u,function(t){D+=t.width}),N.each(d,function(t){C+=t.width}),N.each(h,function(t){P+=t.height}),N.each(c,function(t){T+=t.height});var O=Math.max(k-D,0);D+=O,C+=Math.max(w-C,0);var I=Math.max(M-P,0);P+=I,T+=Math.max(S-T,0);var A=t-P-T,F=n-D-C;F===b&&A===x||(N.each(u,function(t){t.height=A}),N.each(d,function(t){t.height=A}),N.each(h,function(t){t.fullWidth||(t.width=F)}),N.each(c,function(t){t.fullWidth||(t.width=F)}),x=A,b=F);var R=r+O,L=s+I;N.each(u.concat(h),Y),R+=b,L+=x,N.each(d,Y),N.each(c,Y),e.chartArea={left:D,top:P,right:D+b,bottom:P+x},N.each(f,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(b,x)})}function W(e){var t=N.findNextWhere(_,function(t){return t.box===e});if(t)if(e.isHorizontal()){var n={left:Math.max(D,k),right:Math.max(C,w),top:0,bottom:0};e.update(e.fullWidth?g:b,m/2,n)}else e.update(t.minSize.width,x)}function Y(t){t.isHorizontal()?(t.left=t.fullWidth?r:D,t.right=t.fullWidth?n-o:D+b,t.top=L,t.bottom=L+t.height,L=t.bottom):(t.left=R,t.right=R+t.width,t.top=P,t.bottom=P+x,R=t.right)}}}},{45:45}],31:[function(t,e,n){"use strict";var o=t(25),s=t(45);o._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var n=this._plugins;[].concat(t).forEach(function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[e])&&((o=[t].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],a=[],n=t&&t.config||{},r=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var e=t.id,n=r[e];!1!==n&&(!0===n&&(n=s.clone(o.global.plugins[e])),i.push(t),a.push({plugin:t,options:n||{}}))}}),e.descriptors=a,e.id=this._cacheId,a},_invalidate:function(t){delete t.$plugins}}},{25:25,45:45}],32:[function(t,e,n){"use strict";var x=t(25),i=t(26),B=t(45),a=t(34);function M(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(t[e].label);return i}function E(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}x._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:a.formatters.values,minor:{},major:{}}}),e.exports=function(t){function _(t,e,n){return B.isArray(e)?B.longestText(t,n,e):t.measureText(e).width}function k(t){var e=B.valueOrDefault,n=x.global,i=e(t.fontSize,n.defaultFontSize),a=e(t.fontStyle,n.defaultFontStyle),r=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:r,font:B.fontString(i,a,r)}}function w(t){return B.options.toLineHeight(B.valueOrDefault(t.lineHeight,1.2),B.valueOrDefault(t.fontSize,x.global.defaultFontSize))}t.Scale=i.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,r,o,s,l,u=this;for(u.beforeUpdate(),u.maxWidth=t,u.maxHeight=e,u.margins=B.extend({left:0,right:0,top:0,bottom:0},n),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),s=u.buildTicks()||[],u.afterBuildTicks(),u.beforeTickToLabelConversion(),r=u.convertTicksToLabels(s)||u.ticks,u.afterTickToLabelConversion(),i=0,a=(u.ticks=r).length;i<a;++i)o=r[i],(l=s[i])?l.label=o:s.push(l={label:o,major:!1});return u._ticks=s,u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(){B.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,n=t.options.ticks,i=M(t._ticks),a=k(n);e.font=a.font;var r=n.minRotation||0;if(i.length&&t.options.display&&t.isHorizontal())for(var o,s=B.longestText(e,a.font,i,t.longestTextCache),l=s,u=t.getPixelForTick(1)-t.getPixelForTick(0)-6;u<l&&r<n.maxRotation;){var d=B.toRadians(r);if(o=Math.cos(d),Math.sin(d)*s>t.maxHeight){r--;break}r++,l=o*s}t.labelRotation=r},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=M(t._ticks),i=t.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=i.display,l=t.isHorizontal(),u=k(a),d=i.gridLines.tickMarkLength;if(e.width=l?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&o.drawTicks?d:0,e.height=l?s&&o.drawTicks?d:0:t.maxHeight,r.display&&s){var h=w(r)+B.options.toPadding(r.padding).height;l?e.height+=h:e.width+=h}if(a.display&&s){var c=B.longestText(t.ctx,u.font,n,t.longestTextCache),f=B.numberOfLabelLines(n),g=.5*u.size,m=t.options.ticks.padding;if(l){t.longestLabelWidth=c;var p=B.toRadians(t.labelRotation),v=Math.cos(p),y=Math.sin(p)*c+u.size*f+g*(f-1)+g;e.height=Math.min(t.maxHeight,e.height+y+m),t.ctx.font=u.font;var b=_(t.ctx,n[0],u.font),x=_(t.ctx,n[n.length-1],u.font);0!==t.labelRotation?(t.paddingLeft="bottom"===i.position?v*b+3:v*g+3,t.paddingRight="bottom"===i.position?v*g+3:v*x+3):(t.paddingLeft=b/2+3,t.paddingRight=x/2+3)}else a.mirror?c=0:c+=m+g,e.width=Math.min(t.maxWidth,e.width+c),t.paddingTop=u.size/2,t.paddingBottom=u.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(B.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);var r=e.left+Math.round(a);return r+=e.isFullWidth()?e.margins.left:0}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,n,i,a,r=this,o=r.isHorizontal(),s=r.options.ticks.minor,l=t.length,u=B.toRadians(r.labelRotation),d=Math.cos(u),h=r.longestLabelWidth*d,c=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),o&&(e=!1,(h+s.autoSkipPadding)*l>r.width-(r.paddingLeft+r.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*l/(r.width-(r.paddingLeft+r.paddingRight)))),a&&a<l&&(e=Math.max(e,Math.floor(l/a)))),n=0;n<l;n++)i=t[n],(1<e&&0<n%e||n%e==0&&l<=n+e)&&n!==l-1&&delete i.label,c.push(i);return c},draw:function(S){var D=this,C=D.options;if(C.display){var o=D.ctx,P=x.global,T=C.ticks.minor,t=C.ticks.major||T,O=C.gridLines,e=C.scaleLabel,I=0!==D.labelRotation,A=D.isHorizontal(),F=T.autoSkip?D._autoSkip(D.getTicks()):D.getTicks(),s=B.valueOrDefault(T.fontColor,P.defaultFontColor),l=k(T),u=B.valueOrDefault(t.fontColor,P.defaultFontColor),d=k(t),R=O.drawTicks?O.tickMarkLength:0,n=B.valueOrDefault(e.fontColor,P.defaultFontColor),i=k(e),a=B.options.toPadding(e.padding),L=B.toRadians(D.labelRotation),W=[],Y=D.options.gridLines.lineWidth,N="right"===C.position?D.right:D.right-Y-R,z="right"===C.position?D.right+R:D.right,H="bottom"===C.position?D.top+Y:D.bottom-R-Y,V="bottom"===C.position?D.top+Y+R:D.bottom+Y;if(B.each(F,function(t,e){if(!B.isNullOrUndef(t.label)){var n,i,a,r,o,s,l,u,d,h,c,f,g,m,p=t.label;r=e===D.zeroLineIndex&&C.offset===O.offsetGridLines?(n=O.zeroLineWidth,i=O.zeroLineColor,a=O.zeroLineBorderDash,O.zeroLineBorderDashOffset):(n=B.valueAtIndexOrDefault(O.lineWidth,e),i=B.valueAtIndexOrDefault(O.color,e),a=B.valueOrDefault(O.borderDash,P.borderDash),B.valueOrDefault(O.borderDashOffset,P.borderDashOffset));var v="middle",y="middle",b=T.padding;if(A){var x=R+b;m="bottom"===C.position?(y=I?"middle":"top",v=I?"right":"center",D.top+x):(y=I?"middle":"bottom",v=I?"left":"center",D.bottom-x);var _=E(D,e,O.offsetGridLines&&1<F.length);_<D.left&&(i="rgba(0,0,0,0)"),_+=B.aliasPixel(n),g=D.getPixelForTick(e)+T.labelOffset,o=l=d=c=_,s=H,u=V,h=S.top,f=S.bottom+Y}else{var k,w="left"===C.position;k=T.mirror?(v=w?"left":"right",b):(v=w?"right":"left",R+b),g=w?D.right-k:D.left+k;var M=E(D,e,O.offsetGridLines&&1<F.length);M<D.top&&(i="rgba(0,0,0,0)"),M+=B.aliasPixel(n),m=D.getPixelForTick(e)+T.labelOffset,o=N,l=z,d=S.left,c=S.right+Y,s=u=h=f=M}W.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,labelX:g,labelY:m,glWidth:n,glColor:i,glBorderDash:a,glBorderDashOffset:r,rotation:-1*L,label:p,major:t.major,textBaseline:y,textAlign:v})}}),B.each(W,function(t){if(O.display&&(o.save(),o.lineWidth=t.glWidth,o.strokeStyle=t.glColor,o.setLineDash&&(o.setLineDash(t.glBorderDash),o.lineDashOffset=t.glBorderDashOffset),o.beginPath(),O.drawTicks&&(o.moveTo(t.tx1,t.ty1),o.lineTo(t.tx2,t.ty2)),O.drawOnChartArea&&(o.moveTo(t.x1,t.y1),o.lineTo(t.x2,t.y2)),o.stroke(),o.restore()),T.display){o.save(),o.translate(t.labelX,t.labelY),o.rotate(t.rotation),o.font=t.major?d.font:l.font,o.fillStyle=t.major?u:s,o.textBaseline=t.textBaseline,o.textAlign=t.textAlign;var e=t.label;if(B.isArray(e))for(var n=e.length,i=1.5*l.size,a=D.isHorizontal()?0:-i*(n-1)/2,r=0;r<n;++r)o.fillText(""+e[r],0,a),a+=i;else o.fillText(e,0,0);o.restore()}}),e.display){var r,h,c=0,f=w(e)/2;if(A)r=D.left+(D.right-D.left)/2,h="bottom"===C.position?D.bottom-f-a.bottom:D.top+f+a.top;else{var g="left"===C.position;r=g?D.left+f+a.top:D.right-f-a.top,h=D.top+(D.bottom-D.top)/2,c=g?-.5*Math.PI:.5*Math.PI}o.save(),o.translate(r,h),o.rotate(c),o.textAlign="center",o.textBaseline="middle",o.fillStyle=n,o.font=i.font,o.fillText(e.labelString,0,0),o.restore()}if(O.drawBorder){o.lineWidth=B.valueAtIndexOrDefault(O.lineWidth,0),o.strokeStyle=B.valueAtIndexOrDefault(O.color,0);var m=D.left,p=D.right+Y,v=D.top,y=D.bottom+Y,b=B.aliasPixel(o.lineWidth);A?(v=y="top"===C.position?D.bottom:D.top,v+=b,y+=b):(m=p="left"===C.position?D.right:D.left,m+=b,p+=b),o.beginPath(),o.moveTo(m,v),o.lineTo(p,y),o.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),a=t(45),r=t(30);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=a.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=a.extend(this.defaults[t],e))},addScalesToLayout:function(e){a.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,r.addBox(e,t)})}}}},{25:25,30:30,45:45}],34:[function(t,e,n){"use strict";var s=t(45);e.exports={formatters:{values:function(t){return s.isArray(t)?t:""+t},linear:function(t,e,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(i)&&t!==Math.floor(t)&&(i=t-Math.floor(t));var a=s.log10(Math.abs(i)),r="";if(0!==t){var o=-1*Math.floor(a);o=Math.max(Math.min(o,20),0),r=t.toFixed(o)}else r="0";return r},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(s.log10(t)));return 0===t?"0":1==i||2==i||5==i||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),M=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:M.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(0<t.length){var r=t[0];r.xLabel?n=r.xLabel:0<a&&r.index<a&&(n=i[r.index])}return n},afterTitle:M.noop,beforeBody:M.noop,beforeLabel:M.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:M.noop,afterBody:M.noop,beforeFooter:M.noop,footer:M.noop,afterFooter:M.noop}}}),e.exports=function(_){function c(t,e){var n=M.color(t);return n.alpha(e*n.alpha()).rgbaString()}function o(t,e){return e&&(M.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function k(t){var e=i.global,n=M.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function w(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,r=e.body,o=r.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*h,i+=l?(l-1)*e.footerSpacing:0;function c(t){a=Math.max(a,n.measureText(t).width+f)}var f=0;return n.font=M.fontString(u,e._titleFontStyle,e._titleFontFamily),M.each(e.title,c),n.font=M.fontString(d,e._bodyFontStyle,e._bodyFontFamily),M.each(e.beforeBody.concat(e.afterBody),c),f=e.displayColors?d+2:0,M.each(r,function(t){M.each(t.before,c),M.each(t.lines,c),M.each(t.after,c)}),f=0,n.font=M.fontString(h,e._footerFontStyle,e._footerFontFamily),M.each(e.footer,c),{width:a+=2*e.xPadding,height:i}}_.Tooltip=a.extend({initialize:function(){this._model=k(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),a=[];return a=o(a,e),a=o(a,n),a=o(a,i)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return M.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,n){var i=this,a=i._options.callbacks,r=[];return M.each(t,function(t){var e={before:[],lines:[],after:[]};o(e.before,a.beforeLabel.call(i,t,n)),o(e.lines,a.label.call(i,t,n)),o(e.after,a.afterLabel.call(i,t,n)),r.push(e)}),r},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return M.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),a=[];return a=o(a,e),a=o(a,n),a=o(a,i)},update:function(t){var e,n,i,a,r,o,s,l=this,u=l._options,d=l._model,h=l._model=k(u),c=l._active,f=l._data,g={xAlign:d.xAlign,yAlign:d.yAlign},m={x:d.x,y:d.y},p={width:d.width,height:d.height},v={x:d.caretX,y:d.caretY};if(c.length){h.opacity=1;var y=[],b=[];v=_.Tooltip.positioners[u.position].call(l,c,l._eventPosition);var x=[];for(e=0,n=c.length;e<n;++e)x.push((i=c[e],r=a=void 0,a=i._xScale,r=i._yScale||i._scale,o=i._index,s=i._datasetIndex,{xLabel:a?a.getLabelForIndex(o,s):"",yLabel:r?r.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));u.filter&&(x=x.filter(function(t){return u.filter(t,f)})),u.itemSort&&(x=x.sort(function(t,e){return u.itemSort(t,e,f)})),M.each(x,function(t){y.push(u.callbacks.labelColor.call(l,t,l._chart)),b.push(u.callbacks.labelTextColor.call(l,t,l._chart))}),h.title=l.getTitle(x,f),h.beforeBody=l.getBeforeBody(x,f),h.body=l.getBody(x,f),h.afterBody=l.getAfterBody(x,f),h.footer=l.getFooter(x,f),h.x=Math.round(v.x),h.y=Math.round(v.y),h.caretPadding=u.caretPadding,h.labelColors=y,h.labelTextColors=b,h.dataPoints=x,m=function(t,e,n,i){var a=t.x,r=t.y,o=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,d=n.yAlign,h=o+s,c=l+s;return"right"===u?a-=e.width:"center"===u&&((a-=e.width/2)+e.width>i.width&&(a=i.width-e.width),a<0&&(a=0)),"top"===d?r+=h:r-="bottom"===d?e.height+h:e.height/2,"center"===d?"left"===u?a+=h:"right"===u&&(a-=h):"left"===u?a-=c:"right"===u&&(a+=c),{x:a,y:r}}(h,p=w(this,h),g=function(t,e){var n,i,a,r,o,s=t._model,l=t._chart,u=t._chart.chartArea,d="center",h="center";s.y<e.height?h="top":s.y>l.height-e.height&&(h="bottom");var c=(u.left+u.right)/2,f=(u.top+u.bottom)/2;i="center"===h?(n=function(t){return t<=c},function(t){return c<t}):(n=function(t){return t<=e.width/2},function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",h=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",h=o(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,p),l._chart)}else h.opacity=0;return h.xAlign=g.xAlign,h.yAlign=g.yAlign,h.x=m.x,h.y=m.y,h.width=p.width,h.height=p.height,h.caretX=v.x,h.caretY=v.y,l._model=h,t&&u.custom&&u.custom.call(l,h),l},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,h=n.xAlign,c=n.yAlign,f=t.x,g=t.y,m=e.width,p=e.height;if("center"===c)s=g+p/2,l="left"===h?(a=(i=f)-u,r=i,o=s+u,s-u):(a=(i=f+m)+u,r=i,o=s-u,s+u);else if(r=(i="left"===h?(a=f+d+u)-u:"right"===h?(a=f+m-d-u)-u:(a=n.caretX)-u,a+u),"top"===c)s=(o=g)-u,l=o;else{s=(o=g+p)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n,i){var a=e.title;if(a.length){n.textAlign=e._titleAlign,n.textBaseline="top";var r,o,s=e.titleFontSize,l=e.titleSpacing;for(n.fillStyle=c(e.titleFontColor,i),n.font=M.fontString(s,e._titleFontStyle,e._titleFontFamily),r=0,o=a.length;r<o;++r)n.fillText(a[r],t.x,t.y),t.y+=s+l,r+1===a.length&&(t.y+=e.titleMarginBottom-l)}},drawBody:function(i,a,r,o){var s=a.bodyFontSize,e=a.bodySpacing,t=a.body;r.textAlign=a._bodyAlign,r.textBaseline="top",r.font=M.fontString(s,a._bodyFontStyle,a._bodyFontFamily);function l(t){r.fillText(t,i.x+n,i.y),i.y+=s+e}var n=0;r.fillStyle=c(a.bodyFontColor,o),M.each(a.beforeBody,l);var u=a.displayColors;n=u?s+2:0,M.each(t,function(t,e){var n=c(a.labelTextColors[e],o);r.fillStyle=n,M.each(t.before,l),M.each(t.lines,function(t){u&&(r.fillStyle=c(a.legendColorBackground,o),r.fillRect(i.x,i.y,s,s),r.lineWidth=1,r.strokeStyle=c(a.labelColors[e].borderColor,o),r.strokeRect(i.x,i.y,s,s),r.fillStyle=c(a.labelColors[e].backgroundColor,o),r.fillRect(i.x+1,i.y+1,s-2,s-2),r.fillStyle=n),l(t)}),M.each(t.after,l)}),n=0,M.each(a.afterBody,l),i.y-=e},drawFooter:function(e,n,i,t){var a=n.footer;a.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=c(n.footerFontColor,t),i.font=M.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),M.each(a,function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,e,n,i,a){n.fillStyle=c(e.backgroundColor,a),n.strokeStyle=c(e.borderColor,a),n.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,s=t.x,l=t.y,u=i.width,d=i.height,h=e.cornerRadius;n.beginPath(),n.moveTo(s+h,l),"top"===o&&this.drawCaret(t,i),n.lineTo(s+u-h,l),n.quadraticCurveTo(s+u,l,s+u,l+h),"center"===o&&"right"===r&&this.drawCaret(t,i),n.lineTo(s+u,l+d-h),n.quadraticCurveTo(s+u,l+d,s+u-h,l+d),"bottom"===o&&this.drawCaret(t,i),n.lineTo(s+h,l+d),n.quadraticCurveTo(s,l+d,s,l+d-h),"center"===o&&"left"===r&&this.drawCaret(t,i),n.lineTo(s,l+h),n.quadraticCurveTo(s,l,s+h,l),n.closePath(),n.fill(),0<e.borderWidth&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(i,e,t,n,a),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,a),this.drawBody(i,e,t,a),this.drawFooter(i,e,t,a))}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!M.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),_.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(a/r)}},nearest:function(t,e){var n,i,a,r=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=M.distanceBetweenPoints(e,u);d<s&&(s=d,a=l)}}if(a){var h=a.tooltipPosition();r=h.x,o=h.y}return{x:r,y:o}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),a=t(26),d=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=d.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=2*Math.PI;for(;s<a;)a-=2*Math.PI;for(;a<o;)a+=2*Math.PI;var l=o<=a&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),d=t(45),h=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:h.defaultColor,borderWidth:3,borderColor:h.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this._view,r=this._chart.ctx,o=a.spanGaps,s=this._children.slice(),l=h.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),r.save(),r.lineCap=a.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||l.borderDash),r.lineDashOffset=a.borderDashOffset||l.borderDashOffset,r.lineJoin=a.borderJoinStyle||l.borderJoinStyle,r.lineWidth=a.borderWidth||l.borderWidth,r.strokeStyle=a.borderColor||h.defaultColor,r.beginPath(),u=-1,t=0;t<s.length;++t)e=s[t],n=d.previousItem(s,t),i=e._view,0===t?i.skip||(r.moveTo(i.x,i.y),u=t):(n=-1===u?n:s[u],i.skip||(u!==t-1&&!o||-1===u?r.moveTo(i.x,i.y):d.canvas.lineTo(r,n._view,e._view),u=t));r.stroke(),r.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";var d=t(25),i=t(26),h=t(45),c=d.global.defaultColor;function a(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:c,borderColor:c,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=i.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:a,inXRange:a,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,a=e.pointStyle,r=e.radius,o=e.x,s=e.y,l=h.color,u=0;e.skip||(i.strokeStyle=e.borderColor||c,i.lineWidth=h.valueOrDefault(e.borderWidth,d.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?u=(o-n.x)/(t.left-n.x):1.01*t.right<n.x?u=(n.x-o)/(n.x-t.right):n.y<t.top?u=(s-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(u=(n.y-s)/(n.y-t.bottom)),u=Math.round(100*u)/100,i.strokeStyle=l(i.strokeStyle).alpha(u).rgbString(),i.fillStyle=l(i.fillStyle).alpha(u).rgbString()),h.canvas.drawPoint(i,a,r,o,s))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";var i=t(25),a=t(26);function l(t){return void 0!==t._view.width}function r(t){var e,n,i,a,r=t._view;if(l(t)){var o=r.width/2;e=r.x-o,n=r.x+o,i=Math.min(r.y,r.base),a=Math.max(r.y,r.base)}else{var s=r.height/2;e=Math.min(r.x,r.base),n=Math.max(r.x,r.base),i=r.y-s,a=r.y+s}return{left:e,top:i,right:n,bottom:a}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a,r,o,s=this._chart.ctx,l=this._view,u=l.borderWidth;if(o=l.horizontal?(t=l.base,e=l.x,n=l.y-l.height/2,i=l.y+l.height/2,a=t<e?1:-1,r=1,l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,a=1,r=(n=l.y)<(i=l.base)?1:-1,l.borderSkipped||"bottom"),u){var d=Math.min(Math.abs(t-e),Math.abs(n-i)),h=(u=d<u?d:u)/2,c=t+("left"!==o?h*a:0),f=e+("right"!==o?-h*a:0),g=n+("top"!==o?h*r:0),m=i+("bottom"!==o?-h*r:0);c!==f&&(n=g,i=m),g!==m&&(t=c,e=f)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=u;var p=[[t,i],[t,n],[e,n],[e,i]],v=["bottom","left","top","right"].indexOf(o,0);function y(t){return p[(v+t)%4]}-1===v&&(v=0);var b=y(0);s.moveTo(b[0],b[1]);for(var x=1;x<4;x++)b=y(x),s.lineTo(b[0],b[1]);s.fill(),u&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=r(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var n=r(this);return l(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=r(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=r(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return e=l(this)?(t=n.x,(n.y+n.base)/2):(t=(n.x+n.base)/2,n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";var i=t(42);n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=Math.min(r,i/2),s=Math.min(r,a/2);t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+a-s),t.quadraticCurveTo(e+i,n+a,e+i-o,n+a),t.lineTo(e+o,n+a),t.quadraticCurveTo(e,n+a,e,n+a-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+o,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var r,o,s,l,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-o/2,a+u/3),t.lineTo(i+o/2,a+u/3),t.lineTo(i,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-d,a-d,2*d,2*d),t.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var h=n/Math.SQRT2,c=i-h,f=a-h,g=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,c,f,g,g,n/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-d,a),t.lineTo(i,a+d),t.lineTo(i+d,a),t.lineTo(i,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i,d={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return d.valueOrDefault(d.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(d.isArray(t))if(r=t.length,i)for(a=r-1;0<=a;a--)e.call(n,t[a],a);else for(a=0;a<r;a++)e.call(n,t[a],a);else if(d.isObject(t))for(r=(o=Object.keys(t)).length,a=0;a<r;a++)e.call(n,t[o[a]],o[a])},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(a=t[n],r=e[n],a instanceof Array&&r instanceof Array){if(!d.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(t){if(d.isArray(t))return t.map(d.clone);if(d.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,a=0;a<i;++a)e[n[a]]=d.clone(t[n[a]]);return e}return t},_merger:function(t,e,n,i){var a=e[t],r=n[t];d.isObject(a)&&d.isObject(r)?d.merge(a,r,i):e[t]=d.clone(r)},_mergerIf:function(t,e,n){var i=e[t],a=n[t];d.isObject(i)&&d.isObject(a)?d.mergeIf(i,a):e.hasOwnProperty(t)||(e[t]=d.clone(a))},merge:function(t,e,n){var i,a,r,o,s,l=d.isArray(e)?e:[e],u=l.length;if(!d.isObject(t))return t;for(i=(n=n||{}).merger||d._merger,a=0;a<u;++a)if(e=l[a],d.isObject(e))for(s=0,o=(r=Object.keys(e)).length;s<o;++s)i(r[s],t,e,n);return t},mergeIf:function(t,e){return d.merge(t,e,{merger:d._mergerIf})},extend:function(n){for(var t=function(t,e){n[e]=t},e=1,i=arguments.length;e<i;++e)d.each(arguments[e],t);return n},inherits:function(t){function e(){this.constructor=i}var n=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)};return e.prototype=n.prototype,i.prototype=new e,i.extend=d.inherits,t&&d.extend(i.prototype,t),i.__super__=n.prototype,i}};(e.exports=d).callCallback=d.callback,d.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var i=t(42),a={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n=n||.45,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};e.exports={effects:a},i.easingEffects=a},{42:42}],44:[function(t,e,n){"use strict";var o=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,a;return o.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,a=+t.left||0):e=n=i=a=+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},resolve:function(t,e,n){var i,a,r;for(i=0,a=t.length;i<a;++i)if(void 0!==(r=t[i])&&(void 0!==e&&"function"==typeof r&&(r=r(e)),void 0!==n&&o.isArray(r)&&(r=r[n]),void 0!==r))return r}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";var r=t(45),s="$chartjs",l="chartjs-",o=l+"render-monitor",u=l+"render-animation",d=["animationstart","webkitAnimationStart"],h={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function c(t,e){var n=r.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var i=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function f(t,e,n){t.addEventListener(e,n,i)}function g(t,e,n){t.removeEventListener(e,n,i)}function m(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function p(e,t,n){var i=e[s]||(e[s]={}),a=i.resizer=function(t){var e=document.createElement("div"),n=l+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],r=e.childNodes[1];function o(){e._reset(),t()}return e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6},f(a,"scroll",o.bind(a,"expand")),f(r,"scroll",o.bind(r,"shrink")),e}(function(t,e){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,r.requestAnimFrame.call(window,function(){n=!1,t.apply(e,i)}))}}(function(){if(i.resizer)return t(m("resize",n))}));!function(e,n){var t=e[s]||(e[s]={}),i=t.renderProxy=function(t){t.animationName===u&&n()};r.each(d,function(t){f(e,t,i)}),t.reflow=!!e.offsetParent,e.classList.add(o)}(e,function(){if(i.resizer){var t=e.parentNode;t&&t!==a.parentNode&&t.insertBefore(a,t.firstChild),a._reset()}})}function v(t){var e=t[s]||{},n=e.resizer;delete e.resizer,function(e){var t=e[s]||{},n=t.renderProxy;n&&(r.each(d,function(t){g(e,t,n)}),delete t.renderProxy),e.classList.remove(o)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}";!function(t,e){var n=t._style||document.createElement("style");t._style||(e="/* Chart.js */\n"+e,(t._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}(this,"@-webkit-keyframes "+u+"{"+t+"}@keyframes "+u+"{"+t+"}."+o+"{-webkit-animation:"+u+" 0.001s;animation:"+u+" 0.001s;}")},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){var n=t.style,i=t.getAttribute("height"),a=t.getAttribute("width");if(t[s]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=c(t,"width");void 0!==r&&(t.width=r)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=c(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var n=t.canvas;if(n[s]){var i=n[s].initial;["height","width"].forEach(function(t){var e=i[t];r.isNullOrUndef(e)?n.removeAttribute(t):n.setAttribute(t,e)}),r.each(i.style||{},function(t,e){n.style[e]=t}),n.width=n.width,delete n[s]}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var a=n[s]||(n[s]={});f(i,t,(a.proxies||(a.proxies={}))[e.id+"_"+t]=function(t){n(function(t,e){var n=h[t.type]||t.type,i=r.getRelativePosition(t,e);return m(n,e,i.x,i.y,t)}(t,e))})}else p(i,n,e)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[s]||{}).proxies||{})[t.id+"_"+e];a&&g(i,e,a)}else v(i)}},r.addEvent=f,r.removeEvent=g},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),r=t(47),o=r._enabled?r:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";e.exports={},e.exports.filler=t(50),e.exports.legend=t(51),e.exports.title=t(52)},{50:50,51:51,52:52}],50:[function(t,e,n){"use strict";var u=t(25),c=t(40),d=t(45);u._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function g(t,e,n){var i,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||n<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function m(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}function p(t,e,n){var i,a=t[e].fill,r=[e];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function b(t){return t&&!t.skip}function x(t,e,n,i,a){var r;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)d.canvas.lineTo(t,e[r-1],e[r]);for(t.lineTo(n[a-1].x,n[a-1].y),r=a-1;0<r;--r)d.canvas.lineTo(t,n[r],n[r-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,a,r,o,s,l,u=(t.data.datasets||[]).length,d=e.propagate,h=[];for(i=0;i<u;++i)r=null,(a=(n=t.getDatasetMeta(i)).dataset)&&a._model&&a instanceof c.Line&&(r={visible:t.isDatasetVisible(i),fill:g(a,i,u),chart:t,el:a}),n.$filler=r,h.push(r);for(i=0;i<u;++i)(r=h[i])&&(r.fill=p(h,i,d),r.boundary=m(r),r.mapper=(l=void 0,s=(o=r).fill,!(l="dataset")===s?null:(isFinite(s)||(l="boundary"),f[l](o))))},beforeDatasetDraw:function(t,e){var n=e.meta.$filler;if(n){var i=t.ctx,a=n.el,r=a._view,o=a._children||[],s=n.mapper,l=r.backgroundColor||u.global.defaultColor;s&&l&&o.length&&(d.canvas.clipArea(i,t.chartArea),function(t,e,n,i,a,r){var o,s,l,u,d,h,c,f=e.length,g=i.spanGaps,m=[],p=[],v=0,y=0;for(t.beginPath(),o=0,s=f+!!r;o<s;++o)d=n(u=e[l=o%f]._view,l,i),h=b(u),c=b(d),h&&c?(v=m.push(u),y=p.push(d)):v&&y&&(g?(h&&m.push(u),c&&p.push(d)):(x(t,m,p,v,y),v=y=0,m=[],p=[]));x(t,m,p,v,y),t.closePath(),t.fillStyle=a,t.fill()}(i,o,s,r,l,a._loop),d.canvas.unclipArea(i))}}}},{25:25,40:40,45:45}],51:[function(t,e,n){"use strict";var k=t(25),i=t(26),w=t(45),a=t(30),r=w.noop;function M(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}k._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var t=n.data;return w.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:w.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!n.isDatasetVisible(e),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:e}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var o=i.extend({initialize:function(t){w.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:function(){var e=this,n=e.options.labels||{},t=w.callback(n.generateLabels,[e.chart],e)||[];n.filter&&(t=t.filter(function(t){return n.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:r,beforeFit:r,fit:function(){var i=this,t=i.options,a=t.labels,e=t.display,r=i.ctx,n=k.global,o=w.valueOrDefault,s=o(a.fontSize,n.defaultFontSize),l=o(a.fontStyle,n.defaultFontStyle),u=o(a.fontFamily,n.defaultFontFamily),d=w.fontString(s,l,u),h=i.legendHitBoxes=[],c=i.minSize,f=i.isHorizontal();if(f?(c.width=i.maxWidth,c.height=e?10:0):(c.width=e?10:0,c.height=i.maxHeight),e)if(r.font=d,f){var g=i.lineWidths=[0],m=i.legendItems.length?s+a.padding:0;r.textAlign="left",r.textBaseline="top",w.each(i.legendItems,function(t,e){var n=M(a,s)+s/2+r.measureText(t.text).width;g[g.length-1]+n+a.padding>=i.width&&(m+=s+a.padding,g[g.length]=i.left),h[e]={left:0,top:0,width:n,height:s},g[g.length-1]+=n+a.padding}),c.height+=m}else{var p=a.padding,v=i.columnWidths=[],y=a.padding,b=0,x=0,_=s+p;w.each(i.legendItems,function(t,e){var n=M(a,s)+s/2+r.measureText(t.text).width;x+_>c.height&&(y+=b+a.padding,v.push(b),x=b=0),b=Math.max(b,n),x+=_,h[e]={left:0,top:0,width:n,height:s}}),y+=b,v.push(b),c.width+=y}i.width=c.width,i.height=c.height},afterFit:r,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var o=this,l=o.options,s=l.labels,u=k.global,d=u.elements.line,h=o.width,c=o.lineWidths;if(l.display){var f,g=o.ctx,m=w.valueOrDefault,t=m(s.fontColor,u.defaultFontColor),p=m(s.fontSize,u.defaultFontSize),e=m(s.fontStyle,u.defaultFontStyle),n=m(s.fontFamily,u.defaultFontFamily),i=w.fontString(p,e,n);g.textAlign="left",g.textBaseline="middle",g.lineWidth=.5,g.strokeStyle=t,g.fillStyle=t,g.font=i;var v=M(s,p),y=o.legendHitBoxes,b=o.isHorizontal();f=b?{x:o.left+(h-c[0])/2,y:o.top+s.padding,line:0}:{x:o.left+s.padding,y:o.top+s.padding,line:0};var x=p+s.padding;w.each(o.legendItems,function(t,e){var n=g.measureText(t.text).width,i=v+p/2+n,a=f.x,r=f.y;b?h<=a+i&&(r=f.y+=x,f.line++,a=f.x=o.left+(h-c[f.line])/2):r+x>o.bottom&&(a=f.x=a+o.columnWidths[f.line]+s.padding,r=f.y=o.top+s.padding,f.line++),function(t,e,n){if(!(isNaN(v)||v<=0)){g.save(),g.fillStyle=m(n.fillStyle,u.defaultColor),g.lineCap=m(n.lineCap,d.borderCapStyle),g.lineDashOffset=m(n.lineDashOffset,d.borderDashOffset),g.lineJoin=m(n.lineJoin,d.borderJoinStyle),g.lineWidth=m(n.lineWidth,d.borderWidth),g.strokeStyle=m(n.strokeStyle,u.defaultColor);var i=0===m(n.lineWidth,d.borderWidth);if(g.setLineDash&&g.setLineDash(m(n.lineDash,d.borderDash)),l.labels&&l.labels.usePointStyle){var a=p*Math.SQRT2/2,r=a/Math.SQRT2,o=t+r,s=e+r;w.canvas.drawPoint(g,n.pointStyle,a,o,s)}else i||g.strokeRect(t,e,v,p),g.fillRect(t,e,v,p);g.restore()}}(a,r,t),function(t,e,n,i){var a=p/2,r=v+a+t,o=e+a;g.fillText(n.text,r,o),n.hidden&&(g.beginPath(),g.lineWidth=2,g.moveTo(r,o),g.lineTo(r+i,o),g.stroke())}(y[e].left=a,y[e].top=r,t,n),b?f.x+=i+s.padding:f.y+=x})}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=t.x,o=t.y;if(r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}});function s(t,e){var n=new o({ctx:t.ctx,options:e,chart:t});a.configure(t,n,e),a.addBox(t,n),t.legend=n}e.exports={id:"legend",_element:o,beforeInit:function(t){var e=t.options.legend;e&&s(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(w.mergeIf(e,k.global.legend),n?(a.configure(t,n,e),n.options=e):s(t,e)):n&&(a.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},{25:25,26:26,30:30,45:45}],52:[function(t,e,n){"use strict";var _=t(25),i=t(26),k=t(45),a=t(30),r=k.noop;_._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var o=i.extend({initialize:function(t){k.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var t=k.valueOrDefault,e=this.options,n=e.display,i=t(e.fontSize,_.global.defaultFontSize),a=this.minSize,r=k.isArray(e.text)?e.text.length:1,o=k.options.toLineHeight(e.lineHeight,i),s=n?r*o+2*e.padding:0;this.isHorizontal()?(a.width=this.maxWidth,a.height=s):(a.width=s,a.height=this.maxHeight),this.width=a.width,this.height=a.height},afterFit:r,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=k.valueOrDefault,n=this.options,i=_.global;if(n.display){var a,r,o,s=e(n.fontSize,i.defaultFontSize),l=e(n.fontStyle,i.defaultFontStyle),u=e(n.fontFamily,i.defaultFontFamily),d=k.fontString(s,l,u),h=k.options.toLineHeight(n.lineHeight,s),c=h/2+n.padding,f=0,g=this.top,m=this.left,p=this.bottom,v=this.right;t.fillStyle=e(n.fontColor,i.defaultFontColor),t.font=d,this.isHorizontal()?(r=m+(v-m)/2,o=g+c,a=v-m):(r="left"===n.position?m+c:v-c,o=g+(p-g)/2,a=p-g,f=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,o),t.rotate(f),t.textAlign="center",t.textBaseline="middle";var y=n.text;if(k.isArray(y))for(var b=0,x=0;x<y.length;++x)t.fillText(y[x],0,b,a),b+=h;else t.fillText(y,0,0,a);t.restore()}}});function s(t,e){var n=new o({ctx:t.ctx,options:e,chart:t});a.configure(t,n,e),a.addBox(t,n),t.titleBlock=n}e.exports={id:"title",_element:o,beforeInit:function(t){var e=t.options.title;e&&s(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(k.mergeIf(e,_.global.title),n?(a.configure(t,n,e),n.options=e):s(t,e)):n&&(a.removeBox(t,n),delete t.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this.getLabels();this.ticks=0===this.minIndex&&this.maxIndex===t.length-1?t:t.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.isHorizontal();return n.yLabels&&!i?this.getRightValue(n.datasets[e].data[t]):this.ticks[t-this.minIndex]},getPixelForValue:function(t,e){var n,i=this,a=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if(null!=t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){t=n||t;var o=i.getLabels().indexOf(t);e=-1!==o?o:e}if(i.isHorizontal()){var s=i.width/r,l=s*(e-i.minIndex);return a&&(l+=s/2),i.left+Math.round(l)}var u=i.height/r,d=u*(e-i.minIndex);return a&&(d+=u/2),i.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this.options.offset,n=Math.max(this._ticks.length-(e?0:1),1),i=this.isHorizontal(),a=(i?this.width:this.height)/n;return t-=i?this.left:this.top,e&&(t-=a/2),(t<=0?0:Math.round(t/a))+this.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],54:[function(t,e,n){"use strict";var i=t(25),h=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var o=this,s=o.options,l=o.chart,t=l.data.datasets,e=o.isHorizontal();function u(t){return e?t.xAxisID===o.id:t.yAxisID===o.id}o.min=null,o.max=null;var i=s.stacked;if(void 0===i&&h.each(t,function(t,e){if(!i){var n=l.getDatasetMeta(e);l.isDatasetVisible(e)&&u(n)&&void 0!==n.stack&&(i=!0)}}),s.stacked||i){var d={};h.each(t,function(t,e){var i=l.getDatasetMeta(e),n=[i.type,void 0===s.stacked&&void 0===i.stack?e:"",i.stack].join(".");void 0===d[n]&&(d[n]={positiveValues:[],negativeValues:[]});var a=d[n].positiveValues,r=d[n].negativeValues;l.isDatasetVisible(e)&&u(i)&&h.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||(a[e]=a[e]||0,r[e]=r[e]||0,s.relativePoints?a[e]=100:n<0?r[e]+=n:a[e]+=n)})}),h.each(d,function(t){var e=t.positiveValues.concat(t.negativeValues),n=h.min(e),i=h.max(e);o.min=null===o.min?n:Math.min(o.min,n),o.max=null===o.max?i:Math.max(o.max,i)})}else h.each(t,function(t,e){var i=l.getDatasetMeta(e);l.isDatasetVisible(e)&&u(i)&&h.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||(null===o.min?o.min=n:n<o.min&&(o.min=n),null===o.max?o.max=n:n>o.max&&(o.max=n))})});o.min=isFinite(o.min)&&!isNaN(o.min)?o.min:0,o.max=isFinite(o.max)&&!isNaN(o.max)?o.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=h.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this.start,n=+this.getRightValue(t),i=this.end-e;return this.isHorizontal()?this.left+this.width/i*(n-e):this.bottom-this.height/i*(n-e)},getValueForPixel:function(t){var e=this.isHorizontal(),n=e?this.width:this.height,i=(e?t-this.left:this.bottom-t)/n;return this.start+(this.end-this.start)*i},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],55:[function(t,e,n){"use strict";var d=t(45);e.exports=function(e){var t=d.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=d.sign(t.min),i=d.sign(t.max);n<0&&i<0?t.max=0:0<n&&0<i&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),a!=r&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:d.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,i=[];if(t.stepSize&&0<t.stepSize)n=t.stepSize;else{var a=d.niceNum(e.max-e.min,!1);n=d.niceNum(a/(t.maxTicks-1),!0)}var r=Math.floor(e.min/n)*n,o=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&d.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(r=t.min,o=t.max);var s=(o-r)/n;s=d.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var l=1;n<1&&(l=Math.pow(10,n.toString().length-2),r=Math.round(r*l)/l,o=Math.round(o*l)/l),i.push(void 0!==t.min?t.min:r);for(var u=1;u<s;++u)i.push(Math.round((r+u*n)*l)/l);return i.push(void 0!==t.max?t.max:o),i}(i,t);t.handleDirectionalChanges(),t.max=d.max(a),t.min=d.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(this)}})}},{45:45}],56:[function(t,e,n){"use strict";var c=t(45),i=t(34);e.exports=function(h){var t={position:"left",ticks:{callback:i.formatters.logarithmic}},e=h.Scale.extend({determineDataLimits:function(){var o=this,n=o.options,s=o.chart,t=s.data.datasets,e=o.isHorizontal();function l(t){return e?t.xAxisID===o.id:t.yAxisID===o.id}o.min=null,o.max=null,o.minNotZero=null;var i=n.stacked;if(void 0===i&&c.each(t,function(t,e){if(!i){var n=s.getDatasetMeta(e);s.isDatasetVisible(e)&&l(n)&&void 0!==n.stack&&(i=!0)}}),n.stacked||i){var u={};c.each(t,function(t,e){var a=s.getDatasetMeta(e),r=[a.type,void 0===n.stacked&&void 0===a.stack?e:"",a.stack].join(".");s.isDatasetVisible(e)&&l(a)&&(void 0===u[r]&&(u[r]=[]),c.each(t.data,function(t,e){var n=u[r],i=+o.getRightValue(t);isNaN(i)||a.data[e].hidden||i<0||(n[e]=n[e]||0,n[e]+=i)}))}),c.each(u,function(t){if(0<t.length){var e=c.min(t),n=c.max(t);o.min=null===o.min?e:Math.min(o.min,e),o.max=null===o.max?n:Math.max(o.max,n)}})}else c.each(t,function(t,e){var i=s.getDatasetMeta(e);s.isDatasetVisible(e)&&l(i)&&c.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||n<0||(null===o.min?o.min=n:n<o.min&&(o.min=n),null===o.max?o.max=n:n>o.max&&(o.max=n),0!=n&&(null===o.minNotZero||n<o.minNotZero)&&(o.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=c.valueOrDefault;t.min=n(e.min,t.min),t.max=n(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(c.log10(t.min))-1),t.max=Math.pow(10,Math.floor(c.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(c.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(c.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(c.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:e.min,max:e.max},a=t.ticks=function(t,e){var n,i,a=[],r=c.valueOrDefault,o=r(t.min,Math.pow(10,Math.floor(c.log10(e.min)))),s=Math.floor(c.log10(e.max)),l=Math.ceil(e.max/Math.pow(10,s));0===o?(n=Math.floor(c.log10(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(o),o=i*Math.pow(10,n)):(n=Math.floor(c.log10(o)),i=Math.floor(o/Math.pow(10,n)));for(var u=n<0?Math.pow(10,Math.abs(n)):1;a.push(o),10===++i&&(i=1,u=0<=++n?1:u),o=Math.round(i*Math.pow(10,n)*u)/u,n<s||n===s&&i<l;);var d=r(t.max,o);return a.push(d),a}(i,t);t.max=c.max(a),t.min=c.min(a),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),h.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(c.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,n,i,a,r,o=this,s=o.options.ticks.reverse,l=c.log10,u=o._getFirstTickValue(o.minNotZero),d=0;return t=+o.getRightValue(t),r=s?(i=o.end,a=o.start,-1):(i=o.start,a=o.end,1),n=o.isHorizontal()?(e=o.width,s?o.right:o.left):(e=o.height,r*=-1,s?o.top:o.bottom),t!==i&&(0===i&&(e-=d=c.getValueOrDefault(o.options.ticks.fontSize,h.defaults.global.defaultFontSize),i=u),0!==t&&(d+=e/(l(a)-l(i))*(l(t)-l(i))),n+=r*d),n},getValueForPixel:function(t){var e,n,i,a,r=this,o=r.options.ticks.reverse,s=c.log10,l=r._getFirstTickValue(r.minNotZero);if(i=o?(n=r.end,r.start):(n=r.start,r.end),(a=r.isHorizontal()?(e=r.width,o?r.right-t:t-r.left):(e=r.height,o?t-r.top:r.bottom-t))!==n){if(0===n){var u=c.getValueOrDefault(r.options.ticks.fontSize,h.defaults.global.defaultFontSize);a-=u,e-=u,n=l}a*=s(i)-s(n),a/=e,a=Math.pow(10,s(n)+a)}return a}});h.scaleService.registerScaleType("logarithmic",e,t)}},{34:34,45:45}],57:[function(t,e,n){"use strict";var i=t(25),_=t(45),a=t(34);e.exports=function(t){var v=i.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function y(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function b(t){var e=t.options.pointLabels,n=_.valueOrDefault(e.fontSize,v.defaultFontSize),i=_.valueOrDefault(e.fontStyle,v.defaultFontStyle),a=_.valueOrDefault(e.fontFamily,v.defaultFontFamily);return{size:n,style:i,family:a,font:_.fontString(n,i,a)}}function p(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||a<t?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function x(t,e,n,i){if(_.isArray(e))for(var a=n.y,r=1.5*i,o=0;o<e.length;++o)t.fillText(e[o],n.x,a),a+=r;else t.fillText(e,n.x,n.y)}function s(t){return _.isNumber(t)?t:0}var n=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=_.min([t.height,t.width]),a=_.valueOrDefault(n.fontSize,v.defaultFontSize);t.drawingArea=e.display?i/2-(a/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var a=this,n=a.chart,r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;_.each(n.data.datasets,function(t,e){if(n.isDatasetVisible(e)){var i=n.getDatasetMeta(e);_.each(t.data,function(t,e){var n=+a.getRightValue(t);isNaN(n)||i.data[e].hidden||(r=Math.min(n,r),o=Math.max(n,o))})}}),a.min=r===Number.POSITIVE_INFINITY?0:r,a.max=o===Number.NEGATIVE_INFINITY?0:o,a.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=_.valueOrDefault(t.fontSize,v.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){t.LinearScaleBase.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){this.options.pointLabels.display?function(t){var e,n,i,a=b(t),r=Math.min(t.height/2,t.width/2),o={r:t.width,l:0,t:t.height,b:0},s={};t.ctx.font=a.font,t._pointLabelSizes=[];var l,u,d,h=y(t);for(e=0;e<h;e++){i=t.getPointPosition(e,r),l=t.ctx,u=a.size,d=t.pointLabels[e]||"",n=_.isArray(d)?{w:_.longestText(l,l.font,d),h:d.length*u+1.5*(d.length-1)*u}:{w:l.measureText(d).width,h:u},t._pointLabelSizes[e]=n;var c=t.getIndexAngle(e),f=_.toDegrees(c)%360,g=p(f,i.x,n.w,0,180),m=p(f,i.y,n.h,90,270);g.start<o.l&&(o.l=g.start,s.l=c),g.end>o.r&&(o.r=g.end,s.r=c),m.start<o.t&&(o.t=m.start,s.t=c),m.end>o.b&&(o.b=m.end,s.b=c)}t.setReductions(r,o,s)}(this):function(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}(this)},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),a=Math.max(e.r-this.width,0)/Math.sin(n.r),r=-e.t/Math.cos(n.t),o=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=s(i),a=s(a),r=s(r),o=s(o),this.drawingArea=Math.min(Math.round(t-(i+a)/2),Math.round(t-(r+o)/2)),this.setCenterPoint(i,a,r,o)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-i-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/y(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var r=this,t=r.options,o=t.gridLines,s=t.ticks,l=_.valueOrDefault;if(t.display){var u=r.ctx,d=this.getIndexAngle(0),h=l(s.fontSize,v.defaultFontSize),e=l(s.fontStyle,v.defaultFontStyle),n=l(s.fontFamily,v.defaultFontFamily),c=_.fontString(h,e,n);_.each(r.ticks,function(t,e){if(0<e||s.reverse){var n=r.getDistanceFromCenterForValue(r.ticksAsNumbers[e]);if(o.display&&0!==e&&function(t,e,n,i){var a=t.ctx;if(a.strokeStyle=_.valueAtIndexOrDefault(e.color,i-1),a.lineWidth=_.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var r=y(t);if(0===r)return;a.beginPath();var o=t.getPointPosition(0,n);a.moveTo(o.x,o.y);for(var s=1;s<r;s++)o=t.getPointPosition(s,n),a.lineTo(o.x,o.y);a.closePath(),a.stroke()}}(r,o,n,e),s.display){var i=l(s.fontColor,v.defaultFontColor);if(u.font=c,u.save(),u.translate(r.xCenter,r.yCenter),u.rotate(d),s.showLabelBackdrop){var a=u.measureText(t).width;u.fillStyle=s.backdropColor,u.fillRect(-a/2-s.backdropPaddingX,-n-h/2-s.backdropPaddingY,a+2*s.backdropPaddingX,h+2*s.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=i,u.fillText(t,0,-n),u.restore()}}}),(t.angleLines.display||t.pointLabels.display)&&function(t){var e=t.ctx,n=t.options,i=n.angleLines,a=n.pointLabels;e.lineWidth=i.lineWidth,e.strokeStyle=i.color;var r,o,s,l,u=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),d=b(t);e.textBaseline="top";for(var h=y(t)-1;0<=h;h--){if(i.display){var c=t.getPointPosition(h,u);e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(c.x,c.y),e.stroke(),e.closePath()}if(a.display){var f=t.getPointPosition(h,u+5),g=_.valueAtIndexOrDefault(a.fontColor,h,v.defaultFontColor);e.font=d.font,e.fillStyle=g;var m=t.getIndexAngle(h),p=_.toDegrees(m);e.textAlign=0===(l=p)||180===l?"center":l<180?"left":"right",r=p,o=t._pointLabelSizes[h],s=f,90===r||270===r?s.y-=o.h/2:(270<r||r<90)&&(s.y-=o.h),x(e,t.pointLabels[h]||"",f,d.size)}}}(r)}}});t.scaleService.registerScaleType("radialLinear",n,e)}},{25:25,34:34,45:45}],58:[function(t,e,n){"use strict";var m=t(6);m="function"==typeof m?m:window.moment;var o=t(25),p=t(45),v=Number.MIN_SAFE_INTEGER||-9007199254740991,y=Number.MAX_SAFE_INTEGER||9007199254740991,b={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},x=Object.keys(b);function _(t,e){return t-e}function k(t){var e,n,i,a={},r=[];for(e=0,n=t.length;e<n;++e)a[i=t[e]]||(a[i]=!0,r.push(i));return r}function d(t,e,n,i){var a=function(t,e,n){for(var i,a,r,o=0,s=t.length-1;0<=o&&o<=s;){if(a=t[(i=o+s>>1)-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]<n)o=1+i;else{if(!(a[e]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(n-r[e])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function h(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?m(t,i):(t instanceof m||(t=m(t)),t.isValid()?t:"function"==typeof i?i(t):t)}function w(t,e){if(p.isNullOrUndef(t))return null;var n=e.options.time,i=h(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function M(t){for(var e=x.indexOf(t)+1,n=x.length;e<n;++e)if(b[x[e]].common)return x[e]}function c(t,e,n,i){var a,r=i.time,o=r.unit||function(t,e,n,i){var a,r,o,s=x.length;for(a=x.indexOf(t);a<s-1;++a)if(o=(r=b[x[a]]).steps?r.steps[r.steps.length-1]:y,r.common&&Math.ceil((n-e)/(o*r.size))<=i)return x[a];return x[s-1]}(r.minUnit,t,e,n),s=M(o),l=p.valueOrDefault(r.stepSize,r.unitStepSize),u="week"===o&&r.isoWeekday,d=i.ticks.major.enabled,h=b[o],c=m(t),f=m(e),g=[];for(l=l||function(t,e,n,i){var a,r,o,s=e-t,l=b[n],u=l.size,d=l.steps;if(!d)return Math.ceil(s/(i*u));for(a=0,r=d.length;a<r&&(o=d[a],!(Math.ceil(s/(u*o))<=i));++a);return o}(t,e,o,n),u&&(c=c.isoWeekday(u),f=f.isoWeekday(u)),c=c.startOf(u?"day":o),(f=f.startOf(u?"day":o))<e&&f.add(1,o),a=m(c),d&&s&&!u&&!r.round&&(a.startOf(s),a.add(~~((c-a)/(h.size*l))*l,o));a<f;a.add(l,o))g.push(+a);return g.push(+a),g}e.exports=function(e){var t=e.Scale.extend({initialize:function(){if(!m)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o=this,s=o.chart,l=o.options.time,u=l.unit||"day",d=y,h=v,c=[],f=[],g=[];for(t=0,n=s.data.labels.length;t<n;++t)g.push(w(s.data.labels[t],o));for(t=0,n=(s.data.datasets||[]).length;t<n;++t)if(s.isDatasetVisible(t))if(a=s.data.datasets[t].data,p.isObject(a[0]))for(f[t]=[],e=0,i=a.length;e<i;++e)r=w(a[e],o),c.push(r),f[t][e]=r;else c.push.apply(c,g),f[t]=g.slice(0);else f[t]=[];g.length&&(g=k(g).sort(_),d=Math.min(d,g[0]),h=Math.max(h,g[g.length-1])),c.length&&(c=k(c).sort(_),d=Math.min(d,c[0]),h=Math.max(h,c[c.length-1])),d=w(l.min,o)||d,h=w(l.max,o)||h,d=d===y?+m().startOf(u):d,h=h===v?+m().endOf(u)+1:h,o.min=Math.min(d,h),o.max=Math.max(d+1,h),o._horizontal=o.isHorizontal(),o._table=[],o._timestamps={data:c,datasets:f,labels:g}},buildTicks:function(){var t,e,n,i=this,a=i.min,r=i.max,o=i.options,s=o.time,l=[],u=[];switch(o.ticks.source){case"data":l=i._timestamps.data;break;case"labels":l=i._timestamps.labels;break;case"auto":default:l=c(a,r,i.getLabelCapacity(a),o)}for("ticks"===o.bounds&&l.length&&(a=l[0],r=l[l.length-1]),a=w(s.min,i)||a,r=w(s.max,i)||r,t=0,e=l.length;t<e;++t)a<=(n=l[t])&&n<=r&&u.push(n);return i.min=a,i.max=r,i._unit=s.unit||function(t,e,n,i){var a,r,o=m.duration(m(i).diff(m(n)));for(a=x.length-1;a>=x.indexOf(e);a--)if(r=x[a],b[r].common&&o.as(r)>=t.length)return r;return x[e?x.indexOf(e):0]}(u,s.minUnit,i.min,i.max),i._majorUnit=M(i._unit),i._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var a,r,o,s,l,u=[],d=[e];for(a=0,r=t.length;a<r;++a)e<(s=t[a])&&s<n&&d.push(s);for(d.push(n),a=0,r=d.length;a<r;++a)l=d[a+1],o=d[a-1],s=d[a],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,o.distribution),i._offsets=function(t,e,n,i,a){var r,o,s=0,l=0;return a.offset&&e.length&&(a.time.min||(r=1<e.length?e[1]:i,o=e[0],s=(d(t,"time",r,"pos")-d(t,"time",o,"pos"))/2),a.time.max||(r=e[e.length-1],o=1<e.length?e[e.length-2]:n,l=(d(t,"time",r,"pos")-d(t,"time",o,"pos"))/2)),{left:s,right:l}}(i._table,u,a,r,o),i._labelFormat=function(t,e){var n,i,a,r=t.length;for(n=0;n<r;n++){if(0!==(i=h(t[n],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(a=!0)}return a?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(i._timestamps.data,s),function(t,e){var n,i,a,r,o=[];for(n=0,i=t.length;n<i;++n)a=t[n],r=!!e&&a===+m(a).startOf(e),o.push({value:a,major:r});return o}(u,i._majorUnit)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",r=n.datasets[e].data[t];return p.isObject(r)&&(a=this.getRightValue(r)),i.tooltipFormat?h(a,i).format(i.tooltipFormat):"string"==typeof a?a:h(a,i).format(this._labelFormat)},tickFormatFunction:function(t,e,n,i){var a=this.options,r=t.valueOf(),o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=t.clone().startOf(l).valueOf(),h=a.ticks.major,c=h.enabled&&l&&u&&r===d,f=t.format(i||(c?u:s)),g=c?h:a.ticks.minor,m=p.valueOrDefault(g.callback,g.userCallback);return m?m(f,e,n):f},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(m(t[e].value),e,t));return i},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=d(e._table,"time",t,"pos");return i+n*(e._offsets.left+a)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=w(t,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,r=d(e._table,"pos",a,"time");return m(r)},getLabelWidth:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=p.toRadians(e.maxRotation),a=Math.cos(i),r=Math.sin(i);return n*a+p.valueOrDefault(e.fontSize,o.global.defaultFontSize)*r},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,n=this.tickFormatFunction(m(t),0,[],e),i=this.getLabelWidth(n),a=this.isHorizontal()?this.width:this.height,r=Math.floor(a/i);return 0<r?r:1}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{25:25,45:45,6:6}]},{},[7])(7)})
\ No newline at end of file
1
+!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}(function(){return function r(o,s,l){function u(n,t){if(!s[n]){if(!o[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(d)return d(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var a=s[n]={exports:{}};o[n][0].call(a.exports,function(t){var e=o[n][1][t];return u(e||t)},a,a.exports,r,o,s,l)}return s[n].exports}for(var d="function"==typeof require&&require,t=0;t<l.length;t++)u(l[t]);return u}({1:[function(t,e,n){var r=t(5);function i(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16)}else if(i=t.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=r[i[1]]))return}for(a=0;a<e.length;a++)e[a]=d(e[a],0,255);return n=n||0==n?d(n,0,1):1,e[3]=n,e}}function a(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(n)?1:n,0,1)]}}}function o(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(n)?1:n,0,1)]}}}function s(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function u(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,n){return Math.min(Math.max(e,t),n)}function h(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}e.exports={getRgba:i,getHsla:a,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=a(t);return e&&e.slice(0,3)},getHwb:o,getAlpha:function(t){var e=i(t);{if(e)return e[3];if(e=a(t))return e[3];if(e=o(t))return e[3]}},hexString:function(t){return"#"+h(t[0])+h(t[1])+h(t[2])},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return s(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:s,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return l(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"},percentaString:l,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return u(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:u,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return f[t.slice(0,3)]}};var c,f={};for(c in r)f[r[c]]=c},{5:5}],2:[function(t,e,n){var d=t(4),i=t(1),o=function(t){return t instanceof o?t:this instanceof o?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new o(t);var e};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return n<e?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,r=2*a-1,o=n.alpha()-i.alpha(),s=(1+(r*o==-1?r:(r+o)/(1+r*o)))/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n,i=new o,a=this.values,r=i.values;for(n in a)a.hasOwnProperty(n)&&(t=a[n],"[object Array]"===(e={}.toString.call(t))?r[n]=t.slice(0):"[object Number]"===e?r[n]=t:console.error("unexpected color value:",t));return i}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},o.prototype.setValues=function(t,e){var n,i,a=this.values,r=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)a[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(u=0;u<t.length;u++)a[t][u]=e[t.charAt(u)];s=e.a}else if(void 0!==e[r[t][0]]){for(var l=r[t],u=0;u<t.length;u++)a[t][u]=e[l[u]];s=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===t)return!1;for(u=0;u<t.length;u++)n=Math.max(0,Math.min(o[t][u],a[t][u])),a[t][u]=Math.round(n);for(i in r)i!==t&&(a[i]=d[t][i](a[t]));return!0},o.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},o.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=o),e.exports=o},{1:1,4:4}],3:[function(t,e,n){function a(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s==o?e=0:i==s?e=(a-r)/l:a==s?e=2+(r-i)/l:r==s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function i(t){var e,n=t[0],i=t[1],a=t[2],r=Math.min(n,i,a),o=Math.max(n,i,a),s=o-r,l=0==o?0:s/o*1e3/10;return o==r?e=0:n==o?e=(i-a)/s:i==o?e=2+(a-n)/s:a==o&&(e=4+(n-i)/s),(e=Math.min(60*e,360))<0&&(e+=360),[e,l,o/255*1e3/10]}function o(t){var e=t[0],n=t[1],i=t[2];return[a(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]}function s(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,a=Math.min(1-e,1-n,1-i);return[100*((1-e-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-i-a)/(1-a)||0),100*a]}function l(t){return D[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function d(t){var e=u(t),n=e[0],i=e[1],a=e[2];return i/=100,a/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=.008856<a?Math.pow(a,1/3):7.787*a+16/116))]}function h(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,1<i&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a}function c(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r)),i=255*i;switch(a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function f(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(1<u&&(s/=u,l/=u),i=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(i=1-i),a=s+i*((n=1-l)-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function m(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]}function p(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=3.2406*e+-1.5372*n+-.4986*i,r=-.9689*e+1.8758*n+.0415*i,o=.0557*e+-.204*n+1.057*i;return a=.0031308<a?1.055*Math.pow(a,1/2.4)-.055:a*=12.92,r=.0031308<r?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,o=.0031308<o?1.055*Math.pow(o,1/2.4)-.055:o*=12.92,[255*(a=Math.min(Math.max(0,a),1)),255*(r=Math.min(Math.max(0,r),1)),255*(o=Math.min(Math.max(0,o),1))]}function v(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function y(t){var e,n=t[0],i=t[1],a=t[2],r=n<=8?(e=100*n/903.3)/100*7.787+16/116:(e=100*Math.pow((n+16)/116,3),Math.pow(e/100,1/3)),o=o/95.047<=.008856?o=95.047*(i/500+r-16/116)/7.787:95.047*Math.pow(i/500+r,3),s=s/108.883<=.008859?s=108.883*(r-a/200-16/116)/7.787:108.883*Math.pow(r-a/200,3);return[o,e,s]}function x(t){var e=t[0],n=t[1],i=t[2],a=360*Math.atan2(i,n)/2/Math.PI;return a<0&&(a+=360),[e,Math.sqrt(n*n+i*i),a]}function _(t){return p(y(t))}function k(t){var e=t[0],n=t[1],i=t[2]/360*2*Math.PI;return[e,n*Math.cos(i),n*Math.sin(i)]}function w(t){return S[t]}e.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:h,hsl2hsv:function(t){var e=t[0],n=t[1]/100,i=t[2]/100;return 0!=i?[e,100*(2*(n*=(i*=2)<=1?i:2-i)/(i+n)),100*((i+n)/2)]:[0,0,0]},hsl2hwb:function(t){return o(h(t))},hsl2cmyk:function(t){return s(h(t))},hsl2keyword:function(t){return l(h(t))},hsv2rgb:c,hsv2hsl:function(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return e=a*r,[i,100*(e=(e/=(n=(2-a)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return o(c(t))},hsv2cmyk:function(t){return s(c(t))},hsv2keyword:function(t){return l(c(t))},hwb2rgb:f,hwb2hsl:function(t){return a(f(t))},hwb2hsv:function(t){return i(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:m,cmyk2hsl:function(t){return a(m(t))},cmyk2hsv:function(t){return i(m(t))},cmyk2hwb:function(t){return o(m(t))},cmyk2keyword:function(t){return l(m(t))},keyword2rgb:w,keyword2hsl:function(t){return a(w(t))},keyword2hsv:function(t){return i(w(t))},keyword2hwb:function(t){return o(w(t))},keyword2cmyk:function(t){return s(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return u(w(t))},xyz2rgb:p,xyz2lab:v,xyz2lch:function(t){return x(v(t))},lab2xyz:y,lab2rgb:_,lab2lch:x,lch2lab:k,lch2xyz:function(t){return y(k(t))},lch2rgb:function(t){return _(k(t))}};var M,S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},D={};for(M in S)D[JSON.stringify(S[M])]=M},{}],4:[function(t,e,n){function a(){return new u}var i,r=t(3);for(i in r){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var o=/(\w+)2(\w+)/.exec(i),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[i]=function(i){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var e=r[i](t);if("string"==typeof e||void 0===e)return e;for(var n=0;n<e.length;n++)e[n]=Math.round(e[n]);return e}}(i)}var u=function(){this.convs={}};u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e,n,i=this.convs[t];return i||(e=this.space,n=this.convs[e],i=a[e][t](n),this.convs[t]=i),i},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=a},{3:3}],5:[function(t,e,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(jn,Un,t){var e,n;e=this,n=function(){"use strict";var t,a;function c(){return t.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function l(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function h(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,n,i){return De(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=m(t),n=a.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function v(t){var e=g(NaN);return null!=t?h(m(e),t):m(e).userInvalidated=!0,e}a=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var y=c.momentProperties=[];function b(t,e){var n,i,a;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=m(e)),r(e._locale)||(t._locale=e._locale),0<y.length)for(n=0;n<y.length;n++)r(a=e[i=y[n]])||(t[i]=a);return t}var e=!1;function x(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,c.updateOffset(this),e=!1)}function _(t){return t instanceof x||null!=t&&null!=t._isAMomentObject}function k(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=k(e)),n}function M(t,e,n){for(var i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),r=0,o=0;o<i;o++)(n&&t[o]!==e[o]||!n&&w(t[o])!==w(e[o]))&&r++;return r+a}function S(t){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(a,r){var o=!0;return h(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,a),o){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var i in t+="\n["+n+"] ",arguments[0])t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}S(a+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),o=!1}return r.apply(this,arguments)},r)}var i,D={};function C(t,e){null!=c.deprecationHandler&&c.deprecationHandler(t,e),D[t]||(S(e),D[t]=!0)}function P(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t,e){var n,i=h({},t);for(n in e)f(e,n)&&(l(t[n])&&l(e[n])?(i[n]={},h(i[n],t[n]),h(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)f(t,n)&&!f(e,n)&&l(t[n])&&(i[n]=h({},i[n]));return i}function O(t){null!=t&&this.set(t)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null,i=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};var I={};function A(t,e){var n=t.toLowerCase();I[n]=I[n+"s"]=I[e]=t}function F(t){return"string"==typeof t?I[t]||I[t.toLowerCase()]:void 0}function R(t){var e,n,i={};for(n in t)f(t,n)&&(e=F(n))&&(i[e]=t[n]);return i}var L={};function W(t,e){L[t]=e}function Y(t,e,n){var i=""+Math.abs(t),a=e-i.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},V={};function B(t,e,n,i){var a="string"==typeof i?function(){return this[i]()}:i;t&&(V[t]=a),e&&(V[e[0]]=function(){return Y(a.apply(this,arguments),e[1],e[2])}),n&&(V[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function E(t,e){return t.isValid()?(e=j(e,t.localeData()),H[e]=H[e]||function(i){for(var t,a=i.match(N),e=0,r=a.length;e<r;e++)V[a[e]]?a[e]=V[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<r;n++)e+=P(a[n])?a[n].call(t,i):a[n];return e}}(e),H[e](t)):t.localeData().invalidDate()}function j(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(z.lastIndex=0;0<=n&&z.test(t);)t=t.replace(z,i),z.lastIndex=0,--n;return t}var U=/\d/,q=/\d\d/,G=/\d{3}/,Z=/\d{4}/,X=/[+-]?\d{6}/,J=/\d\d?/,K=/\d\d\d\d?/,$=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,nt=/\d+/,it=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,rt=/Z|[+-]\d\d(?::?\d\d)?/gi,ot=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function lt(t,n,i){st[t]=P(n)?n:function(t,e){return t&&i?i:n}}function ut(t,e){return f(st,t)?st[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a})))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function ct(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),u(n)&&(i=function(t,e){e[n]=w(t)}),e=0;e<t.length;e++)ht[t[e]]=i}function ft(t,a){ct(t,function(t,e,n,i){n._w=n._w||{},a(t,n._w,n,i)})}var gt=0,mt=1,pt=2,vt=3,yt=4,bt=5,xt=6,_t=7,kt=8;function wt(t){return Mt(t)?366:365}function Mt(t){return t%4==0&&t%100!=0||t%400==0}B("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),A("year","y"),W("year",1),lt("Y",it),lt("YY",J,q),lt("YYYY",tt,Z),lt("YYYYY",et,X),lt("YYYYYY",et,X),ct(["YYYYY","YYYYYY"],gt),ct("YYYY",function(t,e){e[gt]=2===t.length?c.parseTwoDigitYear(t):w(t)}),ct("YY",function(t,e){e[gt]=c.parseTwoDigitYear(t)}),ct("Y",function(t,e){e[gt]=parseInt(t,10)}),c.parseTwoDigitYear=function(t){return w(t)+(68<w(t)?1900:2e3)};var St,Dt=Ct("FullYear",!0);function Ct(e,n){return function(t){return null!=t?(Tt(this,e,t),c.updateOffset(this,n),this):Pt(this,e)}}function Pt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Tt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Mt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ot(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Ot(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,i=(e%(n=12)+n)%n;return t+=(e-i)/12,1==i?Mt(t)?29:28:31-i%7%2}St=Array.prototype.indexOf?Array.prototype.indexOf:function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),A("month","M"),W("month",8),lt("M",J),lt("MM",J,q),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),ct(["M","MM"],function(t,e){e[mt]=w(t)-1}),ct(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[mt]=a:m(n).invalidMonth=t});var It=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,At="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Ft="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ot(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Lt(t){return null!=t?(Rt(this,t),c.updateOffset(this,!0),this):Pt(this,"Month")}var Wt=ot;var Yt=ot;function Nt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],a=[],r=0;r<12;r++)e=g([2e3,r]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),a.push(this.months(e,"")),a.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),a.sort(t),r=0;r<12;r++)n[r]=dt(n[r]),i[r]=dt(i[r]);for(r=0;r<24;r++)a[r]=dt(a[r]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function zt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ht(t,e,n){var i=7+e-n;return i-(7+zt(t,0,i).getUTCDay()-e)%7-1}function Vt(t,e,n,i,a){var r,o=1+7*(e-1)+(7+n-i)%7+Ht(t,i,a),s=o<=0?wt(r=t-1)+o:o>wt(t)?(r=t+1,o-wt(t)):(r=t,o);return{year:r,dayOfYear:s}}function Bt(t,e,n){var i,a,r=Ht(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?i=o+Et(a=t.year()-1,e,n):o>Et(t.year(),e,n)?(i=o-Et(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function Et(t,e,n){var i=Ht(t,e,n),a=Ht(t+1,e,n);return(wt(t)-i+a)/7}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),W("week",5),W("isoWeek",5),lt("w",J),lt("ww",J,q),lt("W",J),lt("WW",J,q),ft(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=w(t)});B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),lt("d",J),lt("e",J),lt("E",J),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:m(n).invalidWeekday=t}),ft(["d","e","E"],function(t,e,n,i){e[i]=w(t)});var jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=ot;var Zt=ot;var Xt=ot;function Jt(){function t(t,e){return e.length-t.length}for(var e,n,i,a,r=[],o=[],s=[],l=[],u=0;u<7;u++)e=g([2e3,1]).day(u),n=this.weekdaysMin(e,""),i=this.weekdaysShort(e,""),a=this.weekdays(e,""),r.push(n),o.push(i),s.push(a),l.push(n),l.push(i),l.push(a);for(r.sort(t),o.sort(t),s.sort(t),l.sort(t),u=0;u<7;u++)o[u]=dt(o[u]),s[u]=dt(s[u]),l[u]=dt(l[u]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Kt(){return this.hours()%12||12}function $t(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Qt(t,e){return e._meridiemParse}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Kt),B("k",["kk",2],0,function(){return this.hours()||24}),B("hmm",0,0,function(){return""+Kt.apply(this)+Y(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Kt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),$t("a",!0),$t("A",!1),A("hour","h"),W("hour",13),lt("a",Qt),lt("A",Qt),lt("H",J),lt("h",J),lt("k",J),lt("HH",J,q),lt("hh",J,q),lt("kk",J,q),lt("hmm",K),lt("hmmss",$),lt("Hmm",K),lt("Hmmss",$),ct(["H","HH"],vt),ct(["k","kk"],function(t,e,n){var i=w(t);e[vt]=24===i?0:i}),ct(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),ct(["h","hh"],function(t,e,n){e[vt]=w(t),m(n).bigHour=!0}),ct("hmm",function(t,e,n){var i=t.length-2;e[vt]=w(t.substr(0,i)),e[yt]=w(t.substr(i)),m(n).bigHour=!0}),ct("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[vt]=w(t.substr(0,i)),e[yt]=w(t.substr(i,2)),e[bt]=w(t.substr(a)),m(n).bigHour=!0}),ct("Hmm",function(t,e,n){var i=t.length-2;e[vt]=w(t.substr(0,i)),e[yt]=w(t.substr(i))}),ct("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[vt]=w(t.substr(0,i)),e[yt]=w(t.substr(i,2)),e[bt]=w(t.substr(a))});var te,ee=Ct("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:At,monthsShort:Ft,week:{dow:0,doy:6},weekdays:jt,weekdaysMin:qt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},ie={},ae={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function oe(t){if(!ie[t]&&void 0!==Un&&Un&&Un.exports)try{var e=te._abbr;jn("./locale/"+t),se(e)}catch(t){}return ie[t]}function se(t,e){var n;return t&&(n=r(e)?ue(t):le(t,e))&&(te=n),te._abbr}function le(t,e){if(null===e)return delete ie[t],null;var n=ne;if(e.abbr=t,null!=ie[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ie[t]._config;else if(null!=e.parentLocale){if(null==ie[e.parentLocale])return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=ie[e.parentLocale]._config}return ie[t]=new O(T(n,e)),ae[t]&&ae[t].forEach(function(t){le(t.name,t.config)}),se(t),ie[t]}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return te;if(!s(t)){if(e=oe(t))return e;t=[t]}return function(t){for(var e,n,i,a,r=0;r<t.length;){for(e=(a=re(t[r]).split("-")).length,n=(n=re(t[r+1]))?n.split("-"):null;0<e;){if(i=oe(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&M(a,n,!0)>=e-1)break;e--}r++}return null}(t)}function de(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[mt]<0||11<n[mt]?mt:n[pt]<1||n[pt]>Ot(n[gt],n[mt])?pt:n[vt]<0||24<n[vt]||24===n[vt]&&(0!==n[yt]||0!==n[bt]||0!==n[xt])?vt:n[yt]<0||59<n[yt]?yt:n[bt]<0||59<n[bt]?bt:n[xt]<0||999<n[xt]?xt:-1,m(t)._overflowDayOfYear&&(e<gt||pt<e)&&(e=pt),m(t)._overflowWeeks&&-1===e&&(e=_t),m(t)._overflowWeekday&&-1===e&&(e=kt),m(t).overflow=e),t}function he(t,e,n){return null!=t?t:null!=e?e:n}function ce(t){var e,n,i,a,r,o,s,l=[];if(!t._d){for(o=t,s=new Date(c.now()),i=o._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()],t._w&&null==t._a[pt]&&null==t._a[mt]&&function(t){var e,n,i,a,r,o,s,l;{var u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(r=1,o=4,n=he(e.GG,t._a[gt],Bt(Ce(),1,4).year),i=he(e.W,1),((a=he(e.E,1))<1||7<a)&&(l=!0)):(r=t._locale._week.dow,o=t._locale._week.doy,u=Bt(Ce(),r,o),n=he(e.gg,t._a[gt],u.year),i=he(e.w,u.week),null!=e.d?((a=e.d)<0||6<a)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||6<e.e)&&(l=!0)):a=r)}i<1||i>Et(n,r,o)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(s=Vt(n,i,a,r,o),t._a[gt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(r=he(t._a[gt],i[gt]),(t._dayOfYear>wt(r)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=zt(r,0,t._dayOfYear),t._a[mt]=n.getUTCMonth(),t._a[pt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=l[e]=i[e];for(;e<7;e++)t._a[e]=l[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[vt]&&0===t._a[yt]&&0===t._a[bt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[vt]=0),t._d=(t._useUTC?zt:function(t,e,n,i,a,r,o){var s=new Date(t,e,n,i,a,r,o);return t<100&&0<=t&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,l),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[vt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(m(t).weekdayMismatch=!0)}}var fe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ve=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ye=/^\/?Date\((\-?\d+)/i;function be(t){var e,n,i,a,r,o,s=t._i,l=fe.exec(s)||ge.exec(s);if(l){for(m(t).iso=!0,e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[1])){a=pe[e][0],i=!1!==pe[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(l[3])){r=(l[2]||" ")+ve[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!me.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),Me(t)}else t._isValid=!1}var xe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function _e(t,e,n,i,a,r){var o=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Ft.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return r&&o.push(parseInt(r,10)),o}var ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function we(t){var e,n,i,a=xe.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(a){var r=_e(a[4],a[3],a[2],a[5],a[6],a[7]);if(e=a[1],n=r,i=t,e&&Ut.indexOf(e)!==new Date(n[0],n[1],n[2]).getDay()&&(m(i).weekdayMismatch=!0,!void(i._isValid=!1)))return;t._a=r,t._tzm=function(t,e,n){if(t)return ke[t];if(e)return 0;var i=parseInt(n,10),a=i%100;return 60*((i-a)/100)+a}(a[8],a[9],a[10]),t._d=zt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Me(t){if(t._f!==c.ISO_8601)if(t._f!==c.RFC_2822){t._a=[],m(t).empty=!0;for(var e,n,i,a,r,o,s=""+t._i,l=s.length,u=0,d=j(t._f,t._locale).match(N)||[],h=0;h<d.length;h++)n=d[h],(e=(s.match(ut(n,t))||[])[0])&&(0<(i=s.substr(0,s.indexOf(e))).length&&m(t).unusedInput.push(i),s=s.slice(s.indexOf(e)+e.length),u+=e.length),V[n]?(e?m(t).empty=!1:m(t).unusedTokens.push(n),a=n,o=t,null!=(r=e)&&f(ht,a)&&ht[a](r,o._a,o,a)):t._strict&&!e&&m(t).unusedTokens.push(n);m(t).charsLeftOver=l-u,0<s.length&&m(t).unusedInput.push(s),t._a[vt]<=12&&!0===m(t).bigHour&&0<t._a[vt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[vt]=function(t,e,n){var i;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0)),e)}(t._locale,t._a[vt],t._meridiem),ce(t),de(t)}else we(t);else be(t)}function Se(t){var e,n,i=t._i,a=t._f;return t._locale=t._locale||ue(t._l),null===i||void 0===a&&""===i?v({nullInput:!0}):("string"==typeof i&&(t._i=i=t._locale.preparse(i)),_(i)?new x(de(i)):(o(i)?t._d=i:s(a)?function(t){var e,n,i,a,r;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(a=0;a<t._f.length;a++)r=0,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],Me(e),p(e)&&(r+=m(e).charsLeftOver,r+=10*m(e).unusedTokens.length,m(e).score=r,(null==i||r<i)&&(i=r,n=e));h(t,n||e)}(t):a?Me(t):r(n=(e=t)._i)?e._d=new Date(c.now()):o(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=ye.exec(t._i);null===e?(be(t),!1===t._isValid&&(delete t._isValid,we(t),!1===t._isValid&&(delete t._isValid,c.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):s(n)?(e._a=d(n.slice(0),function(t){return parseInt(t,10)}),ce(e)):l(n)?function(t){var e;t._d||(e=R(t._i),t._a=d([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ce(t))}(e):u(n)?e._d=new Date(n):c.createFromInputFallback(e),p(t)||(t._d=null),t))}function De(t,e,n,i,a){var r,o={};return!0!==n&&!1!==n||(i=n,n=void 0),(l(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(t.hasOwnProperty(e))return;return 1}(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=t,o._f=e,o._strict=i,(r=new x(de(Se(o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Ce(t,e,n,i){return De(t,e,n,i,!1)}c.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),c.ISO_8601=function(){},c.RFC_2822=function(){};var Pe=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()}),Te=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:v()});function Oe(t,e){var n,i;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ae(t){var e=R(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===St.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<Ie.length;++i)if(t[Ie[i]]){if(n)return!1;parseFloat(t[Ie[i]])!==w(t[Ie[i]])&&(n=!0)}return!0}(e),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=ue(),this._bubble()}function Fe(t){return t instanceof Ae}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Le(t,n){B(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+Y(~~(t/60),2)+n+Y(~~t%60,2)})}Le("Z",":"),Le("ZZ",""),lt("Z",rt),lt("ZZ",rt),ct(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ye(rt,t)});var We=/([\+\-]|\d\d)/gi;function Ye(t,e){var n=(e||"").match(t);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(We)||["-",0,0],a=60*i[1]+w(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ne(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(_(t)||o(t)?t.valueOf():Ce(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),c.updateOffset(n,!1),n):Ce(t).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function He(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};var Ve=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ee(t,e){var n,i,a,r=t,o=null;return Fe(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:u(t)?(r={},e?r[e]=t:r.milliseconds=t):(o=Ve.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:w(o[pt])*n,h:w(o[vt])*n,m:w(o[yt])*n,s:w(o[bt])*n,ms:w(Re(1e3*o[xt]))*n}):(o=Be.exec(t))?(n="-"===o[1]?-1:(o[1],1),r={y:je(o[2],n),M:je(o[3],n),w:je(o[4],n),d:je(o[5],n),h:je(o[6],n),m:je(o[7],n),s:je(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(a=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ne(e,t),t.isBefore(e)?n=Ue(t,e):((n=Ue(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Ce(r.from),Ce(r.to)),(r={}).ms=a.milliseconds,r.M=a.months),i=new Ae(r),Fe(t)&&f(t,"_locale")&&(i._locale=t._locale),i}function je(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ue(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=e-t.clone().add(n.months,"M"),n}function qe(i,a){return function(t,e){var n;return null===e||isNaN(+e)||(C(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Ge(this,Ee(t="string"==typeof t?+t:t,e),i),this}}function Ge(t,e,n,i){var a=e._milliseconds,r=Re(e._days),o=Re(e._months);t.isValid()&&(i=null==i||i,o&&Rt(t,Pt(t,"Month")+o*n),r&&Tt(t,"Date",Pt(t,"Date")+r*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&c.updateOffset(t,r||o))}Ee.fn=Ae.prototype,Ee.invalid=function(){return Ee(NaN)};var Ze=qe(1,"add"),Xe=qe(-1,"subtract");function Je(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months"),a=e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i);return-(n+a)||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $e=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Qe(){return this._locale}function tn(t,e){B(0,[t,t.length],0,e)}function en(t,e,n,i,a){var r;return null==t?Bt(this,i,a).year:((r=Et(t,i,a))<e&&(e=r),function(t,e,n,i,a){var r=Vt(t,e,n,i,a),o=zt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,t,e,n,i,a))}B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),lt("G",it),lt("g",it),lt("GG",J,q),lt("gg",J,q),lt("GGGG",tt,Z),lt("gggg",tt,Z),lt("GGGGG",et,X),lt("ggggg",et,X),ft(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=w(t)}),ft(["gg","GG"],function(t,e,n,i){e[i]=c.parseTwoDigitYear(t)}),B("Q",0,"Qo","quarter"),A("quarter","Q"),W("quarter",7),lt("Q",U),ct("Q",function(t,e){e[mt]=3*(w(t)-1)}),B("D",["DD",2],"Do","date"),A("date","D"),W("date",9),lt("D",J),lt("DD",J,q),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ct(["D","DD"],pt),ct("Do",function(t,e){e[pt]=w(t.match(J)[0])});var nn=Ct("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),W("dayOfYear",4),lt("DDD",Q),lt("DDDD",G),ct(["DDD","DDDD"],function(t,e,n){n._dayOfYear=w(t)}),B("m",["mm",2],0,"minute"),A("minute","m"),W("minute",14),lt("m",J),lt("mm",J,q),ct(["m","mm"],yt);var an=Ct("Minutes",!1);B("s",["ss",2],0,"second"),A("second","s"),W("second",15),lt("s",J),lt("ss",J,q),ct(["s","ss"],bt);var rn,on=Ct("Seconds",!1);for(B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),A("millisecond","ms"),W("millisecond",16),lt("S",Q,U),lt("SS",Q,q),lt("SSS",Q,G),rn="SSSS";rn.length<=9;rn+="S")lt(rn,nt);function sn(t,e){e[xt]=w(1e3*("0."+t))}for(rn="S";rn.length<=9;rn+="S")ct(rn,sn);var ln=Ct("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var un=x.prototype;function dn(t){return t}un.add=Ze,un.calendar=function(t,e){var n=t||Ce(),i=Ne(n,this).startOf("day"),a=c.calendarFormat(this,i)||"sameElse",r=e&&(P(e[a])?e[a].call(this,n):e[a]);return this.format(r||this.localeData().calendar(a,this,Ce(n)))},un.clone=function(){return new x(this)},un.diff=function(t,e,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Ne(t,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),e=F(e)){case"year":r=Je(this,i)/12;break;case"month":r=Je(this,i);break;case"quarter":r=Je(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:k(r)},un.endOf=function(t){return void 0===(t=F(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},un.format=function(t){t=t||(this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var e=E(this,t);return this.localeData().postformat(e)},un.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Ce(t).isValid())?Ee({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},un.fromNow=function(t){return this.from(Ce(),t)},un.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Ce(t).isValid())?Ee({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},un.toNow=function(t){return this.to(Ce(),t)},un.get=function(t){return P(this[t=F(t)])?this[t]():this},un.invalidAt=function(){return m(this).overflow},un.isAfter=function(t,e){var n=_(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(r(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},un.isBefore=function(t,e){var n=_(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=F(r(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},un.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},un.isSame=function(t,e){var n,i=_(t)?t:Ce(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=F(e||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},un.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},un.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},un.isValid=function(){return p(this)},un.lang=$e,un.locale=Ke,un.localeData=Qe,un.max=Te,un.min=Pe,un.parsingFlags=function(){return h({},m(this))},un.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)n.push({unit:e,priority:L[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=R(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(P(this[t=F(t)]))return this[t](e);return this},un.startOf=function(t){switch(t=F(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},un.subtract=Xe,un.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},un.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||9999<n.year()?E(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",E(n,"Z")):E(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+a)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=Dt,un.isLeapYear=function(){return Mt(this.year())},un.weekYear=function(t){return en.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(t){return en.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},un.month=Lt,un.daysInMonth=function(){return Ot(this.year(),this.month())},un.week=un.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},un.isoWeek=un.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},un.weeksInYear=function(){var t=this.localeData()._week;return Et(this.year(),t.dow,t.doy)},un.isoWeeksInYear=function(){return Et(this.year(),1,4)},un.date=nn,un.day=un.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},un.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},un.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e,n,i=(e=t,n=this.localeData(),"string"==typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?i:i-7)},un.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},un.hour=un.hours=ee,un.minute=un.minutes=an,un.second=un.seconds=on,un.millisecond=un.milliseconds=ln,un.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:ze(this);if("string"==typeof t){if(null===(t=Ye(rt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=ze(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?Ge(this,Ee(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this},un.utc=function(t){return this.utcOffset(0,t)},un.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m")),this},un.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ye(at,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},un.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=He,un.isUTC=He,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=n("dates accessor is deprecated. Use date instead.",nn),un.months=n("months accessor is deprecated. Use month instead",Lt),un.years=n("years accessor is deprecated. Use year instead",Dt),un.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),un.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t,e={};return b(e,this),(e=Se(e))._a?(t=(e._isUTC?g:Ce)(e._a),this._isDSTShifted=this.isValid()&&0<M(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var hn=O.prototype;function cn(t,e,n,i){var a=ue(),r=g().set(i,e);return a[n](r,t)}function fn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,"month");for(var i=[],a=0;a<12;a++)i[a]=cn(t,a,n,"month");return i}function gn(t,e,n,i){e=("boolean"==typeof t?u(e)&&(n=e,e=void 0):(e=t,t=!1,u(n=e)&&(n=e,e=void 0)),e||"");var a=ue(),r=t?a._week.dow:0;if(null!=n)return cn(e,(n+r)%7,i,"day");for(var o=[],s=0;s<7;s++)o[s]=cn(e,(s+r)%7,i,"day");return o}hn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return P(i)?i.call(e,n):i},hn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(t){return this._ordinal.replace("%d",t)},hn.preparse=dn,hn.postformat=dn,hn.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return P(a)?a(t,e,n,i):a.replace(/%d/i,t)},hn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)},hn.set=function(t){var e,n;for(n in t)P(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hn.months=function(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||It).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},hn.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[It.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(t,e,n){var i,a,r;if(this._monthsParseExact)return function(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=g([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=St.call(this._shortMonthsParse,o))?a:null:-1!==(a=St.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=St.call(this._shortMonthsParse,o))||-1!==(a=St.call(this._longMonthsParse,o))?a:null:-1!==(a=St.call(this._longMonthsParse,o))||-1!==(a=St.call(this._shortMonthsParse,o))?a:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=g([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},hn.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Nt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Yt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Nt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.weekdays=function(t,e){return t?s(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:s(this._weekdays)?this._weekdays:this._weekdays.standalone},hn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},hn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},hn.weekdaysParse=function(t,e,n){var i,a,r;if(this._weekdaysParseExact)return function(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=g([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=St.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=St.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=St.call(this._weekdaysParse,o))||-1!==(a=St.call(this._shortWeekdaysParse,o))||-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=St.call(this._shortWeekdaysParse,o))||-1!==(a=St.call(this._weekdaysParse,o))||-1!==(a=St.call(this._minWeekdaysParse,o))?a:null:-1!==(a=St.call(this._minWeekdaysParse,o))||-1!==(a=St.call(this._weekdaysParse,o))||-1!==(a=St.call(this._shortWeekdaysParse,o))?a:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=g([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},hn.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Gt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Zt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},se("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),c.lang=n("moment.lang is deprecated. Use moment.locale instead.",se),c.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ue);var mn=Math.abs;function pn(t,e,n,i){var a=Ee(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function yn(t){return 4800*t/146097}function bn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var _n=xn("ms"),kn=xn("s"),wn=xn("m"),Mn=xn("h"),Sn=xn("d"),Dn=xn("w"),Cn=xn("M"),Pn=xn("y");function Tn(t){return function(){return this.isValid()?this._data[t]:NaN}}var On=Tn("milliseconds"),In=Tn("seconds"),An=Tn("minutes"),Fn=Tn("hours"),Rn=Tn("days"),Ln=Tn("months"),Wn=Tn("years");var Yn=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};function zn(t,e,n){var i=Ee(t).abs(),a=Yn(i.as("s")),r=Yn(i.as("m")),o=Yn(i.as("h")),s=Yn(i.as("d")),l=Yn(i.as("M")),u=Yn(i.as("y")),d=(a<=Nn.ss?["s",a]:a<Nn.s&&["ss",a])||r<=1&&["m"]||r<Nn.m&&["mm",r]||o<=1&&["h"]||o<Nn.h&&["hh",o]||s<=1&&["d"]||s<Nn.d&&["dd",s]||l<=1&&["M"]||l<Nn.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=e,d[3]=0<+t,d[4]=n,function(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}.apply(null,d)}var Hn=Math.abs;function Vn(t){return(0<t)-(t<0)||+t}function Bn(){if(!this.isValid())return this.localeData().invalidDate();var t=Hn(this._milliseconds)/1e3,e=Hn(this._days),n=Hn(this._months),i=k(t/60),a=k(i/60);t%=60,i%=60;var r=k(n/12),o=n%=12,s=e,l=a,u=i,d=t?t.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=h<0?"-":"",f=Vn(this._months)!==Vn(h)?"-":"",g=Vn(this._days)!==Vn(h)?"-":"",m=Vn(this._milliseconds)!==Vn(h)?"-":"";return c+"P"+(r?f+r+"Y":"")+(o?f+o+"M":"")+(s?g+s+"D":"")+(l||u||d?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(d?m+d+"S":"")}var En=Ae.prototype;return En.isValid=function(){return this._isValid},En.abs=function(){var t=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),t.milliseconds=mn(t.milliseconds),t.seconds=mn(t.seconds),t.minutes=mn(t.minutes),t.hours=mn(t.hours),t.months=mn(t.months),t.years=mn(t.years),this},En.add=function(t,e){return pn(this,t,e,1)},En.subtract=function(t,e){return pn(this,t,e,-1)},En.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=F(t))||"year"===t)return e=this._days+i/864e5,n=this._months+yn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(bn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},En.asMilliseconds=_n,En.asSeconds=kn,En.asMinutes=wn,En.asHours=Mn,En.asDays=Sn,En.asWeeks=Dn,En.asMonths=Cn,En.asYears=Pn,En.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},En._bubble=function(){var t,e,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return 0<=r&&0<=o&&0<=s||r<=0&&o<=0&&s<=0||(r+=864e5*vn(bn(s)+o),s=o=0),l.milliseconds=r%1e3,t=k(r/1e3),l.seconds=t%60,e=k(t/60),l.minutes=e%60,n=k(e/60),l.hours=n%24,o+=k(n/24),s+=a=k(yn(o)),o-=vn(bn(a)),i=k(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},En.clone=function(){return Ee(this)},En.get=function(t){return t=F(t),this.isValid()?this[t+"s"]():NaN},En.milliseconds=On,En.seconds=In,En.minutes=An,En.hours=Fn,En.days=Rn,En.weeks=function(){return k(this.days()/7)},En.months=Ln,En.years=Wn,En.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=zn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},En.toISOString=Bn,En.toString=Bn,En.toJSON=Bn,En.locale=Ke,En.localeData=Qe,En.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bn),En.lang=$e,B("X",0,0,"unix"),B("x",0,0,"valueOf"),lt("x",it),lt("X",/[+-]?\d+(\.\d{1,3})?/),ct("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),ct("x",function(t,e,n){n._d=new Date(w(t))}),c.version="2.20.1",t=Ce,c.fn=un,c.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},c.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=g,c.unix=function(t){return Ce(1e3*t)},c.months=function(t,e){return fn(t,e,"months")},c.isDate=o,c.locale=se,c.invalid=v,c.duration=Ee,c.isMoment=_,c.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},c.parseZone=function(){return Ce.apply(null,arguments).parseZone()},c.localeData=ue,c.isDuration=Fe,c.monthsShort=function(t,e){return fn(t,e,"monthsShort")},c.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},c.defineLocale=le,c.updateLocale=function(t,e){var n,i,a;return null!=e?(i=ne,null!=(a=oe(t))&&(i=a._config),(n=new O(e=T(i,e))).parentLocale=ie[t],ie[t]=n,se(t)):null!=ie[t]&&(null!=ie[t].parentLocale?ie[t]=ie[t].parentLocale:null!=ie[t]&&delete ie[t]),ie[t]},c.locales=function(){return i(ie)},c.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},c.normalizeUnits=F,c.relativeTimeRounding=function(t){return void 0===t?Yn:"function"==typeof t&&(Yn=t,!0)},c.relativeTimeThreshold=function(t,e){return void 0!==Nn[t]&&(void 0===e?Nn[t]:(Nn[t]=e,"s"===t&&(Nn.ss=e-1),!0))},c.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},c.prototype=un,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},c},"object"==typeof t&&void 0!==Un?Un.exports=n():e.moment=n()},{}],7:[function(t,e,n){var i=t(29)();i.helpers=t(45),t(27)(i),i.defaults=t(25),i.Element=t(26),i.elements=t(40),i.Interaction=t(28),i.layouts=t(30),i.platform=t(48),i.plugins=t(31),i.Ticks=t(34),t(22)(i),t(23)(i),t(24)(i),t(33)(i),t(32)(i),t(35)(i),t(55)(i),t(53)(i),t(54)(i),t(56)(i),t(57)(i),t(58)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var a,r=t(49);for(a in r)r.hasOwnProperty(a)&&i.plugins.register(r[a]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=r.legend._element,i.Title=r.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(n){n.Bar=function(t,e){return e.type="bar",new n(t,e)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(n){n.Bubble=function(t,e){return e.type="bubble",new n(t,e)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(n){n.Doughnut=function(t,e){return e.type="doughnut",new n(t,e)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(n){n.Line=function(t,e){return e.type="line",new n(t,e)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(n){n.PolarArea=function(t,e){return e.type="polarArea",new n(t,e)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(n){n.Radar=function(t,e){return e.type="radar",new n(t,e)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(n){n.Scatter=function(t,e){return e.type="scatter",new n(t,e)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),a=t(40),S=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return 0<t.length&&(t[0].yLabel?n=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.chart,r=i.getMeta(),o=i.getDataset(),s=t.custom||{},l=a.options.elements.rectangle;t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:o.label,label:a.data.labels[e],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:S.valueAtIndexOrDefault(o.backgroundColor,e,l.backgroundColor),borderColor:s.borderColor?s.borderColor:S.valueAtIndexOrDefault(o.borderColor,e,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:S.valueAtIndexOrDefault(o.borderWidth,e,l.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,a=t._model,r=i.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,l);a.horizontal=s,a.base=n?o:u.base,a.x=s?n?o:u.head:d.center,a.y=s?d.center:n?o:u.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){for(var e,n=this.chart,i=this.getIndexScale().options.stacked,a=void 0===t?n.data.datasets.length:t+1,r=[],o=0;o<a;++o)(e=n.getDatasetMeta(o)).bar&&n.isDatasetVisible(o)&&(!1===i||!0===i&&-1===r.indexOf(e.stack)||void 0===i&&(void 0===e.stack||-1===r.indexOf(e.stack)))&&r.push(e.stack);return r},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){for(var t=this.getIndexScale(),e=this.getStackCount(),n=this.index,i=t.isHorizontal(),a=i?t.left:t.top,r=a+(i?t.width:t.height),o=[],s=0,l=this.getMeta().data.length;s<l;++s)o.push(t.getPixelForValue(null,s,n));return{min:S.isNullOrUndef(t.options.barThickness)?function(t,e){for(var n,i,a=t.isHorizontal()?t.width:t.height,r=t.getTicks(),o=1,s=e.length;o<s;++o)a=Math.min(a,e[o]-e[o-1]);for(o=0,s=r.length;o<s;++o)i=t.getPixelForTick(o),a=0<o?Math.min(a,i-n):a,n=i;return a}(t,o):-1,pixels:o,start:a,end:r,stackCount:e,scale:t}},calculateBarValuePixels:function(t,e){var n,i,a,r,o,s,l=this.chart,u=this.getMeta(),d=this.getValueScale(),h=l.data.datasets,c=d.getRightValue(h[t].data[e]),f=d.options.stacked,g=u.stack,m=0;if(f||void 0===f&&void 0!==g)for(n=0;n<t;++n)(i=l.getDatasetMeta(n)).bar&&i.stack===g&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(n)&&(a=d.getRightValue(h[n].data[e]),(c<0&&a<0||0<=c&&0<a)&&(m+=a));return r=d.getPixelForValue(m),{size:s=((o=d.getPixelForValue(m+c))-r)/2,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(t,e,n){var i,a,r,o,s,l,u,d,h,c,f,g,m,p,v,y,b,x=n.scale.options,_="flex"===x.barThickness?(h=e,f=x,m=(c=n).pixels,p=m[h],v=0<h?m[h-1]:null,y=h<m.length-1?m[h+1]:null,b=f.categoryPercentage,null===v&&(v=p-(null===y?c.end-p:y-p)),null===y&&(y=p+p-v),g=p-(p-v)/2*b,{chunk:(y-v)/2*b/c.stackCount,ratio:f.barPercentage,start:g}):(i=e,a=n,s=(r=x).barThickness,l=a.stackCount,u=a.pixels[i],d=S.isNullOrUndef(s)?(o=a.min*r.categoryPercentage,r.barPercentage):(o=s*l,1),{chunk:o/l,ratio:d,start:u-o/2}),k=this.getStackIndex(t,this.getMeta().stack),w=_.start+_.chunk*k+_.chunk/2,M=Math.min(S.valueOrDefault(x.maxBarThickness,1/0),_.chunk*_.ratio);return{base:w-M/2,head:w+M/2,center:w,size:M}},draw:function(){var t=this.chart,e=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(S.canvas.clipArea(t.ctx,t.chartArea);r<a;++r)isNaN(e.getRightValue(i.data[r]))||n[r].draw();S.canvas.unclipArea(t.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:S.valueAtIndexOrDefault(e.hoverBackgroundColor,n,S.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:S.valueAtIndexOrDefault(e.hoverBorderColor,n,S.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:S.valueAtIndexOrDefault(e.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,r=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:S.valueAtIndexOrDefault(e.backgroundColor,n,r.backgroundColor),a.borderColor=i.borderColor?i.borderColor:S.valueAtIndexOrDefault(e.borderColor,n,r.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:S.valueAtIndexOrDefault(e.borderWidth,n,r.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),a=t(40),g=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(n){var i=this,t=i.getMeta().data;g.each(t,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=t.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],d=i.index,h=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,d),c=n?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=g.valueOrDefault(n.hoverBackgroundColor,g.getHoverColor(n.backgroundColor)),e.borderColor=g.valueOrDefault(n.hoverBorderColor,g.getHoverColor(n.borderColor)),e.borderWidth=g.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){for(var n,i=this.chart,a=i.data.datasets[this.index],r=t.custom||{},o=i.options.elements.point,s=g.options.resolve,l=a.data[e],u={},d={chart:i,dataIndex:e,dataset:a,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"],c=0,f=h.length;c<f;++c)u[n=h[c]]=s([r[n],a[n],o[n]],d,e);return u.radius=s([r.radius,l?l.r:void 0,a.radius,o.radius],d,e),u}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),a=t(40),O=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(l){var u=l.data;return u.labels.length&&u.datasets.length?u.labels.map(function(t,e){var n=l.getDatasetMeta(0),i=u.datasets[0],a=n.data[e],r=a&&a.custom||{},o=O.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:t,fillStyle:r.backgroundColor?r.backgroundColor:o(i.backgroundColor,e,s.backgroundColor),strokeStyle:r.borderColor?r.borderColor:o(i.borderColor,e,s.borderColor),lineWidth:r.borderWidth?r.borderWidth:o(i.borderWidth,e,s.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,a=this.chart,r=0,o=(a.data.datasets||[]).length;r<o;++r)(n=a.getDatasetMeta(r)).data[i]&&(n.data[i].hidden=!n.data[i].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return O.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),i._set("pie",O.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:a.Arc,linkScales:O.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(n){var t,e,i,a,r,o,s,l,u,d,h,c,f,g,m,p,v,y=this,b=y.chart,x=b.chartArea,_=b.options,k=_.elements.arc,w=x.right-x.left-k.borderWidth,M=x.bottom-x.top-k.borderWidth,S=Math.min(w,M),D={x:0,y:0},C=y.getMeta(),P=_.cutoutPercentage,T=_.circumference;T<2*Math.PI&&(t=_.rotation%(2*Math.PI),e=(t+=2*Math.PI*(t>=Math.PI?-1:t<-Math.PI?1:0))+T,i=Math.cos(t),a=Math.sin(t),r=Math.cos(e),o=Math.sin(e),s=t<=0&&0<=e||t<=2*Math.PI&&2*Math.PI<=e,l=t<=.5*Math.PI&&.5*Math.PI<=e||t<=2.5*Math.PI&&2.5*Math.PI<=e,u=t<=-Math.PI&&-Math.PI<=e||t<=Math.PI&&Math.PI<=e,d=t<=.5*-Math.PI&&.5*-Math.PI<=e||t<=1.5*Math.PI&&1.5*Math.PI<=e,h=P/100,c=u?-1:Math.min(i*(i<0?1:h),r*(r<0?1:h)),f=d?-1:Math.min(a*(a<0?1:h),o*(o<0?1:h)),p=.5*((g=s?1:Math.max(i*(0<i?1:h),r*(0<r?1:h)))-c),v=.5*((m=l?1:Math.max(a*(0<a?1:h),o*(0<o?1:h)))-f),S=Math.min(w/p,M/v),D={x:-.5*(g+c),y:-.5*(m+f)}),b.borderWidth=y.getMaxBorderWidth(C.data),b.outerRadius=Math.max((S-b.borderWidth)/2,0),b.innerRadius=Math.max(P?b.outerRadius/100*P:0,0),b.radiusLength=(b.outerRadius-b.innerRadius)/b.getVisibleDatasetCount(),b.offsetX=D.x*b.outerRadius,b.offsetY=D.y*b.outerRadius,C.total=y.calculateTotal(),y.outerRadius=b.outerRadius-b.radiusLength*y.getRingIndex(y.index),y.innerRadius=Math.max(y.outerRadius-b.radiusLength,0),O.each(C.data,function(t,e){y.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d=o.rotation,h=o.rotation,c=i.getDataset(),f=n&&s.animateRotate||t.hidden?0:i.calculateCircumference(c.data[e])*(o.circumference/(2*Math.PI)),g=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,p=O.valueAtIndexOrDefault;O.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:m,innerRadius:g,label:p(c.label,e,a.data.labels[e])}});var v=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(v.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),t=this.getMeta(),a=0;return O.each(t.data,function(t,e){n=i.data[e],isNaN(n)||t.hidden||(a+=Math.abs(n))}),a},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,a=this.index,r=t.length,o=0;o<r;o++)i=(i=i<(e=t[o]._model?t[o]._model.borderWidth:0)?e:i)<(n=t[o]._chart?t[o]._chart.config.data.datasets[a].hoverBorderWidth:0)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),g=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function f(t,e){return g.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var e,n,i,a=this,r=a.getMeta(),o=r.dataset,s=r.data||[],l=a.chart.options,u=l.elements.line,d=a.getScaleForId(r.yAxisID),h=a.getDataset(),c=f(h,l);for(c&&(i=o.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),o._scale=d,o._datasetIndex=a.index,o._children=s,o._model={spanGaps:h.spanGaps?h.spanGaps:l.spanGaps,tension:i.tension?i.tension:g.valueOrDefault(h.lineTension,u.tension),backgroundColor:i.backgroundColor?i.backgroundColor:h.backgroundColor||u.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:h.borderWidth||u.borderWidth,borderColor:i.borderColor?i.borderColor:h.borderColor||u.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:h.borderCapStyle||u.borderCapStyle,borderDash:i.borderDash?i.borderDash:h.borderDash||u.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:h.borderDashOffset||u.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:h.borderJoinStyle||u.borderJoinStyle,fill:i.fill?i.fill:void 0!==h.fill?h.fill:u.fill,steppedLine:i.steppedLine?i.steppedLine:g.valueOrDefault(h.steppedLine,u.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:g.valueOrDefault(h.cubicInterpolationMode,u.cubicInterpolationMode)},o.pivot()),e=0,n=s.length;e<n;++e)a.updateElement(s[e],e,t);for(c&&0!==o._model.tension&&a.updateBezierControlPoints(),e=0,n=s.length;e<n;++e)s[e].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=t.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=g.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=t.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=g.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=t.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||g.isArray(i.pointBorderWidth)?n=g.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(t,e,n){var i,a,r=this,o=r.getMeta(),s=t.custom||{},l=r.getDataset(),u=r.index,d=l.data[e],h=r.getScaleForId(o.yAxisID),c=r.getScaleForId(o.xAxisID),f=r.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),i=c.getPixelForValue("object"==typeof d?d:NaN,e,u),a=n?h.getBasePixel():r.calculatePointY(d,e,u),t._xScale=c,t._yScale=h,t._datasetIndex=u,t._index=e,t._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:s.radius||g.valueAtIndexOrDefault(l.pointRadius,e,f.radius),pointStyle:s.pointStyle||g.valueAtIndexOrDefault(l.pointStyle,e,f.pointStyle),backgroundColor:r.getPointBackgroundColor(t,e),borderColor:r.getPointBorderColor(t,e),borderWidth:r.getPointBorderWidth(t,e),tension:o.dataset._model?o.dataset._model.tension:0,steppedLine:!!o.dataset._model&&o.dataset._model.steppedLine,hitRadius:s.hitRadius||g.valueAtIndexOrDefault(l.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,n){var i,a=this.chart,r=this.getMeta(),o=this.getScaleForId(r.yAxisID),s=0,l=0;if(o.options.stacked){for(i=0;i<n;i++){var u,d,h=a.data.datasets[i];"line"===(d=a.getDatasetMeta(i)).type&&d.yAxisID===o.id&&a.isDatasetVisible(i)&&((u=Number(o.getRightValue(h.data[e])))<0?l+=u||0:s+=u||0)}var c=Number(o.getRightValue(t));return c<0?o.getPixelForValue(l+c):o.getPixelForValue(s+c)}return o.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,a=this.getMeta(),r=this.chart.chartArea,o=a.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}if(a.dataset._model.spanGaps&&(o=o.filter(function(t){return!t._model.skip})),"monotone"===a.dataset._model.cubicInterpolationMode)g.splineCurveMonotone(o);else for(t=0,e=o.length;t<e;++t)n=o[t]._model,i=g.splineCurve(g.previousItem(o,t)._model,n,g.nextItem(o,t)._model,a.dataset._model.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=o.length;t<e;++t)(n=o[t]._model).controlPointPreviousX=s(n.controlPointPreviousX,r.left,r.right),n.controlPointPreviousY=s(n.controlPointPreviousY,r.top,r.bottom),n.controlPointNextX=s(n.controlPointNextX,r.left,r.right),n.controlPointNextY=s(n.controlPointNextY,r.top,r.bottom)},draw:function(){var t=this.chart,e=this.getMeta(),n=e.data||[],i=t.chartArea,a=n.length,r=0;for(g.canvas.clipArea(t.ctx,i),f(this.getDataset(),t.options)&&e.dataset.draw(),g.canvas.unclipArea(t.ctx);r<a;++r)n[r].draw(i)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.radius=i.hoverRadius||g.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||g.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,g.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||g.valueAtIndexOrDefault(e.pointHoverBorderColor,n,g.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||g.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this,n=e.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=t._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),r.radius=a.radius||g.valueAtIndexOrDefault(n.pointRadius,i,e.chart.options.elements.point.radius),r.backgroundColor=e.getPointBackgroundColor(t,i),r.borderColor=e.getPointBorderColor(t,i),r.borderWidth=e.getPointBorderWidth(t,i)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),a=t(40),_=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[e].custom||{},r=_.valueAtIndexOrDefault,o=s.options.elements.arc;return{text:t,fillStyle:a.backgroundColor?a.backgroundColor:r(i.backgroundColor,e,o.backgroundColor),strokeStyle:a.borderColor?a.borderColor:r(i.borderColor,e,o.borderColor),lineWidth:a.borderWidth?a.borderWidth:r(i.borderWidth,e,o.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,a=this.chart,r=0,o=(a.data.datasets||[]).length;r<o;++r)(n=a.getDatasetMeta(r)).data[i].hidden=!n.data[i].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:a.Arc,linkScales:_.noop,update:function(n){var i=this,t=i.chart,e=t.chartArea,a=i.getMeta(),r=t.options,o=r.elements.arc,s=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max((s-o.borderWidth/2)/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),i.outerRadius=t.outerRadius-t.radiusLength*i.index,i.innerRadius=i.outerRadius-t.radiusLength,a.count=i.countVisibleElements(),_.each(a.data,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){for(var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,d=i.calculateCircumference(r.data[e]),h=l.xCenter,c=l.yCenter,f=0,g=i.getMeta(),m=0;m<e;++m)isNaN(r.data[m])||g.data[m].hidden||++f;var p=o.startAngle,v=t.hidden?0:l.getDistanceFromCenterForValue(r.data[e]),y=p+d*f,b=y+(t.hidden?0:d),x=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[e]);_.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{x:h,y:c,innerRadius:0,outerRadius:n?x:v,startAngle:n&&s.animateRotate?p:y,endAngle:n&&s.animateRotate?p:b,label:_.valueAtIndexOrDefault(u,e,u[e])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),t=this.getMeta(),i=0;return _.each(t.data,function(t,e){isNaN(n.data[e])||t.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return 0<e&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),u=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:u.noop,update:function(n){var i=this,t=i.getMeta(),e=t.dataset,a=t.data,r=e.custom||{},o=i.getDataset(),s=i.chart.options.elements.line,l=i.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),u.extend(t.dataset,{_datasetIndex:i.index,_scale:l,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:u.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),t.dataset.pivot(),u.each(a,function(t,e){i.updateElement(t,e,n)},i),i.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),o=i.chart.scale,s=i.chart.options.elements.point,l=o.getPointPositionForValue(e,r.data[e]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),u.extend(t,{_datasetIndex:i.index,_index:e,_scale:o,_model:{x:n?o.xCenter:l.x,y:n?o.yCenter:l.y,tension:a.tension?a.tension:u.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:u.valueAtIndexOrDefault(r.pointRadius,e,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:u.valueAtIndexOrDefault(r.pointBackgroundColor,e,s.backgroundColor),borderColor:a.borderColor?a.borderColor:u.valueAtIndexOrDefault(r.pointBorderColor,e,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:u.valueAtIndexOrDefault(r.pointBorderWidth,e,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:u.valueAtIndexOrDefault(r.pointStyle,e,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:u.valueAtIndexOrDefault(r.pointHitRadius,e,s.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var a=this.chart.chartArea,r=this.getMeta();u.each(r.data,function(t,e){var n=t._model,i=u.splineCurve(u.previousItem(r.data,e,!0)._model,n,u.nextItem(r.data,e,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(i.previous.x,a.right),a.left),n.controlPointPreviousY=Math.max(Math.min(i.previous.y,a.bottom),a.top),n.controlPointNextX=Math.max(Math.min(i.next.x,a.right),a.left),n.controlPointNextY=Math.max(Math.min(i.next.y,a.bottom),a.top),t.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model;a.radius=n.hoverRadius?n.hoverRadius:u.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:u.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,u.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:u.valueAtIndexOrDefault(e.pointHoverBorderColor,i,u.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:u.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:u.valueAtIndexOrDefault(e.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:u.valueAtIndexOrDefault(e.pointBackgroundColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:u.valueAtIndexOrDefault(e.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:u.valueAtIndexOrDefault(e.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:r.noop,onComplete:r.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,r,o=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=r.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=r.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;1<t.dropFrames&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a<i.length;)n=(e=i[a]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),r.callback(e.render,[n,e],n),r.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(r.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var h=t(25),c=t(45),a=t(28),r=t(30),f=t(48),l=t(31);e.exports=function(u){function d(t){return"top"===t||"bottom"===t}u.types={},u.instances={},u.controllers={},c.extend(u.prototype,{construct:function(t,e){var n,i,a=this;(i=(n=(n=e)||{}).data=n.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],n.options=c.configMerge(h.global,h[n.type],n.options||{}),e=n;var r=f.acquireContext(t,e),o=r&&r.canvas,s=o&&o.height,l=o&&o.width;a.id=c.uid(),a.ctx=r,a.canvas=o,a.config=e,a.width=l,a.height=s,a.aspectRatio=s?l/s:null,a.options=e.options,a._bufferedRender=!1,(a.chart=a).controller=a,u.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(t){a.config.data=t}}),r&&o?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),c.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return c.canvas.clear(this),this},stop:function(){return u.animationService.cancelAnimation(this),this},resize:function(t){var e,n=this,i=n.options,a=n.canvas,r=i.maintainAspectRatio&&n.aspectRatio||null,o=Math.max(0,Math.floor(c.getMaximumWidth(a))),s=Math.max(0,Math.floor(r?o/r:c.getMaximumHeight(a)));n.width===o&&n.height===s||(a.width=n.width=o,a.height=n.height=s,a.style.width=o+"px",a.style.height=s+"px",c.retinaScale(n,i.devicePixelRatio),t||(e={width:o,height:s},l.notify(n,"resize",[e]),n.options.onResize&&n.options.onResize(n,e),n.stop(),n.update(n.options.responsiveAnimationDuration)))},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;c.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),c.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var o=this,t=o.options,s=o.scales||{},e=[],l=Object.keys(s).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),c.each(e,function(t){var e=t.options,n=e.id,i=c.valueOrDefault(e.type,t.dtype);d(e.position)!==d(t.dposition)&&(e.position=t.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===i)(a=s[n]).options=e,a.ctx=o.ctx,a.chart=o;else{var r=u.scaleService.getScaleConstructor(i);if(!r)return;a=new r({id:n,type:i,options:e,ctx:o.ctx,chart:o}),s[a.id]=a}a.mergeTicksOptions(),t.isDefault&&(o.scale=a)}),c.each(l,function(t,e){t||delete s[e]}),o.scales=s,u.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var r=this,o=[],s=[];return c.each(r.data.datasets,function(t,e){var n=r.getDatasetMeta(e),i=t.type||r.config.type;if(n.type&&n.type!==i&&(r.destroyDatasetMeta(e),n=r.getDatasetMeta(e)),n.type=i,o.push(n.type),n.controller)n.controller.updateIndex(e),n.controller.linkScales();else{var a=u.controllers[n.type];if(void 0===a)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new a(r,e),s.push(n.controller)}},r),s},resetElements:function(){var n=this;c.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i,a=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n=(e=a).options,c.each(e.scales,function(t){r.removeBox(e,t)}),n=c.configMerge(u.defaults.global,u.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize(),l._invalidate(a),!1!==l.notify(a,"beforeUpdate")&&(a.tooltip._data=a.data,i=a.buildOrUpdateControllers(),c.each(a.data.datasets,function(t,e){a.getDatasetMeta(e).controller.buildOrUpdateElements()},a),a.updateLayout(),a.options.animation&&a.options.animation.duration&&c.each(i,function(t){t.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],l.notify(a,"afterUpdate"),a._bufferedRender?a._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:a.render(t))},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(r.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==l.notify(this,"beforeDatasetUpdate",[n])&&(e.controller.update(),l.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=t.duration,i=t.lazy;if(!1!==l.notify(e,"beforeRender")){var a,r=e.options.animation,o=function(t){l.notify(e,"afterRender"),c.callback(r&&r.onComplete,[t],e)};return r&&(void 0!==n&&0!==n||void 0===n&&0!==r.duration)?(a=new u.Animation({numSteps:(n||r.duration)/16.66,easing:t.easing||r.easing,render:function(t,e){var n=c.easing.effects[e.easing],i=e.currentStep,a=i/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:r.onProgress,onAnimationComplete:o}),u.animationService.addAnimation(e,a,n,i)):(e.draw(),o(new u.Animation({numSteps:0,chart:e}))),e}},draw:function(t){var e=this;e.clear(),c.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==l.notify(e,"beforeDraw",[t])&&(c.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),l.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==l.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;0<=n;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),l.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return a.modes.single(this,t)},getElementsAtEvent:function(t){return a.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return a.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=a.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return a.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];return e._meta||(e._meta={}),e._meta[this.id]||(e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null})},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),c.canvas.clear(n),f.releaseContext(n.ctx),n.canvas=null,n.ctx=null),l.notify(n,"destroy"),delete u.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new u.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this,n=e._listeners={},i=function(){e.eventHandler.apply(e,arguments)};c.each(e.options.events,function(t){f.addEventListener(e,t,i),n[t]=i}),e.options.responsive&&(i=function(){e.resize()},f.addEventListener(e,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,t=n._listeners;t&&(delete n._listeners,c.each(t,function(t,e){f.removeEventListener(n,e,t)}))},updateHoverStyle:function(t,e,n){for(var i,a=n?"setHoverStyle":"removeHoverStyle",r=0,o=t.length;r<o;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[a](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==l.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),l.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,a.mode,a),c.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e=!c.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),u.Controller=u}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(t,e,n){"use strict";var s=t(45);e.exports=function(t){var r=["push","pop","shift","splice","unshift"];function o(e,t){var n,i,a=e._chartjs;a&&(-1!==(i=(n=a.listeners).indexOf(t))&&n.splice(i,1),0<n.length||(r.forEach(function(t){delete e[t]}),delete e._chartjs))}t.DatasetController=function(t,e){this.initialize(t,e)},s.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&o(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){for(var t=this.getMeta(),e=this.getDataset().data||[],n=t.data,i=0,a=e.length;i<a;++i)n[i]=n[i]||this.createMetaData(i);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var a,t,e=this,n=e.getDataset(),i=n.data||(n.data=[]);e._data!==i&&(e._data&&o(e._data,e),t=e,(a=i)._chartjs?a._chartjs.listeners.push(t):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),r.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=a[t];Object.defineProperty(a,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=i.apply(this,e);return s.each(a._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),t}})})),e._data=i),e.resyncElements()},update:s.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=s.valueAtIndexOrDefault,o=t._model;o.backgroundColor=a.backgroundColor?a.backgroundColor:r(n.backgroundColor,i,e.backgroundColor),o.borderColor=a.borderColor?a.borderColor:r(n.borderColor,i,e.borderColor),o.borderWidth=a.borderWidth?a.borderWidth:r(n.borderWidth,i,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=s.valueAtIndexOrDefault,r=s.getHoverColor,o=t._model;o.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:a(e.hoverBackgroundColor,n,r(o.backgroundColor)),o.borderColor=i.hoverBorderColor?i.hoverBorderColor:a(e.hoverBorderColor,n,r(o.borderColor)),o.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:a(e.hoverBorderWidth,n,o.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=s.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";var g=t(2),i=t(45);function a(t){i.extend(this,t),this.initialize.apply(this,arguments)}i.extend(a.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=i.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,a=e._view;return n&&1!==t?(a=a||(e._view={}),function(t,e,n,i){for(var a,r,o,s,l,u,d,h=Object.keys(n),c=0,f=h.length;c<f;++c)if(s=n[a=h[c]],e.hasOwnProperty(a)||(e[a]=s),(r=e[a])!==s&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=r),(l=typeof s)==typeof(o=t[a]))if("string"==l){if((u=g(o)).valid&&(d=g(s)).valid){e[a]=d.mix(u,i).rgbString();continue}}else if("number"==l&&isFinite(o)&&isFinite(s)){e[a]=o+(s-o)*i;continue}e[a]=s}}(i=i||(e._start={}),a,n,t)):(e._view=n,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return i.isNumber(this._model.x)&&i.isNumber(this._model.y)}}),a.extend=i.inherits,e.exports=a},{2:2,45:45}],27:[function(t,e,n){"use strict";var i=t(2),a=t(25),g=t(45);e.exports=function(l){function d(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function h(t){return null!=t&&"none"!==t}function e(t,e,n){var i=document.defaultView,a=t.parentNode,r=i.getComputedStyle(t)[e],o=i.getComputedStyle(a)[e],s=h(r),l=h(o),u=Number.POSITIVE_INFINITY;return s||l?Math.min(s?d(r,t,n):u,l?d(o,a,n):u):"none"}g.configMerge=function(){return g.merge(g.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){var a=e[t]||{},r=n[t];"scales"===t?e[t]=g.scaleMerge(a,r):"scale"===t?e[t]=g.merge(a,[l.scaleService.getScaleDefaults(r.type),r]):g._merger(t,e,n,i)}})},g.scaleMerge=function(){return g.merge(g.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,r,o,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)o=n[t][a],r=g.valueOrDefault(o.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!==e[t][a].type?g.merge(e[t][a],[l.scaleService.getScaleDefaults(r),o]):g.merge(e[t][a],o)}else g._merger(t,e,n,i)}})},g.where=function(t,e){if(g.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return g.each(t,function(t){e(t)&&n.push(t)}),n},g.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},g.findNextWhere=function(t,e,n){g.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},g.findPreviousWhere=function(t,e,n){g.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;0<=i;i--){var a=t[i];if(e(a))return a}},g.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g.almostEquals=function(t,e,n){return Math.abs(t-e)<n},g.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&t<n+e},g.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},g.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},g.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:0<t?1:-1},g.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},g.toRadians=function(t){return t*(Math.PI/180)},g.toDegrees=function(t){return t*(180/Math.PI)},g.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},g.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},g.aliasPixel=function(t){return t%2==0?0:.5},g.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),h=i*(u=isNaN(u)?0:u),c=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},g.EPSILON=Number.EPSILON||1e-14,g.splineCurveMonotone=function(t){for(var e,n,i,a,r,o,s,l,u,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=d.length,c=0;c<h;++c){(e=d[c]).model.skip||(i=0<c?d[c-1]:null,(a=c<h-1?d[c+1]:null)&&!a.model.skip&&(n=a.model.x-e.model.x,e.deltaK=0!=n?(a.model.y-e.model.y)/n:0),!i||i.model.skip?e.mK=e.deltaK:!a||a.model.skip?e.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(e.deltaK)?e.mK=0:e.mK=(i.deltaK+e.deltaK)/2)}for(c=0;c<h-1;++c)e=d[c],a=d[c+1],e.model.skip||a.model.skip||(g.almostEquals(e.deltaK,0,this.EPSILON)?e.mK=a.mK=0:(r=e.mK/e.deltaK,o=a.mK/e.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),e.mK=r*s*e.deltaK,a.mK=o*s*e.deltaK)));for(c=0;c<h;++c)(e=d[c]).model.skip||(i=0<c?d[c-1]:null,a=c<h-1?d[c+1]:null,i&&!i.model.skip&&(u=(e.model.x-i.model.x)/3,e.model.controlPointPreviousX=e.model.x-u,e.model.controlPointPreviousY=e.model.y-u*e.mK),a&&!a.model.skip&&(u=(a.model.x-e.model.x)/3,e.model.controlPointNextX=e.model.x+u,e.model.controlPointNextY=e.model.y+u*e.mK))},g.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},g.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},g.niceNum=function(t,e){var n=Math.floor(g.log10(t)),i=t/Math.pow(10,n),a=e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10;return a*Math.pow(10,n)},g.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},g.getRelativePosition=function(t,e){var n=t.originalEvent||t,i=t.currentTarget||t.srcElement,a=i.getBoundingClientRect(),r=n.touches,o=r&&0<r.length?(f=r[0].clientX,r[0].clientY):(f=n.clientX,n.clientY),s=parseFloat(g.getStyle(i,"padding-left")),l=parseFloat(g.getStyle(i,"padding-top")),u=parseFloat(g.getStyle(i,"padding-right")),d=parseFloat(g.getStyle(i,"padding-bottom")),h=a.right-a.left-s-u,c=a.bottom-a.top-l-d,f=Math.round((f-a.left-s)/h*i.width/e.currentDevicePixelRatio);return{x:f,y:o=Math.round((o-a.top-l)/c*i.height/e.currentDevicePixelRatio)}},g.getConstraintWidth=function(t){return e(t,"max-width","clientWidth")},g.getConstraintHeight=function(t){return e(t,"max-height","clientHeight")},g.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(g.getStyle(e,"padding-left"),10),i=parseInt(g.getStyle(e,"padding-right"),10),a=e.clientWidth-n-i,r=g.getConstraintWidth(t);return isNaN(r)?a:Math.min(a,r)},g.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(g.getStyle(e,"padding-top"),10),i=parseInt(g.getStyle(e,"padding-bottom"),10),a=e.clientHeight-n-i,r=g.getConstraintHeight(t);return isNaN(r)?a:Math.min(a,r)},g.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},g.retinaScale=function(t,e){var n,i,a,r=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;1!==r&&(n=t.canvas,i=t.height,a=t.width,n.height=i*r,n.width=a*r,t.ctx.scale(r,r),n.style.height||n.style.width||(n.style.height=i+"px",n.style.width=a+"px"))},g.fontString=function(t,e,n){return e+" "+t+"px "+n},g.longestText=function(e,t,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(a=i.data={},r=i.garbageCollect=[],i.font=t),e.font=t;var o=0;g.each(n,function(t){null!=t&&!0!==g.isArray(t)?o=g.measureText(e,a,r,o,t):g.isArray(t)&&g.each(t,function(t){null==t||g.isArray(t)||(o=g.measureText(e,a,r,o,t))})});var s=r.length/2;if(s>n.length){for(var l=0;l<s;l++)delete a[r[l]];r.splice(0,s)}return o},g.measureText=function(t,e,n,i,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,n.push(a)),i<r&&(i=r),i},g.numberOfLabelLines=function(t){var e=1;return g.each(t,function(t){g.isArray(t)&&t.length>e&&(e=t.length)}),e},g.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},g.getHoverColor=function(t){return t instanceof CanvasPattern?t:g.color(t).saturate(.5).darken(.1).rgbString()}}},{2:2,25:25,45:45}],28:[function(t,e,n){"use strict";var i=t(45);function s(t,e){return t.native?{x:t.x,y:t.y}:i.getRelativePosition(t,e)}function l(t,e){for(var n,i,a,r=0,o=t.data.datasets.length;r<o;++r)if(t.isDatasetVisible(r))for(i=0,a=(n=t.getDatasetMeta(r)).data.length;i<a;++i){var s=n.data[i];s._view.skip||e(s)}}function u(t,e){var n=[];return l(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function d(t,i,a,r){var o=Number.POSITIVE_INFINITY,s=[];return l(t,function(t){var e,n;a&&!t.inRange(i.x,i.y)||(e=t.getCenterPoint(),(n=r(i,e))<o?(s=[t],o=n):n===o&&s.push(t))}),s}function h(t){var a=-1!==t.indexOf("x"),r=-1!==t.indexOf("y");return function(t,e){var n=a?Math.abs(t.x-e.x):0,i=r?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function a(i,t,e){var n=s(t,i);e.axis=e.axis||"x";var a=h(e.axis),r=e.intersect?u(i,n):d(i,n,!1,a),o=[];return r.length?(i.data.datasets.forEach(function(t,e){var n;!i.isDatasetVisible(e)||(n=i.getDatasetMeta(e).data[r[0]._index])&&!n._view.skip&&o.push(n)}),o):[]}e.exports={modes:{single:function(t,e){var n=s(e,t),i=[];return l(t,function(t){return t.inRange(n.x,n.y)&&(i.push(t),i)}),i.slice(0,1)},label:a,index:a,dataset:function(t,e,n){var i=s(e,t);n.axis=n.axis||"xy";var a=h(n.axis),r=n.intersect?u(t,i):d(t,i,!1,a);return 0<r.length&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return a(t,e,{intersect:!1})},point:function(t,e){return u(t,s(e,t))},nearest:function(t,e,n){var i=s(e,t);n.axis=n.axis||"xy";var a=h(n.axis),r=d(t,i,n.intersect,a);return 1<r.length&&r.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),r.slice(0,1)},x:function(t,e,n){var i=s(e,t),a=[],r=!1;return l(t,function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a},y:function(t,e,n){var i=s(e,t),a=[],r=!1;return l(t,function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){function t(t,e){return this.construct(t,e),this}return t.Chart=t}},{25:25}],30:[function(t,e,n){"use strict";var N=t(45);function z(t,e){return N.where(t,function(t){return t.position===e})}function H(t,a){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,e){var n=a?e:t,i=a?t:e;return n.weight===i.weight?n._tmpIndex_-i._tmpIndex_:n.weight-i.weight}),t.forEach(function(t){delete t._tmpIndex_})}e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(e,n,t){var i,a,r,o,s,l,u,d,h,c,f,g,m,p,v,y,b,x,_,k,w,M,S,D,C,P,T,O,I,A,F,R,L;function W(e){var t,n=N.findNextWhere(_,function(t){return t.box===e});n&&(e.isHorizontal()?(t={left:Math.max(D,k),right:Math.max(C,w),top:0,bottom:0},e.update(e.fullWidth?g:b,m/2,t)):e.update(n.minSize.width,x))}function Y(t){t.isHorizontal()?(t.left=t.fullWidth?r:D,t.right=t.fullWidth?n-o:D+b,t.top=L,t.bottom=L+t.height,L=t.bottom):(t.left=R,t.right=R+t.width,t.top=P,t.bottom=P+x,R=t.right)}e&&(i=e.options.layout||{},a=N.options.toPadding(i.padding),r=a.left,o=a.right,s=a.top,l=a.bottom,u=z(e.boxes,"left"),d=z(e.boxes,"right"),h=z(e.boxes,"top"),c=z(e.boxes,"bottom"),f=z(e.boxes,"chartArea"),H(u,!0),H(d,!1),H(h,!0),H(c,!1),p=(m=t-s-l)/2,v=(n-(g=n-r-o)/2)/(u.length+d.length),y=(t-p)/(h.length+c.length),b=g,x=m,_=[],N.each(u.concat(d,h,c),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?g:b,y),x-=e.height):(e=t.update(v,x),b-=e.width),_.push({horizontal:n,minSize:e,box:t})}),S=M=w=k=0,N.each(h.concat(c),function(t){var e;t.getPadding&&(e=t.getPadding(),k=Math.max(k,e.left),w=Math.max(w,e.right))}),N.each(u.concat(d),function(t){var e;t.getPadding&&(e=t.getPadding(),M=Math.max(M,e.top),S=Math.max(S,e.bottom))}),D=r,C=o,P=s,T=l,N.each(u.concat(d),W),N.each(u,function(t){D+=t.width}),N.each(d,function(t){C+=t.width}),N.each(h.concat(c),W),N.each(h,function(t){P+=t.height}),N.each(c,function(t){T+=t.height}),N.each(u.concat(d),function(e){var t=N.findNextWhere(_,function(t){return t.box===e}),n={left:0,right:0,top:P,bottom:T};t&&e.update(t.minSize.width,x,n)}),D=r,C=o,P=s,T=l,N.each(u,function(t){D+=t.width}),N.each(d,function(t){C+=t.width}),N.each(h,function(t){P+=t.height}),N.each(c,function(t){T+=t.height}),O=Math.max(k-D,0),D+=O,C+=Math.max(w-C,0),I=Math.max(M-P,0),P+=I,T+=Math.max(S-T,0),A=t-P-T,(F=n-D-C)===b&&A===x||(N.each(u,function(t){t.height=A}),N.each(d,function(t){t.height=A}),N.each(h,function(t){t.fullWidth||(t.width=F)}),N.each(c,function(t){t.fullWidth||(t.width=F)}),x=A,b=F),R=r+O,L=s+I,N.each(u.concat(h),Y),R+=b,L+=x,N.each(d,Y),N.each(c,Y),e.chartArea={left:D,top:P,right:D+b,bottom:P+x},N.each(f,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(b,x)}))}}},{45:45}],31:[function(t,e,n){"use strict";var o=t(25),s=t(45);o._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var n=this._plugins;[].concat(t).forEach(function(t){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){for(var i,a,r,o,s=this.descriptors(t),l=s.length,u=0;u<l;++u)if("function"==typeof(o=(a=(i=s[u]).plugin)[e])&&((r=[t].concat(n||[])).push(i.options),!1===o.apply(a,r)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var i=[],a=[],n=t&&t.config||{},r=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(t){var e,n;-1===i.indexOf(t)&&(e=t.id,!1!==(n=r[e])&&(!0===n&&(n=s.clone(o.global.plugins[e])),i.push(t),a.push({plugin:t,options:n||{}})))}),e.descriptors=a,e.id=this._cacheId,a},_invalidate:function(t){delete t.$plugins}}},{25:25,45:45}],32:[function(t,e,n){"use strict";var x=t(25),i=t(26),B=t(45),a=t(34);function M(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(t[n].label);return e}function E(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}x._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:a.formatters.values,minor:{},major:{}}}),e.exports=function(t){function _(t,e,n){return B.isArray(e)?B.longestText(t,n,e):t.measureText(e).width}function k(t){var e=B.valueOrDefault,n=x.global,i=e(t.fontSize,n.defaultFontSize),a=e(t.fontStyle,n.defaultFontStyle),r=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:r,font:B.fontString(i,a,r)}}function w(t){return B.options.toLineHeight(B.valueOrDefault(t.lineHeight,1.2),B.valueOrDefault(t.fontSize,x.global.defaultFontSize))}t.Scale=i.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t,e=this.options.ticks;for(t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,r,o,s,l,u=this;for(u.beforeUpdate(),u.maxWidth=t,u.maxHeight=e,u.margins=B.extend({left:0,right:0,top:0,bottom:0},n),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),s=u.buildTicks()||[],u.afterBuildTicks(),u.beforeTickToLabelConversion(),r=u.convertTicksToLabels(s)||u.ticks,u.afterTickToLabelConversion(),i=0,a=(u.ticks=r).length;i<a;++i)o=r[i],(l=s[i])?l.label=o:s.push(l={label:o,major:!1});return u._ticks=s,u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(){B.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,n=t.options.ticks,i=M(t._ticks),a=k(n);e.font=a.font;var r=n.minRotation||0;if(i.length&&t.options.display&&t.isHorizontal())for(var o=B.longestText(e,a.font,i,t.longestTextCache),s=o,l=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l<s&&r<n.maxRotation;){var u=B.toRadians(r),d=Math.cos(u);if(Math.sin(u)*o>t.maxHeight){r--;break}r++,s=d*o}t.labelRotation=r},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t,e,n,i,a,r,o,s,l,u,d=this,h=d.minSize={width:0,height:0},c=M(d._ticks),f=d.options,g=f.ticks,m=f.scaleLabel,p=f.gridLines,v=f.display,y=d.isHorizontal(),b=k(g),x=f.gridLines.tickMarkLength;h.width=y?d.isFullWidth()?d.maxWidth-d.margins.left-d.margins.right:d.maxWidth:v&&p.drawTicks?x:0,h.height=y?v&&p.drawTicks?x:0:d.maxHeight,m.display&&v&&(t=w(m)+B.options.toPadding(m.padding).height,y?h.height+=t:h.width+=t),g.display&&v&&(e=B.longestText(d.ctx,b.font,c,d.longestTextCache),n=B.numberOfLabelLines(c),i=.5*b.size,a=d.options.ticks.padding,y?(d.longestLabelWidth=e,r=B.toRadians(d.labelRotation),o=Math.cos(r),s=Math.sin(r)*e+b.size*n+i*(n-1)+i,h.height=Math.min(d.maxHeight,h.height+s+a),d.ctx.font=b.font,l=_(d.ctx,c[0],b.font),u=_(d.ctx,c[c.length-1],b.font),0!==d.labelRotation?(d.paddingLeft="bottom"===f.position?o*l+3:o*i+3,d.paddingRight="bottom"===f.position?o*i+3:o*u+3):(d.paddingLeft=l/2+3,d.paddingRight=u/2+3)):(g.mirror?e=0:e+=a+i,h.width=Math.min(d.maxWidth,h.width+e),d.paddingTop=b.size/2,d.paddingBottom=b.size/2)),d.handleMargins(),d.width=h.width,d.height=h.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(B.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);var r=e.left+Math.round(a);return r+=e.isFullWidth()?e.margins.left:0}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,n,i,a,r=this,o=r.isHorizontal(),s=r.options.ticks.minor,l=t.length,u=B.toRadians(r.labelRotation),d=Math.cos(u),h=r.longestLabelWidth*d,c=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),o&&(e=!1,(h+s.autoSkipPadding)*l>r.width-(r.paddingLeft+r.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*l/(r.width-(r.paddingLeft+r.paddingRight)))),a&&a<l&&(e=Math.max(e,Math.floor(l/a)))),n=0;n<l;n++)i=t[n],(1<e&&0<n%e||n%e==0&&l<=n+e)&&n!==l-1&&delete i.label,c.push(i);return c},draw:function(S){var o,D,C,t,P,e,T,O,I,s,l,u,d,A,n,i,a,F,R,L,W,Y,N,z,r,h,c,f,g,m,p,v,y,b,H=this,V=H.options;V.display&&(o=H.ctx,D=x.global,C=V.ticks.minor,t=V.ticks.major||C,P=V.gridLines,e=V.scaleLabel,T=0!==H.labelRotation,O=H.isHorizontal(),I=C.autoSkip?H._autoSkip(H.getTicks()):H.getTicks(),s=B.valueOrDefault(C.fontColor,D.defaultFontColor),l=k(C),u=B.valueOrDefault(t.fontColor,D.defaultFontColor),d=k(t),A=P.drawTicks?P.tickMarkLength:0,n=B.valueOrDefault(e.fontColor,D.defaultFontColor),i=k(e),a=B.options.toPadding(e.padding),F=B.toRadians(H.labelRotation),R=[],L=H.options.gridLines.lineWidth,W="right"===V.position?H.right:H.right-L-A,Y="right"===V.position?H.right+A:H.right,N="bottom"===V.position?H.top+L:H.bottom-A-L,z="bottom"===V.position?H.top+L+A:H.bottom+L,B.each(I,function(t,e){var n,i,a,r,o,s,l,u,d,h,c,f,g,m,p,v,y,b,x,_,k,w,M;B.isNullOrUndef(t.label)||(n=t.label,g=e===H.zeroLineIndex&&V.offset===P.offsetGridLines?(i=P.zeroLineWidth,a=P.zeroLineColor,r=P.zeroLineBorderDash,P.zeroLineBorderDashOffset):(i=B.valueAtIndexOrDefault(P.lineWidth,e),a=B.valueAtIndexOrDefault(P.color,e),r=B.valueOrDefault(P.borderDash,D.borderDash),B.valueOrDefault(P.borderDashOffset,D.borderDashOffset)),p=m="middle",v=C.padding,O?(y=A+v,b="bottom"===V.position?(p=T?"middle":"top",m=T?"right":"center",H.top+y):(p=T?"middle":"bottom",m=T?"left":"center",H.bottom-y),(x=E(H,e,P.offsetGridLines&&1<I.length))<H.left&&(a="rgba(0,0,0,0)"),x+=B.aliasPixel(i),w=H.getPixelForTick(e)+C.labelOffset,o=l=d=c=x,s=N,u=z,h=S.top,f=S.bottom+L):(_="left"===V.position,k=C.mirror?(m=_?"left":"right",v):(m=_?"right":"left",A+v),w=_?H.right-k:H.left+k,(M=E(H,e,P.offsetGridLines&&1<I.length))<H.top&&(a="rgba(0,0,0,0)"),M+=B.aliasPixel(i),b=H.getPixelForTick(e)+C.labelOffset,o=W,l=Y,d=S.left,c=S.right+L,s=u=h=f=M),R.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,labelX:w,labelY:b,glWidth:i,glColor:a,glBorderDash:r,glBorderDashOffset:g,rotation:-1*F,label:n,major:t.major,textBaseline:p,textAlign:m}))}),B.each(R,function(t){if(P.display&&(o.save(),o.lineWidth=t.glWidth,o.strokeStyle=t.glColor,o.setLineDash&&(o.setLineDash(t.glBorderDash),o.lineDashOffset=t.glBorderDashOffset),o.beginPath(),P.drawTicks&&(o.moveTo(t.tx1,t.ty1),o.lineTo(t.tx2,t.ty2)),P.drawOnChartArea&&(o.moveTo(t.x1,t.y1),o.lineTo(t.x2,t.y2)),o.stroke(),o.restore()),C.display){o.save(),o.translate(t.labelX,t.labelY),o.rotate(t.rotation),o.font=t.major?d.font:l.font,o.fillStyle=t.major?u:s,o.textBaseline=t.textBaseline,o.textAlign=t.textAlign;var e=t.label;if(B.isArray(e))for(var n=e.length,i=1.5*l.size,a=H.isHorizontal()?0:-i*(n-1)/2,r=0;r<n;++r)o.fillText(""+e[r],0,a),a+=i;else o.fillText(e,0,0);o.restore()}}),e.display&&(g=0,r=w(e)/2,O?(c=H.left+(H.right-H.left)/2,f="bottom"===V.position?H.bottom-r-a.bottom:H.top+r+a.top):(c=(h="left"===V.position)?H.left+r+a.top:H.right-r-a.top,f=H.top+(H.bottom-H.top)/2,g=h?-.5*Math.PI:.5*Math.PI),o.save(),o.translate(c,f),o.rotate(g),o.textAlign="center",o.textBaseline="middle",o.fillStyle=n,o.font=i.font,o.fillText(e.labelString,0,0),o.restore()),P.drawBorder&&(o.lineWidth=B.valueAtIndexOrDefault(P.lineWidth,0),o.strokeStyle=B.valueAtIndexOrDefault(P.color,0),m=H.left,p=H.right+L,v=H.top,y=H.bottom+L,b=B.aliasPixel(o.lineWidth),O?(v=y="top"===V.position?H.bottom:H.top,v+=b,y+=b):(m=p="left"===V.position?H.right:H.left,m+=b,p+=b),o.beginPath(),o.moveTo(m,v),o.lineTo(p,y),o.stroke()))}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),a=t(45),r=t(30);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=a.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=a.extend(this.defaults[t],e))},addScalesToLayout:function(e){a.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,r.addBox(e,t)})}}}},{25:25,30:30,45:45}],34:[function(t,e,n){"use strict";var o=t(45);e.exports={formatters:{values:function(t){return o.isArray(t)?t:""+t},linear:function(t,e,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(i)&&t!==Math.floor(t)&&(i=t-Math.floor(t));var a,r=o.log10(Math.abs(i));return 0!==t?(a=-1*Math.floor(r),a=Math.max(Math.min(a,20),0),t.toFixed(a)):"0"},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(o.log10(t)));return 0===t?"0":1==i||2==i||5==i||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),Y=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Y.noop,title:function(t,e){var n,i="",a=e.labels,r=a?a.length:0;return 0<t.length&&((n=t[0]).xLabel?i=n.xLabel:0<r&&n.index<r&&(i=a[n.index])),i},afterTitle:Y.noop,beforeBody:Y.noop,beforeLabel:Y.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Y.noop,afterBody:Y.noop,beforeFooter:Y.noop,footer:Y.noop,afterFooter:Y.noop}}}),e.exports=function(R){function c(t,e){var n=Y.color(t);return n.alpha(e*n.alpha()).rgbaString()}function o(t,e){return e&&(Y.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function L(t){var e=i.global,n=Y.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function W(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,r=e.body,o=r.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*h,i+=l?(l-1)*e.footerSpacing:0;function c(t){a=Math.max(a,n.measureText(t).width+f)}var f=0;return n.font=Y.fontString(u,e._titleFontStyle,e._titleFontFamily),Y.each(e.title,c),n.font=Y.fontString(d,e._bodyFontStyle,e._bodyFontFamily),Y.each(e.beforeBody.concat(e.afterBody),c),f=e.displayColors?d+2:0,Y.each(r,function(t){Y.each(t.before,c),Y.each(t.lines,c),Y.each(t.after,c)}),f=0,n.font=Y.fontString(h,e._footerFontStyle,e._footerFontFamily),Y.each(e.footer,c),{width:a+=2*e.xPadding,height:i}}R.Tooltip=a.extend({initialize:function(){this._model=L(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),a=o(a=[],e);return a=o(a,n),a=o(a,i)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return Y.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,n){var i=this,a=i._options.callbacks,r=[];return Y.each(t,function(t){var e={before:[],lines:[],after:[]};o(e.before,a.beforeLabel.call(i,t,n)),o(e.lines,a.label.call(i,t,n)),o(e.after,a.afterLabel.call(i,t,n)),r.push(e)}),r},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return Y.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),a=o(a=[],e);return a=o(a,n),a=o(a,i)},update:function(t){var e,n,i,a,r,o,s,l,u,d,h,c,f,g,m,p,v,y,b=this,x=b._options,_=b._model,k=b._model=L(x),w=b._active,M=b._data,S={xAlign:_.xAlign,yAlign:_.yAlign},D={x:_.x,y:_.y},C={width:_.width,height:_.height},P={x:_.caretX,y:_.caretY};if(w.length){k.opacity=1;for(var T=[],O=[],P=R.Tooltip.positioners[x.position].call(b,w,b._eventPosition),I=[],A=0,F=w.length;A<F;++A)I.push((g=w[A],y=v=p=m=void 0,m=g._xScale,p=g._yScale||g._scale,v=g._index,y=g._datasetIndex,{xLabel:m?m.getLabelForIndex(v,y):"",yLabel:p?p.getLabelForIndex(v,y):"",index:v,datasetIndex:y,x:g._model.x,y:g._model.y}));x.filter&&(I=I.filter(function(t){return x.filter(t,M)})),x.itemSort&&(I=I.sort(function(t,e){return x.itemSort(t,e,M)})),Y.each(I,function(t){T.push(x.callbacks.labelColor.call(b,t,b._chart)),O.push(x.callbacks.labelTextColor.call(b,t,b._chart))}),k.title=b.getTitle(I,M),k.beforeBody=b.getBeforeBody(I,M),k.body=b.getBody(I,M),k.afterBody=b.getAfterBody(I,M),k.footer=b.getFooter(I,M),k.x=Math.round(P.x),k.y=Math.round(P.y),k.caretPadding=x.caretPadding,k.labelColors=T,k.labelTextColors=O,k.dataPoints=I,S=function(t,e){var n,i=t._model,a=t._chart,r=t._chart.chartArea,o="center",s="center";i.y<e.height?s="top":i.y>a.height-e.height&&(s="bottom");var l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d="center"===s?(n=function(t){return t<=l},function(t){return l<t}):(n=function(t){return t<=e.width/2},function(t){return t>=a.width-e.width/2}),h=function(t){return t+e.width+i.caretSize+i.caretPadding>a.width},c=function(t){return t-e.width-i.caretSize-i.caretPadding<0},f=function(t){return t<=u?"top":"bottom"};n(i.x)?(o="left",h(i.x)&&(o="center",s=f(i.y))):d(i.x)&&(o="right",c(i.x)&&(o="center",s=f(i.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:o,yAlign:g.yAlign?g.yAlign:s}}(this,C=W(this,k)),e=k,n=C,i=S,a=b._chart,r=e.x,o=e.y,s=e.caretSize,l=e.caretPadding,u=e.cornerRadius,d=i.xAlign,h=i.yAlign,c=s+l,f=u+l,"right"===d?r-=n.width:"center"===d&&((r-=n.width/2)+n.width>a.width&&(r=a.width-n.width),r<0&&(r=0)),"top"===h?o+=c:o-="bottom"===h?n.height+c:n.height/2,"center"===h?"left"===d?r+=c:"right"===d&&(r-=c):"left"===d?r-=f:"right"===d&&(r+=f),D={x:r,y:o}}else k.opacity=0;return k.xAlign=S.xAlign,k.yAlign=S.yAlign,k.x=D.x,k.y=D.y,k.width=C.width,k.height=C.height,k.caretX=P.x,k.caretY=P.y,b._model=k,t&&x.custom&&x.custom.call(b,k),b},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u,d=n.caretSize,h=n.cornerRadius,c=n.xAlign,f=n.yAlign,g=t.x,m=t.y,p=e.width,v=e.height;return"center"===f?(r=m+v/2,o="left"===c?(i=(u=g)-d,l=u,a=r+d,r-d):(i=(u=g+p)+d,l=u,a=r-d,r+d)):(l=(u="left"===c?(i=g+h+d)-d:"right"===c?(i=g+p-h-d)-d:(i=n.caretX)-d,i+d),"top"===f?(r=(a=m)-d,o=a):(r=(a=m+v)+d,o=a,s=l,l=u,u=s)),{x1:u,x2:i,x3:l,y1:a,y2:r,y3:o}},drawTitle:function(t,e,n,i){var a=e.title;if(a.length){n.textAlign=e._titleAlign,n.textBaseline="top";var r,o,s=e.titleFontSize,l=e.titleSpacing;for(n.fillStyle=c(e.titleFontColor,i),n.font=Y.fontString(s,e._titleFontStyle,e._titleFontFamily),r=0,o=a.length;r<o;++r)n.fillText(a[r],t.x,t.y),t.y+=s+l,r+1===a.length&&(t.y+=e.titleMarginBottom-l)}},drawBody:function(i,a,r,o){var s=a.bodyFontSize,e=a.bodySpacing,t=a.body;r.textAlign=a._bodyAlign,r.textBaseline="top",r.font=Y.fontString(s,a._bodyFontStyle,a._bodyFontFamily);function l(t){r.fillText(t,i.x+n,i.y),i.y+=s+e}var n=0;r.fillStyle=c(a.bodyFontColor,o),Y.each(a.beforeBody,l);var u=a.displayColors,n=u?s+2:0;Y.each(t,function(t,e){var n=c(a.labelTextColors[e],o);r.fillStyle=n,Y.each(t.before,l),Y.each(t.lines,function(t){u&&(r.fillStyle=c(a.legendColorBackground,o),r.fillRect(i.x,i.y,s,s),r.lineWidth=1,r.strokeStyle=c(a.labelColors[e].borderColor,o),r.strokeRect(i.x,i.y,s,s),r.fillStyle=c(a.labelColors[e].backgroundColor,o),r.fillRect(i.x+1,i.y+1,s-2,s-2),r.fillStyle=n),l(t)}),Y.each(t.after,l)}),n=0,Y.each(a.afterBody,l),i.y-=e},drawFooter:function(e,n,i,t){var a=n.footer;a.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=c(n.footerFontColor,t),i.font=Y.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),Y.each(a,function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,e,n,i,a){n.fillStyle=c(e.backgroundColor,a),n.strokeStyle=c(e.borderColor,a),n.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,s=t.x,l=t.y,u=i.width,d=i.height,h=e.cornerRadius;n.beginPath(),n.moveTo(s+h,l),"top"===o&&this.drawCaret(t,i),n.lineTo(s+u-h,l),n.quadraticCurveTo(s+u,l,s+u,l+h),"center"===o&&"right"===r&&this.drawCaret(t,i),n.lineTo(s+u,l+d-h),n.quadraticCurveTo(s+u,l+d,s+u-h,l+d),"bottom"===o&&this.drawCaret(t,i),n.lineTo(s+h,l+d),n.quadraticCurveTo(s,l+d,s,l+d-h),"center"===o&&"left"===r&&this.drawCaret(t,i),n.lineTo(s,l+h),n.quadraticCurveTo(s,l,s+h,l),n.closePath(),n.fill(),0<e.borderWidth&&n.stroke()},draw:function(){var t,e,n,i,a=this._chart.ctx,r=this._view;0!==r.opacity&&(t={width:r.width,height:r.height},e={x:r.x,y:r.y},n=Math.abs(r.opacity<.001)?0:r.opacity,i=r.title.length||r.beforeBody.length||r.body.length||r.afterBody.length||r.footer.length,this._options.enabled&&i&&(this.drawBackground(e,r,a,t,n),e.x+=r.xPadding,e.y+=r.yPadding,this.drawTitle(e,r,a,n),this.drawBody(e,r,a,n),this.drawFooter(e,r,a,n)))},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!Y.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),R.Tooltip.positioners={average:function(t){if(!t.length)return!1;for(var e=0,n=0,i=0,a=0,r=t.length;a<r;++a){var o,s=t[a];s&&s.hasValue()&&(e+=(o=s.tooltipPosition()).x,n+=o.y,++i)}return{x:Math.round(e/i),y:Math.round(n/i)}},nearest:function(t,e){for(var n,i,a=e.x,r=e.y,o=Number.POSITIVE_INFINITY,s=0,l=t.length;s<l;++s){var u,d,h=t[s];h&&h.hasValue()&&(u=h.getCenterPoint(),(d=Y.distanceBetweenPoints(e,u))<o&&(o=d,n=h))}return n&&(a=(i=n.tooltipPosition()).x,r=i.y),{x:a,y:r}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),a=t(26),d=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=d.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=2*Math.PI;for(;s<a;)a-=2*Math.PI;for(;a<o;)a+=2*Math.PI;var l=o<=a&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),d=t(45),h=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:h.defaultColor,borderWidth:3,borderColor:h.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this._view,r=this._chart.ctx,o=a.spanGaps,s=this._children.slice(),l=h.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),r.save(),r.lineCap=a.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||l.borderDash),r.lineDashOffset=a.borderDashOffset||l.borderDashOffset,r.lineJoin=a.borderJoinStyle||l.borderJoinStyle,r.lineWidth=a.borderWidth||l.borderWidth,r.strokeStyle=a.borderColor||h.defaultColor,r.beginPath(),u=-1,t=0;t<s.length;++t)e=s[t],n=d.previousItem(s,t),i=e._view,0===t?i.skip||(r.moveTo(i.x,i.y),u=t):(n=-1===u?n:s[u],i.skip||(u!==t-1&&!o||-1===u?r.moveTo(i.x,i.y):d.canvas.lineTo(r,n._view,e._view),u=t));r.stroke(),r.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";var d=t(25),i=t(26),h=t(45),c=d.global.defaultColor;function a(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:c,borderColor:c,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=i.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:a,inXRange:a,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,a=e.pointStyle,r=e.radius,o=e.x,s=e.y,l=h.color,u=0;e.skip||(i.strokeStyle=e.borderColor||c,i.lineWidth=h.valueOrDefault(e.borderWidth,d.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?u=(o-n.x)/(t.left-n.x):1.01*t.right<n.x?u=(n.x-o)/(n.x-t.right):n.y<t.top?u=(s-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(u=(n.y-s)/(n.y-t.bottom)),u=Math.round(100*u)/100,i.strokeStyle=l(i.strokeStyle).alpha(u).rgbString(),i.fillStyle=l(i.fillStyle).alpha(u).rgbString()),h.canvas.drawPoint(i,a,r,o,s))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";var i=t(25),a=t(26);function l(t){return void 0!==t._view.width}function r(t){var e,n,i,a,r,o,s=t._view;return r=l(t)?(e=s.width/2,n=s.x-e,i=s.x+e,a=Math.min(s.y,s.base),Math.max(s.y,s.base)):(o=s.height/2,n=Math.min(s.x,s.base),i=Math.max(s.x,s.base),a=s.y-o,s.y+o),{left:n,top:a,right:i,bottom:r}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a,r,o,s,l,u,d,h,c=this._chart.ctx,f=this._view,g=f.borderWidth,m=f.horizontal?(t=f.base,e=f.x,n=f.y-f.height/2,i=f.y+f.height/2,a=t<e?1:-1,r=1,f.borderSkipped||"left"):(t=f.x-f.width/2,e=f.x+f.width/2,a=1,r=(n=f.y)<(i=f.base)?1:-1,f.borderSkipped||"bottom");g&&(s=(g=(o=Math.min(Math.abs(t-e),Math.abs(n-i)))<g?o:g)/2,d=n+("top"!==m?s*r:0),h=i+("bottom"!==m?-s*r:0),(l=t+("left"!==m?s*a:0))!==(u=e+("right"!==m?-s*a:0))&&(n=d,i=h),d!==h&&(t=l,e=u)),c.beginPath(),c.fillStyle=f.backgroundColor,c.strokeStyle=f.borderColor,c.lineWidth=g;var p=[[t,i],[t,n],[e,n],[e,i]],v=["bottom","left","top","right"].indexOf(m,0);function y(t){return p[(v+t)%4]}-1===v&&(v=0);var b=y(0);c.moveTo(b[0],b[1]);for(var x=1;x<4;x++)b=y(x),c.lineTo(b[0],b[1]);c.fill(),g&&c.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n,i=!1;return this._view&&(i=t>=(n=r(this)).left&&t<=n.right&&e>=n.top&&e<=n.bottom),i},inLabelRange:function(t,e){if(!this._view)return!1;var n=r(this);return l(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=r(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=r(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e=this._view,n=l(this)?(t=e.x,(e.y+e.base)/2):(t=(e.x+e.base)/2,e.y);return{x:t,y:n}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";var i=t(42),n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){var o,s;r?(o=Math.min(r,i/2),s=Math.min(r,a/2),t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+a-s),t.quadraticCurveTo(e+i,n+a,e+i-o,n+a),t.lineTo(e+o,n+a),t.quadraticCurveTo(e,n+a,e,n+a-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+o,n)):t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var r,o,s,l,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-o/2,a+u/3),t.lineTo(i+o/2,a+u/3),t.lineTo(i,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-d,a-d,2*d,2*d),t.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var h=n/Math.SQRT2,c=i-h,f=a-h,g=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,c,f,g,g,n/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-d,a),t.lineTo(i,a+d),t.lineTo(i+d,a),t.lineTo(i,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i,d={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return d.valueOrDefault(d.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(d.isArray(t))if(r=t.length,i)for(a=r-1;0<=a;a--)e.call(n,t[a],a);else for(a=0;a<r;a++)e.call(n,t[a],a);else if(d.isObject(t))for(r=(o=Object.keys(t)).length,a=0;a<r;a++)e.call(n,t[o[a]],o[a])},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(a=t[n],r=e[n],a instanceof Array&&r instanceof Array){if(!d.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(t){if(d.isArray(t))return t.map(d.clone);if(d.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,a=0;a<i;++a)e[n[a]]=d.clone(t[n[a]]);return e}return t},_merger:function(t,e,n,i){var a=e[t],r=n[t];d.isObject(a)&&d.isObject(r)?d.merge(a,r,i):e[t]=d.clone(r)},_mergerIf:function(t,e,n){var i=e[t],a=n[t];d.isObject(i)&&d.isObject(a)?d.mergeIf(i,a):e.hasOwnProperty(t)||(e[t]=d.clone(a))},merge:function(t,e,n){var i,a,r,o,s,l=d.isArray(e)?e:[e],u=l.length;if(!d.isObject(t))return t;for(i=(n=n||{}).merger||d._merger,a=0;a<u;++a)if(e=l[a],d.isObject(e))for(s=0,o=(r=Object.keys(e)).length;s<o;++s)i(r[s],t,e,n);return t},mergeIf:function(t,e){return d.merge(t,e,{merger:d._mergerIf})},extend:function(n){for(var t=function(t,e){n[e]=t},e=1,i=arguments.length;e<i;++e)d.each(arguments[e],t);return n},inherits:function(t){function e(){this.constructor=i}var n=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)};return e.prototype=n.prototype,i.prototype=new e,i.extend=d.inherits,t&&d.extend(i.prototype,t),i.__super__=n.prototype,i}};(e.exports=d).callCallback=d.callback,d.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var i=t(42),a={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-(--t*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return--t*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1- --t*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n)))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n=n||.45,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};e.exports={effects:a},i.easingEffects=a},{42:42}],44:[function(t,e,n){"use strict";var o=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,a;return o.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,a=+t.left||0):e=n=i=a=+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},resolve:function(t,e,n){for(var i,a=0,r=t.length;a<r;++a)if(void 0!==(i=t[a])&&(void 0!==e&&"function"==typeof i&&(i=i(e)),void 0!==n&&o.isArray(i)&&(i=i[n]),void 0!==i))return i}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";var f=t(45),g="$chartjs",m="chartjs-",p=m+"render-monitor",v=m+"render-animation",y=["animationstart","webkitAnimationStart"],s={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function d(t,e){var n=f.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var i=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function b(t,e,n){t.addEventListener(e,n,i)}function o(t,e,n){t.removeEventListener(e,n,i)}function x(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function a(e,t,n){var i,a,r,o,s,l,u,d,h=e[g]||(e[g]={}),c=h.resizer=function(t){var e=document.createElement("div"),n=m+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],r=e.childNodes[1];function o(){e._reset(),t()}return e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6},b(a,"scroll",o.bind(a,"expand")),b(r,"scroll",o.bind(r,"shrink")),e}((o=!(i=function(){if(h.resizer)return t(x("resize",n))}),function(){r=Array.prototype.slice.call(arguments),a=a||this,o||(o=!0,f.requestAnimFrame.call(window,function(){o=!1,i.apply(a,r)}))}));l=function(){var t;h.resizer&&((t=e.parentNode)&&t!==c.parentNode&&t.insertBefore(c,t.firstChild),c._reset())},u=(s=e)[g]||(s[g]={}),d=u.renderProxy=function(t){t.animationName===v&&l()},f.each(y,function(t){b(s,t,d)}),u.reflow=!!s.offsetParent,s.classList.add(p)}function r(t){var e,n,i,a=t[g]||{},r=a.resizer;delete a.resizer,n=(e=t)[g]||{},(i=n.renderProxy)&&(f.each(y,function(t){o(e,t,i)}),delete n.renderProxy),e.classList.remove(p),r&&r.parentNode&&r.parentNode.removeChild(r)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,n,i="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+v+"{"+i+"}@keyframes "+v+"{"+i+"}."+p+"{-webkit-animation:"+v+" 0.001s;animation:"+v+" 0.001s;}",n=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n,i,a,r,o,s,l,u=t&&t.getContext&&t.getContext("2d");return u&&u.canvas===t?(i=e,o=(n=t).style,s=n.getAttribute("height"),l=n.getAttribute("width"),n[g]={initial:{height:s,width:l,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",null!==l&&""!==l||void 0!==(a=d(n,"width"))&&(n.width=a),null!==s&&""!==s||(""===n.style.height?n.height=n.width/(i.options.aspectRatio||2):(r=d(n,"height"),void 0!==a&&(n.height=r))),u):null},releaseContext:function(t){var n,i=t.canvas;i[g]&&(n=i[g].initial,["height","width"].forEach(function(t){var e=n[t];f.isNullOrUndef(e)?i.removeAttribute(t):i.setAttribute(t,e)}),f.each(n.style||{},function(t,e){i.style[e]=t}),i.width=i.width,delete i[g])},addEventListener:function(r,t,o){var e,n=r.canvas;"resize"!==t?b(n,t,((e=o[g]||(o[g]={})).proxies||(e.proxies={}))[r.id+"_"+t]=function(t){var e,n,i,a;o((n=r,i=s[(e=t).type]||e.type,a=f.getRelativePosition(e,n),x(i,n,a.x,a.y,e)))}):a(n,o,r)},removeEventListener:function(t,e,n){var i,a=t.canvas;"resize"!==e?(i=((n[g]||{}).proxies||{})[t.id+"_"+e])&&o(a,e,i):r(a)}},f.addEvent=b,f.removeEvent=o},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),r=t(47),o=r._enabled?r:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";e.exports={},e.exports.filler=t(50),e.exports.legend=t(51),e.exports.title=t(52)},{50:50,51:51,52:52}],50:[function(t,e,n){"use strict";var u=t(25),c=t(40),d=t(45);u._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function b(t){return t&&!t.skip}function x(t,e,n,i,a){var r;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)d.canvas.lineTo(t,e[r-1],e[r]);for(t.lineTo(n[a-1].x,n[a-1].y),r=a-1;0<r;--r)d.canvas.lineTo(t,n[r],n[r-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(t,e){for(var n,i,a,r,o,s,l=(t.data.datasets||[]).length,u=e.propagate,d=[],h=0;h<l;++h)a=null,(i=(n=t.getDatasetMeta(h)).dataset)&&i._model&&i instanceof c.Line&&(a={visible:t.isDatasetVisible(h),fill:function(t,e,n){var i,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||n<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}(i,h,l),chart:t,el:i}),n.$filler=a,d.push(a);for(h=0;h<l;++h)(a=d[h])&&(a.fill=function(t,e,n){var i,a=t[e].fill,r=[e];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}(d,h,u),a.boundary=function(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}(a),a.mapper=(s=o=void 0,o=(r=a).fill,!(s="dataset")===o?null:(isFinite(o)||(s="boundary"),f[s](r))))},beforeDatasetDraw:function(t,e){var n,i,a,r,o,s,l=e.meta.$filler;l&&(n=t.ctx,a=(i=l.el)._view,r=i._children||[],o=l.mapper,s=a.backgroundColor||u.global.defaultColor,o&&s&&r.length&&(d.canvas.clipArea(n,t.chartArea),function(t,e,n,i,a,r){var o,s,l,u,d,h,c,f=e.length,g=i.spanGaps,m=[],p=[],v=0,y=0;for(t.beginPath(),o=0,s=f+!!r;o<s;++o)d=n(u=e[l=o%f]._view,l,i),h=b(u),c=b(d),h&&c?(v=m.push(u),y=p.push(d)):v&&y&&(g?(h&&m.push(u),c&&p.push(d)):(x(t,m,p,v,y),v=y=0,m=[],p=[]));x(t,m,p,v,y),t.closePath(),t.fillStyle=a,t.fill()}(n,r,o,a,s,i._loop),d.canvas.unclipArea(n)))}}},{25:25,40:40,45:45}],51:[function(t,e,n){"use strict";var R=t(25),i=t(26),L=t(45),a=t(30),r=L.noop;function W(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}R._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var t=n.data;return L.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:L.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!n.isDatasetVisible(e),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:e}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var o=i.extend({initialize:function(t){L.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:function(){var e=this,n=e.options.labels||{},t=L.callback(n.generateLabels,[e.chart],e)||[];n.filter&&(t=t.filter(function(t){return n.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:r,beforeFit:r,fit:function(){var i,a,t,r,o,s,l,u,d=this,e=d.options,h=e.labels,n=e.display,c=d.ctx,f=R.global,g=L.valueOrDefault,m=g(h.fontSize,f.defaultFontSize),p=g(h.fontStyle,f.defaultFontStyle),v=g(h.fontFamily,f.defaultFontFamily),y=L.fontString(m,p,v),b=d.legendHitBoxes=[],x=d.minSize,_=d.isHorizontal();_?(x.width=d.maxWidth,x.height=n?10:0):(x.width=n?10:0,x.height=d.maxHeight),n&&(c.font=y,_?(i=d.lineWidths=[0],a=d.legendItems.length?m+h.padding:0,c.textAlign="left",c.textBaseline="top",L.each(d.legendItems,function(t,e){var n=W(h,m)+m/2+c.measureText(t.text).width;i[i.length-1]+n+h.padding>=d.width&&(a+=m+h.padding,i[i.length]=d.left),b[e]={left:0,top:0,width:n,height:m},i[i.length-1]+=n+h.padding}),x.height+=a):(t=h.padding,r=d.columnWidths=[],o=h.padding,l=s=0,u=m+t,L.each(d.legendItems,function(t,e){var n=W(h,m)+m/2+c.measureText(t.text).width;l+u>x.height&&(o+=s+h.padding,r.push(s),l=s=0),s=Math.max(s,n),l+=u,b[e]={left:0,top:0,width:n,height:m}}),o+=s,r.push(s),x.width+=o)),d.width=x.width,d.height=x.height},afterFit:r,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var b,x,t,_,e,n,i,k,w,M,S,D,C=this,P=C.options,T=P.labels,O=R.global,I=O.elements.line,A=C.width,F=C.lineWidths;P.display&&(b=C.ctx,t=(x=L.valueOrDefault)(T.fontColor,O.defaultFontColor),_=x(T.fontSize,O.defaultFontSize),e=x(T.fontStyle,O.defaultFontStyle),n=x(T.fontFamily,O.defaultFontFamily),i=L.fontString(_,e,n),b.textAlign="left",b.textBaseline="middle",b.lineWidth=.5,b.strokeStyle=t,b.fillStyle=t,b.font=i,k=W(T,_),w=C.legendHitBoxes,M=C.isHorizontal(),S=M?{x:C.left+(A-F[0])/2,y:C.top+T.padding,line:0}:{x:C.left+T.padding,y:C.top+T.padding,line:0},D=_+T.padding,L.each(C.legendItems,function(t,e){var n,i,a,r,o,s,l,u,d,h,c,f,g,m=b.measureText(t.text).width,p=k+_/2+m,v=S.x,y=S.y;M?A<=v+p&&(y=S.y+=D,S.line++,v=S.x=C.left+(A-F[S.line])/2):y+D>C.bottom&&(v=S.x=v+C.columnWidths[S.line]+T.padding,y=S.y=C.top+T.padding,S.line++),n=v,i=y,a=t,isNaN(k)||k<=0||(b.save(),b.fillStyle=x(a.fillStyle,O.defaultColor),b.lineCap=x(a.lineCap,I.borderCapStyle),b.lineDashOffset=x(a.lineDashOffset,I.borderDashOffset),b.lineJoin=x(a.lineJoin,I.borderJoinStyle),b.lineWidth=x(a.lineWidth,I.borderWidth),b.strokeStyle=x(a.strokeStyle,O.defaultColor),r=0===x(a.lineWidth,I.borderWidth),b.setLineDash&&b.setLineDash(x(a.lineDash,I.borderDash)),P.labels&&P.labels.usePointStyle?(l=n+(s=(o=_*Math.SQRT2/2)/Math.SQRT2),u=i+s,L.canvas.drawPoint(b,a.pointStyle,o,l,u)):(r||b.strokeRect(n,i,k,_),b.fillRect(n,i,k,_)),b.restore()),w[e].left=v,w[e].top=y,d=t,h=m,f=k+(c=_/2)+v,g=y+c,b.fillText(d.text,f,g),d.hidden&&(b.beginPath(),b.lineWidth=2,b.moveTo(f,g),b.lineTo(f+h,g),b.stroke()),M?S.x+=p+T.padding:S.y+=D}))},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=t.x,o=t.y;if(r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}});function s(t,e){var n=new o({ctx:t.ctx,options:e,chart:t});a.configure(t,n,e),a.addBox(t,n),t.legend=n}e.exports={id:"legend",_element:o,beforeInit:function(t){var e=t.options.legend;e&&s(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(L.mergeIf(e,R.global.legend),n?(a.configure(t,n,e),n.options=e):s(t,e)):n&&(a.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},{25:25,26:26,30:30,45:45}],52:[function(t,e,n){"use strict";var _=t(25),i=t(26),k=t(45),a=t(30),r=k.noop;_._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var o=i.extend({initialize:function(t){k.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var t=k.valueOrDefault,e=this.options,n=e.display,i=t(e.fontSize,_.global.defaultFontSize),a=this.minSize,r=k.isArray(e.text)?e.text.length:1,o=k.options.toLineHeight(e.lineHeight,i),s=n?r*o+2*e.padding:0;this.isHorizontal()?(a.width=this.maxWidth,a.height=s):(a.width=s,a.height=this.maxHeight),this.width=a.width,this.height=a.height},afterFit:r,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=k.valueOrDefault,n=this.options,i=_.global;if(n.display){var a,r,o,s=e(n.fontSize,i.defaultFontSize),l=e(n.fontStyle,i.defaultFontStyle),u=e(n.fontFamily,i.defaultFontFamily),d=k.fontString(s,l,u),h=k.options.toLineHeight(n.lineHeight,s),c=h/2+n.padding,f=0,g=this.top,m=this.left,p=this.bottom,v=this.right;t.fillStyle=e(n.fontColor,i.defaultFontColor),t.font=d,this.isHorizontal()?(r=m+(v-m)/2,o=g+c,a=v-m):(r="left"===n.position?m+c:v-c,o=g+(p-g)/2,a=p-g,f=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,o),t.rotate(f),t.textAlign="center",t.textBaseline="middle";var y=n.text;if(k.isArray(y))for(var b=0,x=0;x<y.length;++x)t.fillText(y[x],0,b,a),b+=h;else t.fillText(y,0,0,a);t.restore()}}});function s(t,e){var n=new o({ctx:t.ctx,options:e,chart:t});a.configure(t,n,e),a.addBox(t,n),t.titleBlock=n}e.exports={id:"title",_element:o,beforeInit:function(t){var e=t.options.title;e&&s(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(k.mergeIf(e,_.global.title),n?(a.configure(t,n,e),n.options=e):s(t,e)):n&&(a.removeBox(t,n),delete t.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this.getLabels();this.ticks=0===this.minIndex&&this.maxIndex===t.length-1?t:t.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.isHorizontal();return n.yLabels&&!i?this.getRightValue(n.datasets[e].data[t]):this.ticks[t-this.minIndex]},getPixelForValue:function(t,e){var n,i,a=this,r=a.options.offset,o=Math.max(a.maxIndex+1-a.minIndex-(r?0:1),1);if(null!=t&&(n=a.isHorizontal()?t.x:t.y),(void 0!==n||void 0!==t&&isNaN(e))&&(t=n||t,e=-1!==(i=a.getLabels().indexOf(t))?i:e),a.isHorizontal()){var s=a.width/o,l=s*(e-a.minIndex);return r&&(l+=s/2),a.left+Math.round(l)}var u=a.height/o,d=u*(e-a.minIndex);return r&&(d+=u/2),a.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this.options.offset,n=Math.max(this._ticks.length-(e?0:1),1),i=this.isHorizontal(),a=(i?this.width:this.height)/n;return t-=i?this.left:this.top,e&&(t-=a/2),(t<=0?0:Math.round(t/a))+this.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],54:[function(t,e,n){"use strict";var i=t(25),h=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var o=this,s=o.options,l=o.chart,t=l.data.datasets,e=o.isHorizontal();function u(t){return e?t.xAxisID===o.id:t.yAxisID===o.id}o.min=null,o.max=null;var d,i=s.stacked;void 0===i&&h.each(t,function(t,e){var n;i||(n=l.getDatasetMeta(e),l.isDatasetVisible(e)&&u(n)&&void 0!==n.stack&&(i=!0))}),s.stacked||i?(d={},h.each(t,function(t,e){var i=l.getDatasetMeta(e),n=[i.type,void 0===s.stacked&&void 0===i.stack?e:"",i.stack].join(".");void 0===d[n]&&(d[n]={positiveValues:[],negativeValues:[]});var a=d[n].positiveValues,r=d[n].negativeValues;l.isDatasetVisible(e)&&u(i)&&h.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||(a[e]=a[e]||0,r[e]=r[e]||0,s.relativePoints?a[e]=100:n<0?r[e]+=n:a[e]+=n)})}),h.each(d,function(t){var e=t.positiveValues.concat(t.negativeValues),n=h.min(e),i=h.max(e);o.min=null===o.min?n:Math.min(o.min,n),o.max=null===o.max?i:Math.max(o.max,i)})):h.each(t,function(t,e){var i=l.getDatasetMeta(e);l.isDatasetVisible(e)&&u(i)&&h.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||((null===o.min||n<o.min)&&(o.min=n),(null===o.max||n>o.max)&&(o.max=n))})}),o.min=isFinite(o.min)&&!isNaN(o.min)?o.min:0,o.max=isFinite(o.max)&&!isNaN(o.max)?o.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;return this.isHorizontal()?Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50)):(t=h.valueOrDefault(e.fontSize,i.global.defaultFontSize),Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*t))))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this.start,n=+this.getRightValue(t),i=this.end-e,a=this.isHorizontal()?this.left+this.width/i*(n-e):this.bottom-this.height/i*(n-e);return a},getValueForPixel:function(t){var e=this.isHorizontal(),n=e?this.width:this.height,i=(e?t-this.left:this.bottom-t)/n;return this.start+(this.end-this.start)*i},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],55:[function(t,e,n){"use strict";var d=t(45);e.exports=function(e){var t=d.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t,e,n=this,i=n.options.ticks;i.beginAtZero&&(t=d.sign(n.min),e=d.sign(n.max),t<0&&e<0?n.max=0:0<t&&0<e&&(n.min=0));var a=void 0!==i.min||void 0!==i.suggestedMin,r=void 0!==i.max||void 0!==i.suggestedMax;void 0!==i.min?n.min=i.min:void 0!==i.suggestedMin&&(null===n.min?n.min=i.suggestedMin:n.min=Math.min(n.min,i.suggestedMin)),void 0!==i.max?n.max=i.max:void 0!==i.suggestedMax&&(null===n.max?n.max=i.suggestedMax:n.max=Math.max(n.max,i.suggestedMax)),a!=r&&n.min>=n.max&&(a?n.max=n.min+1:n.min=n.max-1),n.min===n.max&&(n.max++,i.beginAtZero||n.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:d.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,i,a=[];i=t.stepSize&&0<t.stepSize?t.stepSize:(n=d.niceNum(e.max-e.min,!1),d.niceNum(n/(t.maxTicks-1),!0));var r=Math.floor(e.min/i)*i,o=Math.ceil(e.max/i)*i;t.min&&t.max&&t.stepSize&&d.almostWhole((t.max-t.min)/t.stepSize,i/1e3)&&(r=t.min,o=t.max);var s=(o-r)/i,s=d.almostEquals(s,Math.round(s),i/1e3)?Math.round(s):Math.ceil(s),l=1;i<1&&(l=Math.pow(10,i.toString().length-2),r=Math.round(r*l)/l,o=Math.round(o*l)/l),a.push(void 0!==t.min?t.min:r);for(var u=1;u<s;++u)a.push(Math.round((r+u*i)*l)/l);return a.push(void 0!==t.max?t.max:o),a}(i,t);t.handleDirectionalChanges(),t.max=d.max(a),t.min=d.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(this)}})}},{45:45}],56:[function(t,e,n){"use strict";var c=t(45),i=t(34);e.exports=function(h){var t={position:"left",ticks:{callback:i.formatters.logarithmic}},e=h.Scale.extend({determineDataLimits:function(){var o=this,n=o.options,s=o.chart,t=s.data.datasets,e=o.isHorizontal();function l(t){return e?t.xAxisID===o.id:t.yAxisID===o.id}o.min=null,o.max=null,o.minNotZero=null;var u,i=n.stacked;void 0===i&&c.each(t,function(t,e){var n;i||(n=s.getDatasetMeta(e),s.isDatasetVisible(e)&&l(n)&&void 0!==n.stack&&(i=!0))}),n.stacked||i?(u={},c.each(t,function(t,e){var a=s.getDatasetMeta(e),r=[a.type,void 0===n.stacked&&void 0===a.stack?e:"",a.stack].join(".");s.isDatasetVisible(e)&&l(a)&&(void 0===u[r]&&(u[r]=[]),c.each(t.data,function(t,e){var n=u[r],i=+o.getRightValue(t);isNaN(i)||a.data[e].hidden||i<0||(n[e]=n[e]||0,n[e]+=i)}))}),c.each(u,function(t){var e,n;0<t.length&&(e=c.min(t),n=c.max(t),o.min=null===o.min?e:Math.min(o.min,e),o.max=null===o.max?n:Math.max(o.max,n))})):c.each(t,function(t,e){var i=s.getDatasetMeta(e);s.isDatasetVisible(e)&&l(i)&&c.each(t.data,function(t,e){var n=+o.getRightValue(t);isNaN(n)||i.data[e].hidden||n<0||((null===o.min||n<o.min)&&(o.min=n),(null===o.max||n>o.max)&&(o.max=n),0!=n&&(null===o.minNotZero||n<o.minNotZero)&&(o.minNotZero=n))})}),this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=c.valueOrDefault;t.min=n(e.min,t.min),t.max=n(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(c.log10(t.min))-1),t.max=Math.pow(10,Math.floor(c.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(c.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(c.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(c.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:e.min,max:e.max},a=t.ticks=function(t,e){var n,i,a=[],r=c.valueOrDefault,o=r(t.min,Math.pow(10,Math.floor(c.log10(e.min)))),s=Math.floor(c.log10(e.max)),l=Math.ceil(e.max/Math.pow(10,s));0===o?(n=Math.floor(c.log10(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(o),o=i*Math.pow(10,n)):(n=Math.floor(c.log10(o)),i=Math.floor(o/Math.pow(10,n)));for(var u=n<0?Math.pow(10,Math.abs(n)):1;a.push(o),10===++i&&(i=1,u=0<=++n?1:u),o=Math.round(i*Math.pow(10,n)*u)/u,n<s||n===s&&i<l;);var d=r(t.max,o);return a.push(d),a}(i,t);t.max=c.max(a),t.min=c.min(a),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),h.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(c.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,n,i,a,r,o=this,s=o.options.ticks.reverse,l=c.log10,u=o._getFirstTickValue(o.minNotZero),d=0;return t=+o.getRightValue(t),r=s?(i=o.end,a=o.start,-1):(i=o.start,a=o.end,1),n=o.isHorizontal()?(e=o.width,s?o.right:o.left):(e=o.height,r*=-1,s?o.top:o.bottom),t!==i&&(0===i&&(e-=d=c.getValueOrDefault(o.options.ticks.fontSize,h.defaults.global.defaultFontSize),i=u),0!==t&&(d+=e/(l(a)-l(i))*(l(t)-l(i))),n+=r*d),n},getValueForPixel:function(t){var e,n,i,a=this,r=a.options.ticks.reverse,o=c.log10,s=a._getFirstTickValue(a.minNotZero),l=r?(n=a.end,a.start):(n=a.start,a.end),u=a.isHorizontal()?(e=a.width,r?a.right-t:t-a.left):(e=a.height,r?t-a.top:a.bottom-t);return u!==n&&(0===n&&(u-=i=c.getValueOrDefault(a.options.ticks.fontSize,h.defaults.global.defaultFontSize),e-=i,n=s),u*=o(l)-o(n),u/=e,u=Math.pow(10,o(n)+u)),u}});h.scaleService.registerScaleType("logarithmic",e,t)}},{34:34,45:45}],57:[function(t,e,n){"use strict";var r=t(25),x=t(45),o=t(34);e.exports=function(t){var v=r.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function y(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function b(t){var e=t.options.pointLabels,n=x.valueOrDefault(e.fontSize,v.defaultFontSize),i=x.valueOrDefault(e.fontStyle,v.defaultFontStyle),a=x.valueOrDefault(e.fontFamily,v.defaultFontFamily);return{size:n,style:i,family:a,font:x.fontString(n,i,a)}}function p(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||a<t?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function n(t){var e,n,i=b(t),a=Math.min(t.height/2,t.width/2),r={r:t.width,l:0,t:t.height,b:0},o={};t.ctx.font=i.font,t._pointLabelSizes=[];for(var s,l,u,d=y(t),h=0;h<d;h++){n=t.getPointPosition(h,a),s=t.ctx,l=i.size,u=t.pointLabels[h]||"",e=x.isArray(u)?{w:x.longestText(s,s.font,u),h:u.length*l+1.5*(u.length-1)*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[h]=e;var c=t.getIndexAngle(h),f=x.toDegrees(c)%360,g=p(f,n.x,e.w,0,180),m=p(f,n.y,e.h,90,270);g.start<r.l&&(r.l=g.start,o.l=c),g.end>r.r&&(r.r=g.end,o.r=c),m.start<r.t&&(r.t=m.start,o.t=c),m.end>r.b&&(r.b=m.end,o.b=c)}t.setReductions(a,r,o)}function i(t){var e=t.ctx,n=t.options,i=n.angleLines,a=n.pointLabels;e.lineWidth=i.lineWidth,e.strokeStyle=i.color;var r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=b(t);e.textBaseline="top";for(var s,l,u,d,h,c,f,g,m,p=y(t)-1;0<=p;p--){i.display&&(s=t.getPointPosition(p,r),e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(s.x,s.y),e.stroke(),e.closePath()),a.display&&(l=t.getPointPosition(p,r+5),u=x.valueAtIndexOrDefault(a.fontColor,p,v.defaultFontColor),e.font=o.font,e.fillStyle=u,d=t.getIndexAngle(p),h=x.toDegrees(d),e.textAlign=0===(m=h)||180===m?"center":m<180?"left":"right",c=h,f=t._pointLabelSizes[p],g=l,90===c||270===c?g.y-=f.h/2:(270<c||c<90)&&(g.y-=f.h),function(t,e,n,i){if(x.isArray(e))for(var a=n.y,r=1.5*i,o=0;o<e.length;++o)t.fillText(e[o],n.x,a),a+=r;else t.fillText(e,n.x,n.y)}(e,t.pointLabels[p]||"",l,o.size))}}function s(t){return x.isNumber(t)?t:0}var a=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=x.min([t.height,t.width]),a=x.valueOrDefault(n.fontSize,v.defaultFontSize);t.drawingArea=e.display?i/2-(a/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var a=this,n=a.chart,r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;x.each(n.data.datasets,function(t,e){var i;n.isDatasetVisible(e)&&(i=n.getDatasetMeta(e),x.each(t.data,function(t,e){var n=+a.getRightValue(t);isNaN(n)||i.data[e].hidden||(r=Math.min(n,r),o=Math.max(n,o))}))}),a.min=r===Number.POSITIVE_INFINITY?0:r,a.max=o===Number.NEGATIVE_INFINITY?0:o,a.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=x.valueOrDefault(t.fontSize,v.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){t.LinearScaleBase.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?n(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),a=Math.max(e.r-this.width,0)/Math.sin(n.r),r=-e.t/Math.cos(n.t),o=-Math.max(e.b-this.height,0)/Math.cos(n.b),i=s(i),a=s(a),r=s(r),o=s(o);this.drawingArea=Math.min(Math.round(t-(i+a)/2),Math.round(t-(r+o)/2)),this.setCenterPoint(i,a,r,o)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-i-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/y(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var r,o,s,t,e,l,u=this,n=u.options,d=n.gridLines,h=n.ticks,c=x.valueOrDefault;n.display&&(r=u.ctx,o=this.getIndexAngle(0),s=c(h.fontSize,v.defaultFontSize),t=c(h.fontStyle,v.defaultFontStyle),e=c(h.fontFamily,v.defaultFontFamily),l=x.fontString(s,t,e),x.each(u.ticks,function(t,e){var n,i,a;(0<e||h.reverse)&&(n=u.getDistanceFromCenterForValue(u.ticksAsNumbers[e]),d.display&&0!==e&&function(t,e,n,i){var a=t.ctx;if(a.strokeStyle=x.valueAtIndexOrDefault(e.color,i-1),a.lineWidth=x.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var r=y(t);if(0===r)return;a.beginPath();var o=t.getPointPosition(0,n);a.moveTo(o.x,o.y);for(var s=1;s<r;s++)o=t.getPointPosition(s,n),a.lineTo(o.x,o.y);a.closePath(),a.stroke()}}(u,d,n,e),h.display&&(i=c(h.fontColor,v.defaultFontColor),r.font=l,r.save(),r.translate(u.xCenter,u.yCenter),r.rotate(o),h.showLabelBackdrop&&(a=r.measureText(t).width,r.fillStyle=h.backdropColor,r.fillRect(-a/2-h.backdropPaddingX,-n-s/2-h.backdropPaddingY,a+2*h.backdropPaddingX,s+2*h.backdropPaddingY)),r.textAlign="center",r.textBaseline="middle",r.fillStyle=i,r.fillText(t,0,-n),r.restore()))}),(n.angleLines.display||n.pointLabels.display)&&i(u))}});t.scaleService.registerScaleType("radialLinear",a,e)}},{25:25,34:34,45:45}],58:[function(t,e,n){"use strict";var b="function"==typeof(b=t(6))?b:window.moment,o=t(25),p=t(45),m=Number.MIN_SAFE_INTEGER||-9007199254740991,v=Number.MAX_SAFE_INTEGER||9007199254740991,x={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},_=Object.keys(x);function y(t,e){return t-e}function k(t){for(var e,n={},i=[],a=0,r=t.length;a<r;++a)n[e=t[a]]||(n[e]=!0,i.push(e));return i}function w(t,e,n,i){var a=function(t,e,n){for(var i,a,r,o=0,s=t.length-1;0<=o&&o<=s;){if(a=t[(i=o+s>>1)-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]<n)o=1+i;else{if(!(a[e]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(n-r[e])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function M(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?b(t,i):(t instanceof b||(t=b(t)),!t.isValid()&&"function"==typeof i?i(t):t)}function S(t,e){if(p.isNullOrUndef(t))return null;var n=e.options.time,i=M(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function D(t){for(var e=_.indexOf(t)+1,n=_.length;e<n;++e)if(x[_[e]].common)return _[e]}function C(t,e,n,i){var a,r=i.time,o=r.unit||function(t,e,n,i){for(var a,r,o=_.length,s=_.indexOf(t);s<o-1;++s)if(r=(a=x[_[s]]).steps?a.steps[a.steps.length-1]:v,a.common&&Math.ceil((n-e)/(r*a.size))<=i)return _[s];return _[o-1]}(r.minUnit,t,e,n),s=D(o),l=p.valueOrDefault(r.stepSize,r.unitStepSize),u="week"===o&&r.isoWeekday,d=i.ticks.major.enabled,h=x[o],c=b(t),f=b(e),g=[],l=l||function(t,e,n,i){var a,r,o,s=e-t,l=x[n],u=l.size,d=l.steps;if(!d)return Math.ceil(s/(i*u));for(a=0,r=d.length;a<r&&(o=d[a],!(Math.ceil(s/(u*o))<=i));++a);return o}(t,e,o,n);for(u&&(c=c.isoWeekday(u),f=f.isoWeekday(u)),c=c.startOf(u?"day":o),(f=f.startOf(u?"day":o))<e&&f.add(1,o),a=b(c),d&&s&&!u&&!r.round&&(a.startOf(s),a.add(~~((c-a)/(h.size*l))*l,o));a<f;a.add(l,o))g.push(+a);return g.push(+a),g}e.exports=function(e){var t=e.Scale.extend({initialize:function(){if(!b)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){for(var t,e,n,i,a=this,r=a.chart,o=a.options.time,s=o.unit||"day",l=v,u=m,d=[],h=[],c=[],f=0,g=r.data.labels.length;f<g;++f)c.push(S(r.data.labels[f],a));for(f=0,g=(r.data.datasets||[]).length;f<g;++f)if(r.isDatasetVisible(f))if(n=r.data.datasets[f].data,p.isObject(n[0]))for(h[f]=[],t=0,e=n.length;t<e;++t)i=S(n[t],a),d.push(i),h[f][t]=i;else d.push.apply(d,c),h[f]=c.slice(0);else h[f]=[];c.length&&(c=k(c).sort(y),l=Math.min(l,c[0]),u=Math.max(u,c[c.length-1])),d.length&&(d=k(d).sort(y),l=Math.min(l,d[0]),u=Math.max(u,d[d.length-1])),l=S(o.min,a)||l,u=S(o.max,a)||u,l=l===v?+b().startOf(s):l,u=u===m?+b().endOf(s)+1:u,a.min=Math.min(l,u),a.max=Math.max(l+1,u),a._horizontal=a.isHorizontal(),a._table=[],a._timestamps={data:d,datasets:h,labels:c}},buildTicks:function(){var t,e,n,i,a,r,o,s,l,u,d,h,c=this,f=c.min,g=c.max,m=c.options,p=m.time,v=[],y=[];switch(m.ticks.source){case"data":v=c._timestamps.data;break;case"labels":v=c._timestamps.labels;break;case"auto":default:v=C(f,g,c.getLabelCapacity(f),m)}for("ticks"===m.bounds&&v.length&&(f=v[0],g=v[v.length-1]),f=S(p.min,c)||f,g=S(p.max,c)||g,t=0,e=v.length;t<e;++t)f<=(n=v[t])&&n<=g&&y.push(n);return c.min=f,c.max=g,c._unit=p.unit||function(t,e,n,i){for(var a,r=b.duration(b(i).diff(b(n))),o=_.length-1;o>=_.indexOf(e);o--)if(a=_[o],x[a].common&&r.as(a)>=t.length)return a;return _[e?_.indexOf(e):0]}(y,p.minUnit,c.min,c.max),c._majorUnit=D(c._unit),c._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];for(var a,r,o,s=[],l=[e],u=0,d=t.length;u<d;++u)e<(r=t[u])&&r<n&&l.push(r);for(l.push(n),u=0,d=l.length;u<d;++u)o=l[u+1],a=l[u-1],r=l[u],void 0!==a&&void 0!==o&&Math.round((o+a)/2)===r||s.push({time:r,pos:u/(d-1)});return s}(c._timestamps.data,f,g,m.distribution),c._offsets=(i=c._table,a=y,r=f,o=g,h=d=0,(s=m).offset&&a.length&&(s.time.min||(l=1<a.length?a[1]:o,u=a[0],d=(w(i,"time",l,"pos")-w(i,"time",u,"pos"))/2),s.time.max||(l=a[a.length-1],u=1<a.length?a[a.length-2]:r,h=(w(i,"time",l,"pos")-w(i,"time",u,"pos"))/2)),{left:d,right:h}),c._labelFormat=function(t,e){for(var n,i,a=t.length,r=0;r<a;r++){if(0!==(n=M(t[r],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===n.second()&&0===n.minute()&&0===n.hour()||(i=!0)}return i?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(c._timestamps.data,p),function(t,e){for(var n,i,a=[],r=0,o=t.length;r<o;++r)n=t[r],i=!!e&&n===+b(n).startOf(e),a.push({value:n,major:i});return a}(y,c._majorUnit)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.options.time,a=n.labels&&t<n.labels.length?n.labels[t]:"",r=n.datasets[e].data[t];return p.isObject(r)&&(a=this.getRightValue(r)),i.tooltipFormat?M(a,i).format(i.tooltipFormat):"string"==typeof a?a:M(a,i).format(this._labelFormat)},tickFormatFunction:function(t,e,n,i){var a=this.options,r=t.valueOf(),o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=t.clone().startOf(l).valueOf(),h=a.ticks.major,c=h.enabled&&l&&u&&r===d,f=t.format(i||(c?u:s)),g=c?h:a.ticks.minor,m=p.valueOrDefault(g.callback,g.userCallback);return m?m(f,e,n):f},convertTicksToLabels:function(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(this.tickFormatFunction(b(t[n].value),n,t));return e},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=w(e._table,"time",t,"pos");return i+n*(e._offsets.left+a)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=S(t,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,r=w(e._table,"pos",a,"time");return b(r)},getLabelWidth:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=p.toRadians(e.maxRotation),a=Math.cos(i),r=Math.sin(i);return n*a+p.valueOrDefault(e.fontSize,o.global.defaultFontSize)*r},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,n=this.tickFormatFunction(b(t),0,[],e),i=this.getLabelWidth(n),a=this.isHorizontal()?this.width:this.height,r=Math.floor(a/i);return 0<r?r:1}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{25:25,45:45,6:6}]},{},[7])(7)})
\ No newline at end of file
public/scripts/common-0.0.1-min.js
+1
-1
@@ -1 +1 @@
1
-function Q(n){return document.getElementById(n)}function QS(n){try{return Q(n).style}catch(n){}}function QE(n,t){try{Q(n).disabled=!t}catch(n){}}function QV(n,t){try{QS(n).display=t?"":"none"}catch(n){}}function QA(n,t){Q(n).innerHTML+=t}function QH(n,t){Q(n).innerHTML=t}function QC(n){try{return Q(n).classList}catch(n){}}function inputBoxFocus(n){Q(n).focus();var t=Q(n).value;Q(n).value="",Q(n).value=t}function ReadShort(n,t){return(n.charCodeAt(t)<<8)+n.charCodeAt(t+1)}function ReadShortX(n,t){return(n.charCodeAt(t+1)<<8)+n.charCodeAt(t)}function ReadInt(n,t){return 16777216*n.charCodeAt(t)+(n.charCodeAt(t+1)<<16)+(n.charCodeAt(t+2)<<8)+n.charCodeAt(t+3)}function ReadSInt(n,t){return(n.charCodeAt(t)<<24)+(n.charCodeAt(t+1)<<16)+(n.charCodeAt(t+2)<<8)+n.charCodeAt(t+3)}function ReadIntX(n,t){return 16777216*n.charCodeAt(t+3)+(n.charCodeAt(t+2)<<16)+(n.charCodeAt(t+1)<<8)+n.charCodeAt(t)}function ShortToStr(n){return String.fromCharCode(n>>8&255,255&n)}function ShortToStrX(n){return String.fromCharCode(255&n,n>>8&255)}function IntToStr(n){return String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,255&n)}function IntToStrX(n){return String.fromCharCode(255&n,n>>8&255,n>>16&255,n>>24&255)}function MakeToArray(n){return n&&null!=n&&"object"!=typeof n?[n]:n}function SplitArray(n){return n.split(",")}function Clone(n){return JSON.parse(JSON.stringify(n))}function EscapeHtml(n){return"string"==typeof n?n.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/'/g,"'"):"boolean"==typeof n?n:"number"==typeof n?n:void 0}function EscapeHtmlBreaks(n){return"string"==typeof n?n.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/'/g,"'").replace(/\r/g,"<br />").replace(/\n/g,"").replace(/\t/g," "):"boolean"==typeof n?n:"number"==typeof n?n:void 0}function ArrayElementMove(n,t,e){n.splice(e,0,n.splice(t,1)[0])}function ObjectToStringEx(n,t){var e="";if(0!=n&&(!n||null==n))return"(Null)";if(n instanceof Array)for(var r in n)e+="<br />"+gap(t)+"Item #"+r+": "+ObjectToStringEx(n[r],t+1);else if(n instanceof Object)for(var r in n)e+="<br />"+gap(t)+r+" = "+ObjectToStringEx(n[r],t+1);else e+=EscapeHtml(n);return e}function ObjectToStringEx2(n,t){var e="";if(0!=n&&(!n||null==n))return"(Null)";if(n instanceof Array)for(var r in n)e+="\r\n"+gap2(t)+"Item #"+r+": "+ObjectToStringEx2(n[r],t+1);else if(n instanceof Object)for(var r in n)e+="\r\n"+gap2(t)+r+" = "+ObjectToStringEx2(n[r],t+1);else e+=EscapeHtml(n);return e}function gap(n){for(var t="",e=0;e<4*n;e++)t+=" ";return t}function gap2(n){for(var t="",e=0;e<4*n;e++)t+=" ";return t}function ObjectToString(n){return ObjectToStringEx(n,0)}function ObjectToString2(n){return ObjectToStringEx2(n,0)}function hex2rstr(n){if("string"!=typeof n||0==n.length)return"";for(var t,e="",r=(""+n).match(/../g);t=r.shift();)e+=String.fromCharCode("0x"+t);return e}function char2hex(n){return(n+256).toString(16).substr(-2).toUpperCase()}function rstr2hex(n){var t,e="";for(t=0;t<n.length;t++)e+=char2hex(n.charCodeAt(t));return e}function encode_utf8(n){return unescape(encodeURIComponent(n))}function decode_utf8(n){return decodeURIComponent(escape(n))}function data2blob(n){for(var t=new Array(n.length),e=0;e<n.length;e++)t[e]=n.charCodeAt(e);return new Blob([new Uint8Array(t)])}function utf2blob(n){for(var t=[],e=unescape(encodeURIComponent(n)),r=0;r<e.length;r++)t.push(e.charCodeAt(r));return new Blob([new Uint8Array(t)])}function random(n){return Math.floor(Math.random()*n)}function trademarks(n){return n.replace(/\(R\)/g,"®").replace(/\(TM\)/g,"™")}function zeroPad(n,t){null==t&&(t=2);var e="00000000"+n;return e.substr(e.length-t)}function isAlphaNumeric(n){return null!=n.match(/^[A-Za-z0-9]+$/)}function isSafeString(n){return"string"==typeof n&&-1==n.indexOf("<")&&-1==n.indexOf(">")&&-1==n.indexOf("&")&&-1==n.indexOf('"')&&-1==n.indexOf("'")&&-1==n.indexOf("+")&&-1==n.indexOf("(")&&-1==n.indexOf(")")&&-1==n.indexOf("#")&&-1==n.indexOf("%")&&-1==n.indexOf(":")}function isSafeString2(n){return"string"==typeof n&&-1==n.indexOf("<")&&-1==n.indexOf(">")&&-1==n.indexOf("&")&&-1==n.indexOf('"')&&-1==n.indexOf("'")&&-1==n.indexOf("+")&&-1==n.indexOf("(")&&-1==n.indexOf(")")&&-1==n.indexOf("#")&&-1==n.indexOf("%")}function parseUriArgs(){var n=window.document.location.href;n.endsWith("#")&&(n=n.substring(0,n.length-1));var t,e={},r=n.split(/[\?&|\=]/);for(o in r.splice(0,1),r)switch(o%2){case 0:t=decodeURIComponent(r[o]);break;case 1:if(e[t]=decodeURIComponent(r[o]),isSafeString2(e[t])){var o=parseInt(e[t]);o==e[t]&&(e[t]=o)}else delete e[t]}return e}String.prototype.startsWith||(String.prototype.startsWith=function(n){return 0===this.lastIndexOf(n,0)}),String.prototype.endsWith||(String.prototype.endsWith=function(n){return-1!==this.indexOf(n,this.length-n.length)})
\ No newline at end of file
1
+function Q(n){return document.getElementById(n)}function QS(n){try{return Q(n).style}catch(n){}}function QE(n,t){try{Q(n).disabled=!t}catch(n){}}function QV(n,t){try{QS(n).display=t?"":"none"}catch(n){}}function QA(n,t){Q(n).innerHTML+=t}function QH(n,t){Q(n).innerHTML=t}function QC(n){try{return Q(n).classList}catch(n){}}function inputBoxFocus(n){Q(n).focus();var t=Q(n).value;Q(n).value="",Q(n).value=t}function ReadShort(n,t){return(n.charCodeAt(t)<<8)+n.charCodeAt(t+1)}function ReadShortX(n,t){return(n.charCodeAt(t+1)<<8)+n.charCodeAt(t)}function ReadInt(n,t){return 16777216*n.charCodeAt(t)+(n.charCodeAt(t+1)<<16)+(n.charCodeAt(t+2)<<8)+n.charCodeAt(t+3)}function ReadSInt(n,t){return(n.charCodeAt(t)<<24)+(n.charCodeAt(t+1)<<16)+(n.charCodeAt(t+2)<<8)+n.charCodeAt(t+3)}function ReadIntX(n,t){return 16777216*n.charCodeAt(t+3)+(n.charCodeAt(t+2)<<16)+(n.charCodeAt(t+1)<<8)+n.charCodeAt(t)}function ShortToStr(n){return String.fromCharCode(n>>8&255,255&n)}function ShortToStrX(n){return String.fromCharCode(255&n,n>>8&255)}function IntToStr(n){return String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,255&n)}function IntToStrX(n){return String.fromCharCode(255&n,n>>8&255,n>>16&255,n>>24&255)}function MakeToArray(n){return n&&null!=n&&"object"!=typeof n?[n]:n}function SplitArray(n){return n.split(",")}function Clone(n){return JSON.parse(JSON.stringify(n))}function EscapeHtml(n){return"string"==typeof n?n.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/'/g,"'"):"boolean"==typeof n||"number"==typeof n?n:void 0}function EscapeHtmlBreaks(n){return"string"==typeof n?n.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/'/g,"'").replace(/\r/g,"<br />").replace(/\n/g,"").replace(/\t/g," "):"boolean"==typeof n||"number"==typeof n?n:void 0}function ArrayElementMove(n,t,e){n.splice(e,0,n.splice(t,1)[0])}function ObjectToStringEx(n,t){var e="";if(0!=n&&(!n||null==n))return"(Null)";if(n instanceof Array)for(var r in n)e+="<br />"+gap(t)+"Item #"+r+": "+ObjectToStringEx(n[r],t+1);else if(n instanceof Object)for(var r in n)e+="<br />"+gap(t)+r+" = "+ObjectToStringEx(n[r],t+1);else e+=EscapeHtml(n);return e}function ObjectToStringEx2(n,t){var e="";if(0!=n&&(!n||null==n))return"(Null)";if(n instanceof Array)for(var r in n)e+="\r\n"+gap2(t)+"Item #"+r+": "+ObjectToStringEx2(n[r],t+1);else if(n instanceof Object)for(var r in n)e+="\r\n"+gap2(t)+r+" = "+ObjectToStringEx2(n[r],t+1);else e+=EscapeHtml(n);return e}function gap(n){for(var t="",e=0;e<4*n;e++)t+=" ";return t}function gap2(n){for(var t="",e=0;e<4*n;e++)t+=" ";return t}function ObjectToString(n){return ObjectToStringEx(n,0)}function ObjectToString2(n){return ObjectToStringEx2(n,0)}function hex2rstr(n){if("string"!=typeof n||0==n.length)return"";for(var t,e="",r=(""+n).match(/../g);t=r.shift();)e+=String.fromCharCode("0x"+t);return e}function char2hex(n){return(n+256).toString(16).substr(-2).toUpperCase()}function rstr2hex(n){for(var t="",e=0;e<n.length;e++)t+=char2hex(n.charCodeAt(e));return t}function encode_utf8(n){return unescape(encodeURIComponent(n))}function decode_utf8(n){return decodeURIComponent(escape(n))}function data2blob(n){for(var t=new Array(n.length),e=0;e<n.length;e++)t[e]=n.charCodeAt(e);return new Blob([new Uint8Array(t)])}function utf2blob(n){for(var t=[],e=unescape(encodeURIComponent(n)),r=0;r<e.length;r++)t.push(e.charCodeAt(r));return new Blob([new Uint8Array(t)])}function random(n){return Math.floor(Math.random()*n)}function trademarks(n){return n.replace(/\(R\)/g,"®").replace(/\(TM\)/g,"™")}function zeroPad(n,t){null==t&&(t=2);var e="00000000"+n;return e.substr(e.length-t)}function isAlphaNumeric(n){return null!=n.match(/^[A-Za-z0-9]+$/)}function isSafeString(n){return"string"==typeof n&&-1==n.indexOf("<")&&-1==n.indexOf(">")&&-1==n.indexOf("&")&&-1==n.indexOf('"')&&-1==n.indexOf("'")&&-1==n.indexOf("+")&&-1==n.indexOf("(")&&-1==n.indexOf(")")&&-1==n.indexOf("#")&&-1==n.indexOf("%")&&-1==n.indexOf(":")}function isSafeString2(n){return"string"==typeof n&&-1==n.indexOf("<")&&-1==n.indexOf(">")&&-1==n.indexOf("&")&&-1==n.indexOf('"')&&-1==n.indexOf("'")&&-1==n.indexOf("+")&&-1==n.indexOf("(")&&-1==n.indexOf(")")&&-1==n.indexOf("#")&&-1==n.indexOf("%")}function parseUriArgs(){var n=window.document.location.href;n.endsWith("#")&&(n=n.substring(0,n.length-1));var t,e,r={},o=n.split(/[\?&|\=]/);for(e in o.splice(0,1),o)switch(e%2){case 0:t=decodeURIComponent(o[e]);break;case 1:r[t]=decodeURIComponent(o[e]),isSafeString2(r[t])?(e=parseInt(r[t]))==r[t]&&(r[t]=e):delete r[t]}return r}String.prototype.startsWith||(String.prototype.startsWith=function(n){return 0===this.lastIndexOf(n,0)}),String.prototype.endsWith||(String.prototype.endsWith=function(n){return-1!==this.indexOf(n,this.length-n.length)})
\ No newline at end of file
public/scripts/meshcentral-min.js
+1
-1
@@ -1 +1 @@
1
-var MeshServerCreateControl=function(e,t){var o={State:0,connectstate:0,pingTimer:null};return o.authCookie=t,o.trace=!1,o.xxStateChange=function(t,e){if(o.State!=t){var n=o.State;o.State=t,o.onStateChanged&&o.onStateChanged(o,o.State,n,e)}},o.Start=function(){if(0==o.connectstate){o.connectstate=0;var t=window.location.protocol.replace("http","ws")+"//"+window.location.host+e+"control.ashx";o.authCookie&&""!=o.authCookie&&(t+="?auth="+o.authCookie),o.socket=new WebSocket(t),o.socket.onopen=function(t){o.connectstate=1},o.socket.onmessage=o.xxOnMessage,o.socket.onclose=function(t){o.Stop(t.code)},o.xxStateChange(1,0),null!=o.pingTimer&&clearInterval(o.pingTimer),o.pingTimer=setInterval(function(){o.send({action:"ping"})},29e3)}},o.Stop=function(t){o.connectstate=0,o.socket&&(o.socket.close(),delete o.socket),null!=o.pingTimer&&(clearInterval(o.pingTimer),o.pingTimer=null),o.xxStateChange(0,t)},o.xxOnMessage=function(t){var e;1==o.State&&o.xxStateChange(2);try{e=JSON.parse(t.data)}catch(t){return}if("object"==typeof e&&"pong"!=e.action){if("ping"==e.action&&o.send({action:"pong"}),"close"==e.action)return e.msg&&console.log(e.msg),void o.Stop(e.cause);o.trace&&console.log("RECV",e),o.onMessage&&o.onMessage(o,e)}},o.send=function(t){null!=o.socket&&1==o.connectstate&&(o.trace&&"ping"!=t.action&&console.log("SEND",t),o.socket.send(JSON.stringify(t)))},o}
\ No newline at end of file
1
+var MeshServerCreateControl=function(e,t){var o={State:0,connectstate:0,pingTimer:null};return o.authCookie=t,o.trace=!1,o.xxStateChange=function(t,e){var n;o.State!=t&&(n=o.State,o.State=t,o.onStateChanged&&o.onStateChanged(o,o.State,n,e))},o.Start=function(){var t;0==o.connectstate&&(o.connectstate=0,t=window.location.protocol.replace("http","ws")+"//"+window.location.host+e+"control.ashx",o.authCookie&&""!=o.authCookie&&(t+="?auth="+o.authCookie),o.socket=new WebSocket(t),o.socket.onopen=function(t){o.connectstate=1},o.socket.onmessage=o.xxOnMessage,o.socket.onclose=function(t){o.Stop(t.code)},o.xxStateChange(1,0),null!=o.pingTimer&&clearInterval(o.pingTimer),o.pingTimer=setInterval(function(){o.send({action:"ping"})},29e3))},o.Stop=function(t){o.connectstate=0,o.socket&&(o.socket.close(),delete o.socket),null!=o.pingTimer&&(clearInterval(o.pingTimer),o.pingTimer=null),o.xxStateChange(0,t)},o.xxOnMessage=function(t){var e;1==o.State&&o.xxStateChange(2);try{e=JSON.parse(t.data)}catch(t){return}if("object"==typeof e&&"pong"!=e.action){if("ping"==e.action&&o.send({action:"pong"}),"close"==e.action)return e.msg&&console.log(e.msg),void o.Stop(e.cause);o.trace&&console.log("RECV",e),o.onMessage&&o.onMessage(o,e)}},o.send=function(t){null!=o.socket&&1==o.connectstate&&(o.trace&&"ping"!=t.action&&console.log("SEND",t),o.socket.send(JSON.stringify(t)))},o}
\ No newline at end of file
public/scripts/ol-min.js
+1
-1
@@ -1 +1 @@
1
-!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){var t,e,o,r={},n=this;function i(t,e){var o,i=r;t=t.split("."),i=i||n,t[0]in i||!i.execScript||i.execScript("var "+t[0]);for(;t.length&&(o=t.shift());)t.length||void 0===e?i=i[o]&&i[o]!==Object.prototype[o]?i[o]:i[o]={}:i[o]=e}function N(t,e){return e<t?1:t<e?-1:0}function d(t,e){return 0<=t.indexOf(e)}function l(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function c(t,e){var o=Array.isArray(e)?e:[e],i=o.length;for(e=0;e<i;e++)t[t.length]=o[e]}function p(t,e){-1<(e=t.indexOf(e))&&t.splice(e,1)}function v(t,e){for(var o,i=t.length>>>0,r=0;r<i;r++)if(e(o=t[r],r,t))return o;return null}function U(t,e){var o=t.length;if(o!==e.length)return!1;for(var i=0;i<o;i++)if(t[i]!==e[i])return!1;return!0}function u(t){var e,o=cp,i=t.length,r=Array(t.length);for(e=0;e<i;e++)r[e]={index:e,value:t[e]};for(r.sort(function(t,e){return o(t.value,e.value)||t.index-e.index}),e=0;e<t.length;e++)t[e]=r[e].value}function b(o,i){var r;return o.every(function(t,e){return!i(t,r=e,o)})?-1:r}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function m(){}function G(t){return t.Vo||(t.Vo=++a)}var a=0;function h(t){this.message="Assertion failed. See https://openlayers.org/en/v4.2.0/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function R(t,e){if(!t)throw new h(e)}function I(t,e,o,i){this.ca=t,this.$=e,this.da=o,this.ia=i}function y(t,e,o){return t.ca<=e&&e<=t.$&&t.da<=o&&o<=t.ia}function C(t,e){return t.ca<=e.$&&t.$>=e.ca&&t.da<=e.ia&&t.ia>=e.da}function w(t,e,o){return Math.min(Math.max(t,e),o)}s(h,Error);var f="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2};function x(t,e,o,i,r,n){var p=r-o,s=n-i;if(p||s){var a=((t-o)*p+(e-i)*s)/(p*p+s*s);1<a?(o=r,i=n):0<a&&(o+=p*a,i+=s*a)}return g(t,e,o,i)}function g(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function S(t){return t*Math.PI/180}function L(t,e){return(t%=e)*e<0?t+e:t}function M(t,e,o){return t+o*(e-t)}function P(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function A(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function F(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function E(t){for(var e=V(),o=0,i=t.length;o<i;++o)q(e,t[o]);return e}function T(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function j(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function k(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function D(t,e){return B(t,e[0],e[1])}function O(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function B(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function X(t,e){var o=t[1],i=t[2],r=t[3],n=e[0];e=e[1];var p=0;return n<t[0]?p|=16:i<n&&(p|=4),e<o?p|=8:r<e&&(p|=2),p=p||1}function V(){return[1/0,1/0,-1/0,-1/0]}function W(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function Z(t){return W(1/0,1/0,-1/0,-1/0,t)}function K(t,e){var o=t[0];return W(o,t=t[1],o,t,e)}function z(t,e,o,i,r){return J(r=Z(r),t,e,o,i)}function Y(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function H(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function q(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function J(t,e,o,i,r){for(;o<i;o+=r){var n=t,p=e[o],s=e[o+1];n[0]=Math.min(n[0],p),n[1]=Math.min(n[1],s),n[2]=Math.max(n[2],p),n[3]=Math.max(n[3],s)}return t}function _(t,e,o){var i;return(i=e.call(o,Q(t)))||(i=e.call(o,tt(t)))||(i=e.call(o,pt(t)))?i:!!(i=e.call(o,nt(t)))&&i}function $(t){var e=0;return ht(t)||(e=st(t)*it(t)),e}function Q(t){return[t[0],t[1]]}function tt(t){return[t[2],t[1]]}function et(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function ot(t,e,o,i,r){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o);var p=Math.sin(o);o=n*e,n*=p,e*=i;var s=i*p,a=t[0],h=t[1];t=a-o+s,i=a-o-s,p=a+o-s,o=a+o+s;s=h-n-e,a=h-n+e;var l=h+n+e;n=h+n-e;return W(Math.min(t,i,p,o),Math.min(s,a,l,n),Math.max(t,i,p,o),Math.max(s,a,l,n),r)}function it(t){return t[3]-t[1]}function rt(t,e,o){return o=o||[1/0,1/0,-1/0,-1/0],at(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function nt(t){return[t[0],t[3]]}function pt(t){return[t[2],t[3]]}function st(t){return t[2]-t[0]}function at(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function ht(t){return t[2]<t[0]||t[3]<t[1]}function lt(t,e){var o=(t[2]-t[0])/2*(e-1);e=(t[3]-t[1])/2*(e-1),t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function ut(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var i=[t[0],t[2],t[4],t[6]],r=[t[1],t[3],t[5],t[7]];return W(e=Math.min.apply(null,i),t=Math.min.apply(null,r),i=Math.max.apply(null,i),r=Math.max.apply(null,r),o)}var ct="function"==typeof Object.assign?Object.assign:function(t,e){if(!t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1,r=arguments.length;i<r;++i){var n=arguments[i];if(null!=n)for(var p in n)n.hasOwnProperty(p)&&(o[p]=n[p])}return o};function yt(t){for(var e in t)delete t[e]}function ft(t){var e,o=[];for(e in t)o.push(t[e]);return o}function gt(t){for(var e in t)return!1;return!e}function dt(t){this.radius=t}dt.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++){var p=t[n][0],s=t[n][1];e=e+S(p-i)*(2+Math.sin(S(r))+Math.sin(S(s))),i=p,r=s}return e*this.radius*this.radius/2},dt.prototype.b=function(t,e){var o=S(t[1]),i=S(e[1]),r=(i-o)/2;return t=S(e[0]-t[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(t)*Math.sin(t)*Math.cos(o)*Math.cos(i),2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},dt.prototype.offset=function(t,e,o){var i=S(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(S(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var vt=new dt(6370997),bt={};bt.degrees=2*Math.PI*vt.radius/360,bt.ft=.3048,bt.m=1,bt["us-ft"]=1200/3937;var mt=null;function wt(t){this.mb=t.code,this.a=t.units,this.f=void 0!==t.extent?t.extent:null,this.g=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.i=!(!this.c||!this.f),this.o=t.getPointResolution,this.j=null,this.l=t.metersPerUnit;var e=t.code,o=mt||window.proj4;"function"!=typeof o||void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.l=e.to_meter),void 0===t.units&&(this.a=e.units))}function xt(t){wt.call(this,{code:t,units:"m",extent:Mt,global:!0,worldExtent:Pt,getPointResolution:function(t,e){return t/f(e[1]/6378137)}})}(t=wt.prototype).Jk=function(){return this.mb},t.G=function(){return this.f},t.Un=function(){return this.a},t.sc=function(){return this.l||bt[this.a]},t.tl=function(){return this.g},t.dm=function(){return this.c},t.$p=function(t){this.c=t,this.i=!(!t||!this.f)},t.Vn=function(t){this.f=t,this.i=!(!this.c||!t)},t.kq=function(t){this.g=t},t.Zp=function(t){this.o=t},s(xt,wt);var St=6378137*Math.PI,Mt=[-St,-St,St,St],Pt=[-180,-85,180,85],At="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(t){return new xt(t)});function Et(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o){e[r]=St*t[r]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));St<n?n=St:n<-St&&(n=-St),e[r+1]=n}return e}function Tt(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/St,e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}var jt=new dt(6378137);function Ct(t,e){wt.call(this,{code:t,units:"degrees",extent:Lt,axisOrientation:e,global:!0,metersPerUnit:Rt,worldExtent:Lt})}s(Ct,wt);var Lt=[-180,-90,180,90],Rt=Math.PI*jt.radius/180,It=[new Ct("CRS:84"),new Ct("EPSG:4326","neu"),new Ct("urn:ogc:def:crs:EPSG::4326","neu"),new Ct("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Ct("urn:ogc:def:crs:OGC:1.3:CRS84"),new Ct("urn:ogc:def:crs:OGC:2:84"),new Ct("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Ct("urn:x-ogc:def:crs:EPSG:4326","neu")],Nt={},Ft={};function kt(t,e,o){t=t.mb,e=e.mb,t in Ft||(Ft[t]={}),Ft[t][e]=o}function Dt(t,e){var o;return t in Ft&&e in Ft[t]&&(o=Ft[t][e]),o}function Ot(t,e,o){var i=(t=Wt(t)).o;return i?e=i(e,o):"degrees"!=t.a&&(e=(i=zt(t,Wt("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(vt.b(e.slice(0,2),e.slice(2,4))+vt.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=t.sc())&&(e/=t)),e}function Ut(t){t.forEach(Gt),t.forEach(function(e){t.forEach(function(t){e!==t&&kt(e,t,Ht)})})}function Gt(t){kt(Nt[t.mb]=t,t,Ht)}function Bt(t){return t?"string"==typeof t?Wt(t):t:Wt("EPSG:3857")}function Xt(t,e,o,i){kt(t=Wt(t),e=Wt(e),Vt(o)),kt(e,t,Vt(i))}function Vt(p){return function(t,e,o){var i,r=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(r),i=0;i<r;i+=o){var n=p([t[i],t[i+1]]);for(e[i]=n[0],e[i+1]=n[1],n=o-1;2<=n;--n)e[i+n]=t[i+n]}return e}}function Wt(t){var e=null;if(t instanceof wt)e=t;else if("string"==typeof t){e=Nt[t]||null;var o=mt||window.proj4;e||"function"!=typeof o||void 0===o.defs(t)||Gt(e=new wt({code:t}))}return e}function Zt(t,e){if(t===e)return!0;var o=t.a===e.a;return t.mb===e.mb?o:zt(t,e)===Ht&&o}function Kt(t,e){return zt(t=Wt(t),e=Wt(e))}function zt(t,e){var o=t.mb,i=e.mb,r=Dt(o,i);if(!r){var n=mt||window.proj4;if("function"==typeof n){var p=n.defs(o),s=n.defs(i);void 0!==p&&void 0!==s&&(p===s?Ut([e,t]):Xt(e,t,(r=n(i,o)).forward,r.inverse),r=Dt(o,i))}}return r=r||Yt}function Yt(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function Ht(t,e){if(void 0!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}else t=t.slice();return t}function qt(t,e,o){return Kt(e,o)(t,void 0,t.length)}function Jt(t,e,o){return ut(t,e=Kt(e,o))}function _t(){Ut(At),Ut(It),It.forEach(function(e){At.forEach(function(t){kt(e,t,Et),kt(t,e,Tt)})})}function $t(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function Qt(t){this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,R(function(o,t){var i=t||N;return o.every(function(t,e){return!e||!(0<(t=i(o[e-1],t))||0===t)})}(this.b,function(t,e){return e-t}),17),this.maxZoom=this.b.length-1,this.i=void 0!==t.origin?t.origin:null,this.c=null,void 0!==t.origins&&(this.c=t.origins,R(this.c.length==this.b.length,20));var e=t.extent;void 0===e||this.i||this.c||(this.i=nt(e)),R(!this.i&&this.c||this.i&&!this.c,18),this.f=null,void 0!==t.tileSizes&&(this.f=t.tileSizes,R(this.f.length==this.b.length,19)),this.g=void 0!==t.tileSize?t.tileSize:this.f?null:256,R(!this.g&&this.f||this.g&&!this.f,22),this.v=void 0!==e?e:null,this.a=null,this.j=[0,0],void 0!==t.sizes?this.a=t.sizes.map(function(t){return new I(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&function(t,e){for(var o=t.b.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=re(t,e,r);t.a=i}(this,e)}_t();var te=[0,0,0];function ee(t,e,o,i,r){for(r=t.Aa(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,re(t,r,e,i)))return!0;--e}return!1}function oe(t,e,o,i){return e[0]<t.maxZoom?(i=t.Aa(e,i),re(t,i,e[0]+1,o)):null}function ie(t,e,o,i){pe(t,e[0],e[1],o,!1,te);var r=te[1],n=te[2];return pe(t,e[2],e[3],o,!0,te),t=te[1],e=te[2],void 0!==i?(i.ca=r,i.$=t,i.da=n,i.ia=e):i=new I(r,t,n,e),i}function re(t,e,o,i){return ie(t,e,t.Da(o),i)}function ne(t,e){var o=t.Pc(e[0]),i=t.Da(e[0]);return t=F(t.gb(e[0]),t.j),[o[0]+(e[1]+.5)*t[0]*i,o[1]+(e[2]+.5)*t[1]*i]}function pe(t,e,o,i,r,n){var p=t.tc(i),s=i/t.Da(p),a=t.Pc(p);return t=F(t.gb(p),t.j),e=s*Math.floor((e-a[0])/i+(r?.5:0))/t[0],o=s*Math.floor((o-a[1])/i+(r?0:.5))/t[1],o=r?(e=Math.ceil(e)-1,Math.ceil(o)-1):(e=Math.floor(e),Math.floor(o)),$t(p,e,o,n)}function se(t){var e=t.j;return e||(e=le(t),t.j=e),e}function ae(t){var e={};return ct(e,t||{}),void 0===e.extent&&(e.extent=Wt("EPSG:3857").G()),e.resolutions=he(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new Qt(e)}function he(t,e,o){e=void 0!==e?e:42;var i=it(t);for(t=st(t),o=F(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function le(t,e,o){return e=he(t=ue(t),e,o),new Qt({extent:t,origin:nt(t),resolutions:e,tileSize:o})}function ue(t){var e=(t=Wt(t)).G();return e||(e=W(-(t=180*bt.degrees/t.sc()),-t,t,t)),e}function ce(t){this.b=t.html,this.a=t.tileRanges?t.tileRanges:null}function ye(t){return t}function fe(i){return i.mh=function(t){var e=i.listener,o=i.lh||i.target;return i.nh&&Se(i),e.call(o,t)}}function ge(t,e,o,i){for(var r,n=0,p=t.length;n<p;++n)if((r=t[n]).listener===e&&r.lh===o)return i&&(r.deleteIndex=n),r}function de(t,e){return(t=t.fb)?t[e]:void 0}function ve(t){var e=t.fb;return e=e||(t.fb={})}function be(t,e){var o=de(t,e);if(o){for(var i=0,r=o.length;i<r;++i)t.removeEventListener(e,o[i].mh),yt(o[i]);o.length=0,(o=t.fb)&&(delete o[e],Object.keys(o).length||delete t.fb)}}function me(t,e,o,i,r){var n=ve(t),p=n[e];return(n=ge(p=p||(n[e]=[]),o,i,!1))?r||(n.nh=!1):(n={lh:i,nh:!!r,listener:o,target:t,type:e},t.addEventListener(e,fe(n)),p.push(n)),n}function we(t,e,o,i){return me(t,e,o,i,!0)}function xe(t,e,o,i){(t=de(t,e))&&(o=ge(t,o,i,!0))&&Se(o)}function Se(t){if(t&&t.target){t.target.removeEventListener(t.type,t.mh);var e=de(t.target,t.type);if(e){var o="deleteIndex"in t?t.deleteIndex:e.indexOf(t);-1!==o&&e.splice(o,1),e.length||be(t.target,t.type)}yt(t)}}function Me(t){var e,o=ve(t);for(e in o)be(t,e)}function Pe(){}function Ae(t){t.Jb||(t.Jb=!0,t.ka())}function Ee(t){this.type=t,this.target=null}function Te(t){t.stopPropagation()}function je(){this.Ua={},this.ra={},this.oa={}}function Ce(t,e){return e?e in t.oa:0<Object.keys(t.oa).length}function Le(){je.call(this),this.i=0}function Re(t){Le.call(this),G(this),this.S={},void 0!==t&&this.H(t)}(t=Qt.prototype).Rf=function(t,e,o){for(var i=(t=re(this,t,e)).ca,r=t.$;i<=r;++i)for(var n=t.da,p=t.ia;n<=p;++n)o([e,i,n])},t.G=function(){return this.v},t.Ti=function(){return this.maxZoom},t.Ui=function(){return this.minZoom},t.Pc=function(t){return this.i?this.i:this.c[t]},t.Da=function(t){return this.b[t]},t.Vi=function(){return this.b},t.Aa=function(t,e){var o=this.Pc(t[0]),i=this.Da(t[0]),r=F(this.gb(t[0]),this.j),n=o[0]+t[1]*r[0]*i;return W(n,t=o[1]+t[2]*r[1]*i,n+r[0]*i,t+r[1]*i,e)},t.Be=function(t,e,o){return pe(this,t[0],t[1],e,!1,o)},t.bg=function(t,e,o){return pe(this,t[0],t[1],this.Da(e),!1,o)},t.gb=function(t){return this.g?this.g:this.f[t]},t.tc=function(t,e){return w(l(this.b,t,e||0),this.minZoom,this.maxZoom)},Pe.prototype.Jb=!(ce.prototype.i=function(){return this.b}),Pe.prototype.ka=m,Ee.prototype.preventDefault=Ee.prototype.stopPropagation=function(){this.qp=!0},s(je,Pe),je.prototype.addEventListener=function(t,e){var o=this.oa[t];-1===(o=o||(this.oa[t]=[])).indexOf(e)&&o.push(e)},je.prototype.b=function(t){var e="string"==typeof t?new Ee(t):t;t=e.type;var o=(e.target=this).oa[t];if(o){t in this.ra||(this.ra[t]=0,this.Ua[t]=0),++this.ra[t];for(var i=0,r=o.length;i<r;++i)if(!1===o[i].call(this,e)||e.qp){var n=!1;break}if(--this.ra[t],!this.ra[t]){for(e=this.Ua[t],delete this.Ua[t];e--;)this.removeEventListener(t,m);delete this.ra[t]}return n}},je.prototype.ka=function(){Me(this)},je.prototype.removeEventListener=function(t,e){var o=this.oa[t];o&&(e=o.indexOf(e),t in this.Ua?(o[e]=m,++this.Ua[t]):(o.splice(e,1),o.length||delete this.oa[t]))},s(Le,je),(t=Le.prototype).s=function(){++this.i,this.b("change")},t.L=function(){return this.i},t.J=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=me(this,t[n],e,o);return r}return me(this,t,e,o)},t.once=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=we(this,t[n],e,o);return r}return we(this,t,e,o)},t.K=function(t,e,o){if(Array.isArray(t))for(var i=0,r=t.length;i<r;++i)xe(this,t[i],e,o);else xe(this,t,e,o)},s(Re,Le);var Ie={};function Ne(t){return Ie.hasOwnProperty(t)?Ie[t]:Ie[t]="change:"+t}function Fe(t,e,o){var i=Ne(e);t.b(new ke(i,e,o)),t.b(new ke("propertychange",e,o))}function ke(t,e,o){Ee.call(this,t),this.key=e,this.oldValue=o}function De(t,e){if(Re.call(this),this.c=!!(e||{}).unique,this.a=t||[],this.c)for(t=0,e=this.a.length;t<e;++t)Ue(this,this.a[t],t);Oe(this)}function Oe(t){t.set(Ge,t.a.length)}function Ue(t,e,o){for(var i=0,r=t.a.length;i<r;++i)if(t.a[i]===e&&i!==o)throw new h(58)}(t=Re.prototype).get=function(t){var e;return this.S.hasOwnProperty(t)&&(e=this.S[t]),e},t.O=function(){return Object.keys(this.S)},t.N=function(){return ct({},this.S)},t.set=function(t,e,o){o?this.S[t]=e:(o=this.S[t])!==(this.S[t]=e)&&Fe(this,t,o)},t.H=function(t,e){for(var o in t)this.set(o,t[o],e)},t.P=function(t,e){if(t in this.S){var o=this.S[t];delete this.S[t],e||Fe(this,t,o)}},s(ke,Ee),s(De,Re),(t=De.prototype).clear=function(){for(;0<this.dc();)this.pop()},t.fg=function(t){var e,o=0;for(e=t.length;o<e;++o)this.push(t[o]);return this},t.forEach=function(t,e){this.a.forEach(t,e)},t.tm=function(){return this.a},t.item=function(t){return this.a[t]},t.dc=function(){return this.get(Ge)},t.He=function(t,e){this.c&&Ue(this,e),this.a.splice(t,0,e),Oe(this),this.b(new Be("add",e))},t.pop=function(){return this.Hg(this.dc()-1)},t.push=function(t){this.c&&Ue(this,t);var e=this.dc();return this.He(e,t),this.dc()},t.remove=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)if(o[i]===t)return this.Hg(i)},t.Hg=function(t){var e=this.a[t];return this.a.splice(t,1),Oe(this),this.b(new Be("remove",e)),e},t.Wp=function(t,e){var o=this.dc();if(t<o)this.c&&Ue(this,e,t),o=this.a[t],this.a[t]=e,this.b(new Be("remove",o)),this.b(new Be("add",e));else{for(;o<t;++o)this.He(o,void 0);this.He(t,e)}};var Ge="length";function Be(t,e){Ee.call(this,t),this.element=e}s(Be,Ee);var Xe=/^#(?:[0-9a-f]{3}){1,2}$/i,Ve=/^([a-z]*)$/i;function We(t){return Array.isArray(t)?t:Ye(t)}function Ze(t){if("string"!=typeof t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+(void 0===t[3]?1:t[3])+")"}return t}var Ke,ze,Ye=(Ke={},ze=0,function(t){if(Ke.hasOwnProperty(t))var e=Ke[t];else{if(1024<=ze)for(var o in e=0,Ke)3&e++||(delete Ke[o],--ze);if(e=t,Ve.exec(e)&&((o=document.createElement("div")).style.color=e,document.body.appendChild(o),e=getComputedStyle(o).color,document.body.removeChild(o)),Xe.exec(e)){var i=e.length-1;R(3==i||6==i,54);var r=3==i?1:2;i=parseInt(e.substr(1+0*r,r),16),o=parseInt(e.substr(1+1*r,r),16),e=parseInt(e.substr(1+2*r,r),16),1==r&&(i=(i<<4)+i,o=(o<<4)+o,e=(e<<4)+e),i=[i,o,e,1]}else e.indexOf("rgba(")?e.indexOf("rgb(")?R(!1,14):((e=e.slice(4,-1).split(",").map(Number)).push(1),i=He(e)):i=He(e=e.slice(5,-1).split(",").map(Number));e=i,Ke[t]=e,++ze}return e});function He(t){var e=[];return e[0]=w(t[0]+.5|0,0,255),e[1]=w(t[1]+.5|0,0,255),e[2]=w(t[2]+.5|0,0,255),e[3]=w(t[3],0,1),e}function qe(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:Ze(t)}function Je(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function _e(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function $e(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Qe(t){Re.call(this),this.element=t.element?t.element:null,this.a=this.R=null,this.v=[],this.render=t.render?t.render:m,t.target&&this.f(t.target)}function to(t){t=t||{},this.I=document.createElement("UL"),this.u=document.createElement("LI"),this.I.appendChild(this.u),this.u.style.display="none",this.c=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.c=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions";"string"==typeof(i=void 0!==t.collapseLabel?t.collapseLabel:"»")?(this.D=document.createElement("span"),this.D.textContent=i):this.D=i,"string"==typeof(i=void 0!==t.label?t.label:"i")?(this.C=document.createElement("span"),this.C.textContent=i):this.C=i;var i,r=this.o&&!this.c?this.D:this.C;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),me(i,"click",this.Vm,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.c&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),o.appendChild(this.I),o.appendChild(i),Qe.call(this,{element:o,render:t.render?t.render:eo,target:t.target}),this.B=!0,this.l={},this.j={},this.T={}}function eo(t){if(t=t.frameState){var e,o,i,r,n,p=t.layerStatesArray,s=ct({},t.attributions),a={},h={},l=t.viewState.projection,u=0;for(e=p.length;u<e;u++)if(r=p[u].layer.ha()){var c=G(r).toString();if(n=r.j){var y=0;for(o=n.length;y<o;y++){var f=n[y],g=G(f).toString();if(!(g in s)){if(i=t.usedTiles[c])t:{var d,v=void 0,b=f,m=x=r.Ta(l),w=l;if(b.a){for(v in i)if(v in b.a){var x=i[v],S=0;for(d=b.a[v].length;S<d;++S){var M=b.a[v][S];if(C(M,x)){v=!0;break t}var P=re(m,ue(w),parseInt(v,10)),A=P.$-P.ca+1;if((x.ca<P.ca||x.$>P.$)&&(C(M,new I(L(x.ca,A),L(x.$,A),x.da,x.ia))||x.$-x.ca+1>A&&C(M,P))){v=!0;break t}}}v=!1}else v=!0}else v=!1;v?(g in a&&delete a[g],(v=f.b)in h||(h[v]=!0,s[g]=f)):a[g]=f}}}}for(var E in u=(e=[s,a])[0],e=e[1],this.l)E in u?(this.j[E]||(this.l[E].style.display="",this.j[E]=!0),delete u[E]):E in e?(this.j[E]&&(this.l[E].style.display="none",delete this.j[E]),delete e[E]):($e(this.l[E]),delete this.l[E],delete this.j[E]);for(E in u)(y=document.createElement("LI")).innerHTML=u[E].b,this.I.appendChild(y),this.l[E]=y,this.j[E]=!0;for(E in e)(y=document.createElement("LI")).innerHTML=e[E].b,y.style.display="none",this.I.appendChild(y),this.l[E]=y;for(j in E=!gt(this.j)||!gt(t.logos),this.B!=E&&(this.element.style.display=E?"":"none",this.B=E),E&>(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only"),t=t.logos,E=this.T)j in t||($e(E[j]),delete E[j]);for(var T in t)if((e=t[T])instanceof HTMLElement&&(this.u.appendChild(e),E[T]=e),!(T in E)){var j=new Image;j.src=T,""===e?u=j:((u=document.createElement("a")).href=e,u.appendChild(j)),this.u.appendChild(u),E[T]=u}this.u.style.display=gt(t)?"none":""}else this.B&&(this.element.style.display="none",this.B=!1)}function oo(t){t.element.classList.toggle("ol-collapsed"),t.c?_e(t.D,t.C):_e(t.C,t.D),t.c=!t.c}function io(t){return Math.pow(t,3)}function ro(t){return 1-io(1-t)}function no(t){return 3*t*t-2*t*t*t}function po(t){return t}function so(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.c=null,"string"==typeof o?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=o):(this.c=o,this.c.classList.add("ol-compass"));var i=t.tipLabel?t.tipLabel:"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=i,o.appendChild(this.c),me(o,"click",so.prototype.D,this),(i=document.createElement("div")).className=e+" ol-unselectable ol-control",i.appendChild(o),e=t.render?t.render:ao,this.o=t.resetNorth?t.resetNorth:void 0,Qe.call(this,{element:i,render:e,target:t.target}),this.l=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.u=void 0,this.j&&this.element.classList.add("ol-hidden")}function ao(t){if(t=t.frameState){if((t=t.viewState.rotation)!=this.u){var e="rotate("+t+"rad)";if(this.j){var o=this.element.classList.contains("ol-hidden");o||t?o&&t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=e,this.c.style.webkitTransform=e,this.c.style.transform=e}this.u=t}}function ho(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInLabel?t.zoomInLabel:"+",r=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",p=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",s=document.createElement("button");s.className=e+"-in",s.setAttribute("type","button"),s.title=n,s.appendChild("string"==typeof i?document.createTextNode(i):i),me(s,"click",ho.prototype.j.bind(this,o)),(i=document.createElement("button")).className=e+"-out",i.setAttribute("type","button"),i.title=p,i.appendChild("string"==typeof r?document.createTextNode(r):r),me(i,"click",ho.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(s),o.appendChild(i),Qe.call(this,{element:o,target:t.target}),this.c=void 0!==t.duration?t.duration:250}function lo(t){t=t||{};var e=new De;return void 0!==t.zoom&&!t.zoom||e.push(new ho(t.zoomOptions)),void 0!==t.rotate&&!t.rotate||e.push(new so(t.rotateOptions)),void 0!==t.attribution&&!t.attribution||e.push(new to(t.attributionOptions)),e}function uo(t){t=t||{},this.c=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.o="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.l="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel?t.tipLabel:"Toggle full-screen";(e=document.createElement("button")).className=this.c+"-"+yo(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.o),me(e,"click",this.C,this),(o=document.createElement("div")).className=this.c+" ol-unselectable ol-control "+(co()?"":"ol-unsupported"),o.appendChild(e),Qe.call(this,{element:o,target:t.target}),this.D=void 0!==t.keys&&t.keys,this.j=t.source}function co(){var t=document.body;return!!(t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled)}function yo(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function fo(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}s(Qe,Re),Qe.prototype.ka=function(){$e(this.element),Re.prototype.ka.call(this)},Qe.prototype.g=function(){return this.a},Qe.prototype.setMap=function(t){this.a&&$e(this.element);for(var e=0,o=this.v.length;e<o;++e)Se(this.v[e]);this.v.length=0,(this.a=t)&&((this.R?this.R:t.D).appendChild(this.element),this.render!==m&&this.v.push(me(t,"postrender",this.render,this)),t.render())},Qe.prototype.f=function(t){this.R="string"==typeof t?document.getElementById(t):t},s(to,Qe),(t=to.prototype).Vm=function(t){t.preventDefault(),oo(this)},t.Um=function(){return this.o},t.Xm=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.c&&oo(this))},t.Wm=function(t){this.o&&this.c!==t&&oo(this)},t.Tm=function(){return this.c},s(so,Qe),so.prototype.D=function(t){t.preventDefault(),this.o?this.o():(t=this.a.Z())&&void 0!==t.Qa()&&(0<this.l?t.animate({rotation:0,duration:this.l,easing:ro}):t.Oe(0))},s(ho,Qe),ho.prototype.j=function(t,e){if(e.preventDefault(),e=this.a.Z()){var o=e.Pa();o&&(t=e.constrainResolution(o,t),0<this.c?(e.Ic()&&e.ed(),e.animate({resolution:t,duration:this.c,easing:ro})):e.Vc(t))}},s(uo,Qe),uo.prototype.C=function(t){t.preventDefault(),co()&&(t=this.a)&&(yo()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.jd(),this.D?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):fo(t):fo(t)))},uo.prototype.u=function(){var t=this.element.firstElementChild,e=this.a;yo()?(t.className=this.c+"-true",_e(this.l,this.o)):(t.className=this.c+"-false",_e(this.o,this.l)),e&&e.Ad()},uo.prototype.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&this.v.push(me(document,vo(),this.u,this))};var go,vo=function(){if(!go){var t=document.body;t.webkitRequestFullscreen?go="webkitfullscreenchange":t.mozRequestFullScreen?go="mozfullscreenchange":t.msRequestFullscreen?go="MSFullscreenChange":t.requestFullscreen&&(go="fullscreenchange")}return go};function bo(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",Qe.call(this,{element:e,render:t.render?t.render:mo,target:t.target}),me(this,Ne(xo),this.Ym,this),t.coordinateFormat&&this.kj(t.coordinateFormat),t.projection&&this.$h(t.projection),this.u=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.l=e.innerHTML,this.o=this.j=this.c=null}function mo(t){(t=t.frameState)?this.c!=t.viewState.projection&&(this.c=t.viewState.projection,this.j=null):this.c=null,wo(this,this.o)}function wo(t,e){var o=t.u;if(e&&t.c){if(!t.j){var i=t.Zh();t.j=i?zt(t.c,i):Yt}(e=t.a.Wa(e))&&(t.j(e,e),o=(o=t.xh())?o(e):e.toString())}t.l&&o==t.l||(t.element.innerHTML=o,t.l=o)}s(bo,Qe),(t=bo.prototype).Ym=function(){this.j=null},t.xh=function(){return this.get(So)},t.Zh=function(){return this.get(xo)},t.Ll=function(t){this.o=this.a.xe(t),wo(this,this.o)},t.Ml=function(){wo(this,null),this.o=null},t.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&(t=t.a,this.v.push(me(t,"mousemove",this.Ll,this),me(t,"mouseout",this.Ml,this)))},t.kj=function(t){this.set(So,t)},t.$h=function(t){this.set(xo,Wt(t))};var xo="projection",So="coordinateFormat";function Mo(t,e,o){Ee.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function Po(t,e,o,i,r){Mo.call(this,t,e,r),this.originalEvent=o,this.pixel=e.xe(o),this.coordinate=e.Wa(this.pixel),this.dragging=void 0!==i&&i}s(Mo,Ee),s(Po,Mo),Po.prototype.preventDefault=function(){Mo.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},Po.prototype.stopPropagation=function(){Mo.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var Ao=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Eo(t,e){var o,i,r=Ao.length;for(i=0;i<r;++i)try{if(o=t.getContext(Ao[i],e))return o}catch(t){}return null}var To,jo,Co="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",Lo=-1!==Co.indexOf("firefox"),Ro=-1!==Co.indexOf("safari")&&-1==Co.indexOf("chrom"),Io=-1!==Co.indexOf("webkit")&&-1==Co.indexOf("edge"),No=-1!==Co.indexOf("macintosh"),Fo=window.devicePixelRatio||1,ko=!1,Do=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(ko=!0),!0)}catch(t){return!1}}(),Oo="DeviceOrientationEvent"in window,Uo="geolocation"in navigator,Go="ontouchstart"in window,Bo="PointerEvent"in window,Xo=!!navigator.msPointerEnabled,Vo=!1,Wo=[];if("WebGLRenderingContext"in window)try{var Zo=Eo(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Zo&&(Vo=!0,jo=Zo.getParameter(Zo.MAX_TEXTURE_SIZE),Wo=Zo.getSupportedExtensions())}catch(t){}To=Vo,o=Wo,e=jo;var Ko={Iq:"singleclick",xq:"click",yq:"dblclick",Bq:"pointerdrag",Eq:"pointermove",Aq:"pointerdown",Hq:"pointerup",Gq:"pointerover",Fq:"pointerout",Cq:"pointerenter",Dq:"pointerleave",zq:"pointercancel"};function zo(t,e,o,i,r){Po.call(this,t,e,o.b,i,r),this.b=o}function Yo(t,e){this.b=t,this.f=e}function Ho(t){Yo.call(this,t,{mousedown:this.fm,mousemove:this.gm,mouseup:this.jm,mouseover:this.im,mouseout:this.hm}),this.a=t.i,this.i=[]}function qo(t,e){t=t.i;var o=e.clientX;e=e.clientY;for(var i,r=0,n=t.length;r<n&&(i=t[r]);r++){var p=Math.abs(e-i[1]);if(Math.abs(o-i[0])<=25&&p<=25)return!0}return!1}function Jo(t){var e=si(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function _o(t){Yo.call(this,t,{MSPointerDown:this.om,MSPointerMove:this.pm,MSPointerUp:this.sm,MSPointerOut:this.qm,MSPointerOver:this.rm,MSPointerCancel:this.nm,MSGotPointerCapture:this.lm,MSLostPointerCapture:this.mm}),this.a=t.i,this.i=["","unavailable","touch","pen","mouse"]}function $o(t,e){var o=e;return"number"==typeof e.pointerType&&((o=si(e,e)).pointerType=t.i[e.pointerType]),o}function Qo(t){Yo.call(this,t,{pointerdown:this.ip,pointermove:this.jp,pointerup:this.mp,pointerout:this.kp,pointerover:this.lp,pointercancel:this.hp,gotpointercapture:this.ul,lostpointercapture:this.em})}function ti(t,e,o){Ee.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||ei)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=function(t,e){return t.pressure?t.pressure:e?.5:0}(t,this.buttons),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.ctrlKey="ctrlKey"in t&&t.ctrlKey,this.altKey="altKey"in t&&t.altKey,this.shiftKey="shiftKey"in t&&t.shiftKey,this.metaKey="metaKey"in t&&t.metaKey,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.tiltX="tiltX"in t?t.tiltX:0,this.tiltY="tiltY"in t?t.tiltY:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}s(zo,Po),s(Ho,Yo),(t=Ho.prototype).fm=function(t){if(!qo(this,t)){1..toString()in this.a&&this.cancel(t);var e=Jo(t);this.a[1..toString()]=t,ui(this.b,"pointerdown",e,t)}},t.gm=function(t){if(!qo(this,t)){var e=Jo(t);ui(this.b,"pointermove",e,t)}},t.jm=function(t){if(!qo(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Jo(t),ui(this.b,"pointerup",e,t),delete this.a[1..toString()])}},t.im=function(t){if(!qo(this,t)){var e=Jo(t);li(this.b,e,t)}},t.hm=function(t){if(!qo(this,t)){var e=Jo(t);hi(this.b,e,t)}},t.cancel=function(t){var e=Jo(t);this.b.cancel(e,t),delete this.a[1..toString()]},s(_o,Yo),(t=_o.prototype).om=function(t){this.a[t.pointerId.toString()]=t;var e=$o(this,t);ui(this.b,"pointerdown",e,t)},t.pm=function(t){var e=$o(this,t);ui(this.b,"pointermove",e,t)},t.sm=function(t){var e=$o(this,t);ui(this.b,"pointerup",e,t),delete this.a[t.pointerId.toString()]},t.qm=function(t){var e=$o(this,t);hi(this.b,e,t)},t.rm=function(t){var e=$o(this,t);li(this.b,e,t)},t.nm=function(t){var e=$o(this,t);this.b.cancel(e,t),delete this.a[t.pointerId.toString()]},t.mm=function(t){this.b.b(new ti("lostpointercapture",t,t))},t.lm=function(t){this.b.b(new ti("gotpointercapture",t,t))},s(Qo,Yo),(t=Qo.prototype).ip=function(t){ci(this.b,t)},t.jp=function(t){ci(this.b,t)},t.mp=function(t){ci(this.b,t)},t.kp=function(t){ci(this.b,t)},t.lp=function(t){ci(this.b,t)},t.hp=function(t){ci(this.b,t)},t.em=function(t){ci(this.b,t)},t.ul=function(t){ci(this.b,t)},s(ti,Ee);var ei=!1;try{ei=1===new MouseEvent("click",{buttons:1}).buttons}catch(t){}function oi(t,e){Yo.call(this,t,{touchstart:this.rq,touchmove:this.qq,touchend:this.pq,touchcancel:this.oq}),this.a=t.i,this.j=e,this.i=void 0,this.g=0,this.c=void 0}function ii(t,e,o){function i(){e.preventDefault()}var r,n,p,s,a=Array.prototype.slice.call(e.changedTouches),h=a.length;for(r=0;r<h;++r){var l=(n=t,p=e,s=a[r],(p=si(p,s)).pointerId=s.identifier+2,p.bubbles=!0,p.cancelable=!0,p.detail=n.g,p.button=0,p.buttons=1,p.width=s.webkitRadiusX||s.radiusX||0,p.height=s.webkitRadiusY||s.radiusY||0,p.pressure=s.webkitForce||s.force||.5,p.isPrimary=n.i===s.identifier,p.pointerType="touch",p.clientX=s.clientX,p.clientY=s.clientY,p.screenX=s.screenX,p.screenY=s.screenY,p);l.preventDefault=i,o.call(t,e,l)}}function ri(t,e){var o=t.j.i;if(e=e.changedTouches[0],t.i===e.identifier){var i=[e.clientX,e.clientY];o.push(i),setTimeout(function(){p(o,i)},2500)}}function ni(t){je.call(this),this.g=t,this.i={},this.f={},this.a=[],Bo?pi(this,new Qo(this)):Xo?pi(this,new _o(this)):(pi(this,t=new Ho(this)),Go&&pi(this,new oi(this,t))),t=this.a.length;for(var e,o=0;o<t;o++)e=this.a[o],i=this,Object.keys(e.f).forEach(function(t){me(this.g,t,this.c,this)},i);var i}function pi(t,o){var e=Object.keys(o.f);e&&(e.forEach(function(t){var e=o.f[t];e&&(this.f[t]=e.bind(o))},t),t.a.push(o))}function si(t,e){for(var o,i={},r=0,n=yi.length;r<n;r++)i[o=yi[r][0]]=t[o]||e[o]||yi[r][1];return i}function ai(t,e,o){e.bubbles=!1,ui(t,"pointerleave",e,o)}function hi(t,e,o){t.out(e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||ai(t,e,o)}function li(t,e,o){e.bubbles=!0,ui(t,"pointerover",e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||(e.bubbles=!1,ui(t,"pointerenter",e,o))}function ui(t,e,o,i){t.b(new ti(e,i,o))}function ci(t,e){t.b(new ti(e.type,e,e))}s(oi,Yo),(t=oi.prototype).ij=function(){this.g=0,this.c=void 0},t.rq=function(t){var e=t.touches,o=Object.keys(this.a),i=o.length;if(i>=e.length){var r,n=[];for(r=0;r<i;++r){var p,s=o[r],a=this.a[s];if(!(p=1==s))t:{for(var h=e.length,l=0;l<h;l++)if((p=e[l]).identifier===s-2){p=!0;break t}p=!1}p||n.push(a.out)}for(r=0;r<n.length;++r)this.Kf(t,n[r])}e=t.changedTouches[0],(!(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.i=e.identifier,void 0!==this.c&&clearTimeout(this.c)),ri(this,t),this.g++,ii(this,t,this.cp)},t.cp=function(t,e){this.a[e.pointerId]={target:e.target,out:e,Wi:e.target};var o=this.b;e.bubbles=!0,ui(o,"pointerover",e,t),o=this.b,e.bubbles=!1,ui(o,"pointerenter",e,t),ui(this.b,"pointerdown",e,t)},t.qq=function(t){t.preventDefault(),ii(this,t,this.km)},t.km=function(t,e){var o=this.a[e.pointerId];if(o){var i=o.out,r=o.Wi;ui(this.b,"pointermove",e,t),i&&r!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=r,i.target=r,e.target?(hi(this.b,i,t),li(this.b,e,t)):(e.target=r,e.relatedTarget=null,this.Kf(t,e))),o.out=e,o.Wi=e.target}},t.pq=function(t){ri(this,t),ii(this,t,this.sq)},t.sq=function(t,e){ui(this.b,"pointerup",e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},t.oq=function(t){ii(this,t,this.Kf)},t.Kf=function(t,e){this.b.cancel(e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},s(ni,je),ni.prototype.c=function(t){var e=this.f[t.type];e&&e(t)},ni.prototype.out=function(t,e){t.bubbles=!0,ui(this,"pointerout",t,e)},ni.prototype.cancel=function(t,e){ui(this,"pointercancel",t,e)};var yi=[["bubbles",!(ni.prototype.ka=function(){for(var t,e=this.a.length,o=0;o<e;o++)t=this.a[o],i=this,Object.keys(t.f).forEach(function(t){xe(this.g,t,this.c,this)},i);var i;je.prototype.ka.call(this)})],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function fi(t,e){je.call(this),this.i=t,this.j=0,this.o=!1,this.f=[],this.D=e?e*Fo:Fo,this.c=null,t=this.i.a,this.S=0,this.u={},this.g=new ni(t),this.a=null,this.l=me(this.g,"pointerdown",this.Ol,this),this.v=me(this.g,"pointermove",this.Lp,this)}function gi(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.u[e.pointerId]:"pointerdown"==e.type&&(t.u[e.pointerId]=!0),t.S=Object.keys(t.u).length}function di(t,e){return Math.abs(e.clientX-t.c.clientX)>t.D||Math.abs(e.clientY-t.c.clientY)>t.D}function vi(t,e){this.l=t,this.c=e,this.b=[],this.i=[],this.a={}}function bi(t){var e=t.b,o=t.i,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),mi(t,0)),e=t.c(i),delete t.a[e],i}function mi(t,e){for(var o=t.b,i=t.i,r=o.length,n=o[e],p=i[e],s=e;e<r>>1;){var a=2*e+1,h=2*e+2;a=h<r&&i[h]<i[a]?h:a;o[e]=o[a],i[e]=i[a],e=a}o[e]=n,i[e]=p,wi(t,s,e)}function wi(t,e,o){var i=t.b;t=t.i;for(var r=i[o],n=t[o];e<o;){var p=o-1>>1;if(!(t[p]>n))break;i[o]=i[p],t[o]=t[p],o=p}i[o]=r,t[o]=n}function xi(t){var e,o=t.l,i=t.b,r=t.i,n=0,p=i.length;for(e=0;e<p;++e){var s=i[e],a=o(s);1/0==a?delete t.a[t.c(s)]:(r[n]=a,i[n++]=s)}for(i.length=n,r.length=n,o=(t.b.length>>1)-1;0<=o;o--)mi(t,o)}function Si(e,t){vi.call(this,function(t){return e.apply(null,t)},function(t){return t[0].bb()}),this.v=t,this.j=0,this.g={}}function Mi(t,e,o){for(var i,r,n=0;t.j<e&&n<o&&0<t.b.length;)r=(i=bi(t)[0]).bb(),0!==i.getState()||r in t.g||(t.g[r]=!0,++t.j,++n,i.load())}function Pi(t){if(void 0!==t)return 0}function Ai(t,e){if(void 0!==t)return t+e}function Ei(t,e){return 2<(e=-1===(e=(t=void 0!==e?t.toFixed(e):""+t).indexOf("."))?t.length:e)?t:Array(3-e).join("0")+t}function Ti(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var i=parseInt(t[o]||"0",10),r=parseInt(e[o]||"0",10);if(r<i)return 1;if(i<r)return-1}return 0}function ji(t,e){return t[0]+=e[0],t[1]+=e[1],t}function Ci(t,e){var o=t[0];t=t[1];var i=e[0],r=e[1];e=i[0];i=i[1];var n=r[0],p=n-e,s=(r=r[1])-i;return o=(o=p||s?(p*(o-e)+s*(t-i))/(p*p+s*s||0):0)<=0?(t=e,i):1<=o?(t=n,r):(t=e+o*p,i+o*s),[t,o]}function Li(t,e,o){e=L(e+180,360)-180;var i=Math.abs(3600*e);o=o||0;var r=Math.pow(10,o),n=Math.floor(i/3600),p=Math.floor((i-3600*n)/60);return 60<=(i=Math.ceil((i-3600*n-60*p)*r)/r)&&(i=0,p+=1),60<=p&&(p=0,n+=1),n+"° "+Ei(p)+"′ "+Ei(i,o)+"″"+(e?" "+t.charAt(e<0?1:0):"")}function Ri(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function Ii(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function Ni(t,e){var o=Math.cos(e);e=Math.sin(e);var i=t[1]*o+t[0]*e;return t[0]=t[0]*o-t[1]*e,t[1]=i,t}function Fi(t,e){t[0]*=e,t[1]*=e}function ki(t,e){var o=t[0]-e[0];return o*o+(t=t[1]-e[1])*t}function Di(t,e){return Math.sqrt(ki(t,e))}function Oi(t,e){return ki(t,Ci(t,e))}function Ui(t,e){return Ri(t,"{x}, {y}",e)}function Gi(){return!0}function Bi(){return!1}function Xi(){Re.call(this),this.l=[1/0,1/0,-1/0,-1/0],this.v=-1,this.f={},this.o=this.g=0}function Vi(t,e,o,i,r,n){for(var p=n||[],s=0;e<o;e+=i){var a=t[e],h=t[e+1];p[s++]=r[0]*a+r[2]*h+r[4],p[s++]=r[1]*a+r[3]*h+r[5]}return n&&p.length!=s&&(p.length=s),p}function Wi(t,e,o,i,r,n,p){for(var s,a=p||[],h=0;e<o;e+=i)for(a[h++]=t[e]+r,a[h++]=t[e+1]+n,s=e+2;s<e+i;++s)a[h++]=t[s];return p&&a.length!=h&&(a.length=h),a}function Zi(){Xi.call(this),this.ja="XY",this.a=2,this.A=null}function Ki(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function zi(t,e,o){t.a=Ki(e),t.ja=e,t.A=o}function Yi(t,e,o,i){if(e)o=Ki(e);else{for(e=0;e<i;++e){if(!o.length)return t.ja="XY",void(t.a=2);o=o[0]}var r;2==(o=o.length)?r="XY":3==o?r="XYZ":4==o&&(r="XYZM"),e=r}t.ja=e,t.a=o}function Hi(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(p*s-n*a),n=s,p=a}return r/2}function qi(t,e,o,i){var r,n=0,p=0;for(r=o.length;p<r;++p){var s=o[p];n=n+Hi(t,e,s,i);e=s}return n}function Ji(t,e,o,i,r,n,p){var s=t[e],a=t[e+1],h=t[o]-s,l=t[o+1]-a;if(h||l)if(1<(n=((r-s)*h+(n-a)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)p[r]=M(t[e+r],t[o+r],n);return void(p.length=i)}for(r=0;r<i;++r)p[r]=t[e+r];p.length=i}function _i(t,e,o,i,r){var n=t[e],p=t[e+1];for(e+=i;e<o;e+=i){var s=t[e],a=t[e+1];r<(n=g(n,p,s,a))&&(r=n),n=s,p=a}return r}function $i(t,e,o,i,r){var n,p=0;for(n=o.length;p<n;++p){var s=o[p];r=_i(t,e,s,i,r),e=s}return r}function Qi(t,e,o,i,r,n,p,s,a,h,l){if(e==o)return h;if(!r){var u=g(p,s,t[e],t[e+1]);if(u<h){for(l=0;l<i;++l)a[l]=t[e+l];return a.length=i,u}return h}for(var c=l||[NaN,NaN],y=e+i;y<o;)if(Ji(t,y-i,y,i,p,s,c),(u=g(p,s,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)a[l]=c[l];y+=a.length=i}else y+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(Ji(t,o-i,e,i,p,s,c),(u=g(p,s,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)a[l]=c[l];a.length=i}return h}function tr(t,e,o,i,r,n,p,s,a,h,l){var u;l=l||[NaN,NaN];var c=0;for(u=o.length;c<u;++c){var y=o[c];h=Qi(t,e,y,i,r,n,p,s,a,h,l),e=y}return h}function er(t,e){var o,i=0,r=0;for(o=e.length;r<o;++r)t[i++]=e[r];return i}function or(t,e,o,i){var r,n=0;for(r=o.length;n<r;++n){var p,s=o[n];for(p=0;p<i;++p)t[e++]=s[p]}return e}function ir(t,e,o,i,r){r=r||[];var n,p=0,s=0;for(n=o.length;s<n;++s)e=or(t,e,o[s],i),r[p++]=e;return r.length=p,r}function rr(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function nr(t,e,o,i,r){r=void 0!==r?r:[];var n,p=0,s=0;for(n=o.length;s<n;++s){var a=o[s];r[p++]=rr(t,e,a,i,r[p]),e=a}return r.length=p,r}function pr(t,e,o,i,r,n,p){var s=(o-e)/i;if(s<3){for(;e<o;e+=i)n[p++]=t[e],n[p++]=t[e+1];return p}var a=Array(s);a[0]=1,a[s-1]=1,o=[e,o-i];for(var h,l=0;0<o.length;){var u=o.pop(),c=o.pop(),y=0,f=t[c],g=t[c+1],d=t[u],v=t[u+1];for(h=c+i;h<u;h+=i){var b=x(t[h],t[h+1],f,g,d,v);y<b&&(l=h,y=b)}r<y&&(a[(l-e)/i]=1,c+i<l&&o.push(c,l),l+i<u&&o.push(l,u))}for(h=0;h<s;++h)a[h]&&(n[p++]=t[e+h*i],n[p++]=t[e+h*i+1]);return p}function sr(t,e,o,i,r,n,p,s){var a,h=0;for(a=o.length;h<a;++h){var l=o[h];t:{var u=t,c=l,y=i,f=r,g=n,d=p;if(e!=c){var v=f*Math.round(u[e]/f),b=f*Math.round(u[e+1]/f);e+=y,g[d++]=v,g[d++]=b;do{var m=f*Math.round(u[e]/f);if(p=f*Math.round(u[e+1]/f),(e+=y)==c){g[d++]=m,g[d++]=p,p=d;break t}}while(m==v&&p==b);for(;e<c;){var w=f*Math.round(u[e]/f),x=f*Math.round(u[e+1]/f);if(e+=y,w!=m||x!=p){var S=m-v,M=p-b,P=w-v,A=x-b;S*A==M*P&&(S<0&&P<S||S==P||0<S&&S<P)&&(M<0&&A<M||M==A||0<M&&M<A)||(v=g[d++]=m,b=g[d++]=p),m=w,p=x}}g[d++]=m,g[d++]=p}p=d}s.push(p),e=l}return p}function ar(t,e){Zi.call(this),this.c=this.j=-1,this.ma(t,e)}function hr(t,e,o){zi(t,e,o),t.s()}function lr(t,e){Zi.call(this),this.ma(t,e)}function ur(e,o,i,r,t){return!_(t,function(t){return!cr(e,o,i,r,t[0],t[1])})}function cr(t,e,o,i,r,n){for(var p=0,s=t[o-i],a=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];a<=n?n<l&&0<(h-s)*(n-a)-(r-s)*(l-a)&&p++:l<=n&&(h-s)*(n-a)-(r-s)*(l-a)<0&&p--,s=h,a=l}return!!p}function yr(t,e,o,i,r,n){if(!o.length||!cr(t,e,o[0],i,r,n))return!1;var p;for(e=1,p=o.length;e<p;++e)if(cr(t,o[e-1],o[e],i,r,n))return!1;return!0}function fr(t,e,o,i,r,n,p){var s,a=r[n+1],h=[],l=o[0],u=t[l-i],c=t[l-i+1];for(s=e;s<l;s+=i){var y=t[s],f=t[s+1];(a<=c&&f<=a||c<=a&&a<=f)&&(u=(a-c)/(f-c)*(y-u)+u,h.push(u)),u=y,c=f}for(l=NaN,c=-1/0,h.sort(N),u=h[0],s=1,f=h.length;s<f;++s){y=h[s];var g=Math.abs(y-u);c<g&&(yr(t,e,o,i,u=(u+y)/2,a)&&(l=u,c=g)),u=y}return isNaN(l)&&(l=r[n]),p?(p.push(l,a),p):[l,a]}function gr(t,e,o,i,r,n){for(var p,s=[t[e],t[e+1]],a=[];e+i<o;e+=i){if(a[0]=t[e+i],a[1]=t[e+i+1],p=r.call(n,s,a))return p;s[0]=a[0],s[1]=a[1]}return!1}function dr(t,e,o,i,l){var r=J([1/0,1/0,-1/0,-1/0],t,e,o,i);return!!at(l,r)&&(!!(O(l,r)||r[0]>=l[0]&&r[2]<=l[2]||r[1]>=l[1]&&r[3]<=l[3])||gr(t,e,o,i,function(t,e){var o=!1,i=X(l,t),r=X(l,e);if(1===i||1===r)o=!0;else{var n=l[0],p=l[1],s=l[2],a=l[3],h=e[0];t=((e=e[1])-t[1])/(h-t[0]),2&r&&!(2&i)&&(o=n<=(o=h-(e-a)/t)&&o<=s),o||!(4&r)||4&i||(o=p<=(o=e-(h-s)*t)&&o<=a),o||!(8&r)||8&i||(o=n<=(o=h-(e-p)/t)&&o<=s),o||!(16&r)||16&i||(o=p<=(o=e-(h-n)*t)&&o<=a)}return o}))}function vr(t,e,o,i,r){var n=o[0];if(!(dr(t,e,n,i,r)||cr(t,e,n,i,r[0],r[1])||cr(t,e,n,i,r[0],r[3])||cr(t,e,n,i,r[2],r[1])||cr(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(ur(t,o[e-1],o[e],i,r))return!1;return!0}function br(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(s-n)*(a+p),n=s,p=a}return 0<r}function mr(t,e,o,i){var r,n=0;i=void 0!==i&&i;var p=0;for(r=e.length;p<r;++p){var s=e[p];n=br(t,n,s,o);if(p){if(i&&!n||!i&&n)return!1}else if(i&&n||!i&&!n)return!1;n=s}return!0}function wr(t,e,o,i,r){var n;r=void 0!==r&&r;var p=0;for(n=o.length;p<n;++p){var s=o[p],a=br(t,e,s,i);if(p?r&&!a||!r&&a:r&&a||!r&&!a){a=t;for(var h=s,l=i;e<h-l;){var u;for(u=0;u<l;++u){var c=a[e+u];a[e+u]=a[h-l+u],a[h-l+u]=c}e+=l,h-=l}}e=s}return e}function xr(t,e,o,i){var r,n=0,p=0;for(r=e.length;p<r;++p)n=wr(t,n,e[p],o,i);return n}function Sr(t,e){Zi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function Mr(t){if(t.u!=t.i){var e=et(t.G());t.D=fr(t.ec(),0,t.c,t.a,e,0),t.u=t.i}return t.D}function Pr(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)c(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new Sr(null)).ba("XY",i,[i.length]),t}function Ar(t){var e=t[0],o=t[1],i=t[2];return e=[e,o,e,t=t[3],i,t,i,o,e,o],(o=new Sr(null)).ba("XY",e,[e.length]),o}function Er(t,e,o){for(var i=e||32,r=t.qa(),n=new Sr(null,e=t.ja),p=(i=r*(i+1),r=Array(i),0);p<i;p++)r[p]=0;return n.ba(e,r,[r.length]),Tr(n,t.wa(),t.pd(),o),n}function Tr(t,e,o,i){var r=t.ga(),n=t.ja,p=t.qa(),s=t.Bb(),a=r.length/p-1;i=i||0;for(var h,l,u=0;u<=a;++u)l=u*p,h=i+2*L(u,a)*Math.PI/a,r[l]=e[0]+o*Math.cos(h),r[1+l]=e[1]+o*Math.sin(h);t.ba(n,r,s)}function jr(t){Re.call(this),t=ct({},t),this.o=[0,0],this.c=[],this.wf=this.wf.bind(this),this.v=Bt(t.projection),Cr(this,t)}function Cr(t,e){var o={};o.center=void 0!==e.center?e.center:null;var i=void 0!==e.minZoom?e.minZoom:0,r=void 0!==e.maxZoom?e.maxZoom:28,n=void 0!==e.zoomFactor?e.zoomFactor:2;if(void 0!==e.resolutions){var p=(r=e.resolutions)[0],s=r[r.length-1];r=function(i){return function(t,e,o){if(void 0!==t)return(t=w((t=l(i,t,o))+e,0,i.length-1))!=(e=Math.floor(t))&&e<i.length-1?i[e]/Math.pow(i[e]/i[e+1],t-e):i[e]}}(r)}else{var a=((s=(p=Bt(e.projection)).G())?Math.max(st(s),it(s)):360*bt.degrees/p.sc())/256/Math.pow(2,0),h=a/Math.pow(2,28);void 0!==(p=e.maxResolution)?i=0:p=a/Math.pow(n,i),void 0===(s=e.minResolution)&&(s=void 0!==e.maxZoom?void 0!==e.maxResolution?p/Math.pow(n,r):a/Math.pow(n,r):h),r=i+Math.floor(Math.log(p/s)/Math.log(n)),s=p/Math.pow(n,r-i),r=function(i,r,n){return function(t,e,o){if(void 0!==t)return t=Math.max(Math.floor(Math.log(r/t)/Math.log(i)+(-o/2+.5))+e,0),void 0!==n&&(t=Math.min(t,n)),r/Math.pow(i,t)}}(n,p,r-i)}t.a=p,t.f=s,t.C=n,t.j=e.resolutions,t.l=i,i=void 0===e.enableRotation||e.enableRotation?void 0===(i=e.constrainRotation)||!0===i?function(){var o=S(5);return function(t,e){if(void 0!==t)return Math.abs(t+e)<=o?0:t+e}}():!1===i?Ai:"number"==typeof i?function(t){var o=2*Math.PI/t;return function(t,e){if(void 0!==t)return Math.floor((t+e)/o+.5)*o}}(i):Ai:Pi,t.g={center:void 0!==e.extent?function(e){return function(t){if(t)return[w(t[0],e[0],e[2]),w(t[1],e[1],e[3])]}}(e.extent):ye,resolution:r,rotation:i},void 0!==e.resolution?o.resolution=e.resolution:void 0!==e.zoom&&(o.resolution=t.constrainResolution(t.a,e.zoom-t.l)),o.rotation=void 0!==e.rotation?e.rotation:0,t.H(o),t.D=e}function Lr(t,e){var o=ct({},t.D);return void 0!==o.resolution?o.resolution=t.Pa():o.zoom=t.Hh(),o.center=t.wa(),o.rotation=t.Qa(),ct({},o,e)}function Rr(t,e,o){var i=t.wa();if(void 0!==i){var r=[i[0]-o[0],i[1]-o[1]];Ni(r,e-t.Qa()),ji(r,o)}return r}function Ir(t,e,o){var i,r=t.wa();return t=t.Pa(),void 0!==r&&void 0!==t&&(i=[o[0]-e*(o[0]-r[0])/t,o[1]-e*(o[1]-r[1])/t]),i}function Nr(t){var e=[100,100];return t='.ol-viewport[data-view="'+G(t)+'"]',(t=document.querySelector(t))&&(t=getComputedStyle(t),e[0]=parseInt(t.width,10),e[1]=parseInt(t.height,10)),e}function Fr(t,e){return void 0!==e?(e[0]=t.o[0],e[1]=t.o[1],e):t.o.slice()}function kr(t){return!!t.wa()&&void 0!==t.Pa()}function Dr(t,e,o){t.o[e]+=o,t.s()}function Or(t,e,o){this.f=t,this.c=e,this.g=o,this.b=[],this.a=this.i=0}function Ur(t){t.b.length=0,t.i=0,t.a=0}function Gr(t){Re.call(this),this.v=null,this.Ha(!0),this.handleEvent=t.handleEvent}function Br(t,e,o,i){if(void 0!==e){var r=t.Qa(),n=t.wa();void 0!==r&&n&&0<i?t.animate({rotation:e,anchor:o,duration:i,easing:ro}):t.rotate(e,o)}}function Xr(t,e,o,i){var r=t.Pa();if(e=t.constrainResolution(r,e,0),o&&void 0!==e&&e!==r){var n=t.wa();o=Ir(t,e,o),o=t.Ec(o),o=[(e*n[0]-r*o[0])/(e-r),(e*n[1]-r*o[1])/(e-r)]}Vr(t,e,o,i)}function Vr(t,e,o,i){if(e){var r=t.Pa(),n=t.wa();void 0!==r&&n&&e!==r&&i?t.animate({resolution:e,anchor:o,duration:i,easing:ro}):(o&&(o=Ir(t,e,o),t.ob(o)),t.Vc(e))}}function Wr(t){t=t||{},this.a=t.delta?t.delta:1,Gr.call(this,{handleEvent:Zr}),this.g=void 0!==t.duration?t.duration:250}function Zr(t){var e=!1,o=t.originalEvent;if("dblclick"==t.type){e=t.coordinate,o=o.shiftKey?-this.a:this.a;Xr(t.map.Z(),o,e,this.g),t.preventDefault(),e=!0}return!e}function Kr(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function zr(t){return!((t=t.originalEvent).button||Io&&No&&t.ctrlKey)}function Yr(t){return"pointermove"==t.type}function Hr(t){return"singleclick"==t.type}function qr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function Jr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function _r(t){return"INPUT"!==(t=t.originalEvent.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function $r(t){return R(t.b,56),"mouse"==t.b.pointerType}function Qr(t){return(t=t.b).isPrimary&&0===t.button}function tn(t){Gr.call(this,{handleEvent:(t=t||{}).handleEvent?t.handleEvent:on}),this.yf=t.handleDownEvent?t.handleDownEvent:Bi,this.If=t.handleDragEvent?t.handleDragEvent:m,this.Jf=t.handleMoveEvent?t.handleMoveEvent:m,this.sk=t.handleUpEvent?t.handleUpEvent:Bi,this.D=!1,this.na={},this.o=[]}function en(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++)o+=t[r].clientX,i+=t[r].clientY;return[o/e,i/e]}function on(t){if(!(t instanceof zo))return!0;var e=!1,o=t.type;return"pointerdown"!==o&&"pointerdrag"!==o&&"pointerup"!==o||(o=t.b,"pointerup"==t.type?delete this.na[o.pointerId]:"pointerdown"==t.type?this.na[o.pointerId]=o:o.pointerId in this.na&&(this.na[o.pointerId]=o),this.o=ft(this.na)),this.D?"pointerdrag"==t.type?this.If(t):"pointerup"==t.type&&(this.D=this.sk(t)&&0<this.o.length):"pointerdown"==t.type?(this.D=t=this.yf(t),e=this.Xc(t)):"pointermove"==t.type&&this.Jf(t),!e}function rn(t){tn.call(this,{handleDownEvent:sn,handleDragEvent:nn,handleUpEvent:pn}),t=t||{},this.a=t.kinetic,this.g=null,this.u=t.condition?t.condition:qr,this.j=!1}function nn(t){var e=this.o,o=en(e);if(e.length==this.l){if(this.a&&this.a.b.push(o[0],o[1],Date.now()),this.g){var i=this.g[0]-o[0],r=o[1]-this.g[1],n=(t=t.map.Z()).getState();Fi(i=[i,r],n.resolution),Ni(i,n.rotation),ji(i,n.center),i=t.Ec(i),t.ob(i)}}else this.a&&Ur(this.a);this.g=o,this.l=e.length}function pn(t){if(t=(r=t.map).Z(),this.o.length)return this.a&&Ur(this.a),!(this.g=null);if(!this.j&&this.a&&function(t){if(t.b.length<6)return!1;var e=Date.now()-t.g,o=t.b.length-3;if(t.b[o+2]<e)return!1;for(var i=o-3;0<i&&t.b[i+2]>e;)i-=3;if((e=t.b[o+2]-t.b[i+2])<1e3/60)return!1;var r=t.b[o]-t.b[i];return o=t.b[o+1]-t.b[i+1],t.i=Math.atan2(o,r),t.a=Math.sqrt(r*r+o*o)/e,t.a>t.c}(this.a)){var e=this.a;e=(e.c-e.a)/e.f;var o=this.a.i,i=t.wa(),r=(i=r.Ja(i),r.Wa([i[0]-e*Math.cos(o),i[1]-e*Math.sin(o)]));t.animate({center:t.Ec(r),duration:500,easing:ro})}return Dr(t,1,-1),!1}function sn(t){if(0<this.o.length&&this.u(t)){var e=t.map.Z();return this.g=null,this.D||Dr(e,1,1),Fr(e)[0]&&e.ob(t.frameState.viewState.center),this.a&&Ur(this.a),this.j=1<this.o.length,!0}return!1}function an(t){t=t||{},tn.call(this,{handleDownEvent:un,handleDragEvent:hn,handleUpEvent:ln}),this.g=t.condition?t.condition:Kr,this.a=void 0,this.j=void 0!==t.duration?t.duration:250}function hn(t){if($r(t)){var e=(o=t.map).Z();if(e.g.rotation!==Pi){if(o=o.Ob(),t=t.pixel,t=Math.atan2(o[1]/2-t[1],t[0]-o[0]/2),void 0!==this.a){var o=t-this.a,i=e.Qa();Br(e,i-o)}this.a=t}}}function ln(t){if(!$r(t))return!0;Dr(t=t.map.Z(),1,-1);var e=t.Qa(),o=this.j;e=t.constrainRotation(e,0);return Br(t,e,void 0,o),!1}function un(t){return!!($r(t)&&zr(t)&&this.g(t))&&(Dr(t.map.Z(),1,1),!(this.a=void 0))}function cn(t){this.Gc=null,this.a=document.createElement("div"),this.a.style.position="absolute",this.a.className="ol-box "+t,this.i=this.c=this.b=null}function yn(t){var e=t.c,o=t.i;(t=t.a.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function fn(t){var e=t.c,o=t.i;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.b.Wa,t.b))[4]=e[0].slice(),t.Gc?t.Gc.ma([e]):t.Gc=new Sr([e])}function gn(t){tn.call(this,{handleDownEvent:mn,handleDragEvent:vn,handleUpEvent:bn}),t=t||{},this.a=new cn(t.className||"ol-dragbox"),this.u=void 0!==t.minArea?t.minArea:64,this.g=null,this.C=t.condition?t.condition:Gi,this.l=t.boxEndCondition?t.boxEndCondition:dn}function dn(t,e,o){return(t=o[0]-e[0])*t+(e=o[1]-e[1])*e>=this.u}function vn(t){if($r(t)){var e=this.a,o=t.pixel;e.c=this.g,e.i=o,fn(e),yn(e),this.b(new Mn(xn,t.coordinate,t))}}function bn(t){return!$r(t)||(this.a.setMap(null),this.l(t,this.g,t.pixel)&&(this.j(t),this.b(new Mn(Sn,t.coordinate,t))),!1)}function mn(t){if($r(t)&&zr(t)&&this.C(t)){this.g=t.pixel,this.a.setMap(t.map);var e=this.a,o=this.g;return e.c=this.g,e.i=o,fn(e),yn(e),this.b(new Mn(wn,t.coordinate,t)),!0}return!1}s(fi,je),(t=fi.prototype).Jh=function(t){gi(this,t);var e=new zo("pointerup",this.i,t);this.b(e),this.o||t.button||function(t,e){var o=new zo("click",t.i,e);t.b(o),t.j?(clearTimeout(t.j),t.j=0,o=new zo("dblclick",t.i,e),t.b(o)):t.j=setTimeout(function(){this.j=0;var t=new zo("singleclick",this.i,e);this.b(t)}.bind(t),250)}(this,this.c),this.S||(this.f.forEach(Se),this.f.length=0,this.o=!1,this.c=null,Ae(this.a),this.a=null)},t.Ol=function(t){gi(this,t);var e=new zo("pointerdown",this.i,t);this.b(e),this.c=t,this.f.length||(this.a=new ni(document),this.f.push(me(this.a,"pointermove",this.Hm,this),me(this.a,"pointerup",this.Jh,this),me(this.g,"pointercancel",this.Jh,this)))},t.Hm=function(t){if(di(this,t)){this.o=!0;var e=new zo("pointerdrag",this.i,t,this.o);this.b(e)}t.preventDefault()},t.Lp=function(t){this.b(new zo(t.type,this.i,t,!(!this.c||!di(this,t))))},t.ka=function(){this.v&&(Se(this.v),this.v=null),this.l&&(Se(this.l),this.l=null),this.f.forEach(Se),this.f.length=0,this.a&&(Ae(this.a),this.a=null),this.g&&(Ae(this.g),this.g=null),je.prototype.ka.call(this)},vi.prototype.clear=function(){this.b.length=0,this.i.length=0,yt(this.a)},vi.prototype.f=function(t){R(!(this.c(t)in this.a),31);var e=this.l(t);return 1/0!=e&&(this.b.push(t),this.i.push(e),this.a[this.c(t)]=!0,wi(this,0,this.b.length-1),!0)},s(Si,vi),Si.prototype.f=function(t){var e=vi.prototype.f.call(this,t);return e&&me(t[0],"change",this.o,this),e},Si.prototype.o=function(t){var e=(t=t.target).getState();2!==e&&3!==e&&4!==e&&5!==e||(xe(t,"change",this.o,this),(t=t.bb())in this.g&&(delete this.g[t],--this.j),this.v())},s(Xi,Re),(t=Xi.prototype).Ab=function(t,e){return e=e||[NaN,NaN],this.Kb(t[0],t[1],e,1/0),e},t.sb=function(t){return this.Mc(t[0],t[1])},t.Mc=Bi,t.G=function(t){this.v!=this.i&&(this.l=this.se(this.l),this.v=this.i);var e=this.l;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},t.Rb=function(t){return this.Vd(t*t)},t.tb=function(t,e){return this.Dc(Kt(t,e)),this},s(Zi,Xi),(t=Zi.prototype).Mc=Bi,t.se=function(t){return z(this.A,0,this.A.length,this.a,t)},t.ac=function(){return this.A.slice(0,this.a)},t.ga=function(){return this.A},t.bc=function(){return this.A.slice(this.A.length-this.a)},t.cc=function(){return this.ja},t.Vd=function(t){if(this.o!=this.i&&(yt(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<=this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o=this.hd(t);return o.ga().length<this.A.length?this.f[e]=o:(this.g=t,this)},t.hd=function(){return this},t.qa=function(){return this.a},t.Dc=function(t){this.A&&(t(this.A,this.A,this.a),this.s())},t.rotate=function(t,e){var o=this.ga();if(o){var i=o.length,r=this.qa(),n=o||[],p=Math.cos(t);t=Math.sin(t);var s=e[0];e=e[1];for(var a=0,h=0;h<i;h+=r){var l=o[h]-s,u=o[h+1]-e;for(n[a++]=s+l*p-u*t,n[a++]=e+l*t+u*p,l=h+2;l<h+r;++l)n[a++]=o[l]}o&&n.length!=a&&(n.length=a),this.s()}},t.scale=function(t,e,o){var i=e;if(void 0===i&&(i=t),s=(s=o)||et(this.G()),o=this.ga()){e=o.length;for(var r=this.qa(),n=o||[],p=s[0],s=s[1],a=0,h=0;h<e;h+=r){var l=o[h]-p,u=o[h+1]-s;for(n[a++]=p+t*l,n[a++]=s+i*u,l=h+2;l<h+r;++l)n[a++]=o[l]}o&&n.length!=a&&(n.length=a),this.s()}},t.translate=function(t,e){var o=this.ga();o&&(Wi(o,0,o.length,this.qa(),t,e,o),this.s())},s(ar,Zi),(t=ar.prototype).clone=function(){var t=new ar(null);return hr(t,this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.c!=this.i&&(this.j=Math.sqrt(_i(this.A,0,this.A.length,this.a,0)),this.c=this.i),Qi(this.A,0,this.A.length,this.a,this.j,!0,t,e,o,i))},t.qn=function(){return Hi(this.A,0,this.A.length,this.a)},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.hd=function(t){var e=[];return e.length=pr(this.A,0,this.A.length,this.a,t,e,0),hr(t=new ar(null),"XY",e),t},t.U=function(){return"LinearRing"},t.Xa=function(){},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):hr(this,"XY",null)},s(lr,Zi),(t=lr.prototype).clone=function(){var t=new lr(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){var r=this.A;if((t=g(t,e,r[0],r[1]))<i){for(i=this.a,e=0;e<i;++e)o[e]=r[e];return o.length=i,t}return i},t.X=function(){return this.A?this.A.slice():[]},t.se=function(t){return K(this.A,t)},t.U=function(){return"Point"},t.Xa=function(t){return B(t,this.A[0],this.A[1])},t.ma=function(t,e){t?(Yi(this,e,t,0),this.A||(this.A=[]),this.A.length=er(this.A,t),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(Sr,Zi),(t=Sr.prototype).pk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},t.clone=function(){var t=new Sr(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.C!=this.i&&(this.B=Math.sqrt($i(this.A,0,this.c,this.a,0)),this.C=this.i),tr(this.A,0,this.c,this.a,this.B,!0,t,e,o,i))},t.Mc=function(t,e){return yr(this.ec(),0,this.c,this.a,t,e)},t.tn=function(){return qi(this.ec(),0,this.c,this.a)},t.X=function(t){if(void 0!==t){var e=this.ec().slice();wr(e,0,this.c,this.a,t)}else e=this.A;return nr(e,0,this.c,this.a)},t.Bb=function(){return this.c},t.Tk=function(){return new lr(Mr(this))},t.Zk=function(){return this.c.length},t.Ch=function(t){if(t<0||this.c.length<=t)return null;var e=new ar(null);return hr(e,this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},t.Sd=function(){var t,e=this.ja,o=this.A,i=this.c,r=[],n=0,p=0;for(t=i.length;p<t;++p){var s=i[p],a=new ar(null);hr(a,e,o.slice(n,s)),r.push(a),n=s}return r},t.ec=function(){if(this.I!=this.i){var t=this.A;mr(t,this.c,this.a)?this.j=t:(this.j=t.slice(),this.j.length=wr(this.j,0,this.c,this.a)),this.I=this.i}return this.j},t.hd=function(t){var e=[],o=[];return e.length=sr(this.A,0,this.c,this.a,Math.sqrt(t),e,0,o),(t=new Sr(null)).ba("XY",e,o),t},t.U=function(){return"Polygon"},t.Xa=function(t){return vr(this.ec(),0,this.c,this.a,t)},t.ma=function(t,e){t?(Yi(this,e,t,2),this.A||(this.A=[]),t=ir(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},t.ba=function(t,e,o){zi(this,t,e),this.c=o,this.s()},s(jr,Re),(t=jr.prototype).animate=function(t){var e=Date.now(),o=this.wa().slice(),i=this.Pa(),r=this.Qa(),n=arguments.length;if(1<n&&"function"==typeof arguments[n-1]){var p=arguments[n-1];--n}for(var s=[],a=0;a<n;++a){var h=arguments[a],l={start:e,complete:!1,anchor:h.anchor,duration:void 0!==h.duration?h.duration:1e3,easing:h.easing||no};h.center&&(l.Rg=o,l.Tg=h.center,o=l.Tg),void 0!==h.zoom?(l.tf=i,l.zd=this.constrainResolution(this.a,h.zoom-this.l,0),i=l.zd):h.resolution&&(l.tf=i,l.zd=h.resolution,i=l.zd),void 0!==h.rotation&&(l.Sg=r,l.uf=h.rotation,r=l.uf),l.callback=p,e+=l.duration,s.push(l)}this.c.push(s),Dr(this,0,1),this.wf()},t.Ic=function(){return 0<Fr(this)[0]},t.Rk=function(){return 0<Fr(this)[1]},t.ed=function(){Dr(this,0,-Fr(this)[0]);for(var t=0,e=this.c.length;t<e;++t){var o=this.c[t];o[0].callback&&o[0].callback(!1)}this.c.length=0},t.wf=function(){if(void 0!==this.u&&(cancelAnimationFrame(this.u),this.u=void 0),this.Ic()){for(var t=Date.now(),e=!1,o=this.c.length-1;0<=o;--o){for(var i=this.c[o],r=!0,n=0,p=i.length;n<p;++n){var s=i[n];if(!s.complete){if(e=t-s.start,1<=(e=0<s.duration?e/s.duration:1)?(s.complete=!0,e=1):r=!1,e=s.easing(e),s.Rg){var a=s.Rg[0],h=s.Rg[1];this.set("center",[a+e*(s.Tg[0]-a),h+e*(s.Tg[1]-h)])}if(s.tf&&s.zd&&(a=1===e?s.zd:s.tf+e*(s.zd-s.tf),s.anchor&&this.set("center",Ir(this,a,s.anchor)),this.set("resolution",a)),void 0!==s.Sg&&void 0!==s.uf&&(e=1===e?s.uf:s.Sg+e*(s.uf-s.Sg),s.anchor&&this.set("center",Rr(this,e,s.anchor)),this.set("rotation",e)),e=!0,!s.complete)break}}r&&(this.c[o]=null,Dr(this,0,-1),(i=i[0].callback)&&i(!0))}this.c=this.c.filter(Boolean),e&&void 0===this.u&&(this.u=requestAnimationFrame(this.wf))}},t.Ec=function(t){return this.g.center(t)},t.constrainResolution=function(t,e,o){return this.g.resolution(t,e||0,o||0)},t.constrainRotation=function(t,e){return this.g.rotation(t,e||0)},t.wa=function(){return this.get("center")},t.dd=function(t){t=t||Nr(this);var e=this.wa();R(e,1);var o=this.Pa();R(void 0!==o,2);var i=this.Qa();return R(void 0!==i,3),ot(e,o,i,t)},t.Nm=function(){return this.a},t.Pm=function(){return this.f},t.Om=function(){return this.Ce(this.f)},t.eq=function(t){Cr(this,Lr(this,{maxZoom:t}))},t.Qm=function(){return this.Ce(this.a)},t.fq=function(t){Cr(this,Lr(this,{minZoom:t}))},t.Rm=function(){return this.v},t.Pa=function(){return this.get("resolution")},t.Sm=function(){return this.j},t.ze=function(t,e){return e=e||Nr(this),Math.max(st(t)/e[0],it(t)/e[1])},t.Qa=function(){return this.get("rotation")},t.getState=function(){var t=this.wa(),e=this.v,o=this.Pa(),i=this.Qa();return{center:t.slice(),projection:void 0!==e?e:null,resolution:o,rotation:i}},t.Hh=function(){var t,e=this.Pa();return void 0!==e&&(t=this.Ce(e)),t},t.Ce=function(t){if(t>=this.f&&t<=this.a){var e=this.l||0;if(this.j){var o=l(this.j,t,1);if(e+=o,o==this.j.length-1)return e;var i=this.j[o];o=i/this.j[o+1]}else i=this.a,o=this.C;e+=Math.log(i/t)/Math.log(o)}return e},t.Qf=function(t,e){var o=(e=e||{}).size;if(o=o||Nr(this),t instanceof Zi)if("Circle"===t.U()){var i=Ar(t=t.G());i.rotate(this.Qa(),et(t))}else i=t;else R(Array.isArray(t),24),R(!ht(t),25),i=Ar(t);var r,n=e.padding?e.padding:[0,0,0,0],p=void 0===e.constrainResolution||e.constrainResolution,s=void 0!==e.nearest&&e.nearest;r=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.constrainResolution(this.a,e.maxZoom-this.l,0):0;var a=i.ga(),h=this.Qa();t=Math.cos(-h);h=Math.sin(-h);var l=1/0,u=1/0,c=-1/0,y=-1/0;i=i.qa();for(var f=0,g=a.length;f<g;f+=i){var d=a[f]*t-a[f+1]*h,v=a[f]*h+a[f+1]*t;l=Math.min(l,d),u=Math.min(u,v),c=Math.max(c,d),y=Math.max(y,v)}o=this.ze([l,u,c,y],[o[0]-n[1]-n[3],o[1]-n[0]-n[2]]),o=isNaN(o)?r:Math.max(o,r),p&&(r=this.constrainResolution(o,0,0),!s&&r<o&&(r=this.constrainResolution(r,-1,0)),o=r),h=-h,t=[(r=(l+c)/2+(n[1]-n[3])/2*o)*t-(n=(u+y)/2+(n[0]-n[2])/2*o)*h,n*t+r*h],n=e.callback?e.callback:m,void 0!==e.duration?this.animate({resolution:o,center:t,duration:e.duration,easing:e.easing},n):(this.Vc(o),this.ob(t),setTimeout(n.bind(void 0,!0),0))},t.uk=function(t,e,o){var i=this.Qa(),r=Math.cos(-i),n=(i=Math.sin(-i),t[0]*r-t[1]*i);t=t[1]*r+t[0]*i;var p=this.Pa();n+=(e[0]/2-o[0])*p;t+=(o[1]-e[1]/2)*p,i=-i,this.ob([n*r-t*i,t*r+n*i])},t.rotate=function(t,e){void 0!==e&&(e=Rr(this,t,e),this.ob(e)),this.Oe(t)},t.ob=function(t){this.set("center",t),this.Ic()&&this.ed()},t.Vc=function(t){this.set("resolution",t),this.Ic()&&this.ed()},t.Oe=function(t){this.set("rotation",t),this.Ic()&&this.ed()},t.lq=function(t){t=this.constrainResolution(this.a,t-this.l,0),this.Vc(t)},s(Gr,Re),Gr.prototype.c=function(){return this.get("active")},Gr.prototype.f=function(){return this.v},Gr.prototype.Ha=function(t){this.set("active",t)},Gr.prototype.setMap=function(t){this.v=t},s(Wr,Gr),s(tn,Gr),tn.prototype.Xc=function(t){return t},s(rn,tn),rn.prototype.Xc=Bi,s(an,tn),an.prototype.Xc=Bi,s(cn,Pe),cn.prototype.ka=function(){this.setMap(null)},cn.prototype.setMap=function(t){if(this.b){this.b.C.removeChild(this.a);var e=this.a.style;e.left=e.top=e.width=e.height="inherit"}(this.b=t)&&this.b.C.appendChild(this.a)},cn.prototype.V=function(){return this.Gc},s(gn,tn),gn.prototype.V=function(){return this.a.V()},gn.prototype.j=m;var wn="boxstart",xn="boxdrag",Sn="boxend";function Mn(t,e,o){Ee.call(this,t),this.coordinate=e,this.mapBrowserEvent=o}function Pn(t){var e=(t=t||{}).condition?t.condition:Jr;this.B=void 0!==t.duration?t.duration:200,this.I=void 0!==t.out&&t.out,gn.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function An(t){Gr.call(this,{handleEvent:En}),t=t||{},this.a=function(t){return qr(t)&&_r(t)},this.g=t.condition?t.condition:this.a,this.j=void 0!==t.duration?t.duration:100,this.o=void 0!==t.pixelDelta?t.pixelDelta:128}function En(t){var e=!1;if("keydown"==t.type){var o=t.originalEvent.keyCode;if(this.g(t)&&(40==o||37==o||39==o||38==o)){var i=(e=t.map.Z()).Pa()*this.o,r=0,n=0;40==o?n=-i:37==o?r=-i:39==o?r=i:n=i,Ni(i=[r,n],e.Qa()),o=this.j,(r=e.wa())&&(i=e.Ec([r[0]+i[0],r[1]+i[1]]),o?e.animate({duration:o,easing:po,center:i}):e.ob(i)),t.preventDefault(),e=!0}}return!e}function Tn(t){Gr.call(this,{handleEvent:jn}),t=t||{},this.g=t.condition?t.condition:_r,this.a=t.delta?t.delta:1,this.j=void 0!==t.duration?t.duration:100}function jn(t){var e=!1;if("keydown"==t.type||"keypress"==t.type){var o=t.originalEvent.charCode;!this.g(t)||43!=o&&45!=o||(e=43==o?this.a:-this.a,Xr(o=t.map.Z(),e,void 0,this.j),t.preventDefault(),e=!0)}return!e}function Cn(t){Gr.call(this,{handleEvent:Ln}),t=t||{},this.j=0,this.D=void 0!==t.duration?t.duration:250,this.na=void 0!==t.timeout?t.timeout:80,this.C=void 0===t.useAnchor||t.useAnchor,this.R=t.constrainResolution||!1,this.a=null,this.l=this.o=this.u=this.g=void 0}function Ln(t){if("wheel"!==(e=t.type)&&"mousewheel"!==e)return!0;t.preventDefault();var e=t.map,o=t.originalEvent;if(this.C&&(this.a=t.coordinate),"wheel"==t.type){var i=o.deltaY;Lo&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(i/=Fo),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(i*=40)}else"mousewheel"==t.type&&(i=-o.wheelDeltaY,Ro&&(i/=3));if(0===i)return!1;if(t=Date.now(),void 0===this.g&&(this.g=t),(!this.o||400<t-this.g)&&(this.o=Math.abs(i)<4?Rn:In),this.o!==Rn)return this.j+=i,i=Math.max(this.na-(t-this.g),0),clearTimeout(this.u),this.u=setTimeout(this.I.bind(this,e),i),!1;e=e.Z(),this.l?clearTimeout(this.l):Dr(e,1,1),this.l=setTimeout(this.B.bind(this),400);o=e.Pa()*Math.pow(2,i/300);var r=e.f,n=e.a,p=0;if(o<r?(o=Math.max(o,r/1.5),p=1):n<o&&(o=Math.min(o,1.5*n),p=-1),this.a){var s=Ir(e,o,this.a);e.ob(e.Ec(s))}return e.Vc(o),!p&&this.R&&e.animate({resolution:e.constrainResolution(o,0<i?-1:1),easing:ro,anchor:this.a,duration:this.D}),0<p?e.animate({resolution:r,easing:ro,anchor:this.a,duration:500}):p<0&&e.animate({resolution:n,easing:ro,anchor:this.a,duration:500}),this.g=t,!1}s(Mn,Ee),s(Pn,gn),Pn.prototype.j=function(){var t=(n=this.v).Z(),e=n.Ob(),o=this.V().G();if(this.I){var i,r=t.dd(e),n=(o=[n.Ja(Q(o)),n.Ja(pt(o))],Z(void 0)),p=0;for(i=o.length;p<i;++p)q(n,o[p]);lt(r,1/(o=t.ze(n,e))),o=r}e=t.constrainResolution(t.ze(o,e)),r=et(o),r=t.Ec(r),t.animate({resolution:e,center:r,duration:this.B,easing:ro})},s(An,Gr),s(Tn,Gr),s(Cn,Gr),Cn.prototype.B=function(){this.l=void 0,Dr(this.v.Z(),1,-1)},Cn.prototype.I=function(t){(t=t.Z()).Ic()&&t.ed(),Xr(t,-w(this.j,-1,1),this.a,this.D),this.o=void 0,this.j=0,this.a=null,this.u=this.g=void 0},Cn.prototype.T=function(t){(this.C=t)||(this.a=null)};var Rn="trackpad",In="wheel";function Nn(t){tn.call(this,{handleDownEvent:Dn,handleDragEvent:Fn,handleUpEvent:kn}),t=t||{},this.g=null,this.j=void 0,this.a=!1,this.l=0,this.C=void 0!==t.threshold?t.threshold:.3,this.u=void 0!==t.duration?t.duration:250}function Fn(t){var e=0,o=this.o[0],i=this.o[1];o=Math.atan2(i.clientY-o.clientY,i.clientX-o.clientX);if(void 0!==this.j&&(e=o-this.j,this.l+=e,!this.a&&Math.abs(this.l)>this.C&&(this.a=!0)),this.j=o,(o=(t=t.map).Z()).g.rotation!==Pi){i=t.a.getBoundingClientRect();var r=en(this.o);r[0]-=i.left,r[1]-=i.top,this.g=t.Wa(r),this.a&&(i=o.Qa(),t.render(),Br(o,i+e,this.g))}}function kn(t){if(this.o.length<2){if(Dr(t=t.map.Z(),1,-1),this.a){var e=t.Qa(),o=this.g,i=this.u;e=t.constrainRotation(e,0);Br(t,e,o,i)}return!1}return!0}function Dn(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.j=void 0,this.a=!1,this.l=0,this.D||Dr(t.Z(),1,1),!0)}function On(t){tn.call(this,{handleDownEvent:Bn,handleDragEvent:Un,handleUpEvent:Gn}),t=t||{},this.l=t.constrainResolution||!1,this.g=null,this.u=void 0!==t.duration?t.duration:400,this.a=void 0,this.j=1}function Un(t){var e=1,o=this.o[0],i=this.o[1],r=o.clientX-i.clientX;o=o.clientY-i.clientY,r=Math.sqrt(r*r+o*o);void 0!==this.a&&(e=this.a/r),this.a=r;i=(r=(t=t.map).Z()).Pa();var n=r.a,p=r.f;n<(o=i*e)?(e=n/i,o=n):o<p&&(e=p/i,o=p),1!=e&&(this.j=e),e=t.a.getBoundingClientRect(),(i=en(this.o))[0]-=e.left,i[1]-=e.top,this.g=t.Wa(i),t.render(),Vr(r,o,this.g)}function Gn(t){if(this.o.length<2){Dr(t=t.map.Z(),1,-1);var e=t.Pa();if(this.l||e<t.f||e>t.a){var o=this.g,i=this.u;e=t.constrainResolution(e,0,this.j-1);Vr(t,e,o,i)}return!1}return!0}function Bn(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.a=void 0,this.j=1,this.D||Dr(t.Z(),1,1),!0)}function Xn(t){t=t||{};var e=new De,o=new Or(-.005,.05,100);return void 0!==t.altShiftDragRotate&&!t.altShiftDragRotate||e.push(new an),void 0!==t.doubleClickZoom&&!t.doubleClickZoom||e.push(new Wr({delta:t.zoomDelta,duration:t.zoomDuration})),void 0!==t.dragPan&&!t.dragPan||e.push(new rn({kinetic:o})),void 0!==t.pinchRotate&&!t.pinchRotate||e.push(new Nn),void 0!==t.pinchZoom&&!t.pinchZoom||e.push(new On({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.keyboard&&!t.keyboard||(e.push(new An),e.push(new Tn({delta:t.zoomDelta,duration:t.zoomDuration}))),void 0!==t.mouseWheelZoom&&!t.mouseWheelZoom||e.push(new Cn({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.shiftDragZoom&&!t.shiftDragZoom||e.push(new Pn({duration:t.zoomDuration})),e}function Vn(t){Re.call(this);var e=ct({},t);e.opacity=void 0!==t.opacity?t.opacity:1,e.visible=void 0===t.visible||t.visible,e.zIndex=void 0!==t.zIndex?t.zIndex:0,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,this.H(e),this.a={layer:this,Je:!0}}function Wn(t){return t.a.opacity=w(t.hc(),0,1),t.a.yj=t.$f(),t.a.visible=t.Mb(),t.a.extent=t.G(),t.a.zIndex=t.Ba(),t.a.maxResolution=t.fc(),t.a.minResolution=Math.max(t.gc(),0),t.a}function Zn(t){var e=t||{};delete(t=ct({},e)).layers,e=e.layers,Vn.call(this,t),this.f=[],this.c={},me(this,Ne(Kn),this.Hl,this),e?Array.isArray(e)?e=new De(e.slice(),{unique:!0}):R(e instanceof De,43):e=new De(void 0,{unique:!0}),this.xi(e)}s(Nn,tn),Nn.prototype.Xc=Bi,s(On,tn),On.prototype.Xc=Bi,s(Vn,Re),(t=Vn.prototype).G=function(){return this.get("extent")},t.fc=function(){return this.get("maxResolution")},t.gc=function(){return this.get("minResolution")},t.hc=function(){return this.get("opacity")},t.Mb=function(){return this.get("visible")},t.Ba=function(){return this.get("zIndex")},t.vc=function(t){this.set("extent",t)},t.Ac=function(t){this.set("maxResolution",t)},t.Bc=function(t){this.set("minResolution",t)},t.wc=function(t){this.set("opacity",t)},t.xc=function(t){this.set("visible",t)},t.Vb=function(t){this.set("zIndex",t)},s(Zn,Vn),(t=Zn.prototype).Fd=function(){},t.Fe=function(){this.Mb()&&this.s()},t.Hl=function(){this.f.forEach(Se),this.f.length=0;var t,e=this.qd();for(var o in this.f.push(me(e,"add",this.Gl,this),me(e,"remove",this.Il,this)),this.c)this.c[o].forEach(Se);for(yt(this.c),o=0,t=(e=e.a).length;o<t;o++){var i=e[o];this.c[G(i).toString()]=[me(i,"propertychange",this.Fe,this),me(i,"change",this.Fe,this)]}this.s()},t.Gl=function(t){var e=G(t=t.element).toString();this.c[e]=[me(t,"propertychange",this.Fe,this),me(t,"change",this.Fe,this)],this.s()},t.Il=function(t){t=G(t.element).toString(),this.c[t].forEach(Se),delete this.c[t],this.s()},t.qd=function(){return this.get(Kn)},t.xi=function(t){this.set(Kn,t)},t.Yf=function(t){var e,o=void 0!==t?t:[],i=o.length;for(this.qd().forEach(function(t){t.Yf(o)}),t=Wn(this),e=o.length;i<e;i++){var r=o[i];r.opacity*=t.opacity,r.visible=r.visible&&t.visible,r.maxResolution=Math.min(r.maxResolution,t.maxResolution),r.minResolution=Math.max(r.minResolution,t.minResolution),void 0!==t.extent&&(r.extent=void 0!==r.extent?rt(r.extent,t.extent):t.extent)}return o},t.$f=function(){return"ready"};var Kn="layers";function zn(t){var e=ct({},t);delete e.source,Vn.call(this,e),this.v=this.l=this.o=null,t.map&&this.setMap(t.map),me(this,Ne("source"),this.Ul,this),this.Wc(t.source?t.source:null)}function Yn(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function Hn(){this.b={},this.a=0}s(zn,Vn),(t=zn.prototype).Yf=function(t){return(t=t||[]).push(Wn(this)),t},t.ha=function(){return this.get("source")||null},t.$f=function(){var t=this.ha();return t?t.getState():"undefined"},t.Tn=function(){this.s()},t.Ul=function(){this.v&&(Se(this.v),this.v=null);var t=this.ha();t&&(this.v=me(t,"change",this.Tn,this)),this.s()},t.setMap=function(t){this.o&&(Se(this.o),this.o=null),t||this.s(),this.l&&(Se(this.l),this.l=null),t&&(this.o=me(t,"precompose",function(t){var e=Wn(this);e.Je=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[G(this)]=e},this),this.l=me(this,"change",t.render,t),this.s())},t.Wc=function(t){this.set("source",t)},Hn.prototype.clear=function(){this.b={},this.a=0},Hn.prototype.get=function(t,e,o){return(t=e+":"+t+":"+(o?Ze(o):"null"))in this.b?this.b[t]:null},Hn.prototype.set=function(t,e,o,i){this.b[e+":"+t+":"+(o?Ze(o):"null")]=i,++this.a};var qn=new Hn,Jn=Array(6);function _n(t){return Qn(t,1,0,0,1,0,0)}function $n(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],p=t[4],s=t[5],a=e[0],h=e[1],l=e[2],u=e[3],c=e[4];return e=e[5],t[0]=o*a+r*h,t[1]=i*a+n*h,t[2]=o*l+r*u,t[3]=i*l+n*u,t[4]=o*c+r*e+p,t[5]=i*c+n*e+s,t}function Qn(t,e,o,i,r,n,p){return t[0]=e,t[1]=o,t[2]=i,t[3]=r,t[4]=n,t[5]=p,t}function tp(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ep(t,e){var o=e[0],i=e[1];return e[0]=t[0]*o+t[2]*i+t[4],e[1]=t[1]*o+t[3]*i+t[5],e}function op(t,e){var o=Math.cos(e);e=Math.sin(e),$n(t,Qn(Jn,o,e,-e,o,0,0))}function ip(t,e,o){return $n(t,Qn(Jn,e,0,0,o,0,0))}function rp(t,e,o){$n(t,Qn(Jn,1,0,0,1,e,o))}function np(t,e,o,i,r,n,p,s){var a=Math.sin(n);return n=Math.cos(n),t[0]=i*n,t[1]=r*a,t[2]=-i*a,t[3]=r*n,t[4]=p*i*n-s*i*a+e,t[5]=p*r*a+s*r*n+o,t}function pp(t){var e=t[0]*t[3]-t[1]*t[2];R(!!e,32);var o=t[0],i=t[1],r=t[2],n=t[3],p=t[4],s=t[5];return t[0]=n/e,t[1]=-i/e,t[2]=-r/e,t[3]=o/e,t[4]=(r*s-n*p)/e,t[5]=-(o*s-i*p)/e,t}function sp(t,e){this.o=e,this.c={},this.v={}}function ap(t){var e=t.viewState,o=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;np(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),pp(tp(i,o))}function hp(){if(32<qn.a){var t,e=0;for(t in qn.b){var o=qn.b[t];3&e++||Ce(o)||(delete qn.b[t],--qn.a)}}}function lp(t,e){var o=G(e).toString();return o in t.c?t.c[o]:(e=e.Fd(t),t.c[o]=e,t.v[o]=me(e,"change",t.Fl,t),e)}function up(t,e){for(var o in t.c)if(!(o in e.layerStates)){e.postRenderFunctions.push(t.Rp.bind(t));break}}function cp(t,e){return t.zIndex-e.zIndex}function yp(t,e,o,i,r){Ee.call(this,t),this.vectorContext=e,this.frameState=o,this.context=i,this.glContext=r}s(sp,Pe),(t=sp.prototype).ka=function(){for(var t in this.c)Ae(this.c[t])},t.Ea=function(t,r,e,n,p,o,i){function s(t,e){var o=G(t).toString(),i=r.layerStates[G(e)].Je;if(!(o in r.skippedFeatureUids)||i)return n.call(p,t,i?e:null)}var a,h=(u=r.viewState).resolution,l=u.projection,u=t;if(l.i){var c=st(l=l.G());((f=t[0])<l[0]||f>l[2])&&(u=[f+c*Math.ceil((l[0]-f)/c),t[1]])}for(c=(l=r.layerStatesArray).length-1;0<=c;--c){var y=l[c],f=y.layer;if(Yn(y,h)&&o.call(i,f)&&(y=lp(this,f),f.ha()&&(a=y.Ea(f.ha().u?u:t,r,e,s,p)),a))return a}},t.Ei=function(t,e,o,i,r){return void 0!==this.Ea(t,e,o,Gi,this,i,r)},t.Fl=function(){this.o.render()},t.Jg=m,t.Rp=function(t,e){for(var o in this.c)if(!(e&&o in e.layerStates)){t=o;var i=this.c[t];delete this.c[t],Se(this.v[t]),delete this.v[t],Ae(i)}},s(yp,Ee);var fp=[0,0,0,1],gp=[],dp=[0,0,0,1];function vp(t,e,o,i){e&&(t.translate(o,i),t.rotate(e),t.translate(-o,-i))}function bp(){}function mp(t,e,o,i,r){this.i=t,this.u=e,this.c=o,this.S=i,this.Yb=r,this.M=this.b=this.a=this.Ua=this.R=this.I=null,this.na=this.T=this.l=this.B=this.C=this.D=0,this.fa=!1,this.f=this.fb=0,this.pa=!1,this.oa=0,this.Ia="",this.va=this.Jb=0,this.Sa=!1,this.j=this.$a=0,this.ra=this.o=this.g=null,this.v=[],this.xb=[1,0,0,1,0,0]}function wp(t,e,o){if(t.M){e=Vi(e,0,o,2,t.S,t.v),o=t.i;var i=t.xb,r=o.globalAlpha;1!=t.l&&(o.globalAlpha=r*t.l);var n,p=t.fb;t.fa&&(p+=t.Yb);var s=0;for(n=e.length;s<n;s+=2){var a=e[s]-t.D,h=e[s+1]-t.C;if(t.pa&&(a=Math.round(a),h=Math.round(h)),p||1!=t.f){var l=a+t.D,u=h+t.C;np(i,l,u,t.f,t.f,p,-l,-u),o.setTransform.apply(o,i)}o.drawImage(t.M,t.T,t.na,t.oa,t.B,a,h,t.oa,t.B)}!p&&1==t.f||o.setTransform(1,0,0,1,0,0),1!=t.l&&(o.globalAlpha=r)}}function xp(t,e,o,i){var r=0;if(t.ra&&""!==t.Ia){t.g&&Pp(t,t.g),t.o&&Ap(t,t.o);var n=t.ra,p=t.i;for((s=t.Ua)?(s.font!=n.font&&(s.font=p.font=n.font),s.textAlign!=n.textAlign&&(s.textAlign=p.textAlign=n.textAlign),s.textBaseline!=n.textBaseline&&(s.textBaseline=p.textBaseline=n.textBaseline)):(p.font=n.font,p.textAlign=n.textAlign,p.textBaseline=n.textBaseline,t.Ua={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),e=Vi(e,r,o,i,t.S,t.v),n=t.i,p=t.$a,t.Sa&&(p+=t.Yb);r<o;r+=i){var s=e[r]+t.Jb,a=e[r+1]+t.va;if(p||1!=t.j){var h=np(t.xb,s,a,t.j,t.j,p,-s,-a);n.setTransform.apply(n,h)}t.o&&n.strokeText(t.Ia,s,a),t.g&&n.fillText(t.Ia,s,a)}!p&&1==t.j||n.setTransform(1,0,0,1,0,0)}}function Sp(t,e,o,i,r,n){var p=t.i;for(t=Vi(e,o,i,r,t.S,t.v),p.moveTo(t[0],t[1]),e=t.length,n&&(e-=2),o=2;o<e;o+=2)p.lineTo(t[o],t[o+1]);return n&&p.closePath(),i}function Mp(t,e,o,i,r){var n,p=0;for(n=i.length;p<n;++p)o=Sp(t,e,o,i[p],r,!0);return o}function Pp(t,e){var o=t.i,i=t.I;i?i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.I={fillStyle:e.fillStyle})}function Ap(t,e){var o=t.i,i=t.R;i?(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),ko&&!U(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,ko&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.R={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function Ep(t,e){sp.call(this,0,e),this.i=Je(),this.b=this.i.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.a=!0,this.f=[1,0,0,1,0,0]}function Tp(t,e,o){var i=t.o,r=t.i;if(Ce(i,e)){var n=o.extent,p=o.pixelRatio,s=o.viewState.rotation,a=o.viewState,h=o.pixelRatio/a.resolution;t=np(t.f,t.b.width/2,t.b.height/2,h,-h,-a.rotation,-a.center[0],-a.center[1]),i.b(new yp(e,new mp(r,p,n,t,s),o,r,null))}}(t=bp.prototype).zb=function(){},t.rd=function(){},t.Zb=function(){},t.te=function(){},t.ue=function(){},t.mc=function(){},t.nc=function(){},t.oc=function(){},t.pc=function(){},t.qc=function(){},t.rc=function(){},t.yc=function(){},t.Ma=function(){},t.Ub=function(){},t.Cb=function(){},s(mp,bp),(t=mp.prototype).Zb=function(t){if(at(this.c,t.G())){if(this.a||this.b){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e=this.S,o=this.v,i=t.ga();o=(e=i?Vi(i,0,i.length,t.qa(),e,o):null)[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),(i=this.i).beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),this.a&&i.fill(),this.b&&i.stroke()}""!==this.Ia&&xp(this,t.wa(),2,2)}},t.rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y()),this.Cb(t.Na())},t.zb=function(t){switch(t.U()){case"Point":this.qc(t);break;case"LineString":this.mc(t);break;case"Polygon":this.rc(t);break;case"MultiPoint":this.oc(t);break;case"MultiLineString":this.nc(t);break;case"MultiPolygon":this.pc(t);break;case"GeometryCollection":this.ue(t);break;case"Circle":this.Zb(t)}},t.te=function(t,e){(t=(0,e.Za)(t))&&at(this.c,t.G())&&(this.rd(e),this.zb(t))},t.ue=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.zb(t[o])},t.qc=function(t){var e=t.ga();t=t.qa(),this.M&&wp(this,e,e.length),""!==this.Ia&&xp(this,e,e.length,t)},t.oc=function(t){var e=t.ga();t=t.qa(),this.M&&wp(this,e,e.length),""!==this.Ia&&xp(this,e,e.length,t)},t.mc=function(t){if(at(this.c,t.G())){if(this.b){Ap(this,this.b);var e=this.i,o=t.ga();e.beginPath(),Sp(this,o,0,o.length,t.qa(),!1),e.stroke()}""!==this.Ia&&xp(this,t=yl(t),2,2)}},t.nc=function(t){var e=t.G();if(at(this.c,e)){if(this.b){Ap(this,this.b);e=this.i;var o,i=t.ga(),r=0,n=t.Bb(),p=t.qa();e.beginPath();var s=0;for(o=n.length;s<o;++s)r=Sp(this,i,r,n[s],p,!1);e.stroke()}""!==this.Ia&&xp(this,t=gl(t),t.length,2)}},t.rc=function(t){if(at(this.c,t.G())){if(this.b||this.a){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e=this.i;e.beginPath(),Mp(this,t.ec(),0,t.Bb(),t.qa()),this.a&&e.fill(),this.b&&e.stroke()}""!==this.Ia&&xp(this,t=Mr(t),2,2)}},t.pc=function(t){if(at(this.c,t.G())){if(this.b||this.a){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e,o=this.i,i=wl(t),r=0,n=t.c,p=t.qa();o.beginPath();var s=0;for(e=n.length;s<e;++s)r=Mp(this,i,r,n[s],p);this.a&&o.fill(),this.b&&o.stroke()}""!==this.Ia&&xp(this,t=ml(t),t.length,2)}},t.Ma=function(t,e){if(t?(t=t.b,this.a={fillStyle:qe(t||fp)}):this.a=null,e){t=e.a;var o=e.f,i=e.i,r=e.g,n=e.j,p=e.c;e=e.o,this.b={lineCap:void 0!==o?o:"round",lineDash:i||gp,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:this.u*(void 0!==p?p:1),miterLimit:void 0!==e?e:10,strokeStyle:qe(t||dp)}}else this.b=null},t.Ub=function(t){if(t){var e=t.Hc(),o=t.Y(1),i=t.Oc(),r=t.ic();this.D=e[0],this.C=e[1],this.B=r[1],this.M=o,this.l=t.f,this.T=i[0],this.na=i[1],this.fa=t.l,this.fb=t.g,this.f=t.a,this.pa=t.v,this.oa=r[0]}else this.M=null},t.Cb=function(t){if(t){if((e=t.Fa())?(e=e.b,this.g={fillStyle:qe(e||fp)}):this.g=null,s=t.Ga()){var e=s.a,o=s.f,i=s.i,r=s.g,n=s.j,p=s.c,s=s.o;this.o={lineCap:void 0!==o?o:"round",lineDash:i||gp,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:void 0!==p?p:1,miterLimit:void 0!==s?s:10,strokeStyle:qe(e||dp)}}else this.o=null;e=t.a,o=t.i,i=t.c,r=t.o,n=t.f,p=t.b,s=t.Na();var a=t.g;t=t.j,this.ra={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==a?a:"center",textBaseline:void 0!==t?t:"middle"},this.Ia=void 0!==s?s:"",this.Jb=void 0!==o?this.u*o:0,this.va=void 0!==i?this.u*i:0,this.Sa=void 0!==r&&r,this.$a=void 0!==n?n:0,this.j=this.u*(void 0!==p?p:1)}else this.Ia=""},s(Ep,sp),Ep.prototype.U=function(){return"canvas"},Ep.prototype.Jg=function(t){if(t){var e=this.i,o=t.pixelRatio,i=Math.round(t.size[0]*o),r=Math.round(t.size[1]*o);this.b.width!=i||this.b.height!=r?(this.b.width=i,this.b.height=r):e.clearRect(0,0,i,r),o=t.viewState.rotation,ap(t),Tp(this,"precompose",t);var n=t.layerStatesArray;u(n),o&&(e.save(),vp(e,o,i/2,r/2));var p;i=t.viewState.resolution,r=0;for(p=n.length;r<p;++r){var s=n[r],a=s.layer;a=lp(this,a),Yn(s,i)&&"ready"==s.yj&&a.sd(t,s)&&a.S(t,s,e)}o&&e.restore(),Tp(this,"postcompose",t),this.a||(this.b.style.display="",this.a=!0),up(this,t),t.postRenderFunctions.push(hp)}else this.a&&(this.b.style.display="none",this.a=!1)},Ep.prototype.Di=function(t,e,o,i,r,n){var p=e.viewState.resolution,s=e.layerStatesArray,a=s.length;for(t=ep(e.pixelToCoordinateTransform,t.slice()),--a;0<=a;--a){var h=s[a],l=h.layer;if(Yn(h,p)&&r.call(n,l)&&(h=lp(this,l).u(t,e,o,i)))return h}};var jp=["Polygon","Circle","LineString","Image","Text"];function Cp(){}function Lp(t){this.b=t}function Rp(t){this.b=t}function Ip(t){this.b=t}function Np(){this.b="precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"}s(Rp,Lp),Rp.prototype.U=function(){return 35632},s(Ip,Lp),Ip.prototype.U=function(){return 35633},s(Np,Rp);var Fp=new Np;function kp(){this.b="varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;if(f==0.0){offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}"}s(kp,Ip);var Dp=new kp;function Op(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"l"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"p"),this.R=t.getUniformLocation(e,"o"),this.j=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e"),this.S=t.getAttribLocation(e,"g")}function Up(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}function Gp(t,e){this.origin=et(e),this.xb=[1,0,0,1,0,0],this.Sa=[1,0,0,1,0,0],this.$a=[1,0,0,1,0,0],this.Jb=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.b=[],this.o=null,this.i=[],this.f=[],this.a=[],this.l=null,this.g=void 0}function Bp(t,e,o,i){t.drawElements(4,i-o,e.g?5125:5123,o*(e.g?4:2))}s(Gp,bp),Gp.prototype.La=function(t,e,o,i,r,n,p,s,a,h,l){var u=t.b;if(this.g){var c=u.isEnabled(u.STENCIL_TEST),y=u.getParameter(u.STENCIL_FUNC),f=u.getParameter(u.STENCIL_VALUE_MASK),g=u.getParameter(u.STENCIL_REF),d=u.getParameter(u.STENCIL_WRITEMASK),v=u.getParameter(u.STENCIL_FAIL),b=u.getParameter(u.STENCIL_PASS_DEPTH_PASS),m=u.getParameter(u.STENCIL_PASS_DEPTH_FAIL);u.enable(u.STENCIL_TEST),u.clear(u.STENCIL_BUFFER_BIT),u.stencilMask(255),u.stencilFunc(u.ALWAYS,1,255),u.stencilOp(u.KEEP,u.KEEP,u.REPLACE),this.g.La(t,e,o,i,r,n,p,s,a,h,l),u.stencilMask(0),u.stencilFunc(u.NOTEQUAL,1,255)}os(t,34962,this.l),os(t,34963,this.o),n=this.rf(u,t,r,n);var w=_n(this.xb);if(ip(w,2/(o*r[0]),2/(o*r[1])),op(w,-i),rp(w,-(e[0]-this.origin[0]),-(e[1]-this.origin[1])),ip(e=_n(this.$a),2/r[0],2/r[1]),r=_n(this.Sa),i&&op(r,-i),u.uniformMatrix4fv(n.i,!1,Up(this.Jb,w)),u.uniformMatrix4fv(n.f,!1,Up(this.Jb,e)),u.uniformMatrix4fv(n.c,!1,Up(this.Jb,r)),u.uniform1f(n.a,p),a)var x=t=h?this.ve(u,t,s,a,l):(u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),this.Od(u,t,s,!0),(t=a(null))?t:void 0);else this.Od(u,t,s,!1);return this.sf(u,n),this.g&&(c||u.disable(u.STENCIL_TEST),u.clear(u.STENCIL_BUFFER_BIT),u.stencilFunc(y,g,f),u.stencilMask(d),u.stencilOp(v,m,b)),x};var Xp=[0,0,0,1],Vp=[],Wp=[0,0,0,1];function Zp(t,e,o,i,r,n){return(t=(o-t)*(n-e)-(r-t)*(i-e))<=Kp&&-Kp<=t?void 0:0<t}var Kp=Number.EPSILON||2220446049250313e-31;function zp(t){this.b=void 0!==t?t:[],this.a=Yp}var Yp=35044;function Hp(t,e){Gp.call(this,0,e),this.v=null,this.j=[],this.u=[],this.S=0,this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,s:!1}}function qp(t,e,o,i){e.uniform4fv(t.v.R,o),e.uniform1f(t.v.oa,i)}function Jp(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}s(Hp,Gp),(t=Hp.prototype).Zb=function(t,e){var o=t.pd(),i=t.qa();if(o){this.i.push(this.b.length),this.f.push(e),this.c.s&&(this.u.push(this.b.length),this.c.s=!1),this.S=o,t=Wi(t=t.ga(),0,2,i,-this.origin[0],-this.origin[1]),e=this.a.length;o=this.b.length;var r,n=e/4;for(r=0;r<2;r+=i)this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=0,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=1,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=2,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=3,this.a[e++]=this.S,this.b[o++]=n,this.b[o++]=n+1,this.b[o++]=n+2,this.b[o++]=n+2,this.b[o++]=n+3,this.b[o++]=n,n+=4}else this.c.s&&(this.j.pop(),this.j.length&&(i=this.j[this.j.length-1],this.c.fillColor=i[0],this.c.strokeColor=i[1],this.c.lineWidth=i[2],this.c.s=!1))},t.Db=function(){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),!this.u.length&&0<this.j.length&&(this.j=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o;return function(){is(t,e),is(t,o)}},t.rf=function(t,e,o,i){var r=ps(e,Fp,Dp);if(this.v)var n=this.v;else this.v=n=new Op(t,r);return e.Qc(r),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,16,0),t.enableVertexAttribArray(n.j),t.vertexAttribPointer(n.j,1,5126,!1,16,8),t.enableVertexAttribArray(n.S),t.vertexAttribPointer(n.S,1,5126,!1,16,12),t.uniform2fv(n.I,o),t.uniform1f(n.ra,i),n},t.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.j),t.disableVertexAttribArray(e.S)},t.Od=function(t,e,o){if(gt(o)){var i=this.i[this.i.length-1];for(o=this.u.length-1;0<=o;--o){var r=this.u[o],n=this.j[o];t.uniform4fv(this.v.B,n[0]),qp(this,t,n[1],n[2]),Bp(t,e,r,i),i=r}}else{var p=this.i.length-2;for(n=i=this.i[p+1],r=this.u.length-1;0<=r;--r){var s=this.j[r];for(t.uniform4fv(this.v.B,s[0]),qp(this,t,s[1],s[2]),s=this.u[r];0<=p&&this.i[p]>=s;){var a=this.i[p],h=this.f[p];o[h=G(h).toString()]&&(i!==n&&Bp(t,e,i,n),n=a),p--,i=a}i!==n&&Bp(t,e,i,n),i=n=s}}},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.u.length-1;0<=n;--n){var h=this.j[n];for(t.uniform4fv(this.v.B,h[0]),qp(this,t,h[1],h[2]),p=this.u[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){if(e){var o=e.i;this.c.lineDash=o||Vp,o=e.g,this.c.lineDashOffset=o||0,o=(o=e.a)instanceof CanvasGradient||o instanceof CanvasPattern?Wp:We(o).map(function(t,e){return 3!=e?t/255:t})||Wp,e=void 0!==(e=e.c)?e:1}else o=[0,0,0,0],e=0;t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?Xp:We(t).map(function(t,e){return 3!=e?t/255:t})||Xp,this.c.strokeColor&&U(this.c.strokeColor,o)&&this.c.fillColor&&U(this.c.fillColor,t)&&this.c.lineWidth===e||(this.c.s=!0,this.c.fillColor=t,this.c.strokeColor=o,this.c.lineWidth=e,this.j.push([t,o,e]))},s(Jp,Rp);var _p=new Jp;function $p(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}"}s($p,Ip);var Qp=new $p;function ts(t,e){this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"k"),this.i=t.getUniformLocation(e,"h"),this.v=t.getAttribLocation(e,"e"),this.u=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"c"),this.D=t.getAttribLocation(e,"g"),this.C=t.getAttribLocation(e,"d")}function es(t,e){this.j=t,this.b=e,this.a={},this.c={},this.i={},this.l=this.v=this.f=this.o=null,(this.g=d(o,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),me(this.j,"webglcontextlost",this.Xo,this),me(this.j,"webglcontextrestored",this.Yo,this)}function os(t,e,o){var i=t.b,r=o.b,n=String(G(o));if(n in t.a)i.bindBuffer(e,t.a[n].buffer);else{var p,s=i.createBuffer();i.bindBuffer(e,s),34962==e?p=new Float32Array(r):34963==e&&(p=t.g?new Uint32Array(r):new Uint16Array(r)),i.bufferData(e,p,o.a),t.a[n]={lc:o,buffer:s}}}function is(t,e){var o=t.b;e=String(G(e));var i=t.a[e];o.isContextLost()||o.deleteBuffer(i.buffer),delete t.a[e]}function rs(t){if(!t.f){var e=t.b,o=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,o);var i=as(e,1,1),r=e.createRenderbuffer();e.bindRenderbuffer(e.RENDERBUFFER,r),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,r),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.f=o,t.v=i,t.l=r}return t.f}function ns(t,e){var o=String(G(e));if(o in t.c)return t.c[o];var i=t.b,r=i.createShader(e.U());return i.shaderSource(r,e.b),i.compileShader(r),t.c[o]=r}function ps(t,e,o){var i=G(e)+"/"+G(o);if(i in t.i)return t.i[i];var r=t.b,n=r.createProgram();return r.attachShader(n,ns(t,e)),r.attachShader(n,ns(t,o)),r.linkProgram(n),t.i[i]=n}function ss(t,e,o){var i=t.createTexture();return t.bindTexture(t.TEXTURE_2D,i),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),i}function as(t,e,o){var i=ss(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function hs(t,e){var o=ss(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function ls(t,e){Gp.call(this,0,e),this.C=this.D=void 0,this.S=[],this.v=[],this.oa=void 0,this.j=[],this.c=[],this.I=this.ra=void 0,this.B=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.va=[],this.u=[],this.pa=void 0}function us(t,e,o,i){var r,n=t.D,p=t.C,s=t.oa,a=t.ra,h=t.I,l=t.R,u=t.Ua,c=t.T,y=t.na?1:0,f=-t.fa,g=t.fb,d=t.pa,v=Math.cos(f),b=(f=Math.sin(f),t.b.length),m=t.a.length;for(r=0;r<o;r+=i){var w=e[r]-t.origin[0],x=e[r+1]-t.origin[1],S=m/8,M=-g*n,P=-g*(s-p);t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=u/h,t.a[m++]=(c+s)/a,t.a[m++]=l,t.a[m++]=y,M=g*(d-n),P=-g*(s-p),t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=(u+d)/h,t.a[m++]=(c+s)/a,t.a[m++]=l,t.a[m++]=y,M=g*(d-n),P=g*p,t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=(u+d)/h,t.a[m++]=c/a,t.a[m++]=l,t.a[m++]=y,M=-g*n,P=g*p,t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=u/h,t.a[m++]=c/a,t.a[m++]=l,t.a[m++]=y,t.b[b++]=S,t.b[b++]=1+S,t.b[b++]=2+S,t.b[b++]=S,t.b[b++]=2+S,t.b[b++]=3+S}}function cs(t,e,o,i){var r,n=e.length;for(r=0;r<n;++r){var p=e[r],s=G(p).toString();s in o?p=o[s]:(p=hs(i,p),o[s]=p),t[r]=p}}function ys(t,e,o){var i=e-o;return t[0]===t[i]&&t[1]===t[1+i]&&3<(e-0)/o&&!!Hi(t,0,e,o)}function fs(){this.b="precision mediump float;varying float a;varying vec2 b;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((b.x+1.0)/2.0*o.x*p,(b.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}s(es,Pe),(t=es.prototype).ka=function(){Me(this.j);var t=this.b;if(!t.isContextLost()){for(var e in this.a)t.deleteBuffer(this.a[e].buffer);for(e in this.i)t.deleteProgram(this.i[e]);for(e in this.c)t.deleteShader(this.c[e]);t.deleteFramebuffer(this.f),t.deleteRenderbuffer(this.l),t.deleteTexture(this.v)}},t.Wo=function(){return this.b},t.Xo=function(){yt(this.a),yt(this.c),yt(this.i),this.l=this.v=this.f=this.o=null},t.Yo=function(){},t.Qc=function(t){return t!=this.o&&(this.b.useProgram(t),this.o=t,!0)},s(ls,Gp),(t=ls.prototype).Eb=function(o){var i=this.l,r=this.o,n=this.va,p=this.u,s=o.b;return function(){if(!s.isContextLost()){var t,e=0;for(t=n.length;e<t;++e)s.deleteTexture(n[e]);for(e=0,t=p.length;e<t;++e)s.deleteTexture(p[e])}is(o,i),is(o,r)}},t.oc=function(t,e){this.i.push(this.b.length),this.f.push(e),us(this,e=t.ga(),e.length,t.qa())},t.qc=function(t,e){this.i.push(this.b.length),this.f.push(e),us(this,e=t.ga(),e.length,t.qa())},t.Db=function(t){t=t.b,this.S.push(this.b.length),this.v.push(this.b.length),this.l=new zp(this.a),this.o=new zp(this.b);var e={};cs(this.va,this.j,e,t),cs(this.u,this.c,e,t),this.oa=this.C=this.D=void 0,this.c=this.j=null,this.I=this.ra=void 0,this.b=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.a=null,this.pa=void 0},t.rf=function(t,e){var o=ps(e,_p,Qp);if(this.B)var i=this.B;else this.B=i=new ts(t,o);return e.Qc(o),t.enableVertexAttribArray(i.b),t.vertexAttribPointer(i.b,2,5126,!1,32,0),t.enableVertexAttribArray(i.v),t.vertexAttribPointer(i.v,2,5126,!1,32,8),t.enableVertexAttribArray(i.C),t.vertexAttribPointer(i.C,2,5126,!1,32,16),t.enableVertexAttribArray(i.u),t.vertexAttribPointer(i.u,1,5126,!1,32,24),t.enableVertexAttribArray(i.D),t.vertexAttribPointer(i.D,1,5126,!1,32,28),i},t.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.v),t.disableVertexAttribArray(e.C),t.disableVertexAttribArray(e.u),t.disableVertexAttribArray(e.D)},t.Od=function(t,e,o,i){var r=i?this.u:this.va;if(i=i?this.v:this.S,gt(o)){var n;o=0;var p=r.length;for(n=0;o<p;++o){t.bindTexture(3553,r[o]);var s=i[o];Bp(t,e,n,s),n=s}}else for(n=p=0,s=r.length;n<s;++n){t.bindTexture(3553,r[n]);for(var a=0<n?i[n-1]:0,h=i[n],l=a;p<this.i.length&&this.i[p]<=h;){a=void 0!==o[G(this.f[p]).toString()]?(l!==a&&Bp(t,e,l,a),l=p===this.i.length-1?h:this.i[p+1]):p===this.i.length-1?h:this.i[p+1],p++}l!==a&&Bp(t,e,l,a)}},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-1;for(n=this.u.length-1;0<=n;--n){t.bindTexture(3553,this.u[n]);var a=0<n?this.v[n-1]:0;for(p=this.v[n];0<=s&&this.i[s]>=a;){var h=this.i[s],l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,p),p=i(l)))return p;p=h,s--}}},t.Ub=function(t){var e=t.Hc(),o=t.Y(1),i=t.ye(),r=t.qg(1),n=t.f,p=t.Oc(),s=t.l,a=t.g,h=t.ic();if(t=t.a,this.j.length){var l=this.j[this.j.length-1];G(l)!=G(o)&&(this.S.push(this.b.length),this.j.push(o))}else this.j.push(o);this.c.length?G(l=this.c[this.c.length-1])!=G(r)&&(this.v.push(this.b.length),this.c.push(r)):this.c.push(r),this.D=e[0],this.C=e[1],this.oa=h[1],this.ra=i[1],this.I=i[0],this.R=n,this.Ua=p[0],this.T=p[1],this.fa=a,this.na=s,this.fb=t,this.pa=h[0]},s(fs,Rp);var gs=new fs;function ds(){this.b="varying float a;varying vec2 b;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;b=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}"}s(ds,Ip);var vs=new ds;function bs(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.R=t.getUniformLocation(e,"l"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"p"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"o"),this.g=t.getAttribLocation(e,"g"),this.o=t.getAttribLocation(e,"d"),this.l=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e")}function ms(t,e){Gp.call(this,0,e),this.v=null,this.u=[],this.j=[],this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}function ws(t,e,o,i){var r,n=t.a.length,p=t.b.length,s="bevel"===t.c.lineJoin?0:"miter"===t.c.lineJoin?1:2,a="butt"===t.c.lineCap?0:"square"===t.c.lineCap?1:2,h=ys(e,o,i),l=p,u=1;for(r=0;r<o;r+=i){var c=n/7,y=f,f=g||[e[r],e[r+1]];if(r){if(r===o-i){if(h)var g=d;else n=xs(t,y=y||[0,0],f,[0,0],u*Ts*(a||1),n),n=xs(t,y,f,[0,0],-u*Ts*(a||1),n),t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=l,t.b[p++]=c+1,t.b[p++]=c,a&&(n=xs(t,y,f,[0,0],u*Cs*a,n),n=xs(t,y,f,[0,0],-u*Cs*a,n),t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=c+1,t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c+2);break}g=[e[r+i],e[r+i+1]]}else{if(g=[e[r+i],e[r+i+1]],o-0==2*i&&U(f,g))break;if(!h){a&&(n=xs(t,[0,0],f,g,u*js*a,n),n=xs(t,[0,0],f,g,-u*js*a,n),t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=c+1,t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c+2),n=xs(t,[0,0],f,g,u*Es*(a||1),n),l=(n=xs(t,[0,0],f,g,-u*Es*(a||1),n))/7-1;continue}y=[e[o-2*i],e[o-2*i+1]];var d=g}var v=Zp(y[0],y[1],f[0],f[1],g[0],g[1])?-1:1;n=xs(t,y,f,g,v*Ls*(s||1),n),n=xs(t,y,f,g,v*Rs*(s||1),n),n=xs(t,y,f,g,-v*Is*(s||1),n),0<r&&(t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=0<u*v?l:l-1),t.b[p++]=c,t.b[p++]=c+2,t.b[p++]=c+1,l=c+2,u=v,s&&(n=xs(t,y,f,g,v*Ns*s,n),t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c)}h&&(c=c||n/7,n=xs(t,y,f,g,(v=br([y[0],y[1],f[0],f[1],g[0],g[1]],0,6,2)?1:-1)*Ls*(s||1),n),xs(t,y,f,g,-v*Is*(s||1),n),t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=c+1,t.b[p++]=c,t.b[p++]=0<u*v?l:l-1)}function xs(t,e,o,i,r,n){return t.a[n++]=e[0],t.a[n++]=e[1],t.a[n++]=o[0],t.a[n++]=o[1],t.a[n++]=i[0],t.a[n++]=i[1],t.a[n++]=r,n}function Ss(t,e,o,i){return!((o-=e)<2*i)&&(o!==2*i||!U([t[e],t[e+1]],[t[e+i],t[e+i+1]]))}function Ms(t,e,o,i){var r;if(ys(e,e.length,i)||(e.push(e[0]),e.push(e[1])),ws(t,e,e.length,i),o.length)for(e=0,r=o.length;e<r;++e)ys(o[e],o[e].length,i)||(o[e].push(o[e][0]),o[e].push(o[e][1])),ws(t,o[e],o[e].length,i)}function Ps(t,e,o){o=void 0===o?t.b.length:o,t.i.push(o),t.f.push(e),t.c.s&&(t.j.push(o),t.c.s=!1)}function As(t,e,o,i,r){e.uniform4fv(t.v.B,o),e.uniform1f(t.v.oa,i),e.uniform1f(t.v.R,r)}s(ms,Gp),(t=ms.prototype).mc=function(t,e){var o=t.ga();t=t.qa(),Ss(o,0,o.length,t)&&(o=Wi(o,0,o.length,t,-this.origin[0],-this.origin[1]),this.c.s&&(this.j.push(this.b.length),this.c.s=!1),this.i.push(this.b.length),this.f.push(e),ws(this,o,o.length,t))},t.nc=function(t,e){var o=this.b.length,i=t.Bb();i.unshift(0);var r,n=t.ga();if(t=t.qa(),1<i.length){var p=1;for(r=i.length;p<r;++p)if(Ss(n,i[p-1],i[p],t)){var s=Wi(n,i[p-1],i[p],t,-this.origin[0],-this.origin[1]);ws(this,s,s.length,t)}}this.b.length>o&&(this.i.push(o),this.f.push(e),this.c.s&&(this.j.push(o),this.c.s=!1))},t.Db=function(){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),!this.j.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o;return function(){is(t,e),is(t,o)}},t.rf=function(t,e,o,i){var r=ps(e,gs,vs);if(this.v)var n=this.v;else this.v=n=new bs(t,r);return e.Qc(r),t.enableVertexAttribArray(n.o),t.vertexAttribPointer(n.o,2,5126,!1,28,0),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,28,8),t.enableVertexAttribArray(n.l),t.vertexAttribPointer(n.l,2,5126,!1,28,16),t.enableVertexAttribArray(n.g),t.vertexAttribPointer(n.g,1,5126,!1,28,24),t.uniform2fv(n.I,o),t.uniform1f(n.ra,i),n},t.sf=function(t,e){t.disableVertexAttribArray(e.o),t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.l),t.disableVertexAttribArray(e.g)},t.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),gt(o)){var p=this.i[this.i.length-1];for(o=this.j.length-1;0<=o;--o){var s=this.j[o],a=this.u[o];As(this,t,a[0],a[1],a[2]),Bp(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT),p=s}}else{var h=this.i.length-2;for(a=p=this.i[h+1],s=this.j.length-1;0<=s;--s){var l=this.u[s];for(As(this,t,l[0],l[1],l[2]),l=this.j[s];0<=h&&this.i[h]>=l;){var u=this.i[h],c=this.f[h];o[c=G(c).toString()]&&(p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),a=u),h--,p=u}p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),p=a=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.j.length-1;0<=n;--n){var h=this.u[n];for(As(this,t,h[0],h[1],h[2]),p=this.j[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){t=e.f,this.c.lineCap=void 0!==t?t:"round",t=e.i,this.c.lineDash=t||Vp,t=e.g,this.c.lineDashOffset=t||0,t=e.j,this.c.lineJoin=void 0!==t?t:"round",t=(t=e.a)instanceof CanvasGradient||t instanceof CanvasPattern?Wp:We(t).map(function(t,e){return 3!=e?t/255:t})||Wp;var o=void 0!==(o=e.c)?o:1;e=void 0!==(e=e.o)?e:10,this.c.strokeColor&&U(this.c.strokeColor,t)&&this.c.lineWidth===o&&this.c.miterLimit===e||(this.c.s=!0,this.c.strokeColor=t,this.c.lineWidth=o,this.c.miterLimit=e,this.u.push([t,o,e]))};var Es=3,Ts=5,js=7,Cs=11,Ls=13,Rs=17,Is=19,Ns=23;function Fs(){this.b="precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}s(Fs,Rp);var ks=new Fs;function Ds(){this.b="attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}"}s(Ds,Ip);var Os=new Ds;function Us(t,e){this.B=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"c"),this.a=t.getUniformLocation(e,"f"),this.i=t.getUniformLocation(e,"b"),this.b=t.getAttribLocation(e,"a")}function Gs(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.f=t.lineCap,this.i=void 0!==t.lineDash?t.lineDash:null,this.g=t.lineDashOffset,this.j=t.lineJoin,this.o=t.miterLimit,this.c=t.width,this.b=void 0}function Bs(t){this.b=this.a=this.i=void 0,this.f=void 0===t||t,this.c=0}function Xs(t){var e=t.b;if(e){var o=e.next,i=e.ub;o&&(o.ub=i),i&&(i.next=o),t.b=o||i,t.i===t.a?(t.b=void 0,t.i=void 0,t.a=void 0):t.i===e?t.i=t.b:t.a===e&&(t.a=i?t.b.ub:t.b),t.c--}}function Vs(t){if(t.b=t.i,t.b)return t.b.data}function Ws(t){if(t.b&&t.b.next)return t.b=t.b.next,t.b.data}function Zs(t){if(t.b&&t.b.next)return t.b.next.data}function Ks(t){if(t.b&&t.b.ub)return t.b=t.b.ub,t.b.data}function zs(t){if(t.b&&t.b.ub)return t.b.ub.data}function Ys(t){if(t.b)return t.b.data}(t=Gs.prototype).clone=function(){var t=this.a;return new Gs({color:t&&t.slice?t.slice():t||void 0,lineCap:this.f,lineDash:this.i?this.i.slice():void 0,lineDashOffset:this.g,lineJoin:this.j,miterLimit:this.o,width:this.c})},t.No=function(){return this.a},t.Vk=function(){return this.f},t.Oo=function(){return this.i},t.Wk=function(){return this.g},t.Xk=function(){return this.j},t.bl=function(){return this.o},t.Po=function(){return this.c},t.Qo=function(t){this.a=t,this.b=void 0},t.aq=function(t){this.f=t,this.b=void 0},t.setLineDash=function(t){this.i=t,this.b=void 0},t.bq=function(t){this.g=t,this.b=void 0},t.cq=function(t){this.j=t,this.b=void 0},t.gq=function(t){this.o=t,this.b=void 0},t.jq=function(t){this.c=t,this.b=void 0},Bs.prototype.concat=function(t){if(t.b){if(this.b){var e=this.b.next;this.b.next=t.i,t.i.ub=this.b,e.ub=t.a,t.a.next=e,this.c+=t.c}else this.b=t.b,this.i=t.i,this.a=t.a,this.c=t.c;t.b=void 0,t.i=void 0,t.a=void 0,t.c=0}};var Hs,qs,Js={$d:function(){}};function _s(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}function $s(t,e){return t<e?-1:e<t?1:0}function Qs(t,e){if(!(this instanceof Qs))return new Qs(t,e);this.Hf=Math.max(4,t||9),this.fh=Math.max(2,Math.ceil(.4*this.Hf)),e&&this.ek(e),this.clear()}function ta(t,e){ea(t,0,t.children.length,e,t)}function ea(t,e,o,i,r){(r=r||ha(null)).ca=1/0,r.da=1/0,r.$=-1/0,r.ia=-1/0;for(var n;e<o;e++)n=t.children[e],oa(r,t.ib?i(n):n);return r}function oa(t,e){t.ca=Math.min(t.ca,e.ca),t.da=Math.min(t.da,e.da),t.$=Math.max(t.$,e.$),t.ia=Math.max(t.ia,e.ia)}function ia(t,e){return t.ca-e.ca}function ra(t,e){return t.da-e.da}function na(t){return(t.$-t.ca)*(t.ia-t.da)}function pa(t){return t.$-t.ca+(t.ia-t.da)}function sa(t,e){return t.ca<=e.ca&&t.da<=e.da&&e.$<=t.$&&e.ia<=t.ia}function aa(t,e){return e.ca<=t.$&&e.da<=t.ia&&e.$>=t.ca&&e.ia>=t.da}function ha(t){return{children:t,height:1,ib:!0,ca:1/0,da:1/0,$:-1/0,ia:-1/0}}function la(t,e,o,i,r){for(var n,p=[e,o];p.length;)(o=p.pop())-(e=p.pop())<=i||(n=e+Math.ceil((o-e)/i/2)*i,qs(t,n,e,o,r),p.push(e,n,n,o))}function ua(t){this.a=Js.$d(t),this.b={}}function ca(t,e,o){var i=t.b[G(o)];Y([i.ca,i.da,i.$,i.ia],e)||(t.remove(o),t.Ca(e,o))}function ya(t){return t.a.all().map(function(t){return t.value})}function fa(t,e){return t.a.search({ca:e[0],da:e[1],$:e[2],ia:e[3]}).map(function(t){return t.value})}function ga(t,e,o,i){return da(fa(t,e),o,i)}function da(t,e,o){for(var i,r=0,n=t.length;r<n&&!(i=e.call(o,t[r]));r++);return i}function va(t,e){Gp.call(this,0,e),this.g=new ms(0,e),this.v=null,this.u=[],this.c=[],this.j={fillColor:null,s:!1}}function ba(t,e,o,i){var r=new Bs,n=new ua;if(e=ma(t,e,i,r,n,!0),o.length){var p,s=[],a=0;for(p=o.length;a<p;++a){var h={list:new Bs,$:void 0,Mg:new ua};s.push(h),h.$=ma(t,o[a],i,h.list,h.Mg,!1)}for(s.sort(function(t,e){return e.$[0]===t.$[0]?t.$[1]-e.$[1]:e.$[0]-t.$[0]}),a=0;a<s.length;++a){p=i=Vs(o=s[a].list);do{if(Ca(p,n).length){var l=!0;break}p=Ws(o)}while(i!==p);l||(wa(o,s[a].Mg,!0),xa(o,s[a].$[0],r,e[0],n)&&(n.concat(s[a].Mg),wa(r,n,!1)))}}else wa(r,n,!1);!function t(e,o,i){for(var r=!1,n=Pa(o,i);3<o.c;)if(n){if(!Sa(e,o,i,n,r)&&!wa(o,i,r)&&!Ma(e,o,i,!0))break}else if(!Sa(e,o,i,n,r)&&!wa(o,i,r)&&!Ma(e,o,i)){if(!(n=Pa(o,i))){n=e,p=s=Vs(r=o);do{if((a=Ca(p,i)).length){for(s=a[0],a=La(p.aa,p.W,s.aa,s.W),a=Aa(n,a[0],a[1],n.a.length/2),h=new Bs,l=new ua,Ea(a,p.W,h,l),p.W=a,ca(i,[Math.min(p.aa.x,a.x),Math.min(p.aa.y,a.y),Math.max(p.aa.x,a.x),Math.max(p.aa.y,a.y)],p),p=Ws(r);p!==s;)Ea(p.aa,p.W,h,l),i.remove(p),Xs(r),p=Ys(r);Ea(s.aa,a,h,l),s.aa=a,ca(i,[Math.min(s.W.x,a.x),Math.min(s.W.y,a.y),Math.max(s.W.x,a.x),Math.max(s.W.y,a.y)],s),wa(r,i,!1),t(n,r,i),wa(h,l,!1),t(n,h,l);break}p=Ws(r)}while(p!==s);break}for(var r=o,p=2*r.c,s=Array(p),a=Vs(r),h=a,l=0;s[l++]=h.aa.x,s[l++]=h.aa.y,(h=Ws(r))!==a;);r=!br(s,0,p,2),wa(o,i,r)}3===o.c&&(n=e.b.length,e.b[n++]=zs(o).aa.hb,e.b[n++]=Ys(o).aa.hb,e.b[n++]=Zs(o).aa.hb)}(t,r,n)}function ma(t,e,o,i,r,n){var p,s,a=t.a.length/2,h=[],l=[];if(n===br(e,0,e.length,o)){var u=s=Aa(t,e[0],e[1],a++);n=e[0];var c=e[1],y=o;for(p=e.length;y<p;y+=o){var f=Aa(t,e[y],e[y+1],a++);l.push(Ea(u,f,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),e[y]>n&&(n=e[y],c=e[y+1]),u=f}}else for(u=s=Aa(t,e[y=e.length-o],e[y+1],a++),n=e[y],c=e[y+1],y-=o,p=0;p<=y;y-=o)f=Aa(t,e[y],e[y+1],a++),l.push(Ea(u,f,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),e[y]>n&&(n=e[y],c=e[y+1]),u=f;return l.push(Ea(f,s,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),r.load(h,l),[n,c]}function wa(t,e,o){var i=Vs(t),r=i,n=Ws(t),p=!1;do{var s=o?Zp(n.W.x,n.W.y,r.W.x,r.W.y,r.aa.x,r.aa.y):Zp(r.aa.x,r.aa.y,r.W.x,r.W.y,n.W.x,n.W.y);void 0===s?(Ta(r,n,t,e),p=!0,n===i&&(i=Zs(t)),n=r,Ks(t)):r.W.Fb!==s&&(r.W.Fb=s,p=!0),r=n,n=Ws(t)}while(r!==i);return p}function xa(t,e,o,i,r){for(var n=Vs(t);n.W.x!==e;)n=Ws(t);var p,s=1/0,a=Ca({aa:e=n.W,W:i={x:i,y:e.y,hb:-1}},r,!0),h=0;for(p=a.length;h<p;++h){var l=a[h],u=La(e,i,l.aa,l.W,!0),c=Math.abs(e.x-u[0]);if(c<s&&void 0!==Zp(e.x,e.y,l.aa.x,l.aa.y,l.W.x,l.W.y)){s=c;var y={x:u[0],y:u[1],hb:-1};n=l}}if(1/0===s)return!1;if(a=n.W,0<s&&(n=ja(e,y,n.W,r)).length)for(y=1/0,h=0,p=n.length;h<p;++h)s=n[h],((l=Math.atan2(e.y-s.y,i.x-s.x))<y||l===y&&s.x<a.x)&&(y=l,a=s);for(n=Vs(o);n.W.x!==a.x||n.W.y!==a.y;)n=Ws(o);return i={x:e.x,y:e.y,hb:e.hb,Fb:void 0},h={x:n.W.x,y:n.W.y,hb:n.W.hb,Fb:void 0},Zs(t).aa=i,Ea(e,n.W,t,r),Ea(h,i,t,r),n.W=h,t.f&&t.b&&(t.i=t.b,t.a=t.b.ub),o.concat(t),!0}function Sa(t,e,o,i,r){var n=t.b.length,p=Vs(e),s=zs(e),a=p,h=Ws(e),l=Zs(e),u=!1;do{var c=a.aa,y=a.W,f=h.W;if(!1===y.Fb){var g=r?Ra(l.W,f,y,c,s.aa):Ra(s.aa,c,y,f,l.W);!i&&Ca({aa:c,W:f},o).length||!g||ja(c,y,f,o,!0).length||!i&&!1!==c.Fb&&!1!==f.Fb&&br([s.aa.x,s.aa.y,c.x,c.y,y.x,y.y,f.x,f.y,l.W.x,l.W.y],0,10,2)!==!r||(t.b[n++]=c.hb,t.b[n++]=y.hb,t.b[n++]=f.hb,Ta(a,h,e,o),h===p&&(p=l),u=!0)}s=zs(e),a=Ys(e),h=Ws(e),l=Zs(e)}while(a!==p&&3<e.c);return u}function Ma(t,e,o,i){var r=Vs(e);Ws(e);var n=r,p=Ws(e),s=!1;do{var a=La(n.aa,n.W,p.aa,p.W,i);if(a){s=t.b.length;var h=t.a.length/2,l=Ks(e);Xs(e),o.remove(l);var u=l===r;if(i?(u=a[0]===n.aa.x&&a[1]===n.aa.y?(Ks(e),a=n.aa,p.aa=a,o.remove(n),u||n===r):(a=p.W,n.W=a,o.remove(p),u||p===r),Xs(e)):(a=Aa(t,a[0],a[1],h),n.W=a,p.aa=a,ca(o,[Math.min(n.aa.x,n.W.x),Math.min(n.aa.y,n.W.y),Math.max(n.aa.x,n.W.x),Math.max(n.aa.y,n.W.y)],n),ca(o,[Math.min(p.aa.x,p.W.x),Math.min(p.aa.y,p.W.y),Math.max(p.aa.x,p.W.x),Math.max(p.aa.y,p.W.y)],p)),t.b[s++]=l.aa.hb,t.b[s++]=l.W.hb,t.b[s++]=a.hb,s=!0,u)break}n=zs(e),p=Ws(e)}while(n!==r);return s}function Pa(t,e){var o=Vs(t),i=o;do{if(Ca(i,e).length)return!1;i=Ws(t)}while(i!==o);return!0}function Aa(t,e,o,i){var r=t.a.length;return{x:t.a[r++]=e,y:t.a[r++]=o,hb:i,Fb:void 0}}function Ea(t,e,o,i){var r={aa:t,W:e},n={ub:void 0,next:void 0,data:r},p=o.b;if(p){var s=p.next;n.ub=p,n.next=s,p.next=n,s&&(s.ub=n),p===o.a&&(o.a=n)}else o.i=n,o.a=n,o.f&&((n.next=n).ub=n);return o.b=n,o.c++,i&&i.Ca([Math.min(t.x,e.x),Math.min(t.y,e.y),Math.max(t.x,e.x),Math.max(t.y,e.y)],r),r}function Ta(t,e,o,i){Ys(o)===e&&(Xs(o),t.W=e.W,i.remove(e),ca(i,[Math.min(t.aa.x,t.W.x),Math.min(t.aa.y,t.W.y),Math.max(t.aa.x,t.W.x),Math.max(t.aa.y,t.W.y)],t))}function ja(t,e,o,i,r){var n,p,s=[],a=fa(i,[Math.min(t.x,e.x,o.x),Math.min(t.y,e.y,o.y),Math.max(t.x,e.x,o.x),Math.max(t.y,e.y,o.y)]);for(i=0,n=a.length;i<n;++i)for(p in a[i]){var h=a[i][p];"object"!=typeof h||r&&!h.Fb||h.x===t.x&&h.y===t.y||h.x===e.x&&h.y===e.y||h.x===o.x&&h.y===o.y||-1!==s.indexOf(h)||!cr([t.x,t.y,e.x,e.y,o.x,o.y],0,6,2,h.x,h.y)||s.push(h)}return s}function Ca(t,e,o){var i,r=t.aa,n=t.W,p=[],s=0;for(i=(e=fa(e,[Math.min(r.x,n.x),Math.min(r.y,n.y),Math.max(r.x,n.x),Math.max(r.y,n.y)])).length;s<i;++s){var a=e[s];t!==a&&(o||a.aa!==n||a.W!==r)&&La(r,n,a.aa,a.W,o)&&p.push(a)}return p}function La(t,e,o,i,r){var n=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(n&&(i=((i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x))/n,o=((e.x-t.x)*(t.y-o.y)-(e.y-t.y)*(t.x-o.x))/n,!r&&Kp<i&&i<1-Kp&&Kp<o&&o<1-Kp||r&&0<=i&&i<=1&&0<=o&&o<=1))return[t.x+i*(e.x-t.x),t.y+i*(e.y-t.y)]}function Ra(t,e,o,i,r){if(void 0===e.Fb||void 0===i.Fb)return!1;var n=(o.x-i.x)*(e.y-i.y)>(o.y-i.y)*(e.x-i.x);return r=(r.x-i.x)*(e.y-i.y)<(r.y-i.y)*(e.x-i.x),t=(t.x-e.x)*(i.y-e.y)>(t.y-e.y)*(i.x-e.x),o=(o.x-e.x)*(i.y-e.y)<(o.y-e.y)*(i.x-e.x),e=e.Fb?o||t:o&&t,(i.Fb?r||n:r&&n)&&e}function Ia(){}function Na(t,e,o){this.f=e,this.g=t,this.c=o,this.a={}}function Fa(t,e){var o,i=[];for(o in t.a){var r,n=t.a[o];for(r in n)i.push(n[r].Eb(e))}return function(){for(var t,e=i.length,o=0;o<e;o++)t=i[o].apply(this,arguments);return t}}function ka(t,e,o,i,r,n,p,s,a,h,l){var u,c,y=Da,f=Object.keys(t.a).map(Number);f.sort(function(t,e){return e-t});var g=0;for(u=f.length;g<u;++g){var d=t.a[f[g].toString()];for(c=jp.length-1;0<=c;--c){var v=d[jp[c]];if(void 0!==v&&(v=v.La(e,o,i,r,y,n,p,s,a,h,l)))return v}}}Hs=Js.$d=Js.$d||{},qs=function t(e,o,i,r,n){for(i=i||0,r=r||e.length-1,n=n||$s;i<r;){if(600<r-i){var p=r-i+1,s=o-i+1,a=Math.log(p),h=.5*Math.exp(2*a/3);a=.5*Math.sqrt(a*h*(p-h)/p)*(s-p/2<0?-1:1),t(e,o,Math.max(i,Math.floor(o-s*h/p+a)),Math.min(r,Math.floor(o+(p-s)*h/p+a)),n)}for(p=e[o],h=r,_s(e,s=i,o),0<n(e[r],p)&&_s(e,i,r);s<h;){for(_s(e,s,h),s++,h--;n(e[s],p)<0;)s++;for(;0<n(e[h],p);)h--}0===n(e[i],p)?_s(e,i,h):_s(e,++h,r),h<=o&&(i=h+1),o<=h&&(r=h-1)}},Qs.prototype={all:function(){return this.$g(this.data,[])},search:function(t){var e=this.data,o=[],i=this.wb;if(!aa(t,e))return o;for(var r,n,p,s,a=[];e;){for(r=0,n=e.children.length;r<n;r++)p=e.children[r],aa(t,s=e.ib?i(p):p)&&(e.ib?o.push(p):sa(t,s)?this.$g(p,o):a.push(p));e=a.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.fh){for(var e=0,o=t.length;e<o;e++)this.Ca(t[e]);return this}return t=this.bh(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.hh(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.eh(t,this.data.height-t.height-1,!0)):this.data=t,this},Ca:function(t){return t&&this.eh(t,this.data.height-1),this},clear:function(){return this.data=ha([]),this},remove:function(t,e){if(!t)return this;for(var o,i,r,n,p=this.data,s=this.wb(t),a=[],h=[];p||a.length;){if(p||(p=a.pop(),i=a[a.length-1],o=h.pop(),n=!0),p.ib){t:{r=t;var l=p.children,u=e;if(u){for(var c=0;c<l.length;c++)if(u(r,l[c])){r=c;break t}r=-1}else r=l.indexOf(r)}if(-1!==r){p.children.splice(r,1),a.push(p),this.ck(a);break}}n||p.ib||!sa(p,s)?i?(o++,p=i.children[o],n=!1):p=null:(a.push(p),h.push(o),o=0,p=(i=p).children[0])}return this},wb:function(t){return t},Lf:ia,Mf:ra,toJSON:function(){return this.data},$g:function(t,e){for(var o=[];t;)t.ib?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},bh:function(t,e,o,i){var r,n,p;if((r=o-e+1)<=(n=this.Hf)){var s=ha(t.slice(e,o+1));return ta(s,this.wb),s}for(i||(i=Math.ceil(Math.log(r)/Math.log(n)),n=Math.ceil(r/Math.pow(n,i-1))),(s=ha([])).ib=!1,s.height=i,la(t,e,o,n=(r=Math.ceil(r/n))*Math.ceil(Math.sqrt(n)),this.Lf);e<=o;e+=n){var a=Math.min(e+n-1,o);for(la(t,e,a,r,this.Mf),p=e;p<=a;p+=r){var h=Math.min(p+r-1,a);s.children.push(this.bh(t,p,h,i-1))}}return ta(s,this.wb),s},bk:function(t,e,o,i){for(var r,n,p,s,a,h,l,u;i.push(e),!e.ib&&i.length-1!==o;){for(l=u=1/0,r=0,n=e.children.length;r<n;r++)a=na(p=e.children[r]),(h=(Math.max(p.$,t.$)-Math.min(p.ca,t.ca))*(Math.max(p.ia,t.ia)-Math.min(p.da,t.da))-a)<u?(u=h,l=a<l?a:l,s=p):h===u&&a<l&&(l=a,s=p);e=s||e.children[0]}return e},eh:function(t,e,o){var i=this.wb;o=o?t:i(t);i=[];var r=this.bk(o,this.data,e,i);for(r.children.push(t),oa(r,o);0<=e&&i[e].children.length>this.Hf;)this.jk(i,e),e--;this.Zj(o,i,e)},jk:function(t,e){var o=t[e],i=o.children.length,r=this.fh;this.$j(o,r,i),i=this.ak(o,r,i),(i=ha(o.children.splice(i,o.children.length-i))).height=o.height,i.ib=o.ib,ta(o,this.wb),ta(i,this.wb),e?t[e-1].children.push(i):this.hh(o,i)},hh:function(t,e){this.data=ha([t,e]),this.data.height=t.height+1,this.data.ib=!1,ta(this.data,this.wb)},ak:function(t,e,o){var i,r,n=r=1/0;for(i=e;i<=o-e;i++){var p=ea(t,0,i,this.wb),s=ea(t,i,o,this.wb),a=Math.max(0,Math.min(p.$,s.$)-Math.max(p.ca,s.ca))*Math.max(0,Math.min(p.ia,s.ia)-Math.max(p.da,s.da));if(p=na(p)+na(s),a<n){n=a;var h=i;r=p<r?p:r}else a===n&&p<r&&(r=p,h=i)}return h},$j:function(t,e,o){var i=t.ib?this.Lf:ia,r=t.ib?this.Mf:ra;this.ah(t,e,o,i)<(e=this.ah(t,e,o,r))&&t.children.sort(i)},ah:function(t,e,o,i){t.children.sort(i);var r,n=ea(t,0,e,i=this.wb),p=ea(t,o-e,o,i),s=pa(n)+pa(p);for(r=e;r<o-e;r++){var a=t.children[r];oa(n,t.ib?i(a):a),s+=pa(n)}for(r=o-e-1;e<=r;r--)a=t.children[r],oa(p,t.ib?i(a):a),s+=pa(p);return s},Zj:function(t,e,o){for(;0<=o;o--)oa(e[o],t)},ck:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():ta(t[o],this.wb)},ek:function(t){var e=["return a"," - b",";"];this.Lf=new Function("a","b",e.join(t[0])),this.Mf=new Function("a","b",e.join(t[1])),this.wb=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}},Hs.default=Qs,Js.$d=Js.$d.default,(t=ua.prototype).Ca=function(t,e){t={ca:t[0],da:t[1],$:t[2],ia:t[3],value:e},this.a.Ca(t),this.b[G(e)]=t},t.load=function(t,e){for(var o=Array(e.length),i=0,r=e.length;i<r;i++){var n=t[i],p=e[i];n={ca:n[0],da:n[1],$:n[2],ia:n[3],value:p};o[i]=n,this.b[G(p)]=n}this.a.load(o)},t.remove=function(t){t=G(t);var e=this.b[t];return delete this.b[t],null!==this.a.remove(e)},t.forEach=function(t,e){return da(ya(this),t,e)},t.clear=function(){this.a.clear(),this.b={}},t.G=function(t){var e=this.a.data;return W(e.ca,e.da,e.$,e.ia,t)},t.concat=function(t){for(var e in this.a.load(t.a.all()),t.b)this.b[0|e]=t.b[0|e]},s(va,Gp),(t=va.prototype).pc=function(t,e){var o,i,r,n=t.c,p=t.qa(),s=this.b.length,a=this.g.b.length;t=t.ga();var h=i=0;for(o=n.length;h<o;++h){var l=n[h];if(0<l.length){var u=Wi(t,i,l[0],p,-this.origin[0],-this.origin[1]);if(u.length){var c=[];for(i=1,r=l.length;i<r;++i)if(l[i]!==l[i-1]){var y=Wi(t,l[i-1],l[i],p,-this.origin[0],-this.origin[1]);c.push(y)}Ms(this.g,u,c,p),ba(this,u,c,p)}}i=l[l.length-1]}this.b.length>s&&(this.i.push(s),this.f.push(e),this.j.s&&(this.c.push(s),this.j.s=!1)),this.g.b.length>a&&Ps(this.g,e,a)},t.rc=function(t,e){var o=t.Bb(),i=t.qa();if(0<o.length){var r=Wi(t=t.ga().map(Number),0,o[0],i,-this.origin[0],-this.origin[1]);if(r.length){var n,p=[],s=1;for(n=o.length;s<n;++s)if(o[s]!==o[s-1]){var a=Wi(t,o[s-1],o[s],i,-this.origin[0],-this.origin[1]);p.push(a)}this.i.push(this.b.length),this.f.push(e),this.j.s&&(this.c.push(this.b.length),this.j.s=!1),Ps(this.g,e),Ms(this.g,r,p,i),ba(this,r,p,i)}}},t.Db=function(t){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),this.g.Db(t),!this.c.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o,i=this.g.Eb(t);return function(){is(t,e),is(t,o),i()}},t.rf=function(t,e){var o=ps(e,ks,Os);if(this.v)var i=this.v;else this.v=i=new Us(t,o);return e.Qc(o),t.enableVertexAttribArray(i.b),t.vertexAttribPointer(i.b,2,5126,!1,8,0),i},t.sf=function(t,e){t.disableVertexAttribArray(e.b)},t.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),gt(o)){var p=this.i[this.i.length-1];for(o=this.c.length-1;0<=o;--o){var s=this.c[o],a=this.u[o];t.uniform4fv(this.v.B,a),Bp(t,e,s,p),p=s}}else{var h=this.i.length-2;for(a=p=this.i[h+1],s=this.c.length-1;0<=s;--s){var l=this.u[s];for(t.uniform4fv(this.v.B,l),l=this.c[s];0<=h&&this.i[h]>=l;){var u=this.i[h],c=this.f[h];o[c=G(c).toString()]&&(p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),a=u),h--,p=u}p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),p=a=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.c.length-1;0<=n;--n){var h=this.u[n];for(t.uniform4fv(this.v.B,h),p=this.c[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?Xp:We(t).map(function(t,e){return 3!=e?t/255:t})||Xp,this.j.fillColor&&U(t,this.j.fillColor)||(this.j.fillColor=t,this.j.s=!0,this.u.push(t)),e?this.g.Ma(null,e):this.g.Ma(null,new Gs({color:[0,0,0,0],lineWidth:0}))},Ia.prototype.La=function(){},s(Na,Cp),Na.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Oa[e](this.g,this.f),t[e]=o),o},Na.prototype.i=function(){return gt(this.a)},Na.prototype.La=function(t,e,o,i,r,n,p,s){var a,h,l=Object.keys(this.a).map(Number);l.sort(N);var u=0;for(a=l.length;u<a;++u){var c=this.a[l[u].toString()],y=0;for(h=jp.length;y<h;++y){var f=c[jp[y]];void 0!==f&&f.La(t,e,o,i,r,n,p,s,void 0,!1)}}},Na.prototype.Ea=function(t,e,o,i,r,n,p,s,a,h){var l,u=e.b;return u.bindFramebuffer(u.FRAMEBUFFER,rs(e)),void 0!==this.c&&(l=T(K(t),i*this.c)),ka(this,e,t,i,r,p,s,a,function(t){var e=new Uint8Array(4);if(u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,e),0<e[3]&&(t=h(t)))return t},!0,l)};var Da=[1,1],Oa={Circle:Hp,Image:ls,LineString:ms,Polygon:va,Text:Ia};function Ua(t,e,o,i,r,n,p){this.b=t,this.i=e,this.a=n,this.c=p,this.j=r,this.g=i,this.f=o,this.o=this.l=this.v=null}function Ga(){this.c=0,this.b={},this.i=this.a=null}function Ba(t,e){sp.call(this,0,e),this.b=document.createElement("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.S=this.D=0,this.C=Je(),this.l=!0,this.i=Eo(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.f=new es(this.b,this.i),me(this.b,"webglcontextlost",this.Yn,this),me(this.b,"webglcontextrestored",this.Zn,this),this.a=new Ga,this.u=null,this.j=new vi(function(t){var e=t[1];t=t[2];var o=e[0]-this.u[0];e=e[1]-this.u[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t}.bind(this),function(t){return t[0].bb()}),this.B=function(){if(this.j.b.length){xi(this.j);var t=bi(this.j);Xa(this,t[0],t[3],t[4])}return!1}.bind(this),this.g=0,Wa(this)}function Xa(t,e,o,i){var r=t.i,n=e.bb();if(t.a.b.hasOwnProperty(n))t=t.a.get(n),r.bindTexture(3553,t.Ib),9729!=t.Ph&&(r.texParameteri(3553,10240,9729),t.Ph=9729),9729!=t.Rh&&(r.texParameteri(3553,10241,9729),t.Rh=9729);else{var p=r.createTexture();if(r.bindTexture(3553,p),0<i){var s=t.C.canvas,a=t.C;t.D!==o[0]||t.S!==o[1]?(s.width=o[0],s.height=o[1],t.D=o[0],t.S=o[1]):a.clearRect(0,0,o[0],o[1]),a.drawImage(e.Y(),i,i,o[0],o[1],0,0,o[0],o[1]),r.texImage2D(3553,0,6408,6408,5121,s)}else r.texImage2D(3553,0,6408,6408,5121,e.Y());r.texParameteri(3553,10240,9729),r.texParameteri(3553,10241,9729),r.texParameteri(3553,10242,33071),r.texParameteri(3553,10243,33071),t.a.set(n,{Ib:p,Ph:9729,Rh:9729})}}function Va(t,e,o){var i=t.o;if(Ce(i,e)){t=t.f;var r=o.viewState;i.b(new yp(e,new Ua(t,r.center,r.resolution,r.rotation,o.size,o.extent,o.pixelRatio),o,null,t))}}function Wa(t){(t=t.i).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}s(Ua,bp),(t=Ua.prototype).rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y())},t.zb=function(t){switch(t.U()){case"Point":this.qc(t,null);break;case"LineString":this.mc(t,null);break;case"Polygon":this.rc(t,null);break;case"MultiPoint":this.oc(t,null);break;case"MultiLineString":this.nc(t,null);break;case"MultiPolygon":this.pc(t,null);break;case"GeometryCollection":this.ue(t,null);break;case"Circle":this.Zb(t,null)}},t.te=function(t,e){(t=(0,e.Za)(t))&&at(this.a,t.G())&&(this.rd(e),this.zb(t))},t.ue=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.zb(t[o])},t.qc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Image");i.Ub(this.v),i.qc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.oc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Image");i.Ub(this.v),i.oc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.mc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.mc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.nc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.nc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.rc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.rc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.pc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.pc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.Zb=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Circle");i.Ma(this.l,this.o),i.Zb(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.Ub=function(t){this.v=t},t.Ma=function(t,e){this.l=t,this.o=e},(t=Ga.prototype).clear=function(){this.c=0,this.b={},this.i=this.a=null},t.forEach=function(t,e){for(var o=this.a;o;)t.call(e,o.Yc,o.uc,this),o=o.Nb},t.get=function(t){return R(!!(t=this.b[t]),15),t===this.i||(t===this.a?(this.a=this.a.Nb,this.a.vd=null):(t.Nb.vd=t.vd,t.vd.Nb=t.Nb),t.Nb=null,t.vd=this.i,this.i=this.i.Nb=t),t.Yc},t.pop=function(){var t=this.a;return delete this.b[t.uc],t.Nb&&(t.Nb.vd=null),this.a=t.Nb,this.a||(this.i=null),--this.c,t.Yc},t.replace=function(t,e){this.get(t),this.b[t].Yc=e},t.set=function(t,e){R(!(t in this.b),16),e={uc:t,Nb:null,vd:this.i,Yc:e},this.i?this.i.Nb=e:this.a=e,this.i=e,this.b[t]=e,++this.c},s(Ba,sp),(t=Ba.prototype).ka=function(){var e=this.i;e.isContextLost()||this.a.forEach(function(t){t&&e.deleteTexture(t.Ib)}),Ae(this.f),sp.prototype.ka.call(this)},t.xk=function(t,e){t=this.i;for(var o;1024<this.a.c-this.g;){if(o=this.a.a.Yc)t.deleteTexture(o.Ib);else{if(+this.a.a.uc==e.index)break;--this.g}this.a.pop()}},t.U=function(){return"webgl"},t.Yn=function(t){for(var e in t.preventDefault(),this.a.clear(),this.g=0,t=this.c)t[e].mg()},t.Zn=function(){Wa(this),this.o.render()},t.Jg=function(t){var e=this.f,o=this.i;if(o.isContextLost())return!1;if(!t)return this.l&&(this.b.style.display="none",this.l=!1),!1;this.u=t.focus,this.a.set((-t.index).toString(),null),++this.g,Va(this,"precompose",t);var i=[],r=t.layerStatesArray;u(r);var n,p=t.viewState.resolution,s=0;for(n=r.length;s<n;++s){var a=r[s];if(Yn(a,p)&&"ready"==a.yj){var h=lp(this,a.layer);h.ng(t,a,e)&&i.push(a)}}for(r=t.size[0]*t.pixelRatio,p=t.size[1]*t.pixelRatio,this.b.width==r&&this.b.height==p||(this.b.width=r,this.b.height=p),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),s=0,n=i.length;s<n;++s)(h=lp(this,(a=i[s]).layer)).Gi(t,a,e);this.l||(this.b.style.display="",this.l=!0),ap(t),1024<this.a.c-this.g&&t.postRenderFunctions.push(this.xk.bind(this)),this.j.b.length&&(t.postRenderFunctions.push(this.B),t.animate=!0),Va(this,"postcompose",t),up(this,t),t.postRenderFunctions.push(hp)},t.Ea=function(t,e,o,i,r,n,p){if(this.i.isContextLost())return!1;var s,a=e.viewState,h=e.layerStatesArray;for(s=h.length-1;0<=s;--s){var l=h[s],u=l.layer;if(Yn(l,a.resolution)&&n.call(p,u)&&(l=lp(this,u).Ea(t,e,o,i,r)))return l}},t.Ei=function(t,e,o,i,r){if(o=!1,this.i.isContextLost())return!1;var n,p=e.viewState,s=e.layerStatesArray;for(n=s.length-1;0<=n;--n){var a=s[n],h=a.layer;if(Yn(a,p.resolution)&&i.call(r,h)&&(o=lp(this,h).Ue(t,e)))return!0}return o},t.Di=function(t,e,o,i,r){if(this.i.isContextLost())return!1;var n,p=e.viewState,s=e.layerStatesArray;for(n=s.length-1;0<=n;--n){var a=s[n],h=a.layer;if(Yn(a,p.resolution)&&r.call(i,h)&&(a=lp(this,h).lg(t,e,o,i)))return a}};var Za=["canvas","webgl"];function Ka(t){Re.call(this);var e=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o={},i={};if(void 0===t.logo||"boolean"==typeof t.logo&&t.logo)i["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="https://openlayers.org/";else{"string"==typeof(p=t.logo)?i[p]="":p instanceof HTMLElement?i[G(p).toString()]=p:p&&(R("string"==typeof p.href,44),R("string"==typeof p.src,45),i[p.src]=p.href)}p=t.layers instanceof Zn?t.layers:new Zn({layers:t.layers}),o.layergroup=p,o.target=t.target,o.view=void 0!==t.view?t.view:new jr;var r,n,p=sp;void 0!==t.renderer?(Array.isArray(t.renderer)?r=t.renderer:"string"==typeof t.renderer?r=[t.renderer]:R(!1,46),0<=r.indexOf("dom")&&(r=r.concat(Za))):r=Za;var s=0;for(n=r.length;s<n;++s){var a=r[s];if("canvas"==a){if(Do){p=Ep;break}}else if("webgl"==a&&To){p=Ba;break}}return r=void 0!==t.controls?Array.isArray(t.controls)?new De(t.controls.slice()):(R(t.controls instanceof De,47),t.controls):lo(),s=void 0!==t.interactions?Array.isArray(t.interactions)?new De(t.interactions.slice()):(R(t.interactions instanceof De,48),t.interactions):Xn(),t=void 0!==t.overlays?Array.isArray(t.overlays)?new De(t.overlays.slice()):(R(t.overlays instanceof De,49),t.overlays):new De,{controls:r,interactions:s,keyboardEventTarget:e,logos:i,overlays:t,Up:p,values:o}}(t);this.Cf=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.Df=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.If=void 0!==t.pixelRatio?t.pixelRatio:Fo,this.yf=e.logos,this.pa=function(){this.j=void 0,this.Sp.call(this,Date.now())}.bind(this),this.Yb=[1,0,0,1,0,0],this.Jf=[1,0,0,1,0,0],this.ad=0,this.I=this.R=this.T=this.g=this.c=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport"+(Go?" ol-touch":""),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",this.a.style.touchAction="none",this.C=document.createElement("DIV"),this.C.className="ol-overlaycontainer",this.a.appendChild(this.C),this.D=document.createElement("DIV"),this.D.className="ol-overlaycontainer-stopevent";for(var o="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),i=0,r=o.length;i<r;++i)me(this.D,o[i],Te);for(var n in this.a.appendChild(this.D),this.Sa=new fi(this,t.moveTolerance),Ko)me(this.Sa,Ko[n],this.Ih,this);this.va=e.keyboardEventTarget,this.u=null,me(this.a,"wheel",this.ld,this),me(this.a,"mousewheel",this.ld,this),this.l=e.controls,this.o=e.interactions,this.v=e.overlays,this.rg={},this.B=new e.Up(this.a,this),this.na=null,this.xb=[],this.$a=new Si(this.ql.bind(this),this.Wl.bind(this)),this.fa={},me(this,Ne("layergroup"),this.El,this),me(this,Ne("view"),this.Xl,this),me(this,Ne("size"),this.Tl,this),me(this,Ne("target"),this.Vl,this),this.H(e.values),this.l.forEach(function(t){t.setMap(this)},this),me(this.l,"add",function(t){t.element.setMap(this)},this),me(this.l,"remove",function(t){t.element.setMap(null)},this),this.o.forEach(function(t){t.setMap(this)},this),me(this.o,"add",function(t){t.element.setMap(this)},this),me(this.o,"remove",function(t){t.element.setMap(null)},this),this.v.forEach(this.kh,this),me(this.v,"add",function(t){this.kh(t.element)},this),me(this.v,"remove",function(t){var e=t.element.g;void 0!==e&&delete this.rg[e.toString()],t.element.setMap(null)},this)}function za(t){Re.call(this),this.g=t.id,this.l=void 0===t.insertFirst||t.insertFirst,this.v=void 0===t.stopEvent||t.stopEvent,this.c=document.createElement("DIV"),this.c.className="ol-overlay-container ol-selectable",this.c.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.j=t.autoPanAnimation||{},this.o=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={re:"",Ie:"",nf:"",vf:"",visible:!0},this.f=null,me(this,Ne(Ja),this.zl,this),me(this,Ne(_a),this.Jl,this),me(this,Ne($a),this.Nl,this),me(this,Ne(Qa),this.Pl,this),me(this,Ne(th),this.Ql,this),void 0!==t.element&&this.lj(t.element),this.rj(void 0!==t.offset?t.offset:[0,0]),this.uj(void 0!==t.positioning?t.positioning:"top-left"),void 0!==t.position&&this.Ne(t.position)}function Ya(t,e){var o=t.getBoundingClientRect();return[t=o.left+window.pageXOffset,o=o.top+window.pageYOffset,t+e[0],o+e[1]]}function Ha(t,e){t.a.visible!==e&&(t.c.style.display=e?"":"none",t.a.visible=e)}function qa(t){var e=t.Me(),o=t.Yh();if(e&&e.c&&o){o=e.Ja(o);var i=e.Ob(),r=(e=t.c.style,t.Dh()),n=t.Eh();Ha(t,!0);var p=r[0];r=r[1];"bottom-right"==n||"center-right"==n||"top-right"==n?(""!==t.a.Ie&&(t.a.Ie=e.left=""),p=Math.round(i[0]-o[0]-p)+"px",t.a.nf!=p&&(t.a.nf=e.right=p)):(""!==t.a.nf&&(t.a.nf=e.right=""),"bottom-center"!=n&&"center-center"!=n&&"top-center"!=n||(p-=t.c.offsetWidth/2),p=Math.round(o[0]+p)+"px",t.a.Ie!=p&&(t.a.Ie=e.left=p)),"bottom-left"==n||"bottom-center"==n||"bottom-right"==n?(""!==t.a.vf&&(t.a.vf=e.top=""),o=Math.round(i[1]-o[1]-r)+"px",t.a.re!=o&&(t.a.re=e.bottom=o)):(""!==t.a.re&&(t.a.re=e.bottom=""),"center-left"!=n&&"center-center"!=n&&"center-right"!=n||(r-=t.c.offsetHeight/2),o=Math.round(o[1]+r)+"px",t.a.vf!=o&&(t.a.vf=e.top=o))}else Ha(t,!1)}s(Ka,Re),(t=Ka.prototype).kk=function(t){this.l.push(t)},t.lk=function(t){this.o.push(t)},t.ih=function(t){this.Kc().qd().push(t)},t.jh=function(t){this.v.push(t)},t.kh=function(t){var e=t.g;void 0!==e&&(this.rg[e.toString()]=t),t.setMap(this)},t.ka=function(){Ae(this.Sa),Ae(this.B),xe(this.a,"wheel",this.ld,this),xe(this.a,"mousewheel",this.ld,this),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0),this.j&&(cancelAnimationFrame(this.j),this.j=void 0),this.Le(null),Re.prototype.ka.call(this)},t.we=function(t,e,o){if(this.c)return t=this.Wa(t),o=o||{},this.B.Ea(t,this.c,void 0!==o.hitTolerance?o.hitTolerance*this.c.pixelRatio:0,e,null,o.layerFilter?o.layerFilter:Gi,null)},t.Im=function(t,e,o,i,r){if(this.c)return this.B.Di(t,this.c,e,void 0!==o?o:null,i||Gi,void 0!==r?r:null)},t.Yl=function(t,e){return!!this.c&&(t=this.Wa(t),e=e||{},this.B.Ei(t,this.c,void 0!==e.hitTolerance?e.hitTolerance*this.c.pixelRatio:0,e.layerFilter?e.layerFilter:Gi,null))},t.Tf=function(t){return this.Wa(this.xe(t))},t.xe=function(t){var e=this.a.getBoundingClientRect();return[(t=t.changedTouches?t.changedTouches[0]:t).clientX-e.left,t.clientY-e.top]},t.ag=function(){return this.get("target")},t.jd=function(){var t=this.ag();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},t.Wa=function(t){var e=this.c;return e?ep(e.pixelToCoordinateTransform,t.slice()):null},t.Lk=function(){return this.l},t.fl=function(){return this.v},t.el=function(t){return void 0!==(t=this.rg[t.toString()])?t:null},t.Sk=function(){return this.o},t.Kc=function(){return this.get("layergroup")},t.Xh=function(){return this.Kc().qd()},t.Ja=function(t){var e=this.c;return e?ep(e.coordinateToPixelTransform,t.slice(0,2)):null},t.Ob=function(){return this.get("size")},t.Z=function(){return this.get("view")},t.sl=function(){return this.a},t.ql=function(t,e,o,i){var r=this.c;return r&&e in r.wantedTiles&&r.wantedTiles[e][t.bb()]?(t=o[0]-r.focus[0],o=o[1]-r.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},t.ld=function(t,e){t=new Po(e||t.type,this,t),this.Ih(t)},t.Ih=function(t){if(this.c){this.na=t.coordinate,t.frameState=this.c;var e,o=this.o.a;if(!1!==this.b(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.c()&&!i.handleEvent(t))break}}},t.Rl=function(){var t=this.c,e=this.$a;if(e.b.length){var o=16,i=o;if(t){var r=t.viewHints;r[0]&&(o=this.Cf?8:0,i=2),r[1]&&(o=this.Df?8:0,i=2)}e.j<o&&(xi(e),Mi(e,o,i))}for(o=0,i=(e=this.xb).length;o<i;++o)e[o](this,t);e.length=0},t.Tl=function(){this.render()},t.Vl=function(){var t;if(this.ag()&&(t=this.jd()),this.u){for(var e=0,o=this.u.length;e<o;++e)Se(this.u[e]);this.u=null}t?(t.appendChild(this.a),t=this.va?this.va:t,this.u=[me(t,"keydown",this.ld,this),me(t,"keypress",this.ld,this)],this.f||(this.f=this.Ad.bind(this),window.addEventListener("resize",this.f,!1))):($e(this.a),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0)),this.Ad()},t.Wl=function(){this.render()},t.Lh=function(){this.render()},t.Xl=function(){this.T&&(Se(this.T),this.T=null),this.R&&(Se(this.R),this.R=null);var t=this.Z();t&&(this.a.setAttribute("data-view",G(t)),this.T=me(t,"propertychange",this.Lh,this),this.R=me(t,"change",this.Lh,this)),this.render()},t.El=function(){this.I&&(this.I.forEach(Se),this.I=null);var t=this.Kc();t&&(this.I=[me(t,"propertychange",this.render,this),me(t,"change",this.render,this)]),this.render()},t.Tp=function(){this.j&&cancelAnimationFrame(this.j),this.pa()},t.render=function(){void 0===this.j&&(this.j=requestAnimationFrame(this.pa))},t.Mp=function(t){return this.l.remove(t)},t.Np=function(t){return this.o.remove(t)},t.Pp=function(t){return this.Kc().qd().remove(t)},t.Qp=function(t){return this.v.remove(t)},t.Sp=function(t){var e,o=this.Ob(),i=this.Z(),r=[1/0,1/0,-1/0,-1/0],n=this.c,p=null;if(void 0!==o&&0<o[0]&&0<o[1]&&i&&kr(i)){p=Fr(i,this.c?this.c.viewHints:void 0);var s=this.Kc().Yf(),a={},h=0;for(e=s.length;h<e;++h)a[G(s[h].layer)]=s[h];h=i.getState(),p={animate:!1,attributions:{},coordinateToPixelTransform:this.Yb,extent:r,focus:this.na?this.na:h.center,index:this.ad++,layerStates:a,layerStatesArray:s,logos:ct({},this.yf),pixelRatio:this.If,pixelToCoordinateTransform:this.Jf,postRenderFunctions:[],size:o,skippedFeatureUids:this.fa,tileQueue:this.$a,time:t,usedTiles:{},viewState:h,viewHints:p,wantedTiles:{}}}p&&(p.extent=ot(h.center,h.resolution,h.rotation,p.size,r)),this.c=p,this.B.Jg(p),p&&(p.animate&&this.render(),Array.prototype.push.apply(this.xb,p.postRenderFunctions),!n||this.g&&(ht(this.g)||Y(p.extent,this.g))||(this.b(new Mo("movestart",this,n)),this.g=Z(this.g)),!this.g||p.viewHints[0]||p.viewHints[1]||Y(p.extent,this.g)||(this.b(new Mo("moveend",this,p)),j(p.extent,this.g))),this.b(new Mo("postrender",this,p)),setTimeout(this.Rl.bind(this),0)},t.qj=function(t){this.set("layergroup",t)},t.Qg=function(t){this.set("size",t)},t.Le=function(t){this.set("target",t)},t.iq=function(t){this.set("view",t)},t.xj=function(t){t=G(t).toString(),this.fa[t]=!0,this.render()},t.Ad=function(){var t=this.jd();if(t){var e=getComputedStyle(t);this.Qg([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.Qg(void 0)},t.Cj=function(t){t=G(t).toString(),delete this.fa[t],this.render()},s(za,Re),(t=za.prototype).Rd=function(){return this.get(Ja)},t.Jm=function(){return this.g},t.Me=function(){return this.get(_a)},t.Dh=function(){return this.get($a)},t.Yh=function(){return this.get(Qa)},t.Eh=function(){return this.get(th)},t.zl=function(){for(var t=this.c;t.lastChild;)t.removeChild(t.lastChild);(t=this.Rd())&&this.c.appendChild(t)},t.Jl=function(){this.f&&($e(this.c),Se(this.f),this.f=null);var t=this.Me();t&&(this.f=me(t,"postrender",this.render,this),qa(this),t=this.v?t.D:t.C,this.l?t.insertBefore(this.c,t.childNodes[0]||null):t.appendChild(this.c))},t.render=function(){qa(this)},t.Nl=function(){qa(this)},t.Pl=function(){if(qa(this),this.get(Qa)&&this.autoPan){var t=this.Me();if(t&&t.jd()){var e=Ya(t.jd(),t.Ob()),o=(p=this.Rd()).offsetWidth,i=getComputedStyle(p),r=(o=o+(parseInt(i.marginLeft,10)+parseInt(i.marginRight,10)),i=p.offsetHeight,getComputedStyle(p)),n=Ya(p,[o,i=i+(parseInt(r.marginTop,10)+parseInt(r.marginBottom,10))]),p=this.o;O(e,n)||(o=n[0]-e[0],i=e[2]-n[2],r=n[1]-e[1],n=e[3]-n[3],e=[0,0],o<0?e[0]=o-p:i<0&&(e[0]=Math.abs(i)+p),r<0?e[1]=r-p:n<0&&(e[1]=Math.abs(n)+p),0===e[0]&&0===e[1])||(p=t.Z().wa(),e=[(p=t.Ja(p))[0]+e[0],p[1]+e[1]],t.Z().animate({center:t.Wa(e),duration:this.j.duration,easing:this.j.easing}))}}},t.Ql=function(){qa(this)},t.lj=function(t){this.set(Ja,t)},t.setMap=function(t){this.set(_a,t)},t.rj=function(t){this.set($a,t)},t.Ne=function(t){this.set(Qa,t)},t.uj=function(t){this.set(th,t)};var Ja="element",_a="map",$a="offset",Qa="position",th="positioning";function eh(t){function e(t){t=s.Tf(t),a.a.Z().ob(t),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",e)}function o(t){t=s.Tf({clientX:t.clientX-l.offsetWidth/2,clientY:t.clientY+l.offsetHeight/2}),h.Ne(t)}t=t||{},this.j=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.j=!1);var i=void 0!==t.className?t.className:"ol-overviewmap",r=void 0!==t.tipLabel?t.tipLabel:"Overview map";"string"==typeof(n=void 0!==t.collapseLabel?t.collapseLabel:"«")?(this.u=document.createElement("span"),this.u.textContent=n):this.u=n,"string"==typeof(n=void 0!==t.label?t.label:"»")?(this.D=document.createElement("span"),this.D.textContent=n):this.D=n;var n,p=this.o&&!this.j?this.u:this.D;(n=document.createElement("button")).setAttribute("type","button"),n.title=r,n.appendChild(p),me(n,"click",this.an,this),this.C=document.createElement("DIV"),this.C.className="ol-overviewmap-map";var s=this.c=new Ka({controls:new De,interactions:new De,view:t.view});t.layers&&t.layers.forEach(function(t){s.ih(t)},this),(r=document.createElement("DIV")).className="ol-overviewmap-box",r.style.boxSizing="border-box",this.l=new za({position:[0,0],positioning:"bottom-left",element:r}),this.c.jh(this.l),(r=document.createElement("div")).className=i+" ol-unselectable ol-control"+(this.j&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),r.appendChild(this.C),r.appendChild(n),Qe.call(this,{element:r,render:t.render?t.render:oh,target:t.target});var a=this,h=this.l,l=this.l.Rd();l.addEventListener("mousedown",function(){window.addEventListener("mousemove",o),window.addEventListener("mouseup",e)})}function oh(){var t=this.a,e=this.c;if(t.c&&e.c){var o=t.Ob(),i=(t=t.Z().dd(o),e.Ob()),r=(o=e.Z().dd(i),e.Ja(nt(t))),n=e.Ja(tt(t));e=Math.abs(r[0]-n[0]),r=Math.abs(r[1]-n[1]),n=i[0],i=i[1];e<.1*n||r<.1*i||.75*n<e||.75*i<r?ih(this):O(o,t)||(t=this.c,o=this.a.Z(),t.Z().ob(o.wa()))}rh(this)}function ih(t){var e=t.a;t=t.c;var o=e.Ob();e=e.Z().dd(o);t=t.Z(),lt(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.Qf(e)}function rh(t){var e=t.a,o=t.c;if(e.c&&o.c){var i=e.Ob(),r=e.Z(),n=o.Z(),p=(o=r.Qa(),e=t.l,t.l.Rd()),s=r.dd(i);i=n.Pa(),r=Q(s),n=pt(s);if(t=t.a.Z().wa()){var a=[r[0]-t[0],r[1]-t[1]];Ni(a,o),ji(a,t)}e.Ne(a),p&&(p.style.width=Math.abs((r[0]-n[0])/i)+"px",p.style.height=Math.abs((n[1]-r[1])/i)+"px")}}function nh(t){t.element.classList.toggle("ol-collapsed"),t.j?_e(t.u,t.D):_e(t.D,t.u),t.j=!t.j;var e=t.c;t.j||e.c||(e.Ad(),ih(t),we(e,"postrender",function(){rh(this)},t))}function ph(t){var e=void 0!==(t=t||{}).className?t.className:"ol-scale-line";this.o=document.createElement("DIV"),this.o.className=e+"-inner",this.c=document.createElement("DIV"),this.c.className=e+" ol-unselectable",this.c.appendChild(this.o),this.u=null,this.l=void 0!==t.minWidth?t.minWidth:64,this.j=!1,this.B=void 0,this.D="",Qe.call(this,{element:this.c,render:t.render?t.render:ah,target:t.target}),me(this,Ne(lh),this.T,this),this.I(t.units||"metric")}s(eh,Qe),(t=eh.prototype).setMap=function(t){var e=this.a;t!==e&&(e&&((e=e.Z())&&xe(e,Ne("rotation"),this.Ge,this),this.c.Le(null)),Qe.prototype.setMap.call(this,t),t&&(this.c.Le(this.C),this.v.push(me(t,"propertychange",this.Kl,this)),this.c.Xh().dc()||this.c.qj(t.Kc()),t=t.Z()))&&(me(t,Ne("rotation"),this.Ge,this),kr(t)&&(this.c.Ad(),ih(this)))},t.Kl=function(t){"view"===t.key&&((t=t.oldValue)&&xe(t,Ne("rotation"),this.Ge,this),me(t=this.a.Z(),Ne("rotation"),this.Ge,this))},t.Ge=function(){this.c.Z().Oe(this.a.Z().Qa())},t.an=function(t){t.preventDefault(),nh(this)},t.$m=function(){return this.o},t.cn=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.j&&nh(this))},t.bn=function(t){this.o&&this.j!==t&&nh(this)},t.Zm=function(){return this.j},t.gl=function(){return this.c},s(ph,Qe);var sh=[1,2,5];function ah(t){(t=t.frameState)?this.u=t.viewState:this.u=null,hh(this)}function hh(t){if(o=t.u){var e=(i=o.projection).sc(),o=Ot(i,o.resolution,o.center)*e,i=(e=t.l*o,"");"degrees"==(n=t.C())?(o/=i=bt.degrees,e<i/60?(i="″",o*=3600):e<i?(i="′",o*=60):i="°"):"imperial"==n?e<.9144?(i="in",o/=.0254):e<1609.344?(i="ft",o/=.3048):(i="mi",o/=1609.344):"nautical"==n?(o/=1852,i="nm"):"metric"==n?e<.001?(i="μm",o*=1e6):e<1?(i="mm",o*=1e3):e<1e3?i="m":(i="km",o/=1e3):"us"==n?e<.9144?(i="in",o*=39.37):e<1609.344?(i="ft",o/=.30480061):(i="mi",o/=1609.3472):R(!1,33);for(var r,n=3*Math.floor(Math.log(t.l*o)/Math.log(10));;){if(r=sh[(n%3+3)%3]*Math.pow(10,Math.floor(n/3)),e=Math.round(r/o),isNaN(e))return t.c.style.display="none",void(t.j=!1);if(e>=t.l)break;++n}o=r+" "+i,t.D!=o&&(t.o.innerHTML=o,t.D=o),t.B!=e&&(t.o.style.width=e+"px",t.B=e),t.j||(t.c.style.display="",t.j=!0)}else t.j&&(t.c.style.display="none",t.j=!1)}ph.prototype.C=function(){return this.get(lh)},ph.prototype.T=function(){hh(this)},ph.prototype.I=function(t){this.set(lh,t)};var lh="units";function uh(t){t=t||{},this.c=void 0,this.j=ch,this.D=this.l=0,this.I=null,this.na=!1,this.T=void 0!==t.duration?t.duration:200;var e=void 0!==t.className?t.className:"ol-zoomslider",o=document.createElement("button");o.setAttribute("type","button"),o.className=e+"-thumb ol-unselectable";var i=document.createElement("div");i.className=e+" ol-unselectable ol-control",i.appendChild(o),this.o=new ni(i),me(this.o,"pointerdown",this.yl,this),me(this.o,"pointermove",this.wl,this),me(this.o,"pointerup",this.xl,this),me(i,"click",this.vl,this),me(o,"click",Te),Qe.call(this,{element:i,render:t.render?t.render:yh})}s(uh,Qe),uh.prototype.ka=function(){Ae(this.o),Qe.prototype.ka.call(this)};var ch=0;function yh(t){if(t.frameState){if(!this.na){var e=(n=this.element).offsetWidth,o=n.offsetHeight,i=n.firstElementChild,r=getComputedStyle(i),n=i.offsetWidth+parseFloat(r.marginRight)+parseFloat(r.marginLeft);i=i.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom);this.I=[n,i],o<e?(this.j=1,this.D=e-n):(this.j=ch,this.l=o-i),this.na=!0}(t=t.frameState.viewState.resolution)!==this.c&&(this.c=t,fh(this,t))}}function fh(t,e){e=1-function(t){var e=t.a,o=Math.log(e/t.f)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}(t.a.Z())(e);var o=t.element.firstElementChild;1==t.j?o.style.left=t.D*e+"px":o.style.top=t.l*e+"px"}function gh(t,e){return function(t){var e=t.a,o=Math.log(e/t.f)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}(t.a.Z())(1-e)}function dh(t){t=t||{},this.c=t.extent?t.extent:null;var e=void 0!==t.className?t.className:"ol-zoom-extent",o=void 0!==t.label?t.label:"E",i=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",r=document.createElement("button");r.setAttribute("type","button"),r.title=i,r.appendChild("string"==typeof o?document.createTextNode(o):o),me(r,"click",this.j,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(r),Qe.call(this,{element:o,target:t.target})}function vh(t){Re.call(this),t=t||{},this.a=null,me(this,Ne(Sh),this.vm,this),this.gg(void 0!==t.tracking&&t.tracking)}(t=uh.prototype).setMap=function(t){Qe.prototype.setMap.call(this,t),t&&t.render()},t.vl=function(t){var e=this.a.Z();t=gh(this,w(1===this.j?(t.offsetX-this.I[0]/2)/this.D:(t.offsetY-this.I[1]/2)/this.l,0,1)),e.animate({resolution:e.constrainResolution(t),duration:this.T,easing:ro})},t.yl=function(t){this.u||t.b.target!==this.element.firstElementChild||(Dr(this.a.Z(),1,1),this.C=t.clientX,this.B=t.clientY,this.u=!0)},t.wl=function(t){if(this.u){var e=this.element.firstElementChild;this.c=gh(this,w(1===this.j?(t.clientX-this.C+parseInt(e.style.left,10))/this.D:(t.clientY-this.B+parseInt(e.style.top,10))/this.l,0,1)),this.a.Z().Vc(this.c),fh(this,this.c),this.C=t.clientX,this.B=t.clientY}},t.xl=function(){if(this.u){var t=this.a.Z();Dr(t,1,-1),t.animate({resolution:t.constrainResolution(this.c),duration:this.T,easing:ro}),this.u=!1,this.B=this.C=void 0}},s(dh,Qe),dh.prototype.j=function(t){t.preventDefault(),t=this.a.Z();var e=this.c?this.c:t.v.G();t.Qf(e)},s(vh,Re),(t=vh.prototype).ka=function(){this.gg(!1),Re.prototype.ka.call(this)},t.ap=function(t){if(null!==t.alpha){var e=S(t.alpha);this.set(bh,e),"boolean"==typeof t.absolute&&t.absolute?this.set(xh,e):"number"==typeof t.webkitCompassHeading&&-1!=t.webkitCompassAccuracy&&this.set(xh,S(t.webkitCompassHeading))}null!==t.beta&&this.set(mh,S(t.beta)),null!==t.gamma&&this.set(wh,S(t.gamma)),this.s()},t.Fk=function(){return this.get(bh)},t.Ik=function(){return this.get(mh)},t.Ok=function(){return this.get(wh)},t.um=function(){return this.get(xh)},t.Th=function(){return this.get(Sh)},t.vm=function(){if(Oo){var t=this.Th();t&&!this.a?this.a=me(window,"deviceorientation",this.ap,this):t||null===this.a||(Se(this.a),this.a=null)}},t.gg=function(t){this.set(Sh,t)};var bh="alpha",mh="beta",wh="gamma",xh="heading",Sh="tracking";function Mh(t){this.f=t.opacity,this.l=t.rotateWithView,this.g=t.rotation,this.a=t.scale,this.v=t.snapToPixel}function Ph(t){this.D=this.u=this.c=null,this.Va=void 0!==t.fill?t.fill:null,this.oa=[0,0],this.o=t.points,this.b=void 0!==t.radius?t.radius:t.radius1,this.i=t.radius2,this.j=void 0!==t.angle?t.angle:0,this.Ya=void 0!==t.stroke?t.stroke:null,this.B=this.ra=this.C=null,this.S=t.atlasManager,Ah(this,this.S),Mh.call(this,{opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function Ah(t,e){var o="",i="",r=0,n=null,p=0;if(t.Ya){var s=t.Ya.a;null===s&&(s=dp),s=qe(s),void 0===(p=t.Ya.c)&&(p=1),n=t.Ya.i,ko||(n=null),void 0===(i=t.Ya.j)&&(i="round"),void 0===(o=t.Ya.f)&&(o="round"),void 0===(r=t.Ya.o)&&(r=10)}var a=2*(t.b+p)+1;o={strokeStyle:s,zj:p,size:a,lineCap:o,lineDash:n,lineJoin:i,miterLimit:r};if(void 0===e){var h=Je(a,a);t.u=h.canvas,e=a=t.u.width,t.rh(o,h,0,0),t.Va?t.D=t.u:(h=Je(o.size,o.size),t.D=h.canvas,t.qh(o,h,0,0))}else a=Math.round(a),(i=!t.Va)&&(h=t.qh.bind(t,o)),r=t.Ya?(void 0===(r=t.Ya).b&&(r.b="s",r.b=r.a?"string"==typeof r.a?r.b+r.a:r.b+G(r.a).toString():r.b+"-",r.b+=","+(void 0!==r.f?r.f.toString():"-")+","+(r.i?r.i.toString():"-")+","+(void 0!==r.g?r.g:"-")+","+(void 0!==r.j?r.j:"-")+","+(void 0!==r.o?r.o.toString():"-")+","+(void 0!==r.c?r.c.toString():"-")),r.b):"-",n=t.Va?(void 0===(n=t.Va).a&&(n.a=n.b instanceof CanvasPattern||n.b instanceof CanvasGradient?G(n.b).toString():"f"+(n.b?Ze(n.b):"-")),n.a):"-",t.c&&r==t.c[1]&&n==t.c[2]&&t.b==t.c[3]&&t.i==t.c[4]&&t.j==t.c[5]&&t.o==t.c[6]||(t.c=["r"+r+n+(void 0!==t.b?t.b.toString():"-")+(void 0!==t.i?t.i.toString():"-")+(void 0!==t.j?t.j.toString():"-")+(void 0!==t.o?t.o.toString():"-"),r,n,t.b,t.i,t.j,t.o]),h=e.add(t.c[0],a,a,t.rh.bind(t,o),h),t.u=h.image,t.oa=[h.offsetX,h.offsetY],e=h.image.width,t.D=i?h.Zl:t.u;t.C=[a/2,a/2],t.ra=[a,a],t.B=[e,e]}function Eh(t){Ph.call(this,{points:1/0,fill:(t=t||{}).fill,radius:t.radius,snapToPixel:t.snapToPixel,stroke:t.stroke,atlasManager:t.atlasManager})}function Th(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.a=void 0}function jh(t){t=t||{},this.Gc=null,this.Za=Nh,void 0!==t.geometry&&this.Ra(t.geometry),this.Va=void 0!==t.fill?t.fill:null,this.M=void 0!==t.image?t.image:null,this.Ya=void 0!==t.stroke?t.stroke:null,this.Ia=void 0!==t.text?t.text:null,this.Fj=t.zIndex}function Ch(t){if("function"!=typeof t){if(Array.isArray(t))var e=t;else R(t instanceof jh,41),e=[t];t=function(){return e}}return t}(t=Mh.prototype).Ze=function(){return this.f},t.$e=function(){return this.l},t.af=function(){return this.g},t.bf=function(){return this.a},t.Ae=function(){return this.v},t.td=function(t){this.f=t},t.cf=function(t){this.g=t},t.ud=function(t){this.a=t},s(Ph,Mh),(t=Ph.prototype).clone=function(){var t=new Ph({fill:this.Fa()?this.Fa().clone():void 0,points:this.o,radius:this.b,radius2:this.i,angle:this.j,snapToPixel:this.v,stroke:this.Ga()?this.Ga().clone():void 0,rotation:this.g,rotateWithView:this.l,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},t.Hc=function(){return this.C},t.Pi=function(){return this.j},t.Fa=function(){return this.Va},t.qg=function(){return this.D},t.Y=function(){return this.u},t.ye=function(){return this.B},t.Ye=function(){return 2},t.Oc=function(){return this.oa},t.Qi=function(){return this.o},t.Ri=function(){return this.b},t.Fh=function(){return this.i},t.ic=function(){return this.ra},t.Ga=function(){return this.Ya},t.Nh=function(){},t.load=function(){},t.Bj=function(){},t.rh=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath();var r=this.o;if(1/0===r)e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else{var n=void 0!==this.i?this.i:this.b;for(n!==this.b&&(r*=2),o=0;o<=r;o++){i=2*o*Math.PI/r-Math.PI/2+this.j;var p=o%2?n:this.b;e.lineTo(t.size/2+p*Math.cos(i),t.size/2+p*Math.sin(i))}}this.Va&&(null===(o=this.Va.b)&&(o=fp),e.fillStyle=qe(o),e.fill()),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},t.qh=function(t,e,o,i){var r;if(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),1/0===(o=this.o))e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else for((i=void 0!==this.i?this.i:this.b)!==this.b&&(o*=2),r=0;r<=o;r++){var n=2*r*Math.PI/o-Math.PI/2+this.j,p=r%2?i:this.b;e.lineTo(t.size/2+p*Math.cos(n),t.size/2+p*Math.sin(n))}e.fillStyle=fp,e.fill(),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},s(Eh,Ph),Eh.prototype.clone=function(){var t=new Eh({fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,radius:this.b,snapToPixel:this.v,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},Eh.prototype.Uc=function(t){this.b=t,Ah(this,this.S)},Th.prototype.clone=function(){var t=this.b;return new Th({color:t&&t.slice?t.slice():t||void 0})},Th.prototype.i=function(){return this.b},Th.prototype.c=function(t){this.b=t,this.a=void 0},(t=jh.prototype).clone=function(){var t=this.V();return t&&t.clone&&(t=t.clone()),new jh({geometry:t,fill:this.Fa()?this.Fa().clone():void 0,image:this.Y()?this.Y().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,text:this.Na()?this.Na().clone():void 0,zIndex:this.Ba()})},t.V=function(){return this.Gc},t.Pk=function(){return this.Za},t.Fa=function(){return this.Va},t.pf=function(t){this.Va=t},t.Y=function(){return this.M},t.Og=function(t){this.M=t},t.Ga=function(){return this.Ya},t.qf=function(t){this.Ya=t},t.Na=function(){return this.Ia},t.xd=function(t){this.Ia=t},t.Ba=function(){return this.Fj},t.Ra=function(e){"function"==typeof e?this.Za=e:"string"==typeof e?this.Za=function(t){return t.get(e)}:e?e&&(this.Za=function(){return e}):this.Za=Nh,this.Gc=e},t.Vb=function(t){this.Fj=t};var Lh=null;function Rh(){if(!Lh){var t=new Th({color:"rgba(255,255,255,0.4)"}),e=new Gs({color:"#3399CC",width:1.25});Lh=[new jh({image:new Eh({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return Lh}function Ih(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new jh({fill:new Th({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new jh({stroke:new Gs({color:e,width:5})}),new jh({stroke:new Gs({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new jh({image:new Eh({radius:6,fill:new Th({color:o}),stroke:new Gs({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Nh(t){return t.V()}function Fh(t){Re.call(this),this.a=void 0,this.c="geometry",this.g=null,this.j=void 0,this.f=null,me(this,Ne(this.c),this.Ee,this),void 0!==t&&(t instanceof Xi||!t?this.Ra(t):this.H(t))}s(Fh,Re),(t=Fh.prototype).clone=function(){var t=new Fh(this.N());t.Tc(this.c);var e=this.V();return e&&t.Ra(e.clone()),(e=this.g)&&t.hg(e),t},t.V=function(){return this.get(this.c)},t.wm=function(){return this.a},t.Qk=function(){return this.c},t.xm=function(){return this.g},t.Lc=function(){return this.j},t.Al=function(){this.s()},t.Ee=function(){this.f&&(Se(this.f),this.f=null);var t=this.V();t&&(this.f=me(t,"change",this.Al,this)),this.s()},t.Ra=function(t){this.set(this.c,t)},t.hg=function(t){this.j=(this.g=t)?function(e){var t;if("function"==typeof e)t=2==e.length?function(t){return e(this,t)}:e;else{if(Array.isArray(e))var o=e;else R(e instanceof jh,41),o=[e];t=function(){return o}}return t}(t):void 0,this.s()},t.jc=function(t){this.a=t,this.s()},t.Tc=function(t){xe(this,Ne(this.c),this.Ee,this),this.c=t,me(this,Ne(this.c),this.Ee,this),this.Ee()};var kh=document.implementation.createDocument("","",null);function Dh(t,e){return kh.createElementNS(t,e)}function Oh(t,e){return function t(e,o,i){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)o?i.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(e.nodeValue);else for(e=e.firstChild;e;e=e.nextSibling)t(e,o,i);return i}(t,e,[]).join("")}function Uh(t){return t instanceof Document}function Gh(t){return t instanceof Node}function Bh(t){return(new DOMParser).parseFromString(t,"application/xml")}function Xh(o,i){return function(t,e){void 0!==(t=o.call(i,t,e))&&c(e[e.length-1],t)}}function Vh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&e[e.length-1].push(t)}}function Wh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&(e[e.length-1]=t)}}function Zh(i){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e=e[e.length-1],((t=t.localName)in e?e[t]:e[t]=[]).push(o))}}function Kh(i,r){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e[e.length-1][void 0!==r?r:t.localName]=o)}}function zh(i,r){return function(t,e,o){i.call(void 0!==r?r:this,t,e,o),o[o.length-1].node.appendChild(t)}}function Yh(r){var n,p;return function(t,e,o){if(!n){n={};var i={};i[t.localName]=r,n[t.namespaceURI]=i,p=Hh(t.localName)}tl(n,p,e,o)}}function Hh(i,r){return function(t,e,o){return t=e[e.length-1].node,void 0===(e=i)&&(e=o),void 0===(o=r)&&(o=t.namespaceURI),Dh(o,e)}}var qh=Hh();function Jh(t,e){for(var o=e.length,i=Array(o),r=0;r<o;++r)i[r]=t[e[r]];return i}function _h(t,e,o){var i;o=void 0!==o?o:{};var r=0;for(i=t.length;r<i;++r)o[t[r]]=e;return o}function $h(t,e,o,i){for(e=e.firstElementChild;e;e=e.nextElementSibling){var r=t[e.namespaceURI];void 0!==r&&(r=r[e.localName])&&r.call(i,e,o)}}function Qh(t,e,o,i,r){return i.push(t),$h(e,o,i,r),i.pop()}function tl(t,e,o,i,r,n){for(var p,s,a=(void 0!==r?r:o).length,h=0;h<a;++h)void 0!==(p=o[h])&&(void 0!==(s=e.call(n,p,i,void 0!==r?r[h]:void 0))&&t[s.namespaceURI][s.localName].call(n,s,p,i))}function el(t,e,o,i,r,n,p){r.push(t),tl(e,o,i,r,n,p),r.pop()}function ol(r,n,p,s){return function(t,e,o){var i=new XMLHttpRequest;i.open("GET","function"==typeof r?r(t,e,o):r,!0),"arraybuffer"==n.U()&&(i.responseType="arraybuffer"),i.onload=function(){if(!i.status||200<=i.status&&i.status<300){var t=n.U();if("json"==t||"text"==t)var e=i.responseText;else"xml"==t?(e=i.responseXML)||(e=Bh(i.responseText)):"arraybuffer"==t&&(e=i.response);e?p.call(this,n.Oa(e,{featureProjection:o}),n.kb(e)):s.call(this)}else s.call(this)}.bind(this),i.onerror=function(){s.call(this)}.bind(this),i.send()}}function il(t,e){return ol(t,e,function(t){this.cd(t)},m)}function rl(){this.f=this.defaultDataProjection=null}function nl(t,e,o){var i;return o&&(i={dataProjection:o.dataProjection?o.dataProjection:t.kb(e),featureProjection:o.featureProjection}),pl(t,i)}function pl(t,e){return ct({dataProjection:t.defaultDataProjection,featureProjection:t.f},e)}function sl(t,e,o){var i,r=o?Wt(o.featureProjection):null,n=o?Wt(o.dataProjection):null;if(i=r&&n&&!Zt(r,n)?t instanceof Xi?(e?t.clone():t).tb(e?r:n,e?n:r):Jt(t,n,r):t,e&&o&&void 0!==o.decimals){var p=Math.pow(10,o.decimals);i===t&&(i=i.clone()),i.Dc(function(t){for(var e=0,o=t.length;e<o;++e)t[e]=Math.round(t[e]*p)/p;return t})}return i}function al(){rl.call(this)}function hl(t){return"string"==typeof t?(t=JSON.parse(t))?t:null:null!==t?t:null}function ll(t,e,o,i,r,n){var p=NaN,s=NaN;if(1===(h=(o-e)/i))p=t[e],s=t[e+1];else if(2==h)p=(1-r)*t[e]+r*t[e+i],s=(1-r)*t[e+1]+r*t[e+i+1];else if(h){s=t[e];var a,h=t[e+1],l=0;p=[0];for(a=e+i;a<o;a+=i){var u=t[a],c=t[a+1];l=l+Math.sqrt((u-s)*(u-s)+(c-h)*(c-h));p.push(l),s=u,h=c}for(o=r*l,h=0,l=p.length,a=!1;h<l;)(s=+N(p[r=h+(l-h>>1)],o))<0?h=r+1:(l=r,a=!s);s=(r=a?h:~h)<0?(o=(o-p[-r-2])/(p[-r-1]-p[-r-2]),p=M(t[e+=(-r-2)*i],t[e+i],o),M(t[e+1],t[e+i+1],o)):(p=t[e+r*i],t[e+r*i+1])}return n?(n[0]=p,n[1]=s,n):[p,s]}function ul(t,e,o,i,r,n){if(o==e)return null;if(r<t[e+i-1])return n?((o=t.slice(e,e+i))[i-1]=r,o):null;if(t[o-1]<r)return n?((o=t.slice(o-i,o))[i-1]=r,o):null;if(r==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r<t[((n=e+o>>1)+1)*i-1]?o=n:e=n+1;if(r==(o=t[e*i-1]))return t.slice((e-1)*i,(e-1)*i+i);var p;for(n=(r-o)/(t[(e+1)*i-1]-o),o=[],p=0;p<i-1;++p)o.push(M(t[(e-1)*i+p],t[e*i+p],n));return o.push(r),o}function cl(t,e){Zi.call(this),this.c=null,this.u=this.D=this.j=-1,this.ma(t,e)}function yl(t){return t.j!=t.i&&(t.c=t.wh(.5,t.c),t.j=t.i),t.c}function fl(t,e){Zi.call(this),this.c=[],this.j=this.u=-1,this.ma(t,e)}function gl(t){var e,o=[],i=t.A,r=0,n=t.c;t=t.a;var p=0;for(e=n.length;p<e;++p){var s=n[p];c(o,r=ll(i,r,s,t,.5)),r=s}return o}function dl(t,e){var o,i=t.ja,r=[],n=[],p=0;for(o=e.length;p<o;++p){var s=e[p];p||(i=s.ja),c(r,s.ga()),n.push(r.length)}t.ba(i,r,n)}function vl(t,e){Zi.call(this),this.ma(t,e)}function bl(t,e){Zi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function ml(t){if(t.u!=t.i){var e,o=t.A,i=t.c,r=t.a,n=0,p=[],s=0;for(e=i.length;s<e;++s){var a=i[s];n=z(o,n,a[0],r);p.push((n[0]+n[2])/2,(n[1]+n[3])/2),n=a[a.length-1]}for(o=wl(t),i=t.c,r=t.a,e=[],a=s=0,n=i.length;a<n;++a){var h=i[a];e=fr(o,s,h,r,p,2*a,e),s=h[h.length-1]}t.D=e,t.u=t.i}return t.D}function wl(t){if(t.I!=t.i){var e=t.A;t:{var o,i=t.c,r=0;for(o=i.length;r<o;++r)if(!mr(e,i[r],t.a,void 0)){i=!1;break t}i=!0}i?t.j=e:(t.j=e.slice(),t.j.length=xr(t.j,t.c,t.a)),t.I=t.i}return t.j}function xl(t,e,o,i){zi(t,e,o),t.c=i,t.s()}function Sl(t,e){var o,i=t.ja,r=[],n=[],p=0;for(o=e.length;p<o;++p){var s=e[p];p||(i=s.ja);var a,h=r.length,l=s.Bb(),u=0;for(a=l.length;u<a;++u)l[u]+=h;c(r,s.ga()),n.push(l)}xl(t,i,r,n)}function Ml(t){t=t||{},rl.call(this),this.b=t.geometryName}function Pl(t,e){if(!t)return null;if("number"==typeof t.x&&"number"==typeof t.y)var o="Point";else if(t.points)o="MultiPoint";else if(t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){var i,r=t.rings,n=Al(t),p=[],s=[];o=[];var a=0;for(i=r.length;a<i;++a)p.length=0,or(p,0,r[a],n.length),br(p,0,p.length,n.length)?s.push([r[a]]):o.push(r[a]);for(;o.length;){for(r=o.shift(),n=!1,a=s.length-1;0<=a;a--)if(O(new ar(s[a][0]).G(),new ar(r).G())){s[a].push(r),n=!0;break}n||s.push([r.reverse()])}t=ct({},t),1===s.length?(o="Polygon",t.rings=s[0]):(o="MultiPolygon",t.rings=s)}return sl((0,Tl[o])(t),!1,e)}function Al(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function El(t){return{hasZ:"XYZ"===(t=t.ja)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}s(al,rl),(t=al.prototype).U=function(){return"json"},t.Tb=function(t,e){return this.Rc(hl(t),nl(this,t,e))},t.Oa=function(t,e){return this.yg(hl(t),nl(this,t,e))},t.Sc=function(t,e){return this.Cg(hl(t),nl(this,t,e))},t.kb=function(t){return this.Fg(hl(t))},t.Bd=function(t,e){return JSON.stringify(this.Zc(t,e))},t.Wb=function(t,e){return JSON.stringify(this.he(t,e))},t.$c=function(t,e){return JSON.stringify(this.je(t,e))},s(cl,Zi),(t=cl.prototype).mk=function(t){this.A?c(this.A,t):this.A=t.slice(),this.s()},t.clone=function(){var t=new cl(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.u!=this.i&&(this.D=Math.sqrt(_i(this.A,0,this.A.length,this.a,0)),this.u=this.i),Qi(this.A,0,this.A.length,this.a,this.D,!1,t,e,o,i))},t.Ck=function(t,e){return gr(this.A,0,this.A.length,this.a,t,e)},t.nn=function(t,e){return"XYM"!=this.ja&&"XYZM"!=this.ja?null:ul(this.A,0,this.A.length,this.a,t,void 0!==e&&e)},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.wh=function(t,e){return ll(this.A,0,this.A.length,this.a,t,e)},t.pn=function(){var t,e=this.A,o=this.a,i=e[0],r=e[1],n=0;for(t=0+o;t<this.A.length;t+=o){var p=e[t],s=e[t+1];n=n+Math.sqrt((p-i)*(p-i)+(s-r)*(s-r)),i=p,r=s}return n},t.hd=function(t){var e=[];return e.length=pr(this.A,0,this.A.length,this.a,t,e,0),(t=new cl(null)).ba("XY",e),t},t.U=function(){return"LineString"},t.Xa=function(t){return dr(this.A,0,this.A.length,this.a,t)},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(fl,Zi),(t=fl.prototype).nk=function(t){this.A?c(this.A,t.ga().slice()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},t.clone=function(){var t=new fl(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.j!=this.i&&(this.u=Math.sqrt($i(this.A,0,this.c,this.a,0)),this.j=this.i),tr(this.A,0,this.c,this.a,this.u,!1,t,e,o,i))},t.rn=function(t,e,o){return"XYM"!=this.ja&&"XYZM"!=this.ja||!this.A.length?null:function(t,e,o,i,r,n){var p=0;if(n)return ul(t,p,e[e.length-1],o,i,r);if(i<t[o-1])return r?((t=t.slice(0,o))[o-1]=i,t):null;if(t[t.length-1]<i)return r?((t=t.slice(t.length-o))[o-1]=i,t):null;for(r=0,n=e.length;r<n;++r){var s=e[r];if(p!=s){if(i<t[p+o-1])break;if(i<=t[s-1])return ul(t,p,s,o,i,!1);p=s}}return null}(this.A,this.c,this.a,t,void 0!==e&&e,void 0!==o&&o)},t.X=function(){return nr(this.A,0,this.c,this.a)},t.Bb=function(){return this.c},t.Yk=function(t){if(t<0||this.c.length<=t)return null;var e=new cl(null);return e.ba(this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},t.gd=function(){var t,e=this.A,o=this.c,i=this.ja,r=[],n=0,p=0;for(t=o.length;p<t;++p){var s=o[p],a=new cl(null);a.ba(i,e.slice(n,s)),r.push(a),n=s}return r},t.hd=function(t){var e,o=[],i=[],r=this.A,n=this.c,p=this.a,s=0,a=0,h=0;for(e=n.length;h<e;++h){var l=n[h];a=pr(r,s,l,p,t,o,a);i.push(a),s=l}return o.length=a,(t=new fl(null)).ba("XY",o,i),t},t.U=function(){return"MultiLineString"},t.Xa=function(t){t:{var e,o=this.A,i=this.c,r=this.a,n=0,p=0;for(e=i.length;p<e;++p){if(dr(o,n,i[p],r,t)){t=!0;break t}n=i[p]}t=!1}return t},t.ma=function(t,e){t?(Yi(this,e,t,2),this.A||(this.A=[]),t=ir(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},t.ba=function(t,e,o){zi(this,t,e),this.c=o,this.s()},s(vl,Zi),(t=vl.prototype).qk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.s()},t.clone=function(){var t=new vl(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;var r,n=this.A,p=this.a,s=0;for(r=n.length;s<r;s+=p){var a=g(t,e,n[s],n[s+1]);if(a<i){for(i=a,a=0;a<p;++a)o[a]=n[s+a];o.length=p}}return i},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.il=function(t){var e=this.A?this.A.length/this.a:0;return t<0||e<=t?null:((e=new lr(null)).ba(this.ja,this.A.slice(t*this.a,(t+1)*this.a)),e)},t.Zd=function(){var t,e=this.A,o=this.ja,i=this.a,r=[],n=0;for(t=e.length;n<t;n+=i){var p=new lr(null);p.ba(o,e.slice(n,n+i)),r.push(p)}return r},t.U=function(){return"MultiPoint"},t.Xa=function(t){var e,o=this.A,i=this.a,r=0;for(e=o.length;r<e;r+=i){if(B(t,o[r],o[r+1]))return!0}return!1},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(bl,Zi),(t=bl.prototype).rk=function(t){if(this.A){var e,o=this.A.length;c(this.A,t.ga());var i=0;for(e=(t=t.Bb().slice()).length;i<e;++i)t[i]+=o}else this.A=t.ga().slice(),t=t.Bb().slice(),this.c.push();this.c.push(t),this.s()},t.clone=function(){for(var t=new bl(null),e=this.c.length,o=Array(e),i=0;i<e;++i)o[i]=this.c[i].slice();return xl(t,this.ja,this.A.slice(),o),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;if(this.C!=this.i){var r,n=this.c,p=0,s=0,a=0;for(r=n.length;a<r;++a){var h=n[a];s=$i(this.A,p,h,this.a,s),p=h[h.length-1]}this.B=Math.sqrt(s),this.C=this.i}n=wl(this),p=this.c,s=this.a,a=this.B;h=[NaN,NaN];var l,u=r=0;for(l=p.length;u<l;++u){var c=p[u];i=tr(n,r,c,s,a,!0,t,e,o,i,h),r=c[c.length-1]}return i},t.Mc=function(t,e){t:{var o=wl(this),i=this.c,r=0;if(i.length){var n,p=0;for(n=i.length;p<n;++p){var s=i[p];if(yr(o,r,s,this.a,t,e)){t=!0;break t}r=s[s.length-1]}}t=!1}return t},t.sn=function(){var t,e=wl(this),o=this.c,i=0,r=0,n=0;for(t=o.length;n<t;++n){var p=o[n];r=r+qi(e,i,p,this.a),i=p[p.length-1]}return r},t.X=function(t){if(void 0!==t){var e=wl(this).slice();xr(e,this.c,this.a,t)}else e=this.A;t=e,e=this.c;var o,i=this.a,r=0,n=[],p=0,s=0;for(o=e.length;s<o;++s){var a=e[s];n[p++]=nr(t,r,a,i,n[p]),r=a[a.length-1]}return n.length=p,n},t.Uk=function(){var t=new vl(null);return t.ba("XY",ml(this).slice()),t},t.hd=function(t){var e=[],o=[],i=this.A,r=this.c,n=this.a;t=Math.sqrt(t);var p,s=0,a=0,h=0;for(p=r.length;h<p;++h){var l=r[h],u=[];a=sr(i,s,l,n,t,e,a,u);o.push(u),s=l[l.length-1]}return e.length=a,xl(i=new bl(null),"XY",e,o),i},t.jl=function(t){if(t<0||this.c.length<=t)return null;if(t){var e=this.c[t-1];e=e[e.length-1]}else e=0;var o=(t=this.c[t].slice())[t.length-1];if(e){var i,r=0;for(i=t.length;r<i;++r)t[r]-=e}return(r=new Sr(null)).ba(this.ja,this.A.slice(e,o),t),r},t.Td=function(){var t,e,o=this.ja,i=this.A,r=this.c,n=[],p=0,s=0;for(t=r.length;s<t;++s){var a=r[s].slice(),h=a[a.length-1];if(p){var l=0;for(e=a.length;l<e;++l)a[l]-=p}(l=new Sr(null)).ba(o,i.slice(p,h),a),n.push(l),p=h}return n},t.U=function(){return"MultiPolygon"},t.Xa=function(t){t:{var e,o=wl(this),i=this.c,r=this.a,n=0,p=0;for(e=i.length;p<e;++p){var s=i[p];if(vr(o,n,s,r,t)){t=!0;break t}n=s[s.length-1]}t=!1}return t},t.ma=function(t,e){if(t){Yi(this,e,t,3),this.A||(this.A=[]),e=this.A;var o,i=this.a,r=0,n=(n=this.c)||[],p=0,s=0;for(o=t.length;s<o;++s)r=ir(e,r,t[s],i,n[p]),r=(n[p++]=r)[r.length-1];n.length=p,n.length?(t=n[n.length-1],this.A.length=t.length?t[t.length-1]:0):this.A.length=0,this.s()}else xl(this,"XY",null,this.c)},s(Ml,al);var Tl={Point:function(t){return void 0!==t.m&&void 0!==t.z?new lr([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new lr([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new lr([t.x,t.y,t.m],"XYM"):new lr([t.x,t.y])},LineString:function(t){return new cl(t.paths[0],Al(t))},Polygon:function(t){return new Sr(t.rings,Al(t))},MultiPoint:function(t){return new vl(t.points,Al(t))},MultiLineString:function(t){return new fl(t.paths,Al(t))},MultiPolygon:function(t){return new bl(t.rings,Al(t))}},jl={Point:function(t){var e,o=t.X();return"XYZ"===(t=t.ja)?e={x:o[0],y:o[1],z:o[2]}:"XYM"===t?e={x:o[0],y:o[1],m:o[2]}:"XYZM"===t?e={x:o[0],y:o[1],z:o[2],m:o[3]}:"XY"===t?e={x:o[0],y:o[1]}:R(!1,34),e},LineString:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.X()]}},Polygon:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.X(!1)}},MultiPoint:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.X()}},MultiLineString:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.X()}},MultiPolygon:function(t){var e=El(t);t=t.X(!1);for(var o=[],i=0;i<t.length;i++)for(var r=t[i].length-1;0<=r;r--)o.push(t[i][r]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};function Cl(t,e){return(0,jl[t.U()])(sl(t,!0,e),e)}function Ll(t){this.kc=t}function Rl(t,e){this.kc=t,this.b=Array.prototype.slice.call(arguments,1),R(2<=this.b.length,57)}function Il(t){var e=["And"].concat(Array.prototype.slice.call(arguments));Rl.apply(this,e)}function Nl(t,e,o){this.kc="BBOX",this.geometryName=t,this.extent=e,this.srsName=o}function Fl(t,e){this.kc=t,this.b=e}function kl(t,e,o){Fl.call(this,"During",t),this.a=e,this.i=o}function Dl(t,e,o,i){Fl.call(this,t,e),this.i=o,this.a=i}function Ol(t,e,o){Dl.call(this,"PropertyIsEqualTo",t,e,o)}function Ul(t,e){Dl.call(this,"PropertyIsGreaterThan",t,e)}function Gl(t,e){Dl.call(this,"PropertyIsGreaterThanOrEqualTo",t,e)}function Bl(t,e,o,i){this.kc=t,this.geometryName=e||"the_geom",this.geometry=o,this.srsName=i}function Xl(t,e,o){Bl.call(this,"Intersects",t,e,o)}function Vl(t,e,o){Fl.call(this,"PropertyIsBetween",t),this.a=e,this.i=o}function Wl(t,e,o,i,r,n){Fl.call(this,"PropertyIsLike",t),this.c=e,this.g=void 0!==o?o:"*",this.f=void 0!==i?i:".",this.i=void 0!==r?r:"!",this.a=n}function Zl(t){Fl.call(this,"PropertyIsNull",t)}function Kl(t,e){Dl.call(this,"PropertyIsLessThan",t,e)}function zl(t,e){Dl.call(this,"PropertyIsLessThanOrEqualTo",t,e)}function Yl(t){this.kc="Not",this.condition=t}function Hl(t,e,o){Dl.call(this,"PropertyIsNotEqualTo",t,e,o)}function ql(t){var e=["Or"].concat(Array.prototype.slice.call(arguments));Rl.apply(this,e)}function Jl(t,e,o){Bl.call(this,"Within",t,e,o)}function _l(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(Il,e))}function $l(t,e,o){return new Nl(t,e,o)}function Ql(t){Xi.call(this),this.a=t||null,ou(this)}function tu(t){var e,o=[],i=0;for(e=t.length;i<e;++i)o.push(t[i].clone());return o}function eu(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)xe(t.a[o],"change",t.s,t)}}function ou(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)me(t.a[o],"change",t.s,t)}}function iu(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326"),t.featureProjection&&(this.f=Wt(t.featureProjection)),this.b=t.geometryName}function ru(t,e){return t?sl((0,pu[t.type])(t),!1,e):null}function nu(t,e){return(0,su[t.U()])(sl(t,!0,e),e)}(t=Ml.prototype).Rc=function(t,e){var o=Pl(t.geometry,e),i=new Fh;return this.b&&i.Tc(this.b),i.Ra(o),e&&e.dg&&t.attributes[e.dg]&&i.jc(t.attributes[e.dg]),t.attributes&&i.H(t.attributes),i},t.yg=function(t,e){if(e=e||{},t.features){var o,i=[],r=t.features;for(e.dg=t.objectIdFieldName,t=0,o=r.length;t<o;++t)i.push(this.Rc(r[t],e));return i}return[this.Rc(t,e)]},t.Cg=function(t,e){return Pl(t,e)},t.Fg=function(t){return t.spatialReference&&t.spatialReference.wkid?Wt("EPSG:"+t.spatialReference.wkid):null},t.je=function(t,e){return Cl(t,pl(this,e))},t.Zc=function(t,e){e=pl(this,e);var o={},i=t.V();return i&&(o.geometry=Cl(i,e)),delete(i=t.N())[t.c],o.attributes=gt(i)?{}:i,e&&e.featureProjection&&(o.spatialReference={wkid:Wt(e.featureProjection).mb.split(":").pop()}),o},t.he=function(t,e){e=pl(this,e);var o,i=[],r=0;for(o=t.length;r<o;++r)i.push(this.Zc(t[r],e));return{features:i}},s(Rl,Ll),s(Il,Rl),s(Nl,Ll),s(Fl,Ll),s(kl,Fl),s(Dl,Fl),s(Ol,Dl),s(Ul,Dl),s(Gl,Dl),s(Bl,Ll),s(Xl,Bl),s(Vl,Fl),s(Wl,Fl),s(Zl,Fl),s(Kl,Dl),s(zl,Dl),s(Yl,Ll),s(Hl,Dl),s(ql,Rl),s(Jl,Bl),s(Ql,Xi),(t=Ql.prototype).clone=function(){var t=new Ql(null);return t.oj(this.a),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;var r,n=this.a,p=0;for(r=n.length;p<r;++p)i=n[p].Kb(t,e,o,i);return i},t.Mc=function(t,e){var o,i=this.a,r=0;for(o=i.length;r<o;++r)if(i[r].Mc(t,e))return!0;return!1},t.se=function(t){Z(t);for(var e=this.a,o=0,i=e.length;o<i;++o)H(t,e[o].G());return t},t.Vf=function(){return tu(this.a)},t.Vd=function(t){if(this.o!=this.i&&(yt(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o,i=[],r=this.a,n=!1,p=0;for(o=r.length;p<o;++p){var s=r[p],a=s.Vd(t);i.push(a),a!==s&&(n=!0)}return n?(eu(t=new Ql(null)),t.a=i,ou(t),t.s(),this.f[e]=t):(this.g=t,this)},t.U=function(){return"GeometryCollection"},t.Xa=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)if(o[i].Xa(t))return!0;return!1},t.rotate=function(t,e){for(var o=this.a,i=0,r=o.length;i<r;++i)o[i].rotate(t,e);this.s()},t.scale=function(t,e,o){o=o||et(this.G());for(var i=this.a,r=0,n=i.length;r<n;++r)i[r].scale(t,e,o);this.s()},t.oj=function(t){t=tu(t),eu(this),this.a=t,ou(this),this.s()},t.Dc=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)o[i].Dc(t);this.s()},t.translate=function(t,e){var o,i=this.a,r=0;for(o=i.length;r<o;++r)i[r].translate(t,e);this.s()},t.ka=function(){eu(this),Xi.prototype.ka.call(this)},s(iu,al);var pu={Point:function(t){return new lr(t.coordinates)},LineString:function(t){return new cl(t.coordinates)},Polygon:function(t){return new Sr(t.coordinates)},MultiPoint:function(t){return new vl(t.coordinates)},MultiLineString:function(t){return new fl(t.coordinates)},MultiPolygon:function(t){return new bl(t.coordinates)},GeometryCollection:function(t,e){return new Ql(t=t.geometries.map(function(t){return ru(t,e)}))}},su={Point:function(t){return{type:"Point",coordinates:t.X()}},LineString:function(t){return{type:"LineString",coordinates:t.X()}},Polygon:function(t,e){if(e)var o=e.rightHanded;return{type:"Polygon",coordinates:t.X(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.X()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.X()}},MultiPolygon:function(t,e){if(e)var o=e.rightHanded;return{type:"MultiPolygon",coordinates:t.X(o)}},GeometryCollection:function(t,o){return{type:"GeometryCollection",geometries:t.a.map(function(t){var e=ct({},o);return delete e.featureProjection,nu(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};function au(){this.i=new XMLSerializer,rl.call(this)}function hu(t,e,o){return 0<(t=lu(t,e,o)).length?t[0]:null}function lu(t,e,o){var i=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(i,t.zc(e,o));return i}function uu(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Wh(uu.prototype.be),featureMembers:Wh(uu.prototype.be)},au.call(this)}(t=iu.prototype).Rc=function(t,e){e=ru((t="Feature"===t.type?t:{type:"Feature",geometry:t}).geometry,e);var o=new Fh;return this.b&&o.Tc(this.b),o.Ra(e),void 0!==t.id&&o.jc(t.id),t.properties&&o.H(t.properties),o},t.yg=function(t,e){if("FeatureCollection"===t.type){var o,i=[],r=0;for(o=(t=t.features).length;r<o;++r)i.push(this.Rc(t[r],e))}else i=[this.Rc(t,e)];return i},t.Cg=function(t,e){return ru(t,e)},t.Fg=function(t){var e;return(t=t.crs)?"name"==t.type?e=Wt(t.properties.name):"EPSG"==t.type?e=Wt("EPSG:"+t.properties.code):R(!1,36):e=this.defaultDataProjection,e},t.Zc=function(t,e){e=pl(this,e);var o={type:"Feature"},i=t.a;return void 0!==i&&(o.id=i),(i=t.V())?o.geometry=nu(i,e):o.geometry=null,delete(e=t.N())[t.c],gt(e)?o.properties=null:o.properties=e,o},t.he=function(t,e){e=pl(this,e);var o,i=[],r=0;for(o=t.length;r<o;++r)i.push(this.Zc(t[r],e));return{type:"FeatureCollection",features:i}},t.je=function(t,e){return nu(t,pl(this,e))},s(au,rl),(t=au.prototype).U=function(){return"xml"},t.Tb=function(t,e){return Uh(t)?hu(this,t,e):Gh(t)?this.xg(t,e):"string"==typeof t?hu(this,t=Bh(t),e):null},t.xg=function(){return null},t.Oa=function(t,e){return Uh(t)?lu(this,t,e):Gh(t)?this.zc(t,e):"string"==typeof t?lu(this,t=Bh(t),e):[]},t.Sc=function(t,e){return Uh(t)?null:Gh(t)?this.aj(t,e):("string"==typeof t&&Bh(t),null)},t.aj=function(){return null},t.kb=function(t){return Uh(t)?this.Eg(t):Gh(t)?this.kf(t):"string"==typeof t?(t=Bh(t),this.Eg(t)):null},t.Eg=function(){return this.defaultDataProjection},t.kf=function(){return this.defaultDataProjection},t.Bd=function(t,e){return this.i.serializeToString(this.Vg(t,e))},t.Vg=function(){return null},t.Wb=function(t,e){return t=this.Xb(t,e),this.i.serializeToString(t)},t.Xb=function(){return null},t.$c=function(t,e){return t=this.ie(t,e),this.i.serializeToString(t)},t.ie=function(){return null},s(uu,au);var cu=/^[\s\xa0]*$/;function yu(t){return fu(t=Oh(t,!1))}function fu(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function gu(t){return t=Oh(t,!1),t=Date.parse(t),isNaN(t)?void 0:t/1e3}function du(t){return vu(t=Oh(t,!1))}function vu(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function bu(t){return mu(t=Oh(t,!1))}function mu(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function wu(t){return Oh(t,!1).trim()}function xu(t,e){Pu(t,e?"1":"0")}function Su(t,e){t.appendChild(kh.createTextNode(e.toPrecision()))}function Mu(t,e){t.appendChild(kh.createTextNode(e.toString()))}function Pu(t,e){t.appendChild(kh.createTextNode(e))}function Au(t){uu.call(this,t=t||{}),this.l=void 0!==t.surface&&t.surface,this.c=void 0!==t.curve&&t.curve,this.g=void 0===t.multiCurve||t.multiCurve,this.j=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function Eu(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,p=Array(n),s=0;s<n;++s){r=e[s];var a=s,h=o,l="enu";i&&(l=Wt(i).b),l="en"===l.substr(0,2)?r[0]+" "+r[1]:r[1]+" "+r[0],h&&(l+=" "+(r[2]||0)),p[a]=l}Pu(t,p.join(" "))}(t=uu.prototype).be=function(t,e){var o=t.localName,i=null;if("FeatureCollection"==o)i="http://www.opengis.net/wfs"===t.namespaceURI?Qh([],this.b,t,e,this):Qh(null,this.b,t,e,this);else if("featureMembers"==o||"featureMember"==o){var r,n=(f=e[0]).featureType,p=f.featureNS;if(!n&&t.childNodes){n=[],p={};var s=0;for(r=t.childNodes.length;s<r;++s){if(1===(c=t.childNodes[s]).nodeType){var a=c.nodeName.split(":").pop();if(-1===n.indexOf(a)){var h,l="",u=0,c=c.namespaceURI;for(h in p){if(p[h]===c){l=h;break}++u}l||(p[l="p"+u]=c),n.push(l+":"+a)}}}"featureMember"!=o&&(f.featureType=n,f.featureNS=p)}"string"==typeof p&&(s=p,(p={}).p0=s);var y,f={};n=Array.isArray(n)?n:[n];for(y in p){for(a={},s=0,r=n.length;s<r;++s)(-1===n[s].indexOf(":")?"p0":n[s].split(":")[0])===y&&(a[n[s].split(":").pop()]="featureMembers"==o?Vh(this.wg,this):Wh(this.wg,this));f[p[y]]=a}i=Qh("featureMember"==o?void 0:[],f,t,e)}return null===i&&(i=[]),i},t.gf=function(t,e){var o=e[0];if(o.srsName=t.firstElementChild.getAttribute("srsName"),t=Qh(null,this.Zg,t,e,this))return sl(t,!1,o)},t.wg=function(t,e){var o;(o=t.getAttribute("fid"))||(o=t.getAttributeNS("http://www.opengis.net/gml","id")||"");var i,r={};for(t=t.firstElementChild;t;t=t.nextElementSibling){var n=t.localName;if(0===t.childNodes.length||1===t.childNodes.length&&(3===t.firstChild.nodeType||4===t.firstChild.nodeType)){var p=Oh(t,!1);cu.test(p)&&(p=void 0),r[n]=p}else"boundedBy"!==n&&(i=n),r[n]=this.gf(t,e)}return e=new Fh(r),i&&e.Tc(i),o&&e.jc(o),e},t.fj=function(t,e){if(t=this.ff(t,e))return(e=new lr(null)).ba("XYZ",t),e},t.dj=function(t,e){if(t=Qh([],this.Nj,t,e,this))return new vl(t)},t.cj=function(t,e){if(t=Qh([],this.Mj,t,e,this))return dl(e=new fl(null),t),e},t.ej=function(t,e){if(t=Qh([],this.Oj,t,e,this))return Sl(e=new bl(null),t),e},t.Xi=function(t,e){$h(this.Rj,t,e,this)},t.Mh=function(t,e){$h(this.Kj,t,e,this)},t.Yi=function(t,e){$h(this.Sj,t,e,this)},t.hf=function(t,e){if(t=this.ff(t,e))return(e=new cl(null)).ba("XYZ",t),e},t.wp=function(t,e){if(t=Qh(null,this.ke,t,e,this))return t},t.bj=function(t,e){if(t=this.ff(t,e))return hr(e=new ar(null),"XYZ",t),e},t.jf=function(t,e){if((t=Qh([null],this.zf,t,e,this))&&t[0]){e=new Sr(null);var o,i=t[0],r=[i.length],n=1;for(o=t.length;n<o;++n)c(i,t[n]),r.push(i.length);return e.ba("XYZ",i,r),e}},t.ff=function(t,e){return Qh(null,this.ke,t,e,this)},t.Nj={"http://www.opengis.net/gml":{pointMember:Vh(uu.prototype.Xi),pointMembers:Vh(uu.prototype.Xi)}},t.Mj={"http://www.opengis.net/gml":{lineStringMember:Vh(uu.prototype.Mh),lineStringMembers:Vh(uu.prototype.Mh)}},t.Oj={"http://www.opengis.net/gml":{polygonMember:Vh(uu.prototype.Yi),polygonMembers:Vh(uu.prototype.Yi)}},t.Rj={"http://www.opengis.net/gml":{Point:Vh(uu.prototype.ff)}},t.Kj={"http://www.opengis.net/gml":{LineString:Vh(uu.prototype.hf)}},t.Sj={"http://www.opengis.net/gml":{Polygon:Vh(uu.prototype.jf)}},t.le={"http://www.opengis.net/gml":{LinearRing:Wh(uu.prototype.wp)}},t.aj=function(t,e){return(t=this.gf(t,[nl(this,t,e||{})]))?t:null},t.zc=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&ct(o,nl(this,t,e)),this.be(t,[o])||[]},t.kf=function(t){return Wt(this.srsName?this.srsName:t.firstElementChild.getAttribute("srsName"))},s(Au,uu),(t=Au.prototype).Ap=function(t,e){if(t=Qh([],this.Lj,t,e,this))return dl(e=new fl(null),t),e},t.Bp=function(t,e){if(t=Qh([],this.Pj,t,e,this))return Sl(e=new bl(null),t),e},t.ph=function(t,e){$h(this.Hj,t,e,this)},t.Aj=function(t,e){$h(this.Uj,t,e,this)},t.Ep=function(t,e){return Qh([null],this.Qj,t,e,this)},t.Hp=function(t,e){return Qh([null],this.Tj,t,e,this)},t.Fp=function(t,e){return Qh([null],this.zf,t,e,this)},t.zp=function(t,e){return Qh([null],this.ke,t,e,this)},t.cm=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},t.yk=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},t.gj=function(t,e){if((t=Qh([null],this.Vj,t,e,this))&&t[0]){e=new Sr(null);var o,i=t[0],r=[i.length],n=1;for(o=t.length;n<o;++n)c(i,t[n]),r.push(i.length);return e.ba("XYZ",i,r),e}},t.Zi=function(t,e){if(t=Qh([null],this.Ij,t,e,this))return(e=new cl(null)).ba("XYZ",t),e},t.vp=function(t,e){return W((t=Qh([null],this.Jj,t,e,this))[1][0],t[1][1],t[2][0],t[2][1])},t.xp=function(t,e){var o,i=Oh(t,!1),r=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;for(t=[];o=r.exec(i);)t.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(i="enu",(e=e[0].srsName)&&(i=Wt(e).b),"neu"===i)for(e=0,i=t.length;e<i;e+=3)r=t[e],t[e]=t[e+1],t[e+1]=r;if(2==(e=t.length)&&t.push(0),e)return t}},t.Bg=function(t,e){var o=Oh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension");e="enu",i&&(e=Wt(i).b),o=o.split(/\s+/),i=2,t.getAttribute("srsDimension")?i=mu(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=mu(t.getAttribute("dimension")):r&&(i=mu(r));for(var n,p=[],s=0,a=o.length;s<a;s+=i)t=parseFloat(o[s]),r=parseFloat(o[s+1]),n=3===i?parseFloat(o[s+2]):0,"en"===e.substr(0,2)?p.push(t,r,n):p.push(r,t,n);return p},t.ke={"http://www.opengis.net/gml":{pos:Wh(Au.prototype.xp),posList:Wh(Au.prototype.Bg)}},t.zf={"http://www.opengis.net/gml":{interior:Au.prototype.cm,exterior:Au.prototype.yk}},t.Zg={"http://www.opengis.net/gml":{Point:Wh(uu.prototype.fj),MultiPoint:Wh(uu.prototype.dj),LineString:Wh(uu.prototype.hf),MultiLineString:Wh(uu.prototype.cj),LinearRing:Wh(uu.prototype.bj),Polygon:Wh(uu.prototype.jf),MultiPolygon:Wh(uu.prototype.ej),Surface:Wh(Au.prototype.gj),MultiSurface:Wh(Au.prototype.Bp),Curve:Wh(Au.prototype.Zi),MultiCurve:Wh(Au.prototype.Ap),Envelope:Wh(Au.prototype.vp)}},t.Lj={"http://www.opengis.net/gml":{curveMember:Vh(Au.prototype.ph),curveMembers:Vh(Au.prototype.ph)}},t.Pj={"http://www.opengis.net/gml":{surfaceMember:Vh(Au.prototype.Aj),surfaceMembers:Vh(Au.prototype.Aj)}},t.Hj={"http://www.opengis.net/gml":{LineString:Vh(uu.prototype.hf),Curve:Vh(Au.prototype.Zi)}},t.Uj={"http://www.opengis.net/gml":{Polygon:Vh(uu.prototype.jf),Surface:Vh(Au.prototype.gj)}},t.Vj={"http://www.opengis.net/gml":{patches:Wh(Au.prototype.Ep)}},t.Ij={"http://www.opengis.net/gml":{segments:Wh(Au.prototype.Hp)}},t.Jj={"http://www.opengis.net/gml":{lowerCorner:Vh(Au.prototype.Bg),upperCorner:Vh(Au.prototype.Bg)}},t.Qj={"http://www.opengis.net/gml":{PolygonPatch:Wh(Au.prototype.Fp)}},t.Tj={"http://www.opengis.net/gml":{LineStringSegment:Wh(Au.prototype.zp)}},t.ni=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Dh(t.namespaceURI,"pos"),t.appendChild(i),t=(o=o[o.length-1]).hasZ;var r=o.srsName;o="enu",r&&(o=Wt(r).b),e=e.X(),o="en"===o.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0],t&&(o+=" "+(e[2]||0)),Pu(i,o)};var Tu={"http://www.opengis.net/gml":{lowerCorner:zh(Pu),upperCorner:zh(Pu)}};(t=Au.prototype).jn=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),el({node:t},Tu,qh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},t.ki=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Dh(t.namespaceURI,"posList"),t.appendChild(i),Eu(i,e,o)},t.hn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),Dh(e.namespaceURI,void 0!==o?"interior":"exterior")},t.Se=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),el({node:t,hasZ:i,srsName:r},Ru,this.hn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Dh(t.namespaceURI,"patches"),t.appendChild(i),t=Dh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Se(t,e,o))},t.Re=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=Dh(t.namespaceURI,"posList"),t.appendChild(i),Eu(i,e,o)):"Curve"===t.nodeName&&(i=Dh(t.namespaceURI,"segments"),t.appendChild(i),t=Dh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Re(t,e,o))},t.mi=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),el({node:t,hasZ:i,srsName:r,surface:n},ju,this.o,e,o,void 0,this)},t.kn=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.hasZ;i&&t.setAttribute("srsName",i),e=e.Zd(),el({node:t,hasZ:r,srsName:i},Cu,Hh("pointMember"),e,o,void 0,this)},t.li=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),el({node:t,hasZ:i,srsName:r,curve:n},Lu,this.o,e,o,void 0,this)},t.oi=function(t,e,o){var i=Dh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ki(i,e,o)},t.pi=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Se(i,e,o))},t.ln=function(t,e,o){var i=Dh(t.namespaceURI,"Point");t.appendChild(i),this.ni(i,e,o)},t.ji=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Re(i,e,o))},t.od=function(t,e,o){var i,r=o[o.length-1],n=ct({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?Jt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),el(n,Iu,this.a,[i],o,void 0,this)},t.ii=function(t,e,o){(i=e.a)&&t.setAttribute("fid",i);var i,r=(i=o[o.length-1]).featureNS,n=e.c;i.lb||(i.lb={},i.lb[r]={});var p=e.N();e=[];var s=[];for(h in p){var a=p[h];null!==a&&(e.push(h),s.push(a),h==n||a instanceof Xi?h in i.lb[r]||(i.lb[r][h]=zh(this.od,this)):h in i.lb[r]||(i.lb[r][h]=zh(Pu)))}var h=ct({},i);h.node=t,el(h,i.lb,Hh(void 0,r),s,o,e)};var ju={"http://www.opengis.net/gml":{surfaceMember:zh(Au.prototype.pi),polygonMember:zh(Au.prototype.pi)}},Cu={"http://www.opengis.net/gml":{pointMember:zh(Au.prototype.ln)}},Lu={"http://www.opengis.net/gml":{lineStringMember:zh(Au.prototype.ji),curveMember:zh(Au.prototype.ji)}},Ru={"http://www.opengis.net/gml":{exterior:zh(Au.prototype.oi),interior:zh(Au.prototype.oi)}},Iu={"http://www.opengis.net/gml":{Curve:zh(Au.prototype.Re),MultiCurve:zh(Au.prototype.li),Point:zh(Au.prototype.ni),MultiPoint:zh(Au.prototype.kn),LineString:zh(Au.prototype.Re),MultiLineString:zh(Au.prototype.li),LinearRing:zh(Au.prototype.ki),Polygon:zh(Au.prototype.Se),MultiPolygon:zh(Au.prototype.mi),Surface:zh(Au.prototype.Se),MultiSurface:zh(Au.prototype.mi),Envelope:zh(Au.prototype.jn)}},Nu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};function Fu(t){uu.call(this,t=t||{}),this.b["http://www.opengis.net/gml"].featureMember=Vh(uu.prototype.be),this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function ku(t){return(t=Dh(t,"coordinates")).setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t}function Du(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,p=Array(n),s=0;s<n;++s)r=e[s],p[s]=Ou(r,i,o);Pu(t,p.join(" "))}function Ou(t,e,o){var i="enu";return e&&(i=Wt(e).b),e="en"===i.substr(0,2)?t[0]+","+t[1]:t[1]+","+t[0],o&&(e+=","+(t[2]||0)),e}Au.prototype.o=function(t,e){return Dh("http://www.opengis.net/gml",Nu[e[e.length-1].node.nodeName])},Au.prototype.a=function(t,e){e=(r=e[e.length-1]).multiSurface;var o=r.surface,i=r.curve,r=r.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"LineString"===t&&!0===i?t="Curve":"MultiLineString"===t&&!0===r&&(t="MultiCurve"),Dh("http://www.opengis.net/gml",t)},Au.prototype.ie=function(t,e){e=pl(this,e);var o=Dh("http://www.opengis.net/gml","geom"),i={node:o,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g};return e&&ct(i,e),this.od(o,t,[i]),o},Au.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh("http://www.opengis.net/gml","featureMembers");o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var i={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g,featureNS:this.featureNS,featureType:this.featureType};e&&ct(i,e);var r=(e=[i])[e.length-1],n=(i=r.featureType,r.featureNS),p={};return p[n]={},p[n][i]=zh(this.ii,this),(r=ct({},r)).node=o,el(r,p,Hh(i,n),t,e),o},s(Fu,uu),(t=Fu.prototype).$i=function(t,e){t=Oh(t,!1).replace(/^\s*|\s*$/g,"");var o=e[0].srsName;e="enu",(o=o&&Wt(o))&&(e=o.b);for(var i,r,n=[],p=0,s=(t=t.trim().split(/\s+/)).length;p<s;p++)r=t[p].split(/,+/),o=parseFloat(r[0]),i=parseFloat(r[1]),r=3===r.length?parseFloat(r[2]):0,"en"===e.substr(0,2)?n.push(o,i,r):n.push(i,o,r);return n},t.tp=function(t,e){return W((t=Qh([null],this.Gj,t,e,this))[1][0],t[1][1],t[1][3],t[1][4])},t.am=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},t.bp=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},t.ke={"http://www.opengis.net/gml":{coordinates:Wh(Fu.prototype.$i)}},t.zf={"http://www.opengis.net/gml":{innerBoundaryIs:Fu.prototype.am,outerBoundaryIs:Fu.prototype.bp}},t.Gj={"http://www.opengis.net/gml":{coordinates:Vh(Fu.prototype.$i)}},t.Zg={"http://www.opengis.net/gml":{Point:Wh(uu.prototype.fj),MultiPoint:Wh(uu.prototype.dj),LineString:Wh(uu.prototype.hf),MultiLineString:Wh(uu.prototype.cj),LinearRing:Wh(uu.prototype.bj),Polygon:Wh(uu.prototype.jf),MultiPolygon:Wh(uu.prototype.ej),Box:Wh(Fu.prototype.tp)}},t.jg=function(t,e){e=(i=e[e.length-1]).multiSurface;var o=i.surface,i=i.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"MultiLineString"===t&&!0===i&&(t="MultiCurve"),Dh("http://www.opengis.net/gml",t)},t.ai=function(t,e,o){var i,r=o[o.length-1],n=ct({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?Jt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),el(n,Uu,this.jg,[i],o,void 0,this)},t.Pe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)):"Curve"===t.nodeName&&(i=Dh(t.namespaceURI,"segments"),t.appendChild(i),t=Dh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Pe(t,e,o))},t.Qe=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),el({node:t,hasZ:i,srsName:r},Gu,this.dn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Dh(t.namespaceURI,"patches"),t.appendChild(i),t=Dh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Qe(t,e,o))},t.dn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),Dh(e.namespaceURI,void 0!==o?"innerBoundaryIs":"outerBoundaryIs")},t.gi=function(t,e,o){var i=Dh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ci(i,e,o)},t.di=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),el({node:t,hasZ:i,srsName:r,curve:n},Xu,this.a,e,o,void 0,this)},t.fi=function(t,e,o){var i=o[o.length-1];o=i.hasZ;var r=i.srsName;r&&t.setAttribute("srsName",r),i=ku(t.namespaceURI),t.appendChild(i),Pu(i,t=Ou(t=e.X(),r,o))},t.fn=function(t,e,o){var i=o[o.length-1],r=i.hasZ;(i=i.srsName)&&t.setAttribute("srsName",i),e=e.Zd(),el({node:t,hasZ:r,srsName:i},Bu,Hh("pointMember"),e,o,void 0,this)},t.gn=function(t,e,o){var i=Dh(t.namespaceURI,"Point");t.appendChild(i),this.fi(i,e,o)},t.bi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Pe(i,e,o))},t.ci=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)},t.ei=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),el({node:t,hasZ:i,srsName:r,surface:n},Wu,this.a,e,o,void 0,this)},t.hi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Qe(i,e,o))},t.en=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),el({node:t},Zu,qh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)};var Uu={"http://www.opengis.net/gml":{Curve:zh(Fu.prototype.Pe),MultiCurve:zh(Fu.prototype.di),Point:zh(Fu.prototype.fi),MultiPoint:zh(Fu.prototype.fn),LineString:zh(Fu.prototype.Pe),MultiLineString:zh(Fu.prototype.di),LinearRing:zh(Fu.prototype.ci),Polygon:zh(Fu.prototype.Qe),MultiPolygon:zh(Fu.prototype.ei),Surface:zh(Fu.prototype.Qe),MultiSurface:zh(Fu.prototype.ei),Envelope:zh(Fu.prototype.en)}},Gu={"http://www.opengis.net/gml":{outerBoundaryIs:zh(Fu.prototype.gi),innerBoundaryIs:zh(Fu.prototype.gi)}},Bu={"http://www.opengis.net/gml":{pointMember:zh(Fu.prototype.gn)}},Xu={"http://www.opengis.net/gml":{lineStringMember:zh(Fu.prototype.bi),curveMember:zh(Fu.prototype.bi)}};Fu.prototype.a=function(t,e){return Dh("http://www.opengis.net/gml",Vu[e[e.length-1].node.nodeName])};var Vu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},Wu={"http://www.opengis.net/gml":{surfaceMember:zh(Fu.prototype.hi),polygonMember:zh(Fu.prototype.hi)}},Zu={"http://www.opengis.net/gml":{lowerCorner:zh(Pu),upperCorner:zh(Pu)}};function Ku(t){t=t||{},au.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.readExtensions}s(Ku,au);var zu=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Yu(t,e,o,i){return t.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in i?(t.push(i.ele),delete i.ele,e.hasZ=!0):t.push(0),"time"in i?(t.push(i.time),delete i.time,e.hasM=!0):t.push(0),t}function Hu(t,e,o){var i="XY",r=2;if(t.hasZ&&t.hasM?(i="XYZM",r=4):t.hasZ?(i="XYZ",r=3):t.hasM&&(i="XYM",r=3),4!==r){var n,p=0;for(n=e.length/4;p<n;p++)e[p*r]=e[4*p],e[p*r+1]=e[4*p+1],t.hasZ&&(e[p*r+2]=e[4*p+2]),t.hasM&&(e[p*r+2]=e[4*p+3]);if(e.length=e.length/4*r,o)for(p=0,n=o.length;p<n;p++)o[p]=o[p]/4*r}return i}function qu(t,e){var o=e[e.length-1],i=t.getAttribute("href");null!==i&&(o.link=i),$h(oc,t,e)}function Ju(t,e){e[e.length-1].extensionsNode_=t}function _u(t,e){var o=e[0];if(t=Qh({flatCoordinates:[],layoutOptions:{}},ic,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.layoutOptions;delete t.layoutOptions;i=Hu(i,e);var r=new cl(null);return r.ba(i,e),sl(r,!1,o),(o=new Fh(r)).H(t),o}}function $u(t,e){var o=e[0];if(t=Qh({flatCoordinates:[],ends:[],layoutOptions:{}},nc,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.ends;delete t.ends;var r=t.layoutOptions;delete t.layoutOptions;r=Hu(r,e,i);var n=new fl(null);return n.ba(r,e,i),sl(n,!1,o),(o=new Fh(n)).H(t),o}}function Qu(t,e){var o=e[0];if(e=Qh({},ac,t,e)){var i={};return sl(t=new lr(t=Yu([],i,t,e),i=Hu(i,t)),!1,o),(o=new Fh(t)).H(e),o}}var tc={rte:_u,trk:$u,wpt:Qu},ec=_h(zu,{rte:Vh(_u),trk:Vh($u),wpt:Vh(Qu)}),oc=_h(zu,{text:Kh(wu,"linkText"),type:Kh(wu,"linkType")}),ic=_h(zu,{name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,number:Kh(bu),extensions:Ju,type:Kh(wu),rtept:function(t,e){var o=Qh({},rc,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),rc=_h(zu,{ele:Kh(du),time:Kh(gu)}),nc=_h(zu,{name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,number:Kh(bu),type:Kh(wu),extensions:Ju,trkseg:function(t,e){var o=e[e.length-1];$h(pc,t,e),o.ends.push(o.flatCoordinates.length)}}),pc=_h(zu,{trkpt:function(t,e){var o=Qh({},sc,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),sc=_h(zu,{ele:Kh(du),time:Kh(gu)}),ac=_h(zu,{ele:Kh(du),time:Kh(gu),magvar:Kh(du),geoidheight:Kh(du),name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,sym:Kh(wu),type:Kh(wu),fix:Kh(wu),sat:Kh(bu),hdop:Kh(du),vdop:Kh(du),pdop:Kh(du),ageofdgpsdata:Kh(du),dgpsid:Kh(bu),extensions:Ju});function hc(t,e){for(var o=0,i=(e=e||[]).length;o<i;++o){var r=e[o];if(t.b){var n=r.get("extensionsNode_")||null;t.b(r,n)}r.set("extensionsNode_",void 0)}}function lc(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,el({node:t},yc,qh,[e.linkText,e.linkType],o,cc)}function uc(t,e,o){var i=o[o.length-1],r=i.node.namespaceURI,n=i.properties;switch(t.setAttributeNS(null,"lat",e[1]),t.setAttributeNS(null,"lon",e[0]),i.geometryLayout){case"XYZM":e[3]&&(n.time=e[3]);case"XYZ":e[2]&&(n.ele=e[2]);break;case"XYM":e[2]&&(n.time=e[2])}i=Jh(n,e="rtept"==t.nodeName?dc[r]:xc[r]),el({node:t,properties:n},Sc,qh,i,o,e)}Ku.prototype.xg=function(t,e){if(!d(zu,t.namespaceURI))return null;var o=tc[t.localName];return o&&(t=o(t,[nl(this,t,e)]))?(hc(this,[t]),t):null},Ku.prototype.zc=function(t,e){return d(zu,t.namespaceURI)&&"gpx"==t.localName&&(t=Qh([],ec,t,[nl(this,t,e)]))?(hc(this,t),t):[]};var cc=["text","type"],yc=_h(zu,{text:zh(Pu),type:zh(Pu)}),fc=_h(zu,"name cmt desc src link number type rtept".split(" ")),gc=_h(zu,{name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),number:zh(Mu),type:zh(Pu),rtept:Yh(zh(uc))}),dc=_h(zu,["ele","time"]),vc=_h(zu,"name cmt desc src link number type trkseg".split(" ")),bc=_h(zu,{name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),number:zh(Mu),type:zh(Pu),trkseg:Yh(zh(function(t,e,o){el({node:t,geometryLayout:e.ja,properties:{}},wc,mc,e.X(),o)}))}),mc=Hh("trkpt"),wc=_h(zu,{trkpt:zh(uc)}),xc=_h(zu,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Sc=_h(zu,{ele:zh(Su),time:zh(function(t,e){e=new Date(1e3*e),t.appendChild(kh.createTextNode(e.getUTCFullYear()+"-"+Ei(e.getUTCMonth()+1)+"-"+Ei(e.getUTCDate())+"T"+Ei(e.getUTCHours())+":"+Ei(e.getUTCMinutes())+":"+Ei(e.getUTCSeconds())+"Z"))}),magvar:zh(Su),geoidheight:zh(Su),name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),sym:zh(Pu),type:zh(Pu),fix:zh(Pu),sat:zh(Mu),hdop:zh(Su),vdop:zh(Su),pdop:zh(Su),ageofdgpsdata:zh(Su),dgpsid:zh(Mu)}),Mc={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Pc(t,e){if((t=t.V())&&(t=Mc[t.U()]))return Dh(e[e.length-1].node.namespaceURI,t)}var Ac=_h(zu,{rte:zh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),t.geometryLayout=e.ja,r.rtept=e.X()),r=Jh(r,i=fc[o[o.length-1].node.namespaceURI]),el(t,gc,qh,r,o,i)}),trk:zh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),r.trkseg=e.gd()),r=Jh(r,i=vc[o[o.length-1].node.namespaceURI]),el(t,bc,qh,r,o,i)}),wpt:zh(function(t,e,o){var i=o[0],r=o[o.length-1];r.properties=e.N(),(e=e.V())&&(e=sl(e,!0,i),r.geometryLayout=e.ja,uc(t,e.X(),o))})});function Ec(){rl.call(this)}function Tc(t){return"string"==typeof t?t:""}function jc(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.altitudeMode?t.altitudeMode:"none"}Ku.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers"),el({node:o},Ac,Pc,t,[e]),o},s(Ec,rl),(t=Ec.prototype).U=function(){return"text"},t.Tb=function(t,e){return this.ae(Tc(t),pl(this,e))},t.Oa=function(t,e){return this.zg(Tc(t),pl(this,e))},t.Sc=function(t,e){return this.wd(Tc(t),pl(this,e))},t.kb=function(){return this.defaultDataProjection},t.Bd=function(t,e){return this.ge(t,pl(this,e))},t.Wb=function(t,e){return this.Wg(t,pl(this,e))},t.$c=function(t,e){return this.Cd(t,pl(this,e))},s(jc,Ec);var Cc,Lc,Rc,Ic,Nc,Fc,kc,Dc,Oc,Uc,Gc,Bc,Xc,Vc,Wc,Zc=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Kc=/^H.([A-Z]{3}).*?:(.*)/,zc=/^HFDTE(\d{2})(\d{2})(\d{2})/,Yc=/\r\n|\r|\n/;function Hc(t,e,o,i,r,n){je.call(this),this.j=null,this.M=t||new Image,null!==i&&(this.M.crossOrigin=i),this.c=n?document.createElement("CANVAS"):null,this.g=n,this.f=null,this.i=r,this.a=o,this.o=e,this.l=!1,2==this.i&&qc(this)}function qc(e){var t=Je(1,1);try{t.drawImage(e.M,0,0),t.getImageData(0,0,1,1)}catch(t){e.l=!0}}function Jc(t){t=t||{},this.o=void 0!==t.anchor?t.anchor:[.5,.5],this.u=null,this.i=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.C=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.B=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.ra=void 0!==t.crossOrigin?t.crossOrigin:null;var e=void 0!==t.img?t.img:null,o=void 0!==t.imgSize?t.imgSize:null,i=t.src;R(!(void 0!==i&&e),4),R(!e||e&&o,5),void 0!==i&&i.length||!e||(i=e.src||G(e).toString()),R(void 0!==i&&0<i.length,6);var r=void 0!==t.src?0:2;this.j=void 0!==t.color?We(t.color):null;var n=this.ra,p=this.j,s=qn.get(i,n,p);s||(s=new Hc(e,i,o,n,r,p),qn.set(i,n,p,s)),this.b=s,this.oa=void 0!==t.offset?t.offset:[0,0],this.c=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.S=null,this.D=void 0!==t.size?t.size:null,Mh.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}function _c(t){t=t||{},this.a=t.font,this.f=t.rotation,this.o=t.rotateWithView,this.b=t.scale,this.Ia=t.text,this.g=t.textAlign,this.j=t.textBaseline,this.Va=void 0!==t.fill?t.fill:new Th({color:"#333"}),this.Ya=void 0!==t.stroke?t.stroke:null,this.i=void 0!==t.offsetX?t.offsetX:0,this.c=void 0!==t.offsetY?t.offsetY:0}function $c(t){t=t||{},au.call(this),Cc||(Rc=new Th({color:Lc=[255,255,255,1]}),Fc=Nc="pixels",Uc=new Jc({anchor:Ic=[20,2],anchorOrigin:"bottom-left",anchorXUnits:Nc,anchorYUnits:Fc,crossOrigin:"anonymous",rotation:0,scale:Oc=.5,size:kc=[64,64],src:Dc="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Gc="NO_IMAGE",Bc=new Gs({color:Lc,width:1}),Xc=new Gs({color:[51,51,51,1],width:2}),Vc=new _c({font:"bold 16px Helvetica",fill:Rc,stroke:Xc,scale:.8}),Wc=new jh({fill:Rc,image:Uc,text:Vc,stroke:Bc,zIndex:0}),Cc=[Wc]),this.defaultDataProjection=Wt("EPSG:4326"),this.a=t.defaultStyle?t.defaultStyle:Cc,this.c=void 0===t.extractStyles||t.extractStyles,this.j=void 0===t.writeStyles||t.writeStyles,this.b={},this.g=void 0===t.showPointNames||t.showPointNames}(t=jc.prototype).ae=function(t,e){var o=this.b,i=t.split(Yc);t={};var r,n=[],p=2e3,s=0,a=1,h=-1,l=0;for(r=i.length;l<r;++l){var u;if("B"==(c=i[l]).charAt(0)){if(u=Zc.exec(c)){var c=parseInt(u[1],10),y=parseInt(u[2],10),f=parseInt(u[3],10),g=parseInt(u[4],10)+parseInt(u[5],10)/6e4;"S"==u[6]&&(g=-g);var d=parseInt(u[7],10)+parseInt(u[8],10)/6e4;"W"==u[9]&&(d=-d),n.push(d,g),"none"!=o&&n.push("gps"==o?parseInt(u[11],10):"barometric"==o?parseInt(u[12],10):0),(u=Date.UTC(p,s,a,c,y,f))<h&&(u=Date.UTC(p,s,a+1,c,y,f)),n.push(u/1e3),h=u}}else"H"==c.charAt(0)&&((u=zc.exec(c))?(a=parseInt(u[1],10),s=parseInt(u[2],10)-1,p=2e3+parseInt(u[3],10)):(u=Kc.exec(c))&&(t[u[1]]=u[2].trim()))}return n.length?((i=new cl(null)).ba("none"==o?"XYM":"XYZM",n),(e=new Fh(sl(i,!1,e))).H(t),e):null},t.zg=function(t,e){return(t=this.ae(t,e))?[t]:[]},t.ge=function(){},t.Wg=function(){},t.Cd=function(){},t.wd=function(){},s(Hc,je),Hc.prototype.v=function(){this.i=3,this.f.forEach(Se),this.f=null,this.b("change")},Hc.prototype.u=function(){if(this.i=2,this.a&&(this.M.width=this.a[0],this.M.height=this.a[1]),this.a=[this.M.width,this.M.height],this.f.forEach(Se),this.f=null,qc(this),!this.l&&null!==this.g){this.c.width=this.M.width,this.c.height=this.M.height;var t=this.c.getContext("2d");t.drawImage(this.M,0,0);for(var e=t.getImageData(0,0,this.M.width,this.M.height),o=e.data,i=this.g[0]/255,r=this.g[1]/255,n=this.g[2]/255,p=0,s=o.length;p<s;p+=4)o[p]*=i,o[p+1]*=r,o[p+2]*=n;t.putImageData(e,0,0)}this.b("change")},Hc.prototype.Y=function(){return this.c?this.c:this.M},Hc.prototype.load=function(){if(0==this.i){this.i=1,this.f=[we(this.M,"error",this.v,this),we(this.M,"load",this.u,this)];try{this.M.src=this.o}catch(t){this.v()}}},s(Jc,Mh),(t=Jc.prototype).clone=function(){var t=this.Y(1);if(2===this.b.i)if("IMG"===t.tagName.toUpperCase())var e=t.cloneNode(!0);else{var o=(e=document.createElement("canvas")).getContext("2d");e.width=t.width,e.height=t.height,o.drawImage(t,0,0)}return new Jc({anchor:this.o.slice(),anchorOrigin:this.i,anchorXUnits:this.C,anchorYUnits:this.B,crossOrigin:this.ra,color:this.j&&this.j.slice?this.j.slice():this.j||void 0,img:e||void 0,imgSize:e?this.b.a.slice():void 0,src:e?void 0:this.b.o,offset:this.oa.slice(),offsetOrigin:this.c,size:null!==this.D?this.D.slice():void 0,opacity:this.f,scale:this.a,snapToPixel:this.v,rotation:this.g,rotateWithView:this.l})},t.Hc=function(){if(this.u)return this.u;var t=this.o,e=this.ic();if("fraction"==this.C||"fraction"==this.B){if(!e)return null;t=this.o.slice(),"fraction"==this.C&&(t[0]*=e[0]),"fraction"==this.B&&(t[1]*=e[1])}if("top-left"!=this.i){if(!e)return null;t===this.o&&(t=this.o.slice()),"top-right"!=this.i&&"bottom-right"!=this.i||(t[0]=-t[0]+e[0]),"bottom-left"!=this.i&&"bottom-right"!=this.i||(t[1]=-t[1]+e[1])}return this.u=t},t.Lo=function(){return this.j},t.Y=function(t){return this.b.Y(t)},t.ye=function(){return this.b.a},t.Ye=function(){return this.b.i},t.qg=function(){var t=this.b;if(!t.j)if(t.l){var e=t.a[0],o=t.a[1],i=Je(e,o);i.fillRect(0,0,e,o),t.j=i.canvas}else t.j=t.M;return t.j},t.Oc=function(){if(this.S)return this.S;var t=this.oa;if("top-left"!=this.c){var e=this.ic(),o=this.b.a;if(!e||!o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.S=t},t.Mo=function(){return this.b.o},t.ic=function(){return this.D?this.D:this.b.a},t.Nh=function(t,e){return me(this.b,"change",t,e)},t.load=function(){this.b.load()},t.Bj=function(t,e){xe(this.b,"change",t,e)},(t=_c.prototype).clone=function(){return new _c({font:this.a,rotation:this.f,rotateWithView:this.o,scale:this.b,text:this.Na(),textAlign:this.g,textBaseline:this.j,fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,offsetX:this.i,offsetY:this.c})},t.Nk=function(){return this.a},t.cl=function(){return this.i},t.dl=function(){return this.c},t.Fa=function(){return this.Va},t.Ro=function(){return this.o},t.So=function(){return this.f},t.To=function(){return this.b},t.Ga=function(){return this.Ya},t.Na=function(){return this.Ia},t.nl=function(){return this.g},t.ol=function(){return this.j},t.nj=function(t){this.a=t},t.sj=function(t){this.i=t},t.tj=function(t){this.c=t},t.pf=function(t){this.Va=t},t.Uo=function(t){this.f=t},t.Si=function(t){this.b=t},t.qf=function(t){this.Ya=t},t.xd=function(t){this.Ia=t},t.vj=function(t){this.g=t},t.hq=function(t){this.j=t},s($c,au);var Qc=["http://www.google.com/kml/ext/2.2"],ty=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],ey={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"};function oy(t,e){var o=[0,0],i="start";if(t.Y()){var r=t.Y().ye();null===r&&(r=kc),2==r.length&&(i=t.Y().a,o[0]=i*r[0]/2,o[1]=-i*r[1]/2,i="left")}return null!==t.Na()?((t=(r=t.Na()).clone()).nj(r.a||Vc.a),t.Si(r.b||Vc.b),t.pf(r.Fa()||Vc.Fa()),t.qf(r.Ga()||Xc)):t=Vc.clone(),t.xd(e),t.sj(o[0]),t.tj(o[1]),t.vj(i),new jh({text:t})}function iy(i,r,n,p,s){return function(){var t=s,e="";if(t&&this.V()&&(t="Point"===this.V().U()),t&&(e=this.get("name"),t=t&&e),i)return t?(t=oy(i[0],e),i.concat(t)):i;if(r){var o=function t(e,o,i){return Array.isArray(e)?e:"string"==typeof e?(!(e in i)&&"#"+e in i&&(e="#"+e),t(i[e],o,i)):o}(r,n,p);return t?(t=oy(o[0],e),o.concat(t)):o}return t?(t=oy(n[0],e),n.concat(t)):n}}function ry(t){if(t=Oh(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function ny(t){t=Oh(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);if(""===t)return o}function py(t){var e=Oh(t,!1).trim();return t.baseURI&&"about:blank"!==t.baseURI?new URL(e,t.baseURI).href:e}function sy(t){return du(t)}function ay(t,e){return Qh(null,Ay,t,e)}function hy(t,e){if(e=Qh({A:[],Ej:[]},Ty,t,e)){var o;t=e.A,e=e.Ej;var i=0;for(o=Math.min(t.length,e.length);i<o;++i)t[4*i+3]=e[i];return(e=new cl(null)).ba("XYZM",t),e}}function ly(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new cl(null)).ba("XYZ",t),e.H(o),e}function uy(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new Sr(null)).ba("XYZ",t,[t.length]),e.H(o),e}function cy(t,e){if(!(t=Qh([],Fy,t,e)))return null;if(!t.length)return new Ql(t);var o,i=!0,r=t[0].U(),n=1;for(o=t.length;n<o;++n)if((e=t[n]).U()!=r){i=!1;break}if(i)if("Point"==r){var p=t[0];for(i=p.ja,r=p.ga(),n=1,o=t.length;n<o;++n)c(r,(e=t[n]).ga());(p=new vl(null)).ba(i,r),dy(p,t)}else"LineString"==r?(dl(p=new fl(null),t),dy(p,t)):"Polygon"==r?(Sl(p=new bl(null),t),dy(p,t)):"GeometryCollection"==r?p=new Ql(t):R(!1,37);else p=new Ql(t);return p}function yy(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new lr(null)).ba("XYZ",t),e.H(o),e}function fy(t,e){var o=Qh({},Py,t,e);if((t=Qh([null],Ey,t,e))&&t[0]){e=new Sr(null);var i,r=t[0],n=[r.length],p=1;for(i=t.length;p<i;++p)c(r,t[p]),n.push(r.length);return e.ba("XYZ",r,n),e.H(o),e}}function gy(t,e){if(!(e=Qh({},Wy,t,e)))return null;t="fillStyle"in e?e.fillStyle:Rc;var o=e.fill;void 0===o||o||(t=null),(o="imageStyle"in e?e.imageStyle:Uc)==Gc&&(o=void 0);var i="textStyle"in e?e.textStyle:Vc,r="strokeStyle"in e?e.strokeStyle:Bc;return void 0===(e=e.outline)||e||(r=null),[new jh({fill:t,image:o,stroke:r,text:i,zIndex:void 0})]}function dy(t,e){var o,i,r=e.length,n=Array(e.length),p=Array(e.length),s=i=!1;for(o=0;o<r;++o){var a=e[o];n[o]=a.get("extrude"),p[o]=a.get("altitudeMode"),s=s||void 0!==n[o],i=i||p[o]}s&&t.set("extrude",n),i&&t.set("altitudeMode",p)}function vy(t,e){$h(wy,t,e)}function by(t,e){$h(xy,t,e)}var my=_h(ty,{displayName:Kh(wu),value:Kh(wu)}),wy=_h(ty,{Data:function(t,e){var o=t.getAttribute("name");$h(my,t,e),t=e[e.length-1],null!==o?t[o]=t.value:null!==t.displayName&&(t[t.displayName]=t.value)},SchemaData:function(t,e){$h(Vy,t,e)}}),xy=_h(ty,{LatLonAltBox:function(t,e){(t=Qh({},Sy,t,e))&&((e=e[e.length-1]).extent=[parseFloat(t.west),parseFloat(t.south),parseFloat(t.east),parseFloat(t.north)],e.altitudeMode=t.altitudeMode,e.minAltitude=parseFloat(t.minAltitude),e.maxAltitude=parseFloat(t.maxAltitude))},Lod:function(t,e){(t=Qh({},My,t,e))&&((e=e[e.length-1]).minLodPixels=parseFloat(t.minLodPixels),e.maxLodPixels=parseFloat(t.maxLodPixels),e.minFadeExtent=parseFloat(t.minFadeExtent),e.maxFadeExtent=parseFloat(t.maxFadeExtent))}}),Sy=_h(ty,{altitudeMode:Kh(wu),minAltitude:Kh(du),maxAltitude:Kh(du),north:Kh(du),south:Kh(du),east:Kh(du),west:Kh(du)}),My=_h(ty,{minLodPixels:Kh(du),maxLodPixels:Kh(du),minFadeExtent:Kh(du),maxFadeExtent:Kh(du)}),Py=_h(ty,{extrude:Kh(yu),altitudeMode:Kh(wu)}),Ay=_h(ty,{coordinates:Wh(ny)}),Ey=_h(ty,{innerBoundaryIs:function(t,e){(t=Qh(void 0,Ry,t,e))&&e[e.length-1].push(t)},outerBoundaryIs:function(t,e){(t=Qh(void 0,Uy,t,e))&&(e[e.length-1][0]=t)}}),Ty=_h(ty,{when:function(t,e){e=e[e.length-1].Ej,t=Oh(t,!1),t=Date.parse(t),e.push(isNaN(t)?0:t)}},_h(Qc,{coord:function(t,e){e=e[e.length-1].A,t=Oh(t,!1),(t=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(t))?e.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),0):e.push(0,0,0,0)}})),jy=_h(ty,{coordinates:Wh(ny)}),Cy=_h(ty,{href:Kh(py)},_h(Qc,{x:Kh(du),y:Kh(du),w:Kh(du),h:Kh(du)})),Ly=_h(ty,{Icon:Kh(function(t,e){return(t=Qh({},Cy,t,e))?t:null}),heading:Kh(du),hotSpot:Kh(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits"),i="insetPixels"!==e?"insetPixels"!==o?"bottom-left":"top-left":"insetPixels"!==o?"bottom-right":"top-right";return{x:parseFloat(t.getAttribute("x")),Xg:ey[e],y:parseFloat(t.getAttribute("y")),Yg:ey[o],origin:i}}),scale:Kh(sy)}),Ry=_h(ty,{LinearRing:Wh(ay)}),Iy=_h(ty,{color:Kh(ry),scale:Kh(sy)}),Ny=_h(ty,{color:Kh(ry),width:Kh(du)}),Fy=_h(ty,{LineString:Vh(ly),LinearRing:Vh(uy),MultiGeometry:Vh(cy),Point:Vh(yy),Polygon:Vh(fy)}),ky=_h(Qc,{Track:Vh(hy)}),Dy=_h(ty,{ExtendedData:vy,Region:by,Link:function(t,e){$h(Oy,t,e)},address:Kh(wu),description:Kh(wu),name:Kh(wu),open:Kh(yu),phoneNumber:Kh(wu),visibility:Kh(yu)}),Oy=_h(ty,{href:Kh(py)}),Uy=_h(ty,{LinearRing:Wh(ay)}),Gy=_h(ty,{Style:Kh(gy),key:Kh(wu),styleUrl:Kh(py)}),By=_h(ty,{ExtendedData:vy,Region:by,MultiGeometry:Kh(cy,"geometry"),LineString:Kh(ly,"geometry"),LinearRing:Kh(uy,"geometry"),Point:Kh(yy,"geometry"),Polygon:Kh(fy,"geometry"),Style:Kh(gy),StyleMap:function(t,e){(t=Qh(void 0,Zy,t,e))&&(e=e[e.length-1],Array.isArray(t)?e.Style=t:"string"==typeof t?e.styleUrl=t:R(!1,38))},address:Kh(wu),description:Kh(wu),name:Kh(wu),open:Kh(yu),phoneNumber:Kh(wu),styleUrl:Kh(py),visibility:Kh(yu)},_h(Qc,{MultiTrack:Kh(function(t,e){if(t=Qh([],ky,t,e))return dl(e=new fl(null),t),e},"geometry"),Track:Kh(hy,"geometry")})),Xy=_h(ty,{color:Kh(ry),fill:Kh(yu),outline:Kh(yu)}),Vy=_h(ty,{SimpleData:function(t,e){var o=t.getAttribute("name");null!==o&&(t=wu(t),e[e.length-1][o]=t)}}),Wy=_h(ty,{IconStyle:function(t,e){if(t=Qh({},Ly,t,e)){e=e[e.length-1];var o,i="Icon"in t?t.Icon:{},r=!("Icon"in t)||0<Object.keys(i).length;(n=i.href)?o=n:r&&(o=Dc);var n="bottom-left";if(l=t.hotSpot){var p=[l.x,l.y],s=l.Xg,a=l.Yg;n=l.origin}else o===Dc?(p=Ic,s=Nc,a=Fc):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(o)&&(p=[.5,0],a=s="fraction");var h,l=i.x,u=i.y;void 0!==l&&void 0!==u&&(h=[l,u]);var c,y;l=i.w,i=i.h;void 0!==l&&void 0!==i&&(c=[l,i]),void 0!==(i=t.heading)&&(y=S(i)),t=t.scale,r?(o==Dc&&(c=kc,void 0===t&&(t=Oc)),o=new Jc({anchor:p,anchorOrigin:n,anchorXUnits:s,anchorYUnits:a,crossOrigin:"anonymous",offset:h,offsetOrigin:"bottom-left",rotation:y,scale:t,size:c,src:o}),e.imageStyle=o):e.imageStyle=Gc}},LabelStyle:function(t,e){(t=Qh({},Iy,t,e))&&(e[e.length-1].textStyle=new _c({fill:new Th({color:"color"in t?t.color:Lc}),scale:t.scale}))},LineStyle:function(t,e){(t=Qh({},Ny,t,e))&&(e[e.length-1].strokeStyle=new Gs({color:"color"in t?t.color:Lc,width:"width"in t?t.width:1}))},PolyStyle:function(t,e){if(t=Qh({},Xy,t,e)){(e=e[e.length-1]).fillStyle=new Th({color:"color"in t?t.color:Lc});var o=t.fill;void 0!==o&&(e.fill=o),void 0!==(t=t.outline)&&(e.outline=t)}}}),Zy=_h(ty,{Pair:function(t,e){if(t=Qh({},Gy,t,e)){var o=t.key;o&&"normal"==o&&((o=t.styleUrl)&&(e[e.length-1]=o),(t=t.Style)&&(e[e.length-1]=t))}}});function Ky(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE){var o=zy(t,e);if(o)return o}}function zy(t,e){var o;for(o=e.firstElementChild;o;o=o.nextElementSibling)if(d(ty,o.namespaceURI)&&"name"==o.localName)return wu(o);for(o=e.firstElementChild;o;o=o.nextElementSibling)if(e=o.localName,d(ty,o.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=zy(t,o)))return e}function Yy(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,Hy(t,e));return o}function Hy(t,e){var o,i=[];for(o=e.firstElementChild;o;o=o.nextElementSibling)if(d(ty,o.namespaceURI)&&"NetworkLink"==o.localName){var r=Qh({},Dy,o,[]);i.push(r)}for(o=e.firstElementChild;o;o=o.nextElementSibling)e=o.localName,!d(ty,o.namespaceURI)||"Document"!=e&&"Folder"!=e&&"kml"!=e||c(i,Hy(t,o));return i}function qy(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,t.lf(e));return o}function Jy(t,e){var o;for(e=[255*(4==(e=We(e)).length?e[3]:1),e[2],e[1],e[0]],o=0;o<4;++o){var i=parseInt(e[o],10).toString(16);e[o]=1==i.length?"0"+i:i}Pu(t,e.join(""))}function _y(t,e,o){t={node:t};var i=e.U();if("GeometryCollection"==i)var r=e.Vf(),n=jf;else"MultiPoint"==i?(r=e.Zd(),n=Df):"MultiLineString"==i?(r=e.gd(),n=Of):"MultiPolygon"==i?(r=e.Td(),n=Gf):R(!1,39);el(t,bf,n,r,o)}function $y(t,e,o){el({node:t},vf,Uf,[e],o)}function Qy(t,e,o){var i={node:t};e.a&&t.setAttribute("id",e.a),t=e.N();var r={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};r[e.c]=1;var n=Object.keys(t||{}).sort().filter(function(t){return!r[t]});if(0<n.length){var p=Jh(t,n);el(i,wf,Ff,[{names:n,values:p}],o)}(n=e.Lc())&&(n=n.call(e,0))&&(n=Array.isArray(n)?n[0]:n,this.j&&(t.Style=n),(n=n.Na())&&(t.name=n.Na())),t=Jh(t,n=mf[o[o.length-1].node.namespaceURI]),el(i,wf,qh,t,o,n),t=o[0],(e=e.V())&&(e=sl(e,!0,t)),el(i,wf,jf,[e],o)}function tf(t,e,o){var i=e.ga();(t={node:t}).layout=e.ja,t.stride=e.qa(),el(t,xf,If,[i],o)}function ef(t,e,o){var i=(e=e.Sd()).shift();el(t={node:t},Sf,kf,e,o),el(t,Sf,Bf,[i],o)}function of(t,e){Su(t,Math.round(1e6*e)/1e6)}(t=$c.prototype).vg=function(t,e){if(t=Qh([],_h(ty,{Document:Xh(this.vg,this),Folder:Xh(this.vg,this),Placemark:Vh(this.Dg,this),Style:this.Jp.bind(this),StyleMap:this.Ip.bind(this)}),t,e,this))return t},t.Dg=function(t,e){var o=Qh({geometry:null},By,t,e);if(o){var i=new Fh;return null!==(t=t.getAttribute("id"))&&i.jc(t),e=e[0],(t=o.geometry)&&sl(t,!1,e),i.Ra(t),delete o.geometry,this.c&&i.hg(iy(o.Style,o.styleUrl,this.a,this.b,this.g)),delete o.Style,i.H(o),i}},t.Jp=function(t,e){var o=t.getAttribute("id");null!==o&&(e=gy(t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},t.Ip=function(t,e){var o=t.getAttribute("id");null!==o&&(e=Qh(void 0,Zy,t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},t.xg=function(t,e){return d(ty,t.namespaceURI)&&(t=this.Dg(t,[nl(this,t,e)]))?t:null},t.zc=function(t,e){if(!d(ty,t.namespaceURI))return[];var o=t.localName;if("Document"==o||"Folder"==o)return(o=this.vg(t,[nl(this,t,e)]))?o:[];if("Placemark"==o)return(e=this.Dg(t,[nl(this,t,e)]))?[e]:[];if("kml"!=o)return[];for(o=[],t=t.firstElementChild;t;t=t.nextElementSibling){var i=this.zc(t,e);i&&c(o,i)}return o},t.Cp=function(t){return Uh(t)?Ky(this,t):Gh(t)?zy(this,t):"string"==typeof t?Ky(this,t=Bh(t)):void 0},t.Dp=function(t){var e=[];return Uh(t)?c(e,Yy(this,t)):Gh(t)?c(e,Hy(this,t)):"string"==typeof t&&c(e,Yy(this,t=Bh(t))),e},t.Gp=function(t){var e=[];return Uh(t)?c(e,qy(this,t)):Gh(t)?c(e,this.lf(t)):"string"==typeof t&&c(e,qy(this,t=Bh(t))),e},t.lf=function(t){var e,o=[];for(e=t.firstElementChild;e;e=e.nextElementSibling)if(d(ty,e.namespaceURI)&&"Region"==e.localName){var i=Qh({},xy,e,[]);o.push(i)}for(e=t.firstElementChild;e;e=e.nextElementSibling)t=e.localName,!d(ty,e.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||c(o,this.lf(e));return o};var rf=_h(ty,["Document","Placemark"]),nf=_h(ty,{Document:zh(function(t,e,o){el({node:t},pf,Tf,e,o,void 0,this)}),Placemark:zh(Qy)}),pf=_h(ty,{Placemark:zh(Qy)}),sf=_h(ty,{Data:zh(function(t,e,o){t.setAttribute("name",e.name),t={node:t},"object"==typeof(e=e.value)?(null!==e&&e.displayName&&el(t,sf,qh,[e.displayName],o,["displayName"]),null!==e&&e.value&&el(t,sf,qh,[e.value],o,["value"])):el(t,sf,qh,[e],o,["value"])}),value:zh(function(t,e){Pu(t,e)}),displayName:zh(function(t,e){t.appendChild(kh.createCDATASection(e))})}),af={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},hf=_h(ty,["href"],_h(Qc,["x","y","w","h"])),lf=_h(ty,{href:zh(Pu)},_h(Qc,{x:zh(Su),y:zh(Su),w:zh(Su),h:zh(Su)})),uf=_h(ty,["scale","heading","Icon","hotSpot"]),cf=_h(ty,{Icon:zh(function(t,e,o){t={node:t};var i=hf[o[o.length-1].node.namespaceURI],r=Jh(e,i);el(t,lf,qh,r,o,i),r=Jh(e,i=hf[Qc[0]]),el(t,lf,Ef,r,o,i)}),heading:zh(Su),hotSpot:zh(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.Xg),t.setAttribute("yunits",e.Yg)}),scale:zh(of)}),yf=_h(ty,["color","scale"]),ff=_h(ty,{color:zh(Jy),scale:zh(of)}),gf=_h(ty,["color","width"]),df=_h(ty,{color:zh(Jy),width:zh(Su)}),vf=_h(ty,{LinearRing:zh(tf)}),bf=_h(ty,{LineString:zh(tf),Point:zh(tf),Polygon:zh(ef),GeometryCollection:zh(_y)}),mf=_h(ty,"name open visibility address phoneNumber description styleUrl Style".split(" ")),wf=_h(ty,{ExtendedData:zh(function(t,e,o){t={node:t};var i=e.names;e=e.values;for(var r=i.length,n=0;n<r;n++)el(t,sf,Nf,[{name:i[n],value:e[n]}],o)}),MultiGeometry:zh(_y),LineString:zh(tf),LinearRing:zh(tf),Point:zh(tf),Polygon:zh(ef),Style:zh(function(t,e,o){t={node:t};var i={},r=e.Fa(),n=e.Ga(),p=e.Y();e=e.Na(),p instanceof Jc&&(i.IconStyle=p),e&&(i.LabelStyle=e),n&&(i.LineStyle=n),r&&(i.PolyStyle=r),i=Jh(i,e=Pf[o[o.length-1].node.namespaceURI]),el(t,Af,qh,i,o,e)}),address:zh(Pu),description:zh(Pu),name:zh(Pu),open:zh(xu),phoneNumber:zh(Pu),styleUrl:zh(Pu),visibility:zh(xu)}),xf=_h(ty,{coordinates:zh(function(t,e,o){var i,r=(o=o[o.length-1]).layout;o=o.stride,"XY"==r||"XYM"==r?i=2:"XYZ"==r||"XYZM"==r?i=3:R(!1,34);var n,p=e.length,s="";if(0<p){for(s+=e[0],r=1;r<i;++r)s+=","+e[r];for(n=o;n<p;n+=o)for(s+=" "+e[n],r=1;r<i;++r)s+=","+e[n+r]}Pu(t,s)})}),Sf=_h(ty,{outerBoundaryIs:zh($y),innerBoundaryIs:zh($y)}),Mf=_h(ty,{color:zh(Jy)}),Pf=_h(ty,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Af=_h(ty,{IconStyle:zh(function(t,e,o){t={node:t};var i={},r=e.ic(),n=e.ye(),p={href:e.b.o};if(r){p.w=r[0],p.h=r[1];var s=e.Hc(),a=e.Oc();a&&n&&a[0]&&a[1]!==r[1]&&(p.x=a[0],p.y=n[1]-(a[1]+r[1])),s&&s[0]&&s[1]!==r[1]&&(i.hotSpot={x:s[0],Xg:"pixels",y:r[1]-s[1],Yg:"pixels"})}i.Icon=p,1!==(r=e.a)&&(i.scale=r),(e=e.g)&&(i.heading=e),i=Jh(i,e=uf[o[o.length-1].node.namespaceURI]),el(t,cf,qh,i,o,e)}),LabelStyle:zh(function(t,e,o){t={node:t};var i={},r=e.Fa();r&&(i.color=r.b),(e=e.b)&&1!==e&&(i.scale=e),i=Jh(i,e=yf[o[o.length-1].node.namespaceURI]),el(t,ff,qh,i,o,e)}),LineStyle:zh(function(t,e,o){t={node:t};var i=gf[o[o.length-1].node.namespaceURI];e=Jh({color:e.a,width:e.c},i),el(t,df,qh,e,o,i)}),PolyStyle:zh(function(t,e,o){el({node:t},Mf,Rf,[e.b],o)})});function Ef(t,e,o){return Dh(Qc[0],"gx:"+o)}function Tf(t,e){return Dh(e[e.length-1].node.namespaceURI,"Placemark")}function jf(t,e){if(t)return Dh(e[e.length-1].node.namespaceURI,af[t.U()])}var Cf,Lf,Rf=Hh("color"),If=Hh("coordinates"),Nf=Hh("Data"),Ff=Hh("ExtendedData"),kf=Hh("innerBoundaryIs"),Df=Hh("Point"),Of=Hh("LineString"),Uf=Hh("LinearRing"),Gf=Hh("Polygon"),Bf=Hh("outerBoundaryIs");function Xf(t){this.lc=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.type=this.ea=0,this.length=this.lc.length}function Vf(t,e,o){return o?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Wf(t,e,o,i,r){this.g=r,this.i=t,this.b=e,this.f=o,this.c=i}function Zf(t){rl.call(this),t=t||{},this.defaultDataProjection=new wt({code:"",units:"tile-pixels"}),this.b=t.featureClass?t.featureClass:Wf,this.a=t.geometryName,this.i=t.layerName?t.layerName:"layer",this.c=t.layers?t.layers:null}function Kf(t,e,o){for(var i=0,r=0,n=t.length;r<n;++r){var p,s=t[r],a=0;for(p=s.length;a<p;++a){var h=s[a];e.push(h.x,h.y)}i+=2*a,o.push(i)}}function zf(){au.call(this),this.defaultDataProjection=Wt("EPSG:4326")}function Yf(t,e){e[e.length-1].fe[t.getAttribute("k")]=t.getAttribute("v")}$c.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh(ty[4],"kml");o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",Qc[0]),o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var i={node:o},r={};return 1<t.length?r.Document=t:1==t.length&&(r.Placemark=t[0]),r=Jh(r,t=rf[o.namespaceURI]),el(i,nf,qh,r,[e],t,this),o},Js.Dd=function(){},Cf=Js.Dd=Js.Dd||{},Lf=function(t,e,o,i,r){var n=8*r-i-1,p=(1<<n)-1,s=p>>1,a=-7,h=o?-1:1,l=t[e+(r=o?r-1:0)];for(r+=h,o=l&(1<<-a)-1,l>>=-a,a+=n;0<a;o=256*o+t[e+r],r+=h,a-=8);for(n=o&(1<<-a)-1,o>>=-a,a+=i;0<a;n=256*n+t[e+r],r+=h,a-=8);if(0===o)o=1-s;else{if(o===p)return n?NaN:1/0*(l?-1:1);n+=Math.pow(2,i),o-=s}return(l?-1:1)*n*Math.pow(2,o-i)},Xf.c=0,Xf.i=1,Xf.b=2,Xf.a=5,Xf.prototype={Ag:function(t,e,o){for(o=o||this.length;this.ea<o;){var i=this.Ka(),r=i>>3,n=this.ea;this.type=7&i,t(r,e,this),this.ea===n&&this.mq(i)}return e},yp:function(){var t=Lf(this.lc,this.ea,!0,23,4);return this.ea+=4,t},up:function(){var t=Lf(this.lc,this.ea,!0,52,8);return this.ea+=8,t},Ka:function(t){var e=this.lc,o=e[this.ea++],i=127&o;return o<128?i:(i|=(127&(o=e[this.ea++]))<<7,o<128?i:(i|=(127&(o=e[this.ea++]))<<14,o<128?i:(i|=(127&(o=e[this.ea++]))<<21,o<128?i:function(t,e,o){var i=o.lc,r=i[o.ea++],n=(112&r)>>4;if(r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<3,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<10,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<17,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<24,r<128)return Vf(t,n,e);if((r=i[o.ea++])<128)return Vf(t,n|(1&r)<<31,e);throw Error("Expected varint not more than 10 bytes")}(i|(15&(o=e[this.ea]))<<28,t,this))))},Kp:function(){return this.Ka(!0)},ce:function(){var t=this.Ka();return 1==t%2?(t+1)/-2:t/2},sp:function(){return!!this.Ka()},Gg:function(){for(var t=this.Ka()+this.ea,e=this.lc,o="",i=this.ea;i<t;){var r=e[i],n=null,p=239<r?4:223<r?3:191<r?2:1;if(t<i+p)break;if(1===p)r<128&&(n=r);else if(2===p){var s=e[i+1];128==(192&s)&&((n=(31&r)<<6|63&s)<=127&&(n=null))}else if(3===p){s=e[i+1];var a=e[i+2];128==(192&s)&&128==(192&a)&&((n=(15&r)<<12|(63&s)<<6|63&a)<=2047||55296<=n&&n<=57343)&&(n=null)}else if(4===p){s=e[i+1],a=e[i+2];var h=e[i+3];128==(192&s)&&128==(192&a)&&128==(192&h)&&((n=(15&r)<<18|(63&s)<<12|(63&a)<<6|63&h)<=65535||1114112<=n)&&(n=null)}null===n?(n=65533,p=1):65535<n&&(n-=65536,o+=String.fromCharCode(n>>>10&1023|55296),n=56320|1023&n),o+=String.fromCharCode(n),i+=p}return this.ea=t,o},mq:function(t){if((t&=7)===Xf.c)for(;127<this.lc[this.ea++];);else if(t===Xf.b)this.ea=this.Ka()+this.ea;else if(t===Xf.a)this.ea+=4;else{if(t!==Xf.i)throw Error("Unimplemented type: "+t);this.ea+=8}}},Cf.default=Xf,Js.Dd=Js.Dd.default,Js.xf={},Js.xf.Bf=function(){},function(t){function e(t,e){this.layers=t.Ag(p,{},e)}function a(t,e){this.x=t,this.y=e}function o(t,e,o,i,r){this.properties={},this.extent=o,this.type=0,this.Cc=t,this.Ef=-1,this.ne=i,this.pe=r,t.Ag(n,this,e)}function n(t,e,o){if(1==t)e.id=o.Ka();else if(2==t)for(t=o.Ka()+o.ea;o.ea<t;){var i=e.ne[o.Ka()],r=e.pe[o.Ka()];e.properties[i]=r}else 3==t?e.type=o.Ka():4==t&&(e.Ef=o.ea)}function i(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this.Cc=t,this.ne=[],this.pe=[],this.me=[],t.Ag(r,this,e),this.length=this.me.length}function r(t,e,o){15===t?e.version=o.Ka():1===t?e.name=o.Gg():5===t?e.extent=o.Ka():2===t?e.me.push(o.ea):3===t?e.ne.push(o.Gg()):4===t&&e.pe.push(function(t){for(var e=null,o=t.Ka()+t.ea;t.ea<o;)e=1==(e=t.Ka()>>3)?t.Gg():2===e?t.yp():3===e?t.up():4===e?t.Kp():5===e?t.Ka():6===e?t.ce():7===e?t.sp():null;return e}(o))}function p(t,e,o){3===t&&((t=new s(o,o.Ka()+o.ea)).length&&(e[t.name]=t))}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone().Yj(t)},rotate:function(t){return this.clone().hk(t)},round:function(){return this.clone().ik()},angle:function(){return Math.atan2(this.y,this.x)},Yj:function(t){return this.x+=t.x,this.y+=t.y,this},hk:function(t){var e=Math.cos(t),o=(t=Math.sin(t))*this.x+e*this.y;return this.x=e*this.x-t*this.y,this.y=o,this},ik:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.Kq=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t},o.b=["Unknown","Point","LineString","Polygon"],o.prototype.Oh=function(){var t=this.Cc;t.ea=this.Ef;for(var e,o=t.Ka()+t.ea,i=1,r=0,n=0,p=0,s=[];t.ea<o;)if(r||(i=7&(r=t.Ka()),r>>=3),r--,1===i||2===i)n+=t.ce(),p+=t.ce(),1===i&&(e&&s.push(e),e=[]),e.push(new a(n,p));else{if(7!==i)throw Error("unknown command "+i);e&&e.push(e[0].clone())}return e&&s.push(e),s},o.prototype.bbox=function(){var t=this.Cc;t.ea=this.Ef;for(var e=t.Ka()+t.ea,o=1,i=0,r=0,n=0,p=1/0,s=-1/0,a=1/0,h=-1/0;t.ea<e;)if(i||(o=7&(i=t.Ka()),i>>=3),i--,1===o||2===o)(r+=t.ce())<p&&(p=r),s<r&&(s=r),(n+=t.ce())<a&&(a=n),h<n&&(h=n);else if(7!==o)throw Error("unknown command "+o);return[p,a,s,h]};var s=i;i.prototype.feature=function(t){if(t<0||t>=this.me.length)throw Error("feature index out of bounds");return this.Cc.ea=this.me[t],t=this.Cc.Ka()+this.Cc.ea,new o(this.Cc,t,this.extent,this.ne,this.pe)};var h=s;t.default={Bf:e,Wj:o,Xj:h},t.Bf=e,t.Wj=o,t.Xj=h}(Js.xf=Js.xf||{}),(t=Wf.prototype).get=function(t){return this.c[t]},t.Bb=function(){return this.f},t.G=function(){return this.a||(this.a="Point"===this.i?K(this.b):z(this.b,0,this.b.length,2)),this.a},t.Wn=function(){return this.g},t.ec=function(){return this.b},t.ga=Wf.prototype.ec,t.V=function(){return this},t.Xn=function(){return this.c},t.Vd=Wf.prototype.V,t.qa=function(){return 2},t.Lc=m,t.U=function(){return this.i},s(Zf,rl),(t=Zf.prototype).U=function(){return"arraybuffer"},t.Oa=function(t,e){var o=this.c;t=new Js.Dd(t),t=new Js.xf.Bf(t);var i,r=[],n=this.b;for(i in t.layers)if(!o||-1!=o.indexOf(i))for(var p=t.layers[i],s=0,a=p.length;s<a;++s){if(n===Wf){var h=void 0,l=p.feature(s),u=i,c=l.Oh(),y=[],f=[];Kf(c,f,y),1===(g=l.type)?h=1===c.length?"Point":"MultiPoint":2===g?h=1===c.length?"LineString":"MultiLineString":3===g&&(h="Polygon"),(c=l.properties)[this.i]=u,h=new this.b(h,f,y,c,l.id)}else{if(g=p.feature(s),f=i,y=e,h=new this.b,l=g.id,(u=g.properties)[this.i]=f,this.a&&h.Tc(this.a),f=void 0,0===(c=g.type))f=null;else{var g,d=[],v=[];Kf(g=g.Oh(),v,d),1===c?f=1===g.length?new lr(null):new vl(null):2===c?f=1===g.length?new cl(null):new fl(null):3===c&&(f=new Sr(null)),f.ba("XY",v,d)}y=sl(f,!1,pl(this,y)),h.Ra(y),h.jc(l),h.H(u)}r.push(h)}return r},t.kb=function(){return this.defaultDataProjection},t.mn=function(t){this.c=t},t.Tb=function(){},t.Sc=function(){},t.Bd=function(){},t.$c=function(){},t.Wb=function(){},s(zf,au);var Hf=[null],qf=_h(Hf,{nd:function(t,e){e[e.length-1].md.push(t.getAttribute("ref"))},tag:Yf}),Jf=_h(Hf,{node:function(t,e){var o=e[0],i=e[e.length-1],r=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.Sh[r]=n,gt((t=Qh({fe:{}},_f,t,e)).fe)||(sl(n=new lr(n),!1,o),(o=new Fh(n)).jc(r),o.H(t.fe),i.features.push(o))},way:function(t,e){var o=e[0],i=t.getAttribute("id");t=Qh({md:[],fe:{}},qf,t,e),e=e[e.length-1];for(var r=[],n=0,p=t.md.length;n<p;n++)c(r,e.Sh[t.md[n]]);t.md[0]==t.md[t.md.length-1]?(n=new Sr(null)).ba("XY",r,[r.length]):(n=new cl(null)).ba("XY",r),sl(n,!1,o),(o=new Fh(n)).jc(i),o.H(t.fe),e.features.push(o)}}),_f=_h(Hf,{tag:Yf});function $f(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Qf(){}function tg(){}zf.prototype.zc=function(t,e){return e=nl(this,t,e),"osm"==t.localName&&(t=Qh({Sh:{},features:[]},Jf,t,[e])).features?t.features:[]},zf.prototype.Vg=function(){},zf.prototype.Xb=function(){},zf.prototype.ie=function(){},Qf.prototype.read=function(t){return Uh(t)?this.a(t):Gh(t)?this.b(t):"string"==typeof t?(t=Bh(t),this.a(t)):null},s(tg,Qf),tg.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},tg.prototype.b=function(t){return(t=Qh({},og,t,[]))?t:null};var eg=[null,"http://www.opengis.net/ows/1.1"],og=_h(eg,{ServiceIdentification:Kh(function(t,e){return Qh({},fg,t,e)}),ServiceProvider:Kh(function(t,e){return Qh({},gg,t,e)}),OperationsMetadata:Kh(function(t,e){return Qh({},lg,t,e)})}),ig=_h(eg,{DeliveryPoint:Kh(wu),City:Kh(wu),AdministrativeArea:Kh(wu),PostalCode:Kh(wu),Country:Kh(wu),ElectronicMailAddress:Kh(wu)}),rg=_h(eg,{Value:Zh(function(t){return wu(t)})}),ng=_h(eg,{AllowedValues:Kh(function(t,e){return Qh({},rg,t,e)})}),pg=_h(eg,{Phone:Kh(function(t,e){return Qh({},ug,t,e)}),Address:Kh(function(t,e){return Qh({},ig,t,e)})}),sg=_h(eg,{HTTP:Kh(function(t,e){return Qh({},ag,t,e)})}),ag=_h(eg,{Get:Zh(function(t,e){var o=$f(t);if(o)return Qh({href:o},cg,t,e)}),Post:void 0}),hg=_h(eg,{DCP:Kh(function(t,e){return Qh({},sg,t,e)})}),lg=_h(eg,{Operation:function(t,e){var o=t.getAttribute("name");(t=Qh({},hg,t,e))&&(e[e.length-1][o]=t)}}),ug=_h(eg,{Voice:Kh(wu),Facsimile:Kh(wu)}),cg=_h(eg,{Constraint:Zh(function(t,e){var o=t.getAttribute("name");if(o)return Qh({name:o},ng,t,e)})}),yg=_h(eg,{IndividualName:Kh(wu),PositionName:Kh(wu),ContactInfo:Kh(function(t,e){return Qh({},pg,t,e)})}),fg=_h(eg,{Title:Kh(wu),ServiceTypeVersion:Kh(wu),ServiceType:Kh(wu)}),gg=_h(eg,{ProviderName:Kh(wu),ProviderSite:Kh($f),ServiceContact:Kh(function(t,e){return Qh({},yg,t,e)})});function dg(t,e,o,i){var r;r=void 0!==i?i:[];for(var n=i=0;n<e;){var p=t[n++];for(r[i++]=t[n++],r[i++]=p,p=2;p<o;++p)r[i++]=t[n++]}r.length=i}function vg(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.factor?t.factor:1e5,this.a=t.geometryLayout?t.geometryLayout:"XY"}function bg(t,e,o){var i,r,n=Array(e);for(i=0;i<e;++i)n[i]=0;var p=0;for(r=t.length;p<r;)for(i=0;i<e;++i,++p){var s=t[p],a=s-n[i];n[i]=s,t[p]=a}return wg(t,o||1e5)}function mg(t,e,o){var i,r,n=Array(e);for(i=0;i<e;++i)n[i]=0;for(t=xg(t,o||1e5),o=0,r=t.length;o<r;)for(i=0;i<e;++i,++o)n[i]+=t[o],t[o]=n[i];return t}function wg(t,e){var o;e=e||1e5;var i=0;for(o=t.length;i<o;++i)t[i]=Math.round(t[i]*e);for(e=0,i=t.length;e<i;++e)o=t[e],t[e]=o<0?~(o<<1):o<<1;for(e="",i=0,o=t.length;i<o;++i){for(var r,n=t[i],p="";32<=n;)r=63+(32|31&n),p+=String.fromCharCode(r),n>>=5;e+=p+=String.fromCharCode(n+63)}return e}function xg(t,e){e=e||1e5;var o,i=[],r=0,n=0,p=0;for(o=t.length;p<o;++p){var s=t.charCodeAt(p)-63;r=r|(31&s)<<n;s<32?(i.push(r),n=r=0):n+=5}for(t=0,r=i.length;t<r;++t)n=i[t],i[t]=1&n?~(n>>1):n>>1;for(t=0,r=i.length;t<r;++t)i[t]/=e;return i}function Sg(t){t=t||{},rl.call(this),this.a=t.layerName,this.b=t.layers?t.layers:null,this.defaultDataProjection=Wt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326")}function Mg(t,e){var o,i,r=[],n=0;for(i=t.length;n<i;++n){var p=t[n];0<n&&r.pop(),o=0<=p?e[p]:e[~p].slice().reverse(),r.push.apply(r,o)}for(t=0,e=r.length;t<e;++t)r[t]=r[t].slice();return r}function Pg(t,e,o,i,r,n,p){var s,a=[],h=0;for(s=(t=t.geometries).length;h<s;++h)a[h]=Ag(t[h],e,o,i,r,n,p);return a}function Ag(t,e,o,i,r,n,p){var s=t.type,a=Tg[s];return o="Point"===s||"MultiPoint"===s?a(t,o,i):a(t,e),(e=new Fh).Ra(sl(o,!1,p)),void 0!==t.id&&e.jc(t.id),t=t.properties,r&&((t=t||{})[r]=n),t&&e.H(t),e}function Eg(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}s(vg,Ec),(t=vg.prototype).ae=function(t,e){return new Fh(t=this.wd(t,e))},t.zg=function(t,e){return[this.ae(t,e)]},t.wd=function(t,e){var o=Ki(this.a);return dg(t=mg(t,o,this.b),t.length,o,t),sl(new cl(o=rr(t,0,t.length,o),this.a),!1,pl(this,e))},t.ge=function(t,e){return(t=t.V())?this.Cd(t,e):(R(!1,40),"")},t.Wg=function(t,e){return this.ge(t[0],e)},t.Cd=function(t,e){return e=(t=sl(t,!0,pl(this,e))).ga(),t=t.qa(),dg(e,e.length,t,e),bg(e,t,this.b)},s(Sg,al),Sg.prototype.yg=function(t,e){if("Topology"!=t.type)return[];var o=null,i=null;if(t.transform){var r=t.transform;o=r.scale,i=r.translate}var n=t.arcs;if(r){r=o;var p,s=i,a=0;for(p=n.length;a<p;++a){var h,l=n[a],u=r,c=s,y=0,f=0,g=0;for(h=l.length;g<h;++g){var d=l[g];y+=d[0],f+=d[1],d[0]=y,d[1]=f,Eg(d,u,c)}}}r=[],t=t.objects;var v;s=this.a;for(v in t)this.b&&-1==this.b.indexOf(v)||("GeometryCollection"===t[v].type?(a=t[v],r.push.apply(r,Pg(a,n,o,i,s,v,e))):(a=t[v],r.push(Ag(a,n,o,i,s,v,e))));return r},Sg.prototype.Fg=function(){return this.defaultDataProjection};var Tg={Point:function(t,e,o){return t=t.coordinates,e&&o&&Eg(t,e,o),new lr(t)},LineString:function(t,e){return new cl(t=Mg(t.arcs,e))},Polygon:function(t,e){var o,i=[],r=0;for(o=t.arcs.length;r<o;++r)i[r]=Mg(t.arcs[r],e);return new Sr(i)},MultiPoint:function(t,e,o){var i;if(t=t.coordinates,e&&o){var r=0;for(i=t.length;r<i;++r)Eg(t[r],e,o)}return new vl(t)},MultiLineString:function(t,e){var o,i=[],r=0;for(o=t.arcs.length;r<o;++r)i[r]=Mg(t.arcs[r],e);return new fl(i)},MultiPolygon:function(t,e){var o,i,r=[],n=0;for(i=t.arcs.length;n<i;++n){var p=t.arcs[n],s=[],a=0;for(o=p.length;a<o;++a)s[a]=Mg(p[a],e);r[n]=s}return new bl(r)}};function jg(t){t=t||{},this.c=t.featureType,this.a=t.featureNS,this.b=t.gmlFormat?t.gmlFormat:new Au,this.o=t.schemaLocation?t.schemaLocation:Cg["1.1.0"],au.call(this)}(t=Sg.prototype).Zc=function(){},t.he=function(){},t.je=function(){},t.Cg=function(){},t.Rc=function(){},s(jg,au);var Cg={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"};function Lg(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE)return Ig(t,e)}jg.prototype.zc=function(t,e){var o={featureType:this.c,featureNS:this.a};return ct(o,nl(this,t,e||{})),e=[o],this.b.b["http://www.opengis.net/gml"].featureMember=Vh(uu.prototype.be),(t=Qh([],this.b.b,t,e,this.b))||(t=[]),t},jg.prototype.j=function(t){return Uh(t)?Og(t):Gh(t)?Qh({},Dg,t,[]):"string"==typeof t?Og(t=Bh(t)):void 0},jg.prototype.g=function(t){return Uh(t)?Lg(this,t):Gh(t)?Ig(this,t):"string"==typeof t?Lg(this,t=Bh(t)):void 0};var Rg={"http://www.opengis.net/gml":{boundedBy:Kh(uu.prototype.gf,"bounds")}};function Ig(t,e){var o={},i=mu(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,Qh(o,Rg,e,[],t.b)}var Ng={"http://www.opengis.net/wfs":{totalInserted:Kh(bu),totalUpdated:Kh(bu),totalDeleted:Kh(bu)}},Fg={"http://www.opengis.net/ogc":{FeatureId:Vh(function(t){return t.getAttribute("fid")})}},kg={"http://www.opengis.net/wfs":{Feature:function(t,e){$h(Fg,t,e)}}},Dg={"http://www.opengis.net/wfs":{TransactionSummary:Kh(function(t,e){return Qh({},Ng,t,e)},"transactionSummary"),InsertResults:Kh(function(t,e){return Qh([],kg,t,e)},"insertIds")}};function Og(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return Qh({},Dg,t,[])}var Ug={"http://www.opengis.net/wfs":{PropertyName:zh(Pu)}};function Gg(t,e){var o=Dh("http://www.opengis.net/ogc","Filter"),i=Dh("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function Bg(t,e){return t=(t||"feature")+":",e.indexOf(t)?t+e:e}var Xg={"http://www.opengis.net/wfs":{Insert:zh(function(t,e,o){var i=(r=o[o.length-1]).gmlVersion,r=Dh(r.featureNS,r.featureType);if(t.appendChild(r),2===i){t=Fu.prototype,(i=e.a)&&r.setAttribute("fid",i);var n=(i=o[o.length-1]).featureNS,p=e.c;i.lb||(i.lb={},i.lb[n]={});var s=e.N();e=[];var a=[];for(l in s){var h=s[l];null!==h&&(e.push(l),a.push(h),l==p||h instanceof Xi?l in i.lb[n]||(i.lb[n][l]=zh(t.ai,t)):l in i.lb[n]||(i.lb[n][l]=zh(Pu)))}var l=ct({},i);l.node=r,el(l,i.lb,Hh(void 0,n),a,o,e)}else Au.prototype.ii(r,e,o)}),Update:zh(function(t,e,o){var i=o[o.length-1];R(void 0!==e.a,27);var r=i.featurePrefix,n=i.featureNS;if(t.setAttribute("typeName",Bg(r,i.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),void 0!==(r=e.a)){for(var p=[],s=0,a=(n=e.O()).length;s<a;s++){var h=e.get(n[s]);void 0!==h&&p.push({name:n[s],value:h})}el({gmlVersion:i.gmlVersion,node:t,hasZ:i.hasZ,srsName:i.srsName},Xg,Hh("Property"),p,o),Gg(t,r)}}),Delete:zh(function(t,e,o){o=o[o.length-1],R(void 0!==e.a,26);var i=o.featurePrefix,r=o.featureNS;t.setAttribute("typeName",Bg(i,o.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+i,r),void 0!==(e=e.a)&&Gg(t,e)}),Property:zh(function(t,e,o){var i=Dh("http://www.opengis.net/wfs","Name"),r=o[o.length-1].gmlVersion;t.appendChild(i),Pu(i,e.name),void 0!==e.value&&null!==e.value&&(i=Dh("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Xi?2===r?Fu.prototype.ai(i,e.value,o):Au.prototype.od(i,e.value,o):Pu(i,e.value))}),Native:zh(function(t,e){e.vq&&t.setAttribute("vendorId",e.vq),void 0!==e.Vp&&t.setAttribute("safeToIgnore",e.Vp),void 0!==e.value&&Pu(t,e.value)})}};function Vg(t,e,o){var i={node:t};e.b.forEach(function(t){el(i,Hg,Hh(t.kc),[t],o)})}function Wg(t,e){void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Kg(t,e.b),zg(t,""+e.i)}function Zg(t,e,o){Pu(t=Dh("http://www.opengis.net/ogc",t),o),e.appendChild(t)}function Kg(t,e){Zg("PropertyName",t,e)}function zg(t,e){Zg("Literal",t,e)}function Yg(t,e){var o=Dh("http://www.opengis.net/gml","TimeInstant");t.appendChild(o),t=Dh("http://www.opengis.net/gml","timePosition"),o.appendChild(t),Pu(t,e)}var Hg={"http://www.opengis.net/wfs":{Query:zh(function(t,e,o){var i=o[o.length-1],r=i.featurePrefix,n=i.featureNS,p=i.propertyNames,s=i.srsName;t.setAttribute("typeName",r?Bg(r,e):e),s&&t.setAttribute("srsName",s),n&&t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),(e=ct({},i)).node=t,el(e,Ug,Hh("PropertyName"),p,o),(i=i.filter)&&(p=Dh("http://www.opengis.net/ogc","Filter"),t.appendChild(p),el({node:p},Hg,Hh(i.kc),[i],o))})},"http://www.opengis.net/ogc":{During:zh(function(t,e){var o=Dh("http://www.opengis.net/fes","ValueReference");Pu(o,e.b),t.appendChild(o),o=Dh("http://www.opengis.net/gml","TimePeriod"),t.appendChild(o),t=Dh("http://www.opengis.net/gml","begin"),o.appendChild(t),Yg(t,e.a),t=Dh("http://www.opengis.net/gml","end"),o.appendChild(t),Yg(t,e.i)}),And:zh(Vg),Or:zh(Vg),Not:zh(function(t,e,o){e=e.condition,el({node:t},Hg,Hh(e.kc),[e],o)}),BBOX:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.extent,o)}),Intersects:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.geometry,o)}),Within:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.geometry,o)}),PropertyIsEqualTo:zh(Wg),PropertyIsNotEqualTo:zh(Wg),PropertyIsLessThan:zh(Wg),PropertyIsLessThanOrEqualTo:zh(Wg),PropertyIsGreaterThan:zh(Wg),PropertyIsGreaterThanOrEqualTo:zh(Wg),PropertyIsNull:zh(function(t,e){Kg(t,e.b)}),PropertyIsBetween:zh(function(t,e){Kg(t,e.b);var o=Dh("http://www.opengis.net/ogc","LowerBoundary");t.appendChild(o),zg(o,""+e.a),o=Dh("http://www.opengis.net/ogc","UpperBoundary"),t.appendChild(o),zg(o,""+e.i)}),PropertyIsLike:zh(function(t,e){t.setAttribute("wildCard",e.g),t.setAttribute("singleChar",e.f),t.setAttribute("escapeChar",e.i),void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Kg(t,e.b),zg(t,""+e.c)})}};function qg(t){t=t||{},rl.call(this),this.b=void 0!==t.splitCollection&&t.splitCollection}function Jg(t){return(t=t.X()).length?t.join(" "):""}function _g(t){for(var e=[],o=0,i=(t=t.X()).length;o<i;++o)e.push(t[o].join(" "));return e.join(",")}function $g(t){for(var e=[],o=0,i=(t=t.Sd()).length;o<i;++o)e.push("("+_g(t[o])+")");return e.join(",")}function Qg(t){var e=t.U(),o=(0,td[e])(t);e=e.toUpperCase();if(t instanceof Zi){var i="";"XYZ"!==(t=t.ja)&&"XYZM"!==t||(i+="Z"),"XYM"!==t&&"XYZM"!==t||(i+="M"),0<(t=i).length&&(e+=" "+t)}return o.length?e+"("+o+")":e+" EMPTY"}jg.prototype.l=function(t){var e=Dh("http://www.opengis.net/wfs","GetFeature");if(e.setAttribute("service","WFS"),e.setAttribute("version","1.1.0"),t){t.handle&&e.setAttribute("handle",t.handle),t.outputFormat&&e.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&e.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&e.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&e.setAttribute("startIndex",t.startIndex),void 0!==t.count&&e.setAttribute("count",t.count);var o=t.filter;if(t.bbox){R(t.geometryName,12);var i=$l(t.geometryName,t.bbox,t.srsName);o=o?_l(o,i):i}}return e.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.o),o={node:e,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.a,featurePrefix:t.featurePrefix,geometryName:t.geometryName,filter:o,propertyNames:t.propertyNames?t.propertyNames:[]},R(Array.isArray(t.featureTypes),11),t=t.featureTypes,(i=ct({},(o=[o])[o.length-1])).node=e,el(i,Hg,Hh("Query"),t,o),e},jg.prototype.v=function(t,e,o,i){var r=[],n=Dh("http://www.opengis.net/wfs","Transaction"),p=i.version?i.version:"1.1.0",s="1.0.0"===p?2:3;if(n.setAttribute("service","WFS"),n.setAttribute("version",p),i){var a=i.gmlOptions?i.gmlOptions:{};i.handle&&n.setAttribute("handle",i.handle)}return n.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",Cg[p]),t&&(p={node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,hasZ:i.hasZ,srsName:i.srsName},ct(p,a),el(p,Xg,Hh("Insert"),t,r)),e&&(p={node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,hasZ:i.hasZ,srsName:i.srsName},ct(p,a),el(p,Xg,Hh("Update"),e,r)),o&&el({node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,srsName:i.srsName},Xg,Hh("Delete"),o,r),i.nativeElements&&el({node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,srsName:i.srsName},Xg,Hh("Native"),i.nativeElements,r),n},jg.prototype.Eg=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.kf(t);return null},jg.prototype.kf=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.gf(t,e),Wt(e.pop().srsName)}return null},s(qg,Ec);var td={Point:Jg,LineString:_g,Polygon:$g,MultiPoint:function(t){for(var e=[],o=0,i=(t=t.Zd()).length;o<i;++o)e.push("("+Jg(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,i=(t=t.gd()).length;o<i;++o)e.push("("+_g(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,i=(t=t.Td()).length;o<i;++o)e.push("("+$g(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,i=(t=t.Vf()).length;o<i;++o)e.push(Qg(t[o]));return e.join(",")}};function ed(t){this.a=t,this.b=-1}function od(t){this.i=t,this.a="XY"}function id(t){t.b=function t(e){var o=e.a.charAt(++e.b),i={position:e.b,value:o};if("("==o)i.type=2;else if(","==o)i.type=5;else if(")"==o)i.type=3;else if("0"<=o&&o<="9"||"."==o||"-"==o){i.type=4,o=e.b;var r=!1,n=!1;do{"."==p?r=!0:"e"!=p&&"E"!=p||(n=!0);var p=e.a.charAt(++e.b)}while("0"<=p&&p<="9"||"."==p&&(void 0===r||!r)||!n&&("e"==p||"E"==p)||n&&("-"==p||"+"==p));e=parseFloat(e.a.substring(o,e.b--)),i.value=e}else if("a"<=o&&o<="z"||"A"<=o&&o<="Z"){for(i.type=1,o=e.b;"a"<=(p=e.a.charAt(++e.b))&&p<="z"||"A"<=p&&p<="Z";);e=e.a.substring(o,e.b--).toUpperCase(),i.value=e}else{if(" "==o||"\t"==o||"\r"==o||"\n"==o)return t(e);if(""!==o)throw Error("Unexpected character: "+o);i.type=6}return i}(t.i)}function rd(t,e){return(e=t.b.type==e)&&id(t),e}function nd(t){for(var e=[],o=t.a.length,i=0;i<o;++i){var r=t.b;if(!rd(t,4))break;e.push(r.value)}if(e.length==o)return e;throw Error(hd(t))}function pd(t){for(var e=[nd(t)];rd(t,5);)e.push(nd(t));return e}function sd(t){for(var e=[t.sg()];rd(t,5);)e.push(t.sg());return e}function ad(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&id(t),e}function hd(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.i.a+"`"}(t=qg.prototype).ae=function(t,e){return(t=this.wd(t,e))?((e=new Fh).Ra(t),e):null},t.zg=function(t,e){var o=[];t=this.wd(t,e),e=[];for(var i=0,r=(o=this.b&&"GeometryCollection"==t.U()?t.a:[t]).length;i<r;++i)(t=new Fh).Ra(o[i]),e.push(t);return e},t.wd=function(t,e){return id(t=new od(new ed(t))),(t=function t(e){var o=e.b;if(rd(e,1)){var o=o.value,i="XY",r=e.b;if(1==e.b.type&&("Z"===(r=r.value)?i="XYZ":"M"===r?i="XYM":"ZM"===r&&(i="XYZM"),"XY"!==i&&id(e)),e.a=i,"GEOMETRYCOLLECTION"==o){t:{if(rd(e,2)){for(o=[];o.push(t(e)),rd(e,5););if(rd(e,3)){e=o;break t}}else if(ad(e)){e=[];break t}throw Error(hd(e))}return new Ql(e)}if(r=ud[o],i=ld[o],!r||!i)throw Error("Invalid geometry type: "+o);return o=r.call(e),new i(o,e.a)}throw Error(hd(e))}(t))?sl(t,!1,e):null},t.ge=function(t,e){return(t=t.V())?this.Cd(t,e):""},t.Wg=function(t,e){if(1==t.length)return this.ge(t[0],e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(t[i].V());return t=new Ql(o),this.Cd(t,e)},t.Cd=function(t,e){return Qg(sl(t,!0,e))},(t=od.prototype).tg=function(){if(rd(this,2)){var t=nd(this);if(rd(this,3))return t}else if(ad(this))return null;throw Error(hd(this))},t.sg=function(){if(rd(this,2)){var t=pd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.ug=function(){if(rd(this,2)){var t=sd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.fp=function(){if(rd(this,2)){var t;if(2==this.b.type)for(t=[this.tg()];rd(this,5);)t.push(this.tg());else t=pd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.ep=function(){if(rd(this,2)){var t=sd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.gp=function(){if(rd(this,2)){for(var t=[this.ug()];rd(this,5);)t.push(this.ug());if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))};var ld={POINT:lr,LINESTRING:cl,POLYGON:Sr,MULTIPOINT:vl,MULTILINESTRING:fl,MULTIPOLYGON:bl},ud={POINT:od.prototype.tg,LINESTRING:od.prototype.sg,POLYGON:od.prototype.ug,MULTIPOINT:od.prototype.fp,MULTILINESTRING:od.prototype.ep,MULTIPOLYGON:od.prototype.gp};function cd(){this.version=void 0}function yd(t,e){return Qh({},Nd,t,e)}function fd(t,e){return Qh({},Cd,t,e)}function gd(t,e){if(e=yd(t,e))return t=[mu(t.getAttribute("width")),mu(t.getAttribute("height"))],e.size=t,e}function dd(t,e){return Qh([],Fd,t,e)}s(cd,Qf),cd.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},cd.prototype.b=function(t){return this.version=t.getAttribute("version").trim(),(t=Qh({version:this.version},bd,t,[]))?t:null};var vd=[null,"http://www.opengis.net/wms"],bd=_h(vd,{Service:Kh(function(t,e){return Qh({},wd,t,e)}),Capability:Kh(function(t,e){return Qh({},md,t,e)})}),md=_h(vd,{Request:Kh(function(t,e){return Qh({},jd,t,e)}),Exception:Kh(function(t,e){return Qh([],Pd,t,e)}),Layer:Kh(function(t,e){return Qh({},Ad,t,e)})}),wd=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),KeywordList:Kh(dd),OnlineResource:Kh($f),ContactInformation:Kh(function(t,e){return Qh({},xd,t,e)}),Fees:Kh(wu),AccessConstraints:Kh(wu),LayerLimit:Kh(bu),MaxWidth:Kh(bu),MaxHeight:Kh(bu)}),xd=_h(vd,{ContactPersonPrimary:Kh(function(t,e){return Qh({},Sd,t,e)}),ContactPosition:Kh(wu),ContactAddress:Kh(function(t,e){return Qh({},Md,t,e)}),ContactVoiceTelephone:Kh(wu),ContactFacsimileTelephone:Kh(wu),ContactElectronicMailAddress:Kh(wu)}),Sd=_h(vd,{ContactPerson:Kh(wu),ContactOrganization:Kh(wu)}),Md=_h(vd,{AddressType:Kh(wu),Address:Kh(wu),City:Kh(wu),StateOrProvince:Kh(wu),PostCode:Kh(wu),Country:Kh(wu)}),Pd=_h(vd,{Format:Vh(wu)}),Ad=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),KeywordList:Kh(dd),CRS:Zh(wu),EX_GeographicBoundingBox:Kh(function(t,e){if(i=Qh({},Td,t,e)){t=i.westBoundLongitude,e=i.southBoundLatitude;var o=i.eastBoundLongitude,i=i.northBoundLatitude;if(void 0!==t&&void 0!==e&&void 0!==o&&void 0!==i)return[t,e,o,i]}}),BoundingBox:Zh(function(t){var e=[vu(t.getAttribute("minx")),vu(t.getAttribute("miny")),vu(t.getAttribute("maxx")),vu(t.getAttribute("maxy"))],o=[vu(t.getAttribute("resx")),vu(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:Zh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),default:t.getAttribute("default"),multipleValues:fu(t.getAttribute("multipleValues")),nearestValue:fu(t.getAttribute("nearestValue")),current:fu(t.getAttribute("current")),values:wu(t)}}),Attribution:Kh(function(t,e){return Qh({},Ed,t,e)}),AuthorityURL:Zh(function(t,e){if(e=yd(t,e))return e.name=t.getAttribute("name"),e}),Identifier:Zh(wu),MetadataURL:Zh(function(t,e){if(e=yd(t,e))return e.type=t.getAttribute("type"),e}),DataURL:Zh(yd),FeatureListURL:Zh(yd),Style:Zh(function(t,e){return Qh({},Id,t,e)}),MinScaleDenominator:Kh(du),MaxScaleDenominator:Kh(du),Layer:Zh(function(t,e){var o=e[e.length-1],i=Qh({},Ad,t,e);if(i)return void 0===(e=fu(t.getAttribute("queryable")))&&(e=o.queryable),i.queryable=void 0!==e&&e,void 0===(e=mu(t.getAttribute("cascaded")))&&(e=o.cascaded),i.cascaded=e,void 0===(e=fu(t.getAttribute("opaque")))&&(e=o.opaque),i.opaque=void 0!==e&&e,void 0===(e=fu(t.getAttribute("noSubsets")))&&(e=o.noSubsets),i.noSubsets=void 0!==e&&e,(e=vu(t.getAttribute("fixedWidth")))||(e=o.fixedWidth),i.fixedWidth=e,(t=vu(t.getAttribute("fixedHeight")))||(t=o.fixedHeight),i.fixedHeight=t,["Style","CRS","AuthorityURL"].forEach(function(t){t in o&&(i[t]=(i[t]||[]).concat(o[t]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(t){t in i||(i[t]=o[t])}),i})}),Ed=_h(vd,{Title:Kh(wu),OnlineResource:Kh($f),LogoURL:Kh(gd)}),Td=_h(vd,{westBoundLongitude:Kh(du),eastBoundLongitude:Kh(du),southBoundLatitude:Kh(du),northBoundLatitude:Kh(du)}),jd=_h(vd,{GetCapabilities:Kh(fd),GetMap:Kh(fd),GetFeatureInfo:Kh(fd)}),Cd=_h(vd,{Format:Zh(wu),DCPType:Zh(function(t,e){return Qh({},Ld,t,e)})}),Ld=_h(vd,{HTTP:Kh(function(t,e){return Qh({},Rd,t,e)})}),Rd=_h(vd,{Get:Kh(yd),Post:Kh(yd)}),Id=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),LegendURL:Zh(gd),StyleSheetURL:Kh(yd),StyleURL:Kh(yd)}),Nd=_h(vd,{Format:Kh(wu),OnlineResource:Kh($f)}),Fd=_h(vd,{Keyword:Vh(wu)});function kd(t){t=t||{},this.a="http://mapserver.gis.umn.edu/mapserver",this.b=new Fu,this.c=t.layers?t.layers:null,au.call(this)}function Dd(){this.i=new tg}function Od(t){var e=wu(t).split(" ");if(e&&2==e.length&&(t=+e[0],e=+e[1],!isNaN(t)&&!isNaN(e)))return[t,e]}s(kd,au),kd.prototype.zc=function(t,e){var o={};e&&ct(o,nl(this,t,e)),o=[o],t.setAttribute("namespaceURI",this.a);var i=t.localName;if(e=[],t.childNodes.length){if("msGMLOutput"==i)for(var r=0,n=t.childNodes.length;r<n;r++){var p=t.childNodes[r];if(p.nodeType===Node.ELEMENT_NODE){var s=o[0],a=p.localName.replace("_layer","");if(!this.c||d(this.c,a)){a+="_feature",s.featureType=a,s.featureNS=this.a;var h={};h[a]=Vh(this.b.wg,this.b),s=_h([s.featureNS,null],h),p.setAttribute("namespaceURI",this.a),(p=Qh([],s,p,o,this.b))&&c(e,p)}}}"FeatureCollection"==i&&(t=Qh([],this.b.b,t,[{}],this.b))&&(e=t)}return e},kd.prototype.Vg=function(){},kd.prototype.Xb=function(){},kd.prototype.ie=function(){},s(Dd,Qf),Dd.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},Dd.prototype.b=function(t){var e=t.getAttribute("version").trim(),o=this.i.b(t);return o?(o.version=e,(o=Qh(o,Bd,t,[]))?o:null):null};var Ud=[null,"http://www.opengis.net/wmts/1.0"],Gd=[null,"http://www.opengis.net/ows/1.1"],Bd=_h(Ud,{Contents:Kh(function(t,e){return Qh({},Xd,t,e)})}),Xd=_h(Ud,{Layer:Zh(function(t,e){return Qh({},Vd,t,e)}),TileMatrixSet:Zh(function(t,e){return Qh({},qd,t,e)})}),Vd=_h(Ud,{Style:Zh(function(t,e){if(e=Qh({},Wd,t,e))return t="true"===t.getAttribute("isDefault"),e.isDefault=t,e}),Format:Zh(wu),TileMatrixSetLink:Zh(function(t,e){return Qh({},Zd,t,e)}),Dimension:Zh(function(t,e){return Qh({},Yd,t,e)}),ResourceURL:Zh(function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var i={};return e&&(i.format=e),o&&(i.template=o),t&&(i.resourceType=t),i})},_h(Gd,{Title:Kh(wu),Abstract:Kh(wu),WGS84BoundingBox:Kh(function(t,e){if(2==(t=Qh([],Hd,t,e)).length)return E(t)}),Identifier:Kh(wu)})),Wd=_h(Ud,{LegendURL:Zh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=$f(t),e})},_h(Gd,{Title:Kh(wu),Identifier:Kh(wu)})),Zd=_h(Ud,{TileMatrixSet:Kh(wu),TileMatrixSetLimits:Kh(function(t,e){return Qh([],Kd,t,e)})}),Kd=_h(Ud,{TileMatrixLimits:Vh(function(t,e){return Qh({},zd,t,e)})}),zd=_h(Ud,{TileMatrix:Kh(wu),MinTileRow:Kh(bu),MaxTileRow:Kh(bu),MinTileCol:Kh(bu),MaxTileCol:Kh(bu)}),Yd=_h(Ud,{Default:Kh(wu),Value:Zh(wu)},_h(Gd,{Identifier:Kh(wu)})),Hd=_h(Gd,{LowerCorner:Vh(Od),UpperCorner:Vh(Od)}),qd=_h(Ud,{WellKnownScaleSet:Kh(wu),TileMatrix:Zh(function(t,e){return Qh({},Jd,t,e)})},_h(Gd,{SupportedCRS:Kh(wu),Identifier:Kh(wu)})),Jd=_h(Ud,{TopLeftCorner:Kh(Od),ScaleDenominator:Kh(du),TileWidth:Kh(bu),TileHeight:Kh(bu),MatrixWidth:Kh(bu),MatrixHeight:Kh(bu)},_h(Gd,{Identifier:Kh(wu)}));function _d(t){Re.call(this),t=t||{},this.a=null,this.f=Yt,this.c=void 0,me(this,Ne("projection"),this.Am,this),me(this,Ne("tracking"),this.Bm,this),void 0!==t.projection&&this.Wh(t.projection),void 0!==t.trackingOptions&&this.wj(t.trackingOptions),this.Ke(void 0!==t.tracking&&t.tracking)}function $d(t,e,o){Zi.call(this),this.Ng(t,e||0,o)}function Qd(t){var e=t.A[t.a]-t.A[0];return e*e+(t=t.A[t.a+1]-t.A[1])*t}function tv(t,e,o){for(var i,r,n,p,s,a=[],h=t(0),l=t(1),u=e(h),c=e(l),y=[l,h],f=[c,u],g=[1,0],d={},v=1e5;0<--v&&0<g.length;)n=g.pop(),h=y.pop(),u=f.pop(),(l=n.toString())in d||(a.push(u[0],u[1]),d[l]=!0),p=g.pop(),l=y.pop(),c=f.pop(),x((r=e(i=t(s=(n+p)/2)))[0],r[1],u[0],u[1],c[0],c[1])<o?(a.push(c[0],c[1]),d[l=p.toString()]=!0):(g.push(p,s,s,n),f.push(c,r,r,u),y.push(l,i,i,h));return a}function ev(t){t=t||{},this.j=this.v=null,this.f=this.o=1/0,this.g=this.l=-1/0,this.ra=this.oa=1/0,this.R=this.I=-1/0,this.Jb=void 0!==t.targetSize?t.targetSize:100,this.fb=void 0!==t.maxLines?t.maxLines:100,this.i=[],this.c=[],this.pa=void 0!==t.strokeStyle?t.strokeStyle:ov,this.D=this.u=void 0,this.a=this.b=this.S=null,1==t.showLabels&&(this.na=t.lonLabelFormatter?t.lonLabelFormatter:Li.bind(this,"EW"),this.Ua=t.latLabelFormatter?t.latLabelFormatter:Li.bind(this,"NS"),this.fa=null==t.lonLabelPosition?0:t.lonLabelPosition,this.T=null==t.latLabelPosition?1:t.latLabelPosition,this.B=void 0!==t.lonLabelStyle?t.lonLabelStyle:new _c({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new Th({color:"rgba(0,0,0,1)"}),stroke:new Gs({color:"rgba(255,255,255,1)",width:3})}),this.C=void 0!==t.latLabelStyle?t.latLabelStyle:new _c({font:"12px Calibri,sans-serif",textAlign:"end",fill:new Th({color:"rgba(0,0,0,1)"}),stroke:new Gs({color:"rgba(255,255,255,1)",width:3})}),this.b=[],this.a=[]),this.setMap(void 0!==t.map?t.map:null)}s(_d,Re),(t=_d.prototype).ka=function(){this.Ke(!1),Re.prototype.ka.call(this)},t.Am=function(){var t=this.Uh();t&&(this.f=zt(Wt("EPSG:4326"),t),this.a&&this.set("position",this.f(this.a)))},t.Bm=function(){if(Uo){var t=this.Vh();t&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.np.bind(this),this.op.bind(this),this.Gh()):t||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}},t.np=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:S(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude];var e=this.f(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),(t=Pr(jt,this.a,t.accuracy)).Dc(this.f),this.set("accuracyGeometry",t),this.s()},t.op=function(t){t.type="error",this.Ke(!1),this.b(t)},t.Dk=function(){return this.get("accuracy")},t.Ek=function(){return this.get("accuracyGeometry")||null},t.Gk=function(){return this.get("altitude")},t.Hk=function(){return this.get("altitudeAccuracy")},t.ym=function(){return this.get("heading")},t.zm=function(){return this.get("position")},t.Uh=function(){return this.get("projection")},t.ll=function(){return this.get("speed")},t.Vh=function(){return this.get("tracking")},t.Gh=function(){return this.get("trackingOptions")},t.Wh=function(t){this.set("projection",Wt(t))},t.Ke=function(t){this.set("tracking",t)},t.wj=function(t){this.set("trackingOptions",t)},s($d,Zi),(t=$d.prototype).clone=function(){var t=new $d(null);return zi(t,this.ja,this.A.slice()),t.s(),t},t.Kb=function(t,e,o,i){var r=this.A;t-=r[0];var n=e-r[1];if((e=t*t+n*n)<i){if(e)for(i=this.pd()/Math.sqrt(e),o[0]=r[0]+i*t,o[1]=r[1]+i*n,i=2;i<this.a;++i)o[i]=r[i];else for(i=0;i<this.a;++i)o[i]=r[i];return o.length=this.a,e}return i},t.Mc=function(t,e){var o=this.A;return(t-=o[0])*t+(e-=o[1])*e<=Qd(this)},t.wa=function(){return this.A.slice(0,this.a)},t.se=function(t){var e=this.A,o=e[this.a]-e[0];return W(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},t.pd=function(){return Math.sqrt(Qd(this))},t.U=function(){return"Circle"},t.Xa=function(t){var e=this.G();return!!at(t,e)&&(e=this.wa(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||_(t,this.sb,this))},t.ob=function(t){var e,o=this.a,i=t.slice();for(i[o]=i[0]+(this.A[o]-this.A[0]),e=1;e<o;++e)i[o+e]=t[e];zi(this,this.ja,i),this.s()},t.Ng=function(t,e,o){if(t){var i;for(Yi(this,o,t,0),this.A||(this.A=[]),t=er(o=this.A,t),o[t++]=o[0]+e,e=1,i=this.a;e<i;++e)o[t++]=o[e];o.length=t}else zi(this,"XY",null);this.s()},t.X=function(){},t.ma=function(){},t.Uc=function(t){this.A[this.a]=this.A[0]+t,this.s()};var ov=new Gs({color:"rgba(0,0,0,0.2)"}),iv=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function rv(t,e,o,i,r,n,p){var s=p;return o=function(e,o,i,t,r){return tv(function(t){return[e,o+(i-o)*t]},Kt(Wt("EPSG:4326"),t),r)}(e,o,i,t.j,r),(s=void 0!==t.i[s]?t.i[s]:new cl(null)).ba("XY",o),at(s.G(),n)&&(t.b&&(o=p,n=[(i=s.ga())[0],w(n[1]+Math.abs(n[1]-n[3])*t.fa,Math.max(n[1],i[1]),Math.min(n[3],i[i.length-1]))],(o=t.b[o]?t.b[o].Qd:new lr(null)).ma(n),t.b[p]={Qd:o,text:t.na(e)}),t.i[p++]=s),p}function nv(t,e,o,i,r){var n=r;if(o=function(e,o,i,t,r){return tv(function(t){return[o+(i-o)*t,e]},Kt(Wt("EPSG:4326"),t),r)}(e,t.g,t.f,t.j,o),(n=void 0!==t.c[n]?t.c[n]:new cl(null)).ba("XY",o),at(n.G(),i)){if(t.a){o=r;var p=n.ga();i=[w(i[0]+Math.abs(i[0]-i[2])*t.T,Math.max(i[0],p[0]),Math.min(i[2],p[p.length-2])),p[1]],(o=t.a[o]?t.a[o].Qd:new lr(null)).ma(i),t.a[r]={Qd:o,text:t.Ua(e)}}t.c[r++]=n}return r}function pv(t,e,o,i,r){je.call(this),this.f=r,this.extent=t,this.a=o,this.resolution=e,this.state=i}function sv(t,e,o,i,r,n,p){pv.call(this,t,e,o,0,i),this.j=r,this.M=new Image,null!==n&&(this.M.crossOrigin=n),this.c={},this.i=null,this.state=0,this.g=p}function av(t,e,o,i,r,n){this.c=n||null,pv.call(this,t,e,o,n?0:2,i),this.i=r}function hv(t,e){je.call(this),this.ta=t,this.state=e,this.i=null,this.key=""}function lv(t){if(!t.i)return t;var e=t.i;do{if(2==e.getState())return e;e=e.i}while(e);return t}function uv(t,e){t.state=e,t.s()}function cv(t,e,o,i,r){hv.call(this,t,e),this.g=o,this.M=new Image,null!==i&&(this.M.crossOrigin=i),this.c=null,this.j=r}function yv(t){t.c.forEach(Se),t.c=null}(t=ev.prototype).Cm=function(){return this.v},t.al=function(){return this.i},t.hl=function(){return this.c},t.Kh=function(t){var e=t.vectorContext,o=t.frameState,i=o.extent,r=(t=o.viewState).center,n=t.projection,p=t.resolution;if(t=p*p/(4*(t=o.pixelRatio)*t),!this.j||!Zt(this.j,n)){var s=Wt("EPSG:4326"),a=n.G(),h=n.g,l=Jt(h,s,n),u=h[2],c=h[1],y=h[0],f=l[3],g=l[2],d=l[1];l=l[0];this.o=h[3],this.f=u,this.l=c,this.g=y,this.oa=f,this.ra=g,this.I=d,this.R=l,this.u=Kt(s,n),this.D=Kt(n,s),this.S=this.D(et(a)),this.j=n}for(n.i&&(s=st(n=n.G()),(o=o.focus[0])<n[0]||o>n[2])&&(o=s*Math.ceil((n[0]-o)/s),i=[i[0]+o,i[1],i[2]+o,i[3]]),o=this.S[0],n=this.S[1],s=-1,h=Math.pow(this.Jb*p,2),u=[],c=[],p=0,a=iv.length;p<a&&(y=iv[p]/2,u[0]=o-y,u[1]=n-y,c[0]=o+y,c[1]=n+y,this.u(u,u),this.u(c,c),!((y=Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2))<=h));++p)s=iv[p];if(-1==(p=s))this.i.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{for(r=(o=this.D(r))[0],o=o[1],n=this.fb,h=(s=Jt(s=[Math.max(i[0],this.R),Math.max(i[1],this.I),Math.min(i[2],this.ra),Math.min(i[3],this.oa)],this.j,"EPSG:4326"))[3],c=s[1],a=rv(this,u=w(r=Math.floor(r/p)*p,this.g,this.f),c,h,t,i,0),s=0;u!=this.g&&s++<n;)a=rv(this,u=Math.max(u-p,this.g),c,h,t,i,a);for(u=w(r,this.g,this.f),s=0;u!=this.f&&s++<n;)a=rv(this,u=Math.min(u+p,this.f),c,h,t,i,a);for(this.i.length=a,this.b&&(this.b.length=a),a=nv(this,r=w(o=Math.floor(o/p)*p,this.l,this.o),t,i,0),s=0;r!=this.l&&s++<n;)a=nv(this,r=Math.max(r-p,this.l),t,i,a);for(r=w(o,this.l,this.o),s=0;r!=this.o&&s++<n;)a=nv(this,r=Math.min(r+p,this.o),t,i,a);this.c.length=a,this.a&&(this.a.length=a)}for(e.Ma(null,this.pa),t=0,r=this.i.length;t<r;++t)p=this.i[t],e.zb(p);for(t=0,r=this.c.length;t<r;++t)p=this.c[t],e.zb(p);if(this.b)for(t=0,r=this.b.length;t<r;++t)p=this.b[t],this.B.xd(p.text),e.Cb(this.B),e.zb(p.Qd);if(this.a)for(t=0,r=this.a.length;t<r;++t)p=this.a[t],this.C.xd(p.text),e.Cb(this.C),e.zb(p.Qd)},t.setMap=function(t){this.v&&(this.v.K("postcompose",this.Kh,this),this.v.render()),t&&(t.J("postcompose",this.Kh,this),t.render()),this.v=t},s(pv,je),pv.prototype.s=function(){this.b("change")},pv.prototype.G=function(){return this.extent},pv.prototype.getState=function(){return this.state},s(sv,pv),(t=sv.prototype).Y=function(t){return void 0===t?this.M:(t=G(t))in this.c?this.c[t]:(e=gt(this.c)?this.M:this.M.cloneNode(!1),this.c[t]=e);var e},t.Fm=function(){this.state=3,this.i.forEach(Se),this.i=null,this.s()},t.Gm=function(){void 0===this.resolution&&(this.resolution=it(this.extent)/this.M.height),this.state=2,this.i.forEach(Se),this.i=null,this.s()},t.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.i=[we(this.M,"error",this.Fm,this),we(this.M,"load",this.Gm,this)],this.g(this,this.j))},t.Og=function(t){this.M=t},s(av,pv),av.prototype.g=function(t){this.state=t?3:2,this.s()},av.prototype.load=function(){0==this.state&&(this.state=1,this.s(),this.c(this.g.bind(this)))},av.prototype.Y=function(){return this.i},s(hv,je),hv.prototype.s=function(){this.b("change")},hv.prototype.bb=function(){return this.key+"/"+this.ta},hv.prototype.f=function(){return this.ta},hv.prototype.getState=function(){return this.state},s(cv,hv),(t=cv.prototype).ka=function(){1==this.state&&yv(this),this.i&&Ae(this.i),this.state=5,this.s(),hv.prototype.ka.call(this)},t.Y=function(){return this.M},t.bb=function(){return this.g},t.Dm=function(){this.state=3,this.M=fv,yv(this),this.s()},t.Em=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4,yv(this),this.s()},t.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.c=[we(this.M,"error",this.Dm,this),we(this.M,"load",this.Em,this)],this.j(this,this.g))};var fv=new Image;function gv(t){t=t||{},Gr.call(this,{handleEvent:Gi}),this.g=t.formatConstructors?t.formatConstructors:[],this.o=t.projection?Wt(t.projection):null,this.a=null,this.target=t.target?t.target:null}function dv(t){var e,o=0;for(e=(t=t.dataTransfer.files).length;o<e;++o){var i=t.item(o),r=new FileReader;r.addEventListener("load",this.j.bind(this,i)),r.readAsText(i)}}function vv(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}function bv(t){var e=t.v;e&&(e=t.target?t.target:e.a,t.a=[me(e,"drop",dv,t),me(e,"dragenter",vv,t),me(e,"dragover",vv,t),me(e,"drop",vv,t)])}function mv(t){t.a&&(t.a.forEach(Se),t.a=null)}fv.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",s(gv,Gr),gv.prototype.j=function(t,e){e=e.target.result;var o=this.v,i=this.o;i=i||o.Z().v;var r,n=[],p=0;for(r=(o=this.g).length;p<r;++p){var s=new o[p],a={featureProjection:i};try{n=s.Oa(e,a)}catch(t){n=null}if(n&&0<n.length)break}this.b(new xv(wv,t,n,i))},gv.prototype.Ha=function(t){Gr.prototype.Ha.call(this,t),t?bv(this):mv(this)},gv.prototype.setMap=function(t){mv(this),Gr.prototype.setMap.call(this,t),this.c()&&bv(this)};var wv="addfeatures";function xv(t,e,o,i){Ee.call(this,t),this.features=o,this.file=e,this.projection=i}function Sv(t){t=t||{},tn.call(this,{handleDownEvent:Av,handleDragEvent:Mv,handleUpEvent:Pv}),this.l=t.condition?t.condition:Jr,this.a=this.g=void 0,this.j=0,this.u=void 0!==t.duration?t.duration:400}function Mv(t){if($r(t)){var e=t.map,o=e.Ob(),i=t.pixel;t=i[0]-o[0]/2,i=o[1]/2-i[1],o=Math.atan2(i,t),t=Math.sqrt(t*t+i*i),(e=e.Z()).g.rotation!==Pi&&void 0!==this.g&&(i=o-this.g,Br(e,e.Qa()-i)),this.g=o,void 0!==this.a&&(o=this.a*(e.Pa()/t),Vr(e,o)),void 0!==this.a&&(this.j=this.a/t),this.a=t}}function Pv(t){if(!$r(t))return!0;Dr(t=t.map.Z(),1,-1);var e=this.j-1,o=t.Qa();o=t.constrainRotation(o,0);Br(t,o,void 0,void 0);o=t.Pa();var i=this.u;o=t.constrainResolution(o,0,e);return Vr(t,o,void 0,i),this.j=0,!1}function Av(t){return!(!$r(t)||!this.l(t))&&(Dr(t.map.Z(),1,1),this.a=this.g=void 0,!0)}function Ev(t,e,o,i){this.fb=t,this.Ua=e,this.overlaps=i,this.c=0,this.resolution=o,this.ra=this.oa=null,this.a=[],this.coordinates=[],this.T=[1,0,0,1,0,0],this.b=[],this.B=null,this.fa=[1,0,0,1,0,0],this.na=[1,0,0,1,0,0]}function Tv(t,e,o,i,r,n,p){var s=t.coordinates.length,a=t.Sf();p&&(o+=r),p=[e[o],e[o+1]];var h,l=[NaN,NaN],u=!0;for(h=o+r;h<i;h+=r){l[0]=e[h],l[1]=e[h+1];var c=X(a,l);u=c!==y?(u&&(t.coordinates[s++]=p[0],t.coordinates[s++]=p[1]),t.coordinates[s++]=l[0],t.coordinates[s++]=l[1],!1):1!==c||(t.coordinates[s++]=l[0],t.coordinates[s++]=l[1],!1),p[0]=l[0],p[1]=l[1];var y=c}return(n&&u||h===o+r)&&(t.coordinates[s++]=p[0],t.coordinates[s++]=p[1]),s}function jv(t,e){t.oa=[0,e,0],t.a.push(t.oa),t.ra=[0,e,0],t.b.push(t.ra)}function Cv(t,e,o,i,r,n,p,s,a){if(t.B&&U(i,t.T))var h=t.B;else t.B||(t.B=[]),h=Vi(t.coordinates,0,t.coordinates.length,2,i,t.B),tp(t.T,i);i=!gt(n);for(var l,u,c,y,f,g=0,d=p.length,v=0,b=t.fa,m=t.na,w=0,x=0,S=t.a!=p||t.overlaps?0:200;g<d;){var M=p[g];switch(M[0]){case 0:v=M[1],i&&n[G(v).toString()]||!v.V()?g=M[2]:void 0===a||at(a,v.V().G())?++g:g=M[2]+1;break;case 1:S<w&&(t.Va(e,r),w=0),S<x&&(e.stroke(),x=0),w||x||(e.beginPath(),u=c=NaN),++g;break;case 2:l=h[v=M[1]],M=h[v+1],y=h[v+2]-l,v=h[v+3]-M,v=Math.sqrt(y*y+v*v),e.moveTo(l+v,M),e.arc(l,M,v,0,2*Math.PI,!0),++g;break;case 3:e.closePath(),++g;break;case 4:v=M[1],l=M[2];var P=M[3],A=M[4]*o,E=M[5]*o,T=M[6],j=M[7],C=M[8],L=M[9],R=M[10];y=M[11],f=M[12];var I=M[13],N=M[14];for(R&&(y+=r);v<l;v+=2){if(M=h[v]-A,R=h[v+1]-E,I&&(M=Math.round(M),R=Math.round(R)),1!=f||y){var F=M+A;np(b,F,k=R+E,f,f,y,-F,-k),e.setTransform.apply(e,b)}F=e.globalAlpha,1!=j&&(e.globalAlpha=F*j);var k=N+C>P.width?P.width-C:N,D=T+L>P.height?P.height-L:T;e.drawImage(P,C,L,k,D,M,R,k*o,D*o),1!=j&&(e.globalAlpha=F),1==f&&!y||e.setTransform.apply(e,m)}++g;break;case 5:for(v=M[1],l=M[2],E=M[3],T=M[4]*o,j=M[5]*o,y=M[6],f=M[7]*o,P=M[8],A=M[9],(R=M[10])&&(y+=r);v<l;v+=2){for(M=h[v]+T,R=h[v+1]+j,1==f&&!y||(np(b,M,R,f,f,y,-M,-R),e.setTransform.apply(e,b)),1<(L=(C=E.split("\n")).length)?R-=(L-1)/2*(I=Math.round(1.5*e.measureText("M").width)):I=0,N=0;N<L;N++)F=C[N],A&&e.strokeText(F,M,R),P&&e.fillText(F,M,R),R+=I;1==f&&!y||e.setTransform.apply(e,m)}++g;break;case 6:if(s&&(v=s(v=M[1])))return v;++g;break;case 7:S?w++:t.Va(e,r),++g;break;case 8:for(v=M[1],l=M[2],M=h[v],f=(R=h[v+1])+.5|0,(y=M+.5|0)===u&&f===c||(e.moveTo(M,R),u=y,c=f),v+=2;v<l;v+=2)y=(M=h[v])+.5|0,f=(R=h[v+1])+.5|0,v!=l-2&&y===u&&f===c||(e.lineTo(M,R),u=y,c=f);++g;break;case 9:t.R=M[2],w&&(t.Va(e,r),w=0,x&&(e.stroke(),x=0)),e.fillStyle=M[1],++g;break;case 10:v=void 0===M[8]||M[8];var O=M[9];l=M[2],x&&(e.stroke(),x=0),e.strokeStyle=M[1],e.lineWidth=v?l*o:l,e.lineCap=M[3],e.lineJoin=M[4],e.miterLimit=M[5],ko&&(l=M[6],y=M[7],v&&o!==O&&(l=l.map(function(t){return t*o/O}),y*=o/O,M[6]=l,M[7]=y,M[9]=o),e.lineDashOffset=y,e.setLineDash(l)),++g;break;case 11:e.font=M[1],e.textAlign=M[2],e.textBaseline=M[3],++g;break;case 12:S?x++:e.stroke(),++g;break;default:++g}}w&&t.Va(e,r),x&&e.stroke()}function Lv(t){var e=t.b;e.reverse();var o,i=e.length,r=-1;for(o=0;o<i;++o){var n=e[o],p=n[0];if(6==p)r=o;else if(0==p){for(n[2]=o,n=t.b,p=o;r<p;){var s=n[r];n[r]=n[p],n[p]=s,++r,--p}r=-1}}}function Rv(t,e){t.oa[2]=t.a.length,t.oa=null,t.ra[2]=t.b.length,t.ra=null,e=[6,e],t.a.push(e),t.b.push(e)}function Iv(t,e,o,i){Ev.call(this,t,e,o,i),this.M=this.I=null,this.C=this.D=this.S=this.u=this.v=this.l=this.o=this.j=this.g=this.f=this.i=void 0}function Nv(t,e,o,i){Ev.call(this,t,e,o,i),this.f=null,this.i={Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,eg:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Fv(t,e,o,i,r){var n=t.coordinates.length;return n=[8,n,e=Tv(t,e,o,i,r,!1,!1)],t.a.push(n),t.b.push(n),i}function kv(t){var e=t.i,o=e.strokeStyle,i=e.lineCap,r=e.lineDash,n=e.lineDashOffset,p=e.lineJoin,s=e.lineWidth,a=e.miterLimit;e.Md==o&&e.Gd==i&&U(e.Hd,r)&&e.Id==n&&e.Jd==p&&e.Kd==s&&e.Ld==a||(e.eg!=t.coordinates.length&&(t.a.push([12]),e.eg=t.coordinates.length),t.a.push([10,o,s,i,p,a,r,n,!0,1],[1]),e.Md=o,e.Gd=i,e.Hd=r,e.Id=n,e.Jd=p,e.Kd=s,e.Ld=a)}function Dv(t,e,o,i){Ev.call(this,t,e,o,i),this.f=null,this.i={oh:void 0,Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Ov(t,e,o,i,r){var n=void 0!==(p=t.i).fillStyle,p=null!=p.strokeStyle,s=i.length,a=[1];for(t.a.push(a),t.b.push(a),a=0;a<s;++a){var h=i[a];o=[8,t.coordinates.length,o=Tv(t,e,o,h,r,!0,!p)],t.a.push(o),t.b.push(o),p&&(o=[3],t.a.push(o),t.b.push(o)),o=h}return e=[7],t.b.push(e),n&&t.a.push(e),p&&(n=[12],t.a.push(n),t.b.push(n)),o}function Uv(t,e){var o=t.i,i=o.fillStyle,r=o.strokeStyle,n=o.lineCap,p=o.lineDash,s=o.lineDashOffset,a=o.lineJoin,h=o.lineWidth,l=o.miterLimit;if(void 0!==i&&("string"!=typeof i||o.oh!=i)){var u=[9,i];"string"!=typeof i&&(e=e.G(),u.push([e[0],e[3]])),t.a.push(u),o.oh=o.fillStyle}void 0===r||o.Md==r&&o.Gd==n&&U(o.Hd,p)&&o.Id==s&&o.Jd==a&&o.Kd==h&&o.Ld==l||(t.a.push([10,r,h,n,a,l,p,s,!0,1]),o.Md=r,o.Gd=n,o.Hd=p,o.Id=s,o.Jd=a,o.Kd=h,o.Ld=l)}function Gv(t,e,o,i){Ev.call(this,t,e,o,i),this.C=this.D=this.S=null,this.Ia="",this.o=this.j=0,this.l=void 0,this.u=this.v=0,this.g=this.f=this.i=null}function Bv(t,e,o,i,r){this.v=t,this.c=e,this.o=i,this.l=o,this.f=r,this.a={},this.g=Je(1,1),this.j=[1,0,0,1,0,0]}s(xv,Ee),s(Sv,tn),s(Ev,bp),Ev.prototype.Va=function(t,e){if(this.R){var o=ep(this.T,this.R.slice());t.translate(o[0],o[1]),t.rotate(e)}t.fill(),this.R&&t.setTransform.apply(t,this.na)},Ev.prototype.La=function(t,e,o,i,r){Cv(this,t,e,o,i,r,this.a,void 0,void 0)},Ev.prototype.Te=m,Ev.prototype.Sf=function(){return this.Ua},s(Iv,Ev),Iv.prototype.qc=function(t,e){if(this.M){jv(this,e);var o=t.ga(),i=this.coordinates.length;t=Tv(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Rv(this,e)}},Iv.prototype.oc=function(t,e){if(this.M){jv(this,e);var o=t.ga(),i=this.coordinates.length;t=Tv(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Rv(this,e)}},Iv.prototype.Te=function(){Lv(this),this.f=this.i=void 0,this.M=this.I=null,this.C=this.D=this.u=this.v=this.l=this.o=this.j=this.S=this.g=void 0},Iv.prototype.Ub=function(t){var e=t.Hc(),o=t.ic(),i=t.qg(1),r=t.Y(1),n=t.Oc();this.i=e[0],this.f=e[1],this.I=i,this.M=r,this.g=o[1],this.j=t.f,this.o=n[0],this.l=n[1],this.v=t.l,this.u=t.g,this.S=t.a,this.D=t.v,this.C=o[0]},s(Nv,Ev),(t=Nv.prototype).Sf=function(){return this.f||(this.f=j(this.Ua),0<this.c&&T(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},t.mc=function(t,e){var o=this.i,i=o.lineWidth;void 0!==o.strokeStyle&&void 0!==i&&(kv(this),jv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),Fv(this,o=t.ga(),0,o.length,t.qa()),this.b.push([12]),Rv(this,e))},t.nc=function(t,e){var o=this.i,i=o.lineWidth;if(void 0!==o.strokeStyle&&void 0!==i){kv(this),jv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),o=t.Bb(),i=t.ga(),t=t.qa();var r,n=0,p=0;for(r=o.length;p<r;++p)n=Fv(this,i,n,o[p],t);this.b.push([12]),Rv(this,e)}},t.Te=function(){this.i.eg!=this.coordinates.length&&this.a.push([12]),Lv(this),this.i=null},t.Ma=function(t,e){t=e.a,this.i.strokeStyle=qe(t||dp),t=e.f,this.i.lineCap=void 0!==t?t:"round",t=e.i,this.i.lineDash=t||gp,t=e.g,this.i.lineDashOffset=t||0,t=e.j,this.i.lineJoin=void 0!==t?t:"round",t=e.c,this.i.lineWidth=void 0!==t?t:1,e=e.o,this.i.miterLimit=void 0!==e?e:10,this.i.lineWidth>this.c&&(this.c=this.i.lineWidth,this.f=null)},s(Dv,Ev),(t=Dv.prototype).Zb=function(t,e){var o=this.i,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]);var r=t.ga();i=this.coordinates.length;Tv(this,r,0,r.length,t.qa(),!1,!1),t=[1],i=[2,i],this.a.push(t,i),this.b.push(t,i),t=[7],this.b.push(t),void 0!==o.fillStyle&&this.a.push(t),void 0!==o.strokeStyle&&(o=[12],this.a.push(o),this.b.push(o)),Rv(this,e)}},t.rc=function(t,e){var o=this.i;Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]);o=t.Bb();Ov(this,t.ec(),0,o,t.qa()),Rv(this,e)},t.pc=function(t,e){var o=this.i,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]),o=t.c,i=wl(t),t=t.qa();var r,n=0,p=0;for(r=o.length;p<r;++p)n=Ov(this,i,n,o[p],t);Rv(this,e)}},t.Te=function(){Lv(this),this.i=null;var t=this.fb;if(t){var e,o=this.coordinates,i=0;for(e=o.length;i<e;++i)o[i]=t*Math.round(o[i]/t)}},t.Sf=function(){return this.f||(this.f=j(this.Ua),0<this.c&&T(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},t.Ma=function(t,e){var o=this.i;t?(t=t.b,o.fillStyle=qe(t||fp)):o.fillStyle=void 0,e?(t=e.a,o.strokeStyle=qe(t||dp),t=e.f,o.lineCap=void 0!==t?t:"round",t=e.i,o.lineDash=t?t.slice():gp,t=e.g,o.lineDashOffset=t||0,t=e.j,o.lineJoin=void 0!==t?t:"round",t=e.c,o.lineWidth=void 0!==t?t:1,e=e.o,o.miterLimit=void 0!==e?e:10,o.lineWidth>this.c&&(this.c=o.lineWidth,this.f=null)):(o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineDashOffset=void 0,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0)},s(Gv,Ev),Gv.prototype.yc=function(t,e,o,i,r,n){if(""!==this.Ia&&this.g&&(this.i||this.f)){if(this.i){r=this.i;var p=this.S;if(!p||p.fillStyle!=r.fillStyle){var s=[9,r.fillStyle];this.a.push(s),this.b.push(s),p?p.fillStyle=r.fillStyle:this.S={fillStyle:r.fillStyle}}}this.f&&(r=this.f,(p=this.D)&&p.lineCap==r.lineCap&&p.lineDash==r.lineDash&&p.lineDashOffset==r.lineDashOffset&&p.lineJoin==r.lineJoin&&p.lineWidth==r.lineWidth&&p.miterLimit==r.miterLimit&&p.strokeStyle==r.strokeStyle||(s=[10,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,r.lineDash,r.lineDashOffset,!1,1],this.a.push(s),this.b.push(s),p?(p.lineCap=r.lineCap,p.lineDash=r.lineDash,p.lineDashOffset=r.lineDashOffset,p.lineJoin=r.lineJoin,p.lineWidth=r.lineWidth,p.miterLimit=r.miterLimit,p.strokeStyle=r.strokeStyle):this.D={lineCap:r.lineCap,lineDash:r.lineDash,lineDashOffset:r.lineDashOffset,lineJoin:r.lineJoin,lineWidth:r.lineWidth,miterLimit:r.miterLimit,strokeStyle:r.strokeStyle})),r=this.g,(p=this.C)&&p.font==r.font&&p.textAlign==r.textAlign&&p.textBaseline==r.textBaseline||(s=[11,r.font,r.textAlign,r.textBaseline],this.a.push(s),this.b.push(s),p?(p.font=r.font,p.textAlign=r.textAlign,p.textBaseline=r.textBaseline):this.C={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}),jv(this,n),t=[5,r=this.coordinates.length,t=Tv(this,t,e,o,i,!1,!1),this.Ia,this.j,this.o,this.v,this.u,!!this.i,!!this.f,this.l],this.a.push(t),this.b.push(t),Rv(this,n)}},Gv.prototype.Cb=function(t){if(t){if((e=t.Fa())?(e=qe((e=e.b)||fp),this.i?this.i.fillStyle=e:this.i={fillStyle:e}):this.i=null,s=t.Ga()){var e=s.a,o=s.f,i=s.i,r=s.g,n=s.j,p=s.c,s=s.o;o=void 0!==o?o:"round",i=i?i.slice():gp,r=void 0!==r?r:0,n=void 0!==n?n:"round",p=void 0!==p?p:1,s=void 0!==s?s:10,e=qe(e||dp);if(this.f)(h=this.f).lineCap=o,h.lineDash=i,h.lineDashOffset=r,h.lineJoin=n,h.lineWidth=p,h.miterLimit=s,h.strokeStyle=e;else this.f={lineCap:o,lineDash:i,lineDashOffset:r,lineJoin:n,lineWidth:p,miterLimit:s,strokeStyle:e}}else this.f=null;var a=t.a,h=(e=t.i,o=t.c,i=t.o,p=t.f,s=t.b,r=t.Na(),n=t.g,t.j);t=void 0!==a?a:"10px sans-serif",n=void 0!==n?n:"center",h=void 0!==h?h:"middle",this.g?((a=this.g).font=t,a.textAlign=n,a.textBaseline=h):this.g={font:t,textAlign:n,textBaseline:h},this.Ia=void 0!==r?r:"",this.j=void 0!==e?e:0,this.o=void 0!==o?o:0,this.l=void 0!==i&&i,this.v=void 0!==p?p:0,this.u=void 0!==s?s:1}else this.Ia=""},s(Bv,Cp);var Xv={0:[[!0]]};function Vv(t,e,o){var i,r=Math.floor(t.length/2);if(r<=e)for(i=r;i<e;i++)t[i][o]=!0;else if(e<r)for(i=e+1;i<r;i++)t[i][o]=!0}function Wv(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].Te()}}function Zv(t,e){t=(o=t.c)[0];var o,i=o[1],r=o[2];return Vi(t=[t,i,t,o=o[3],r,o,r,i],0,8,2,e,t),t}Bv.prototype.Ea=function(t,e,o,i,r,n){var p=2*(i=Math.round(i))+1,s=np(this.j,i+.5,i+.5,1/e,-1/e,-o,-t[0],-t[1]),a=this.g;if(a.canvas.width!==p||a.canvas.height!==p?(a.canvas.width=p,a.canvas.height=p):a.clearRect(0,0,p,p),void 0!==this.f){var h=[1/0,1/0,-1/0,-1/0];q(h,t),T(h,e*(this.f+i),h)}var l=function(t){if(void 0!==Xv[t])return Xv[t];for(var e=2*t+1,o=Array(e),i=0;i<e;i++)o[i]=Array(e);e=t;for(var r=i=0;i<=e;)Vv(o,t+e,t+i),Vv(o,t+i,t+e),Vv(o,t-i,t+e),Vv(o,t-e,t+i),Vv(o,t-e,t-i),Vv(o,t-i,t-e),Vv(o,t+i,t-e),Vv(o,t+e,t-i),0<2*((r+=1+2*++i)-e)+1&&(r+=1-2*--e);return Xv[t]=o}(i);return function(t,e,o,i,r,n,p){var s,a,h=Object.keys(t.a).map(Number);h.sort(function(t,e){return e-t});var l=0;for(s=h.length;l<s;++l){var u=t.a[h[l].toString()];for(a=jp.length-1;0<=a;--a){var c=u[jp[a]];if(void 0!==c&&(c=Cv(c,e,1,o,i,r,c.b,n,p)))return c}}}(this,a,s,o,r,function(t){for(var e=a.getImageData(0,0,p,p).data,o=0;o<p;o++)for(var i=0;i<p;i++)if(l[o][i]&&0<e[4*(i*p+o)+3])return(t=n(t))?t:void a.clearRect(0,0,p,p)},h)},Bv.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Kv[e](this.v,this.c,this.l,this.o),t[e]=o),o},Bv.prototype.i=function(){return gt(this.a)},Bv.prototype.La=function(t,e,o,i,r,n){var p=Object.keys(this.a).map(Number);p.sort(N);var s=Zv(this,o);t.save(),t.beginPath(),t.moveTo(s[0],s[1]),t.lineTo(s[2],s[3]),t.lineTo(s[4],s[5]),t.lineTo(s[6],s[7]),t.clip(),n=n||jp;var a,h;s=0;for(a=p.length;s<a;++s){var l=this.a[p[s].toString()],u=0;for(h=n.length;u<h;++u){var c=l[n[u]];void 0!==c&&c.La(t,e,o,i,r)}}t.restore()};var Kv={Circle:Dv,Image:Iv,LineString:Nv,Polygon:Dv,Text:Gv};function zv(t){Le.call(this),this.a=t}function Yv(t,e){var o=e.getState();return 2!=o&&3!=o&&me(e,"change",t.na,t),0==o&&(e.load(),o=e.getState()),2==o}function Hv(t){var e=t.a;e.Mb()&&"ready"==e.$f()&&t.s()}function qv(t,e){e.Ki()&&t.postRenderFunctions.push(function(t,e,o){e=G(t).toString(),t.fd(o.viewState.projection,o.usedTiles[e])}.bind(null,e))}function Jv(t,e){if(e){var o,i=0;for(o=e.length;i<o;++i){var r=e[i];t[G(r).toString()]=r}}}function _v(t,e){void 0!==(e=e.D)&&("string"==typeof e?t.logos[e]="":e&&(R("string"==typeof e.href,44),R("string"==typeof e.src,45),t.logos[e.src]=e.href))}function $v(t,e,o,i){e=G(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.ca<t.ca&&(t.ca=i.ca),i.$>t.$&&(t.$=i.$),i.da<t.da&&(t.da=i.da),i.ia>t.ia&&(t.ia=i.ia)):t[e][o]=i:(t[e]={},t[e][o]=i)}function Qv(t,e,o,i,r,n,p,s,a,h){var l=G(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var u=t.wantedTiles[l];t=t.tileQueue;var c,y,f,g=o.minZoom;for(f=p;g<=f;--f){var d=re(o,n,f,d),v=o.Da(f);for(c=d.ca;c<=d.$;++c)for(y=d.da;y<=d.ia;++y)if(p-f<=s){var b=e.Nc(f,c,y,i,r);0==b.getState()&&(u[b.bb()]=!0,b.bb()in t.a||t.f([b,l,ne(o,b.ta),v])),a&&a.call(h,b)}else e.Ug(f,c,y,r)}}function tb(t){zv.call(this,t),this.fa=[1,0,0,1,0,0]}function eb(t,e,o){var i=e.pixelRatio,r=e.size[0]*i,n=e.size[1]*i,p=e.viewState.rotation,s=nt(o),a=pt(o),h=tt(o);o=Q(o),ep(e.coordinateToPixelTransform,s),ep(e.coordinateToPixelTransform,a),ep(e.coordinateToPixelTransform,h),ep(e.coordinateToPixelTransform,o),t.save(),vp(t,-p,r/2,n/2),t.beginPath(),t.moveTo(s[0]*i,s[1]*i),t.lineTo(a[0]*i,a[1]*i),t.lineTo(h[0]*i,h[1]*i),t.lineTo(o[0]*i,o[1]*i),t.clip(),vp(t,p,r/2,n/2)}function ob(t,e,o,i,r){var n=t.a;if(Ce(n,e)){var p=i.size[0]*i.pixelRatio,s=i.size[1]*i.pixelRatio,a=i.viewState.rotation;vp(o,-a,p/2,s/2),t=r||ib(t,i,0),n.b(new yp(e,new mp(o,i.pixelRatio,i.extent,t,i.viewState.rotation),i,o,null)),vp(o,a,p/2,s/2)}}function ib(t,e,o){var i=e.viewState,r=e.pixelRatio,n=r/i.resolution;return np(t.fa,r*e.size[0]/2,r*e.size[1]/2,n,-n,-i.rotation,-i.center[0]+o,-i.center[1])}function rb(t,e){return G(t)-G(e)}function nb(t,e){return(t=.5*t/e)*t}function pb(t,e,o,i,r,n){var p,s=!1;if(p=o.Y()){var a=p.Ye();2==a||3==a?p.Bj(r,n):(0==a&&p.load(),p.Nh(r,n),s=!0)}return(r=(0,o.Za)(e))&&(i=r.Vd(i),(0,sb[i.U()])(t,i,o,e)),s}s(zv,Le),zv.prototype.Ea=m,zv.prototype.Ue=Bi,zv.prototype.Nf=function(o,i,r){return function(e,t){return Pw(o,i,e,t,function(t){r[e]||(r[e]={}),r[e][t.ta.toString()]=t})}},zv.prototype.na=function(t){2===t.target.getState()&&Hv(this)},s(tb,zv),tb.prototype.u=function(t,e,o,i){if(this.Ea(t,e,0,Gi,this))return o.call(i,this.a,null)},tb.prototype.ef=function(t,e,o,i){ob(this,"postcompose",t,e,i)};var sb={Point:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.qc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(e.ga(),0,2,2,e,i))},LineString:function(t,e,o,i){var r=o.Ga();if(r){var n=t.b(o.Ba(),"LineString");n.Ma(null,r),n.mc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(yl(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(r||n){var p=t.b(o.Ba(),"Polygon");p.Ma(r,n),p.rc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(Mr(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.oc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=e.ga(),t.yc(o,0,o.length,e.qa(),e,i))},MultiLineString:function(t,e,o,i){var r=o.Ga();if(r){var n=t.b(o.Ba(),"LineString");n.Ma(null,r),n.nc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=gl(e),t.yc(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(n||r){var p=t.b(o.Ba(),"Polygon");p.Ma(r,n),p.pc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=ml(e),t.yc(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){var r,n=0;for(r=(e=e.a).length;n<r;++n)(0,sb[e[n].U()])(t,e[n],o,i)},Circle:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(r||n){var p=t.b(o.Ba(),"Circle");p.Ma(r,n),p.Zb(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(e.wa(),0,2,2,e,i))}};function ab(t){tb.call(this,t),this.c=!1,this.v=-1,this.l=NaN,this.j=[1/0,1/0,-1/0,-1/0],this.f=this.o=null,this.g=Je()}function hb(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}s(ab,tb),ab.prototype.S=function(t,e,o){var i=t.extent,r=t.pixelRatio,n=e.Je?t.skippedFeatureUids:{},p=(s=t.viewState).projection,s=s.rotation,a=p.G(),h=this.a.ha(),l=ib(this,t,0);ob(this,"precompose",o,t,l);var u=e.extent,c=void 0!==u;if(c&&eb(o,t,u),(u=this.f)&&!u.i()){var y=0,f=0;if(Ce(this.a,"render")){var g=o.canvas.width,d=o.canvas.height;if(s){y=((v=Math.round(Math.sqrt(g*g+d*d)))-g)/2,f=(v-d)/2;g=d=v}this.g.canvas.width=g,this.g.canvas.height=d,g=this.g}else g=o;d=g.globalAlpha,g.globalAlpha=e.opacity,g!=o&&g.translate(y,f);var v=t.size[0]*r,b=t.size[1]*r;if(vp(g,-s,v/2,b/2),u.La(g,r,l,s,n),h.u&&p.i&&!O(a,i)){p=i[0],h=st(a);for(var m=0;p<a[0];)l=ib(this,t,l=h*--m),u.La(g,r,l,s,n),p+=h;for(m=0,p=i[2];p>a[2];)l=ib(this,t,l=h*++m),u.La(g,r,l,s,n),p-=h;l=ib(this,t,0)}vp(g,s,v/2,b/2),g!=o&&(ob(this,"render",g,t,l),o.drawImage(g.canvas,-y,-f),g.translate(-y,-f)),g.globalAlpha=d}c&&o.restore(),this.ef(o,t,e,l)},ab.prototype.Ea=function(t,e,o,i,r){if(this.f){var n=this.a,p={};return this.f.Ea(t,e.viewState.resolution,e.viewState.rotation,o,{},function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,i.call(r,t,n)})}},ab.prototype.D=function(){Hv(this)},ab.prototype.sd=function(t){function e(t){var e=t.Lc();if(e)var o=e.call(t,h);else(e=n.f)&&(o=e(t,h));if(o){if(o){if(e=!1,Array.isArray(o))for(var i=0,r=o.length;i<r;++i)e=pb(c,t,o[i],nb(h,l),this.D,this)||e;else e=pb(c,t,o,nb(h,l),this.D,this)||e;t=e}else t=!1;this.c=this.c||t}}var n=this.a,o=n.ha();Jv(t.attributions,o.j),_v(t,o);var i=t.viewHints[0],r=t.viewHints[1],p=n.T,s=n.na;if(!this.c&&!p&&i||!s&&r)return!0;var a=t.extent,h=(i=(s=t.viewState).projection,s.resolution),l=t.pixelRatio,u=(r=n.i,n.c);if(void 0===(p=n.get(bb))&&(p=rb),a=T(a,u*h),u=s.projection.G(),o.u&&s.projection.i&&!O(u,t.extent)&&(t=Math.max(st(a)/2,st(u)),a[0]=u[0]-t,a[2]=u[2]+t),!this.c&&this.l==h&&this.v==r&&this.o==p&&O(this.j,a))return!0;this.f=null,this.c=!1;var c=new Bv(.5*h/l,a,h,o.T,n.c);if(o.Yd(a,h,i),p){var y=[];o.$b(a,function(t){y.push(t)},this),y.sort(p),y.forEach(e,this)}else o.$b(a,e,this);return Wv(c),this.l=h,this.v=r,this.o=p,this.j=a,this.f=c,!0},s(hb,Rp);var lb=new hb;function ub(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}s(ub,Ip);var cb=new ub;function yb(t,e){this.i=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"e"),this.g=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function fb(t,e){zv.call(this,e),this.c=t,this.T=new zp([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.g=this.Ib=null,this.j=void 0,this.v=[1,0,0,1,0,0],this.S=[1,0,0,1,0,0],this.C=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.u=null}function gb(t,e,o,i){if(Ce(t=t.a,e)){var r=i.viewState;t.b(new yp(e,new Ua(o,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,o))}}function db(t,e){fb.call(this,t,e),this.l=!1,this.R=-1,this.I=NaN,this.D=[1/0,1/0,-1/0,-1/0],this.o=this.f=this.B=null}function vb(t){var e=ct({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,zn.call(this,e),this.c=void 0!==t.renderBuffer?t.renderBuffer:100,this.u=null,this.f=void 0,this.g(t.style),this.T=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.na=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}s(fb,zv),fb.prototype.Gi=function(t,e,o){gb(this,"precompose",o,t),os(o,34962,this.T);var i=o.b,r=ps(o,lb,cb);if(this.u)var n=this.u;else this.u=n=new yb(i,r);o.Qc(r)&&(i.enableVertexAttribArray(n.b),i.vertexAttribPointer(n.b,2,5126,!1,16,0),i.enableVertexAttribArray(n.a),i.vertexAttribPointer(n.a,2,5126,!1,16,8),i.uniform1i(n.f,0)),i.uniformMatrix4fv(n.g,!1,Up(this.C,this.v)),i.uniformMatrix4fv(n.c,!1,Up(this.C,this.S)),i.uniform1f(n.i,e.opacity),i.bindTexture(3553,this.Ib),i.drawArrays(5,0,4),gb(this,"postcompose",o,t)},fb.prototype.mg=function(){this.g=this.Ib=null,this.j=void 0},s(db,fb),(t=db.prototype).Gi=function(t,e,o){this.o=e;var i=t.viewState,r=this.f,n=t.size,p=t.pixelRatio,s=this.c.i;r&&!r.i()&&(s.enable(s.SCISSOR_TEST),s.scissor(0,0,n[0]*p,n[1]*p),r.La(o,i.center,i.resolution,i.rotation,n,p,e.opacity,e.Je?t.skippedFeatureUids:{}),s.disable(s.SCISSOR_TEST))},t.ka=function(){var t=this.f;t&&(Fa(t,this.c.f)(),this.f=null),fb.prototype.ka.call(this)},t.Ea=function(t,e,o,i,r){if(this.f&&this.o){o=e.viewState;var n=this.a,p={};return this.f.Ea(t,this.c.f,o.center,o.resolution,o.rotation,e.size,e.pixelRatio,this.o.opacity,{},function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,i.call(r,t,n)})}},t.Ue=function(t,e){if(this.f&&this.o){var o=e.viewState;return function(t,e,o,i,r,n,p,s){var a=o.b;return a.bindFramebuffer(a.FRAMEBUFFER,rs(o)),void 0!==ka(t,o,e,i,r,n,p,s,function(){var t=new Uint8Array(4);return a.readPixels(0,0,1,1,a.RGBA,a.UNSIGNED_BYTE,t),0<t[3]},!1)}(this.f,t,this.c.f,o.resolution,o.rotation,e.pixelRatio,this.o.opacity,e.skippedFeatureUids)}return!1},t.lg=function(t,e,o,i){if(t=ep(e.pixelToCoordinateTransform,t.slice()),this.Ue(t,e))return o.call(i,this.a,null)},t.Hi=function(){Hv(this)},t.ng=function(t,e,o){function i(t){var e=t.Lc();if(e)var o=e.call(t,h);else(e=r.f)&&(o=e(t,h));if(o){if(o){if(e=!1,Array.isArray(o))for(var i=o.length-1;0<=i;--i)e=pb(c,t,o[i],nb(h,l),this.Hi,this)||e;else e=pb(c,t,o,nb(h,l),this.Hi,this)||e;t=e}else t=!1;this.l=this.l||t}}var r=this.a;e=r.ha(),Jv(t.attributions,e.j),_v(t,e);var n=t.viewHints[0],p=t.viewHints[1],s=r.T,a=r.na;if(!this.l&&!s&&n||!a&&p)return!0;p=t.extent,n=(s=t.viewState).projection;var h=s.resolution,l=t.pixelRatio,u=(s=r.i,r.c);if(void 0===(a=r.get(bb))&&(a=rb),p=T(p,u*h),!this.l&&this.I==h&&this.R==s&&this.B==a&&O(this.D,p))return!0;this.f&&t.postRenderFunctions.push(Fa(this.f,o)),this.l=!1;var c=new Na(.5*h/l,p,r.c);if(e.Yd(p,h,n),a){var y=[];e.$b(p,function(t){y.push(t)},this),y.sort(a),y.forEach(i,this)}else e.$b(p,i,this);return function(t,e){for(var o in t.a){var i,r=t.a[o];for(i in r)r[i].Db(e)}}(c,o),this.I=h,this.R=s,this.B=a,this.D=p,this.f=c,!0},s(vb,zn),vb.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new ab(this):"webgl"===o&&(e=new db(t,this)),e},vb.prototype.D=function(){return this.u},vb.prototype.C=function(){return this.f},vb.prototype.g=function(t){this.u=void 0!==t?t:Rh,this.f=null===t?void 0:Ch(this.u),this.s()};var bb="renderOrder";function mb(){return[[-1/0,-1/0,1/0,1/0]]}function wb(t){Re.call(this),this.c=Wt(t.projection),this.j=xb(t.attributions),this.D=t.logo,this.na=void 0!==t.state?t.state:"ready",this.u=void 0!==t.wrapX&&t.wrapX}function xb(t){if("string"==typeof t)return[new ce({html:t})];if(t instanceof ce)return[t];if(Array.isArray(t)){for(var e=t.length,o=Array(e),i=0;i<e;i++){var r=t[i];o[i]="string"==typeof r?new ce({html:r}):r}return o}return null}function Sb(t,e){t.na=e,t.s()}function Mb(t){wb.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.B=m,this.C=t.format,this.T=null==t.overlaps||t.overlaps,this.I=t.url,t.loader?this.B=t.loader:void 0!==this.I&&(R(this.C,7),this.B=il(this.I,this.C)),this.fa=t.strategy?t.strategy:mb;var e=void 0===t.useSpatialIndex||t.useSpatialIndex;if(this.a=e?new ua:null,this.R=new ua,this.g={},this.o={},this.l={},this.v={},this.f=null,t.features instanceof De)var o=t.features,i=o.a;else Array.isArray(t.features)&&(i=t.features);e||o||(o=new De(i)),i&&Eb(this,i),o&&function(t,e){var o=!1;me(t,"addfeature",function(t){o||(o=!0,e.push(t.feature),o=!1)}),me(t,"removefeature",function(t){o||(o=!0,e.remove(t.feature),o=!1)}),me(e,"add",function(t){o||(o=!0,this.yb(t.element),o=!1)},t),me(e,"remove",function(t){o||(o=!0,this.Gb(t.element),o=!1)},t),t.f=e}(this,o)}function Pb(t,e,o){t.v[e]=[me(o,"change",t.Oi,t),me(o,"propertychange",t.Oi,t)]}function Ab(t,e,o){var i=!0,r=o.a;return void 0!==r?r.toString()in t.o?i=!1:t.o[r.toString()]=o:(R(!(e in t.l),30),t.l[e]=o),i}function Eb(t,e){var o,i=[],r=[],n=[],p=0;for(o=e.length;p<o;p++){var s=e[p],a=G(s).toString();Ab(t,a,s)&&r.push(s)}for(p=0,o=r.length;p<o;p++)Pb(t,a=G(s=r[p]).toString(),s),(e=s.V())?(a=e.G(),i.push(a),n.push(s)):t.g[a]=s;for(t.a&&t.a.load(i,n),p=0,o=r.length;p<o;p++)t.b(new jb("addfeature",r[p]))}function Tb(t,e){for(var o in t.o)if(t.o[o]===e){delete t.o[o];break}}function jb(t,e){Ee.call(this,t),this.feature=e}function Cb(t){tn.call(this,{handleDownEvent:Rb,handleEvent:Lb,handleUpEvent:Ib}),this.T=!1,this.fa=null,this.u=!1,this.Yb=t.source?t.source:null,this.$a=t.features?t.features:null,this.wk=t.snapTolerance?t.snapTolerance:12,this.R=t.type,this.g=function(t){var e;return"Point"===t||"MultiPoint"===t?e=Gb:"LineString"===t||"MultiLineString"===t?e=Bb:"Polygon"===t||"MultiPolygon"===t?e=Xb:"Circle"===t&&(e=Vb),e}(this.R),this.Sa=t.minPoints?t.minPoints:this.g===Xb?3:2,this.va=t.maxPoints?t.maxPoints:1/0,this.Cf=t.finishCondition?t.finishCondition:Gi;var e=t.geometryFunction;if(!e)if("Circle"===this.R)e=function(t,e){return(e=e||new $d([NaN,NaN])).Ng(t[0],Math.sqrt(ki(t[0],t[1]))),e};else{var o,i=this.g;i===Gb?o=lr:i===Bb?o=cl:i===Xb&&(o=Sr),e=function(t,e){return e?i===Xb?e.ma([t[0].concat([t[0][0]])]):e.ma(t):e=new o(t),e}}this.Za=e,this.I=this.C=this.a=this.B=this.j=this.l=null,this.ad=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.pa=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:function(){var e=Ih();return function(t){return e[t.V().U()]}}()}),this.xb=t.geometryName,this.vk=t.condition?t.condition:qr,this.Df=t.freehand?Gi:t.freehandCondition?t.freehandCondition:Jr,me(this,Ne("active"),this.ri,this)}function Lb(t){this.u=this.g!==Gb&&this.Df(t);var e=!this.u;return this.u&&"pointerdrag"===t.type&&null!==this.j?(Db(this,t),e=!1):"pointermove"===t.type?e=Nb(this,t):"dblclick"===t.type&&(e=!1),on.call(this,t)&&e}function Rb(t){return this.T=!this.u,this.u?(this.fa=t.pixel,this.l||kb(this,t),!0):!!this.vk(t)&&(this.fa=t.pixel,!0)}function Ib(t){var e=!0;Nb(this,t);var o=this.g===Vb;return this.T?(this.l?this.u||o?this.Pd():Fb(this,t)?this.Cf(t)&&this.Pd():Db(this,t):(kb(this,t),this.g===Gb&&this.Pd()),e=!1):this.u&&(this.l=null,Ob(this)),e}function Nb(t,e){if(t.fa&&(!t.u&&t.T||t.u&&!t.T)){var o=t.fa,i=e.pixel,r=(r=o[0]-i[0])*r+(o=o[1]-i[1])*o;t.T=t.u?r>t.ad:r<=t.ad}return t.l?(r=e.coordinate,o=t.j.V(),t.g===Gb?i=t.a:t.g===Xb?(i=(i=t.a[0])[i.length-1],Fb(t,e)&&(r=t.l.slice())):i=(i=t.a)[i.length-1],i[0]=r[0],i[1]=r[1],t.Za(t.a,o),t.B&&t.B.V().ma(r),o instanceof Sr&&t.g!==Xb?(t.C||(t.C=new Fh(new cl(null))),r=o.Ch(0),(e=t.C.V()).ba(r.ja,r.ga())):t.I&&(e=t.C.V()).ma(t.I),Ub(t)):(e=e.coordinate.slice(),t.B?t.B.V().ma(e):(t.B=new Fh(new lr(e)),Ub(t))),!0}function Fb(t,e){var o=!1;if(t.j){var i=!1,r=[t.l];if(t.g===Bb?i=t.a.length>t.Sa:t.g===Xb&&(i=t.a[0].length>t.Sa,r=[t.a[0][0],t.a[0][t.a[0].length-2]]),i){i=e.map;for(var n=0,p=r.length;n<p;n++){var s=r[n],a=i.Ja(s),h=e.pixel;o=h[0]-a[0],a=h[1]-a[1];if(o=Math.sqrt(o*o+a*a)<=(t.u?1:t.wk)){t.l=s;break}}}}return o}function kb(t,e){e=e.coordinate,t.l=e,t.g===Gb?t.a=e.slice():t.g===Xb?(t.a=[[e.slice(),e.slice()]],t.I=t.a[0]):(t.a=[e.slice(),e.slice()],t.g===Vb&&(t.I=t.a)),t.I&&(t.C=new Fh(new cl(t.I))),e=t.Za(t.a),t.j=new Fh,t.xb&&t.j.Tc(t.xb),t.j.Ra(e),Ub(t),t.b(new Wb("drawstart",t.j))}function Db(t,e){e=e.coordinate;var o,i=t.j.V();if(t.g===Bb){t.l=e.slice();var r=t.a;r.length>=t.va&&(t.u?r.pop():o=!0),r.push(e.slice()),t.Za(r,i)}else t.g===Xb&&((r=t.a[0]).length>=t.va&&(t.u?r.pop():o=!0),r.push(e.slice()),o&&(t.l=r[0]),t.Za(t.a,i));Ub(t),o&&t.Pd()}function Ob(t){t.l=null;var e=t.j;return e&&(t.j=null,t.B=null,t.C=null,t.pa.ha().clear(!0)),e}function Ub(t){var e=[];t.j&&e.push(t.j),t.C&&e.push(t.C),t.B&&e.push(t.B),(t=t.pa.ha()).clear(!0),t.cd(e)}s(wb,Re),(t=wb.prototype).Ea=m,t.ya=function(){return this.j},t.xa=function(){return this.D},t.za=function(){return this.c},t.getState=function(){return this.na},t.sa=function(){this.s()},t.ua=function(t){this.j=xb(t),this.s()},s(Mb,wb),(t=Mb.prototype).yb=function(t){var e=G(t).toString();if(Ab(this,e,t)){Pb(this,e,t);var o=t.V();o?(e=o.G(),this.a&&this.a.Ca(e,t)):this.g[e]=t,this.b(new jb("addfeature",t))}this.s()},t.cd=function(t){Eb(this,t),this.s()},t.clear=function(t){if(t){for(var e in this.v)this.v[e].forEach(Se);this.f||(this.v={},this.o={},this.l={})}else if(this.a)for(var o in this.a.forEach(this.Ig,this),this.g)this.Ig(this.g[o]);this.f&&this.f.clear(),this.a&&this.a.clear(),this.R.clear(),this.g={},this.b(new jb("clear")),this.s()},t.sh=function(t,e){return this.a?this.a.forEach(t,e):this.f?this.f.forEach(t,e):void 0},t.$b=function(t,e,o){return this.a?ga(this.a,t,e,o):this.f?this.f.forEach(e,o):void 0},t.th=function(e,o,i){return this.$b(e,function(t){if(t.V().Xa(e)&&(t=o.call(i,t)))return t})},t.Ah=function(){return this.f},t.Xe=function(){if(this.f)var t=this.f.a;else this.a&&(t=ya(this.a),gt(this.g)||c(t,ft(this.g)));return t},t.zh=function(t){var e=[];return function(t,e,o){t.$b([e[0],e[1],e[0],e[1]],function(t){if(t.V().sb(e))return o.call(void 0,t)})}(this,t,function(t){e.push(t)}),e},t.Uf=function(t){return fa(this.a,t)},t.vh=function(t,e){var i=t[0],r=t[1],n=null,p=[NaN,NaN],s=1/0,a=[-1/0,-1/0,1/0,1/0],h=e||Gi;return ga(this.a,a,function(t){if(h(t)){var e=t.V(),o=s;(s=e.Kb(i,r,p,s))<o&&(n=t,t=Math.sqrt(s),a[0]=i-t,a[1]=r-t,a[2]=i+t,a[3]=r+t)}}),n},t.G=function(t){return this.a.G(t)},t.yh=function(t){return void 0!==(t=this.o[t.toString()])?t:null},t.Mi=function(){return this.C},t.Ni=function(){return this.I},t.Oi=function(t){var e=G(t=t.target).toString(),o=t.V();o?(o=o.G(),e in this.g?(delete this.g[e],this.a&&this.a.Ca(o,t)):this.a&&ca(this.a,o,t)):e in this.g||(this.a&&this.a.remove(t),this.g[e]=t),void 0!==(o=t.a)?(o=o.toString(),e in this.l?(delete this.l[e],this.o[o]=t):this.o[o]!==t&&(Tb(this,t),this.o[o]=t)):e in this.l||(Tb(this,t),this.l[e]=t),this.s(),this.b(new jb("changefeature",t))},t.Yd=function(t,e,o){var i,r=this.R,n=0;for(i=(t=this.fa(t,e)).length;n<i;++n){var p=t[n];ga(r,p,function(t){return O(t.extent,p)})||(this.B.call(this,p,e,o),r.Ca(p,{extent:p.slice()}))}},t.Gb=function(t){var e=G(t).toString();e in this.g?delete this.g[e]:this.a&&this.a.remove(t),this.Ig(t),this.s()},t.Ig=function(t){var e=G(t).toString();this.v[e].forEach(Se),delete this.v[e];var o=t.a;void 0!==o?delete this.o[o.toString()]:delete this.l[e],this.b(new jb("removefeature",t))},s(jb,Ee),s(Cb,tn),(t=Cb.prototype).setMap=function(t){tn.prototype.setMap.call(this,t),this.ri()},t.Op=function(){if(this.j){var t=this.j.V();if(this.g===Bb){var e=this.a;e.splice(-2,1),this.Za(e,t),2<=e.length&&(this.l=e[e.length-2].slice())}else if(this.g===Xb){(e=this.a[0]).splice(-2,1),this.C.V().ma(e),this.Za(this.a,t)}0===e.length&&(this.l=null),Ub(this)}},t.Pd=function(){var t=Ob(this),e=this.a,o=t.V();this.g===Bb?(e.pop(),this.Za(e,o)):this.g===Xb&&(e[0].pop(),this.Za(e,o),e=o.X()),"MultiPoint"===this.R?t.Ra(new vl([e])):"MultiLineString"===this.R?t.Ra(new fl([e])):"MultiPolygon"===this.R&&t.Ra(new bl([e])),this.b(new Wb("drawend",t)),this.$a&&this.$a.push(t),this.Yb&&this.Yb.yb(t)},t.vn=function(t){var e=t.V();this.j=t,this.a=e.X(),t=this.a[this.a.length-1],this.l=t.slice(),this.a.push(t.slice()),Ub(this),this.b(new Wb("drawstart",this.j))},t.Xc=Bi,t.ri=function(){var t=this.v,e=this.c();t&&e||Ob(this),this.pa.setMap(e?t:null)};var Gb="Point",Bb="LineString",Xb="Polygon",Vb="Circle";function Wb(t,e){Ee.call(this,t),this.feature=e}function Zb(t){this.a=this.j=null,this.C=!1,this.B=this.l=null,(t=t||{}).extent&&this.g(t.extent),tn.call(this,{handleDownEvent:zb,handleDragEvent:Yb,handleEvent:Kb,handleUpEvent:Hb}),this.u=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:function(){var t=Ih();return function(){return t.Polygon}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.I=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:function(){var t=Ih();return function(){return t.Point}}(),updateWhileAnimating:!0,updateWhileInteracting:!0})}function Kb(t){if(!(t instanceof zo))return!0;if("pointermove"==t.type&&!this.D){var e=t.pixel,o=t.map,i=_b(this,e,o);$b(this,i=i||o.Wa(e))}return on.call(this,t),!1}function zb(t){function e(t){var e=null,o=null;return t[0]==r[0]?e=r[2]:t[0]==r[2]&&(e=r[0]),t[1]==r[1]?o=r[3]:t[1]==r[3]&&(o=r[1]),null!==e&&null!==o?[e,o]:null}var o=t.pixel,i=t.map,r=this.G();return(t=_b(this,o,i))&&r?(o=t[0]==r[0]||t[0]==r[2]?t[0]:null,i=t[1]==r[1]||t[1]==r[3]?t[1]:null,null!==o&&null!==i?this.a=qb(e(t)):null!==o?this.a=Jb(e([o,r[1]]),e([o,r[3]])):null!==i&&(this.a=Jb(e([r[0],i]),e([r[2],i])))):(t=i.Wa(o),this.g([t[0],t[1],t[0],t[1]]),this.a=qb(t)),!0}function Yb(t){return this.a&&(t=t.coordinate,this.g(this.a(t)),$b(this,t)),!0}function Hb(){this.a=null;var t=this.G();return t&&$(t)||this.g(null),!1}function qb(e){return function(t){return E([e,t])}}function Jb(e,o){return e[0]==o[0]?function(t){return E([e,[t[0],o[1]]])}:e[1]==o[1]?function(t){return E([e,[o[0],t[1]]])}:null}function _b(t,e,o){var i=o.Wa(e);if(r=t.G()){(r=[[[r[0],r[1]],[r[0],r[3]]],[[r[0],r[3]],[r[2],r[3]]],[[r[2],r[3]],[r[2],r[1]]],[[r[2],r[1]],[r[0],r[1]]]]).sort(function(t,e){return Oi(i,t)-Oi(i,e)});var r=r[0],n=Ci(i,r),p=o.Ja(n);if(Di(e,p)<=10)return e=o.Ja(r[0]),o=o.Ja(r[1]),e=ki(p,e),o=ki(p,o),t.C=Math.sqrt(Math.min(e,o))<=10,t.C&&(n=o<e?r[1]:r[0]),n}return null}function $b(t,e){var o=t.B;o?o.V().ma(e):(o=new Fh(new lr(e)),t.B=o,t.I.ha().yb(o))}function Qb(t){Ee.call(this,tm),this.b=t}s(Wb,Ee),s(Zb,tn),Zb.prototype.setMap=function(t){this.u.setMap(t),this.I.setMap(t),tn.prototype.setMap.call(this,t)},Zb.prototype.G=function(){return this.j},Zb.prototype.g=function(t){this.j=t||null;var e=this.l;e?t?e.Ra(Ar(t)):e.Ra(void 0):(this.l=e=new Fh(t?Ar(t):{}),this.u.ha().yb(e)),this.b(new Qb(this.j))},s(Qb,Ee);var tm="extentchanged";function em(t){tn.call(this,{handleDownEvent:pm,handleDragEvent:sm,handleEvent:hm,handleUpEvent:am}),this.ad=t.condition?t.condition:Qr,this.$a=function(t){return qr(t)&&Hr(t)},this.xb=t.deleteCondition?t.deleteCondition:this.$a,this.Yb=t.insertVertexCondition?t.insertVertexCondition:Gi,this.Sa=this.g=null,this.va=[0,0],this.C=this.I=!1,this.a=new ua,this.fa=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.l=this.pa=!1,this.j=[],this.B=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:function(){var t=Ih();return function(){return t.Point}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.T={Point:this.Dn,LineString:this.ti,LinearRing:this.ti,Polygon:this.En,MultiPoint:this.Bn,MultiLineString:this.An,MultiPolygon:this.Cn,Circle:this.yn,GeometryCollection:this.zn},this.u=t.features,this.u.forEach(this.kg,this),me(this.u,"add",this.wn,this),me(this.u,"remove",this.xn,this),this.R=null}function om(t,e){t.C||(t.C=!0,t.b(new fm("modifystart",t.u,e)))}function im(t,e){!function(t,e){t=t.a;var o=[];t.forEach(function(t){e===t.feature&&o.push(t)});for(var i=o.length-1;0<=i;--i)t.remove(o[i])}(t,e),t.g&&!t.u.dc()&&(t.B.ha().Gb(t.g),t.g=null),xe(e,"change",t.si,t)}function rm(t,e){var o=t.g;o?o.V().ma(e):(o=new Fh(new lr(e)),t.g=o,t.B.ha().yb(o))}function nm(t,e){return t.index-e.index}function pm(t){if(!this.ad(t))return!1;lm(this,t.pixel,t.map);var e=t.map.Wa(t.pixel);if(this.j.length=0,this.C=!1,o=this.g){var o,i=[],r=E([o=o.V().X()]),n={};(r=fa(this.a,r)).sort(nm);for(var p=0,s=r.length;p<s;++p){var a=r[p],h=a.la,l=G(a.feature),u=a.depth;u&&(l+="-"+u.join("-")),n[l]||(n[l]=Array(2)),"Circle"===a.geometry.U()&&1===a.index?Ii(h=cm(e,a),o)&&!n[l][0]&&(this.j.push([a,0]),n[l][0]=a):Ii(h[0],o)&&!n[l][0]?(this.j.push([a,0]),n[l][0]=a):Ii(h[1],o)&&!n[l][1]?("LineString"===a.geometry.U()||"MultiLineString"===a.geometry.U())&&n[l][0]&&0===n[l][0].index||(this.j.push([a,1]),n[l][1]=a):this.Yb(t)&&G(h)in this.Sa&&!n[l][0]&&!n[l][1]&&i.push([a,o])}for(i.length&&om(this,t),t=i.length-1;0<=t;--t)this.bm.apply(this,i[t])}return!!this.g}function sm(t){this.I=!1,om(this,t),t=t.coordinate;for(var e=0,o=this.j.length;e<o;++e){for(var i,r=(a=this.j[e])[0],n=r.depth,p=r.geometry,s=r.la,a=a[1];t.length<p.qa();)t.push(s[a][t.length]);switch(p.U()){case"Point":i=t,s[0]=s[1]=t;break;case"MultiPoint":(i=p.X())[r.index]=t,s[0]=s[1]=t;break;case"LineString":(i=p.X())[r.index+a]=t,s[a]=t;break;case"MultiLineString":case"Polygon":(i=p.X())[n[0]][r.index+a]=t,s[a]=t;break;case"MultiPolygon":(i=p.X())[n[1]][n[0]][r.index+a]=t,s[a]=t;break;case"Circle":s[0]=s[1]=t,0===r.index?(this.l=!0,p.ob(t)):(this.l=!0,p.Uc(Di(p.wa(),t))),this.l=!1}i&&(r=p,n=i,this.l=!0,r.ma(n),this.l=!1)}rm(this,t)}function am(t){for(var e,o,i=this.j.length-1;0<=i;--i)if("Circle"===(o=(e=this.j[i][0]).geometry).U()){var r=o.wa(),n=e.Pf[0];e=e.Pf[1],n.la[0]=n.la[1]=r,e.la[0]=e.la[1]=r,ca(this.a,K(r),n),ca(this.a,o.G(),e)}else ca(this.a,E(e.la),e);return this.C&&(this.b(new fm("modifyend",this.u,t)),this.C=!1),!1}function hm(t){return!(t instanceof zo)||(Fr((this.R=t).map.Z())[1]||"pointermove"!=t.type||this.D||(this.va=t.pixel,lm(this,t.pixel,t.map)),this.g&&this.xb(t)&&(e=!("singleclick"!=t.type||!this.I)||this.hj()),"singleclick"==t.type&&(this.I=!1),on.call(this,t)&&!e);var e}function lm(t,e,o){var i=o.Wa(e),r=T(K(i),o.Z().Pa()*t.fa);if(0<(r=fa(t.a,r)).length){r.sort(function(t,e){return um(i,t)-um(i,e)});var n=r[0],p=n.la,s=cm(i,n),a=o.Ja(s),h=Di(e,a);if(h<=t.fa){if(e={},"Circle"===n.geometry.U()&&1===n.index)t.pa=!0,rm(t,s);else for(h=o.Ja(p[0]),n=o.Ja(p[1]),o=ki(a,h),a=ki(a,n),h=Math.sqrt(Math.min(o,a)),t.pa=h<=t.fa,t.pa&&(s=a<o?p[1]:p[0]),rm(t,s),a=1,o=r.length;a<o&&(s=r[a].la,Ii(p[0],s[0])&&Ii(p[1],s[1])||Ii(p[0],s[1])&&Ii(p[1],s[0]));++a)e[G(s)]=!0;return e[G(p)]=!0,void(t.Sa=e)}}t.g&&(t.B.ha().Gb(t.g),t.g=null)}function um(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?(t=ki(o.wa(),t),(o=Math.sqrt(t)-o.pd())*o):Oi(t,e.la)}function cm(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?o.Ab(t):Ci(t,e.la)}function ym(t,e,o,i,r){ga(t.a,e.G(),function(t){t.geometry===e&&(void 0===i||void 0===t.depth||U(t.depth,i))&&t.index>o&&(t.index+=r)})}function fm(t,e,o){Ee.call(this,t),this.features=e,this.mapBrowserEvent=o}function gm(t){if(Gr.call(this,{handleEvent:dm}),t=t||{},this.C=t.condition?t.condition:Hr,this.D=t.addCondition?t.addCondition:Bi,this.B=t.removeCondition?t.removeCondition:Bi,this.I=t.toggleCondition?t.toggleCondition:Jr,this.l=!!t.multi&&t.multi,this.o=t.filter?t.filter:Gi,this.j=t.hitTolerance?t.hitTolerance:0,this.g=new vb({source:new Mb({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:function(){var e=Ih();return c(e.Polygon,e.LineString),c(e.GeometryCollection,e.LineString),function(t){return t.V()?e[t.V().U()]:null}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.layers)if("function"==typeof t.layers)t=t.layers;else{var e=t.layers;t=function(t){return d(e,t)}}else t=Gi;this.u=t,this.a={},me(t=this.g.ha().f,"add",this.Fn,this),me(t,"remove",this.Jn,this)}function dm(t){if(!this.C(t))return!0;var o=this.D(t),i=this.B(t),r=this.I(t),e=!o&&!i&&!r,n=t.map,p=this.g.ha().f,s=[],a=[];if(e){for(yt(this.a),n.we(t.pixel,function(t,e){if(this.o(t,e))return a.push(t),t=G(t),this.a[t]=e,!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=p.dc()-1;0<=e;--e){n=p.item(e);var h=a.indexOf(n);-1<h?a.splice(h,1):(p.remove(n),s.push(n))}a.length&&p.fg(a)}else{for(n.we(t.pixel,function(t,e){if(this.o(t,e))return!o&&!r||d(p.a,t)?(i||r)&&d(p.a,t)&&(s.push(t),e=G(t),delete this.a[e]):(a.push(t),t=G(t),this.a[t]=e),!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=s.length-1;0<=e;--e)p.remove(s[e]);p.fg(a)}return(0<a.length||0<s.length)&&this.b(new vm(bm,a,s,t)),Yr(t)}function vm(t,e,o,i){Ee.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=i}s(em,tn),(t=em.prototype).kg=function(t){var e=t.V();e&&e.U()in this.T&&this.T[e.U()].call(this,t,e),(e=this.v)&&e.c&&this.c()&&lm(this,this.va,e),me(t,"change",this.si,this)},t.Ha=function(t){this.g&&!t&&(this.B.ha().Gb(this.g),this.g=null),tn.prototype.Ha.call(this,t)},t.setMap=function(t){this.B.setMap(t),tn.prototype.setMap.call(this,t)},t.wn=function(t){this.kg(t.element)},t.si=function(t){this.l||(im(this,t=t.target),this.kg(t))},t.xn=function(t){im(this,t.element)},t.Dn=function(t,e){var o=e.X();t={feature:t,geometry:e,la:[o,o]},this.a.Ca(e.G(),t)},t.Bn=function(t,e){var o,i=e.X(),r=0;for(o=i.length;r<o;++r){var n=i[r];n={feature:t,geometry:e,depth:[r],index:r,la:[n,n]},this.a.Ca(e.G(),n)}},t.ti=function(t,e){var o,i=e.X(),r=0;for(o=i.length-1;r<o;++r){var n=i.slice(r,r+2),p={feature:t,geometry:e,index:r,la:n};this.a.Ca(E(n),p)}},t.An=function(t,e){var o,i,r=e.X(),n=0;for(i=r.length;n<i;++n){var p=r[n],s=0;for(o=p.length-1;s<o;++s){var a=p.slice(s,s+2),h={feature:t,geometry:e,depth:[n],index:s,la:a};this.a.Ca(E(a),h)}}},t.En=function(t,e){var o,i,r=e.X(),n=0;for(i=r.length;n<i;++n){var p=r[n],s=0;for(o=p.length-1;s<o;++s){var a=p.slice(s,s+2),h={feature:t,geometry:e,depth:[n],index:s,la:a};this.a.Ca(E(a),h)}}},t.Cn=function(t,e){var o,i,r,n=e.X(),p=0;for(r=n.length;p<r;++p){var s=n[p],a=0;for(i=s.length;a<i;++a){var h=s[a],l=0;for(o=h.length-1;l<o;++l){var u=h.slice(l,l+2),c={feature:t,geometry:e,depth:[a,p],index:l,la:u};this.a.Ca(E(u),c)}}}},t.yn=function(t,e){var o=e.wa(),i={feature:t,geometry:e,index:0,la:[o,o]};t={feature:t,geometry:e,index:1,la:[o,o]},i.Pf=t.Pf=[i,t],this.a.Ca(K(o),i),this.a.Ca(e.G(),t)},t.zn=function(t,e){var o=e.a;for(e=0;e<o.length;++e)this.T[o[e].U()].call(this,t,o[e])},t.bm=function(t,e){for(var o,i=t.la,r=t.feature,n=t.geometry,p=t.depth,s=t.index;e.length<n.qa();)e.push(0);switch(n.U()){case"MultiLineString":case"Polygon":(o=n.X())[p[0]].splice(s+1,0,e);break;case"MultiPolygon":(o=n.X())[p[1]][p[0]].splice(s+1,0,e);break;case"LineString":(o=n.X()).splice(s+1,0,e);break;default:return}this.l=!0,n.ma(o),this.l=!1,(o=this.a).remove(t),ym(this,n,s,p,1),t={la:[i[0],e],feature:r,geometry:n,depth:p,index:s},o.Ca(E(t.la),t),this.j.push([t,1]),e={la:[e,i[1]],feature:r,geometry:n,depth:p,index:s+1},o.Ca(E(e.la),e),this.j.push([e,0]),this.I=!0},t.hj=function(){if(this.R&&"pointerdrag"!=this.R.type){var t=this.R;om(this,t);var e,o,i=this.j,r={};for(o=i.length-1;0<=o;--o){var n=i[o],p=n[0],s=G(p.feature);p.depth&&(s+="-"+p.depth.join("-")),s in r||(r[s]={}),0===n[1]?(r[s].right=p,r[s].index=p.index):1==n[1]&&(r[s].left=p,r[s].index=p.index+1)}for(s in r){var a=r[s].right,h=r[s].left,l=(o=r[s].index)-1;l<0&&(l=0);var u=e=(n=(p=void 0!==h?h:a).geometry).X(),c=!1;switch(n.U()){case"MultiLineString":2<e[p.depth[0]].length&&(e[p.depth[0]].splice(o,1),c=!0);break;case"LineString":2<e.length&&(e.splice(o,1),c=!0);break;case"MultiPolygon":u=u[p.depth[1]];case"Polygon":4<(u=u[p.depth[0]]).length&&(o==u.length-1&&(o=0),u.splice(o,1),c=!0,0===o&&(u.pop(),u.push(u[0]),l=u.length-1))}c&&(c=n,this.l=!0,c.ma(e),this.l=!1,e=[],void 0!==h&&(this.a.remove(h),e.push(h.la[0])),void 0!==a&&(this.a.remove(a),e.push(a.la[1])),void 0!==h&&void 0!==a&&(h={depth:p.depth,feature:p.feature,geometry:p.geometry,index:l,la:e},this.a.Ca(E(h.la),h)),ym(this,n,o,p.depth,-1),this.g&&(this.B.ha().Gb(this.g),this.g=null),i.length=0)}return this.b(new fm("modifyend",this.u,t)),!(this.C=!1)}return!1},s(fm,Ee),s(gm,Gr),(t=gm.prototype).Gn=function(){return this.g.ha().f},t.Hn=function(){return this.j},t.In=function(t){return t=G(t),this.a[t]},t.Kn=function(t){this.j=t},t.setMap=function(t){var e=this.v,o=this.g.ha().f;e&&o.forEach(e.Cj,e),Gr.prototype.setMap.call(this,t),this.g.setMap(t),t&&o.forEach(t.xj,t)},t.Fn=function(t){var e=this.v;e&&e.xj(t.element)},t.Jn=function(t){var e=this.v;e&&e.Cj(t.element)},s(vm,Ee);var bm="select";function mm(t){tn.call(this,{handleEvent:xm,handleDownEvent:Gi,handleUpEvent:Sm}),t=t||{},this.l=t.source?t.source:null,this.R=void 0===t.vertex||t.vertex,this.C=void 0===t.edge||t.edge,this.j=t.features?t.features:null,this.pa=[],this.B={},this.T={},this.u={},this.I=null,this.g=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.va=function(t,e){return Oi(this.I,t.la)-Oi(this.I,e.la)}.bind(this),this.a=new ua,this.fa={Point:this.Rn,LineString:this.wi,LinearRing:this.wi,Polygon:this.Sn,MultiPoint:this.Pn,MultiLineString:this.On,MultiPolygon:this.Qn,GeometryCollection:this.Nn,Circle:this.Mn}}function wm(t,e,o,i){var r=i.Wa([e[0]-t.g,e[1]+t.g]),n=i.Wa([e[0]+t.g,e[1]-t.g]),p=(r=E([r,n]),fa(t.a,r));t.R&&!t.C&&(p=p.filter(function(t){return"Circle"!==t.feature.V().U()}));var s=!1,a=(r=!1,n=null);if(0<p.length){t.I=o,p.sort(t.va);var h=p[0].la;s="Circle"===p[0].feature.V().U();t.R&&!t.C?(o=i.Ja(h[0]),s=i.Ja(h[1]),o=ki(e,o),e=ki(e,s),(s=(s=Math.sqrt(Math.min(o,e)))<=t.g)&&(r=!0,n=e<o?h[1]:h[0],a=i.Ja(n))):t.C&&(n=s?function(t,e){var o=e.pd();e=(i=e.wa())[0];var i=i[1],r=t[0]-e;t=t[1]-i,r||t||(r=1);var n=Math.sqrt(r*r+t*t);return[e+o*r/n,i+o*t/n]}(o,p[0].feature.V()):Ci(o,h),Di(e,a=i.Ja(n))<=t.g&&(r=!0,t.R&&!s&&(o=i.Ja(h[0]),s=i.Ja(h[1]),o=ki(a,o),e=ki(a,s),s=(s=Math.sqrt(Math.min(o,e)))<=t.g)))&&(n=e<o?h[1]:h[0],a=i.Ja(n)),r&&(a=[Math.round(a[0]),Math.round(a[1])])}return{nq:r,vertex:n,wq:a}}function xm(t){var e=wm(this,t.pixel,t.coordinate,t.map);return e.nq&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.wq),on.call(this,t)}function Sm(){var t=ft(this.u);return t.length&&(t.forEach(this.Dj,this),this.u={}),!1}function Mm(t){if(tn.call(this,{handleDownEvent:Pm,handleDragEvent:Em,handleMoveEvent:Tm,handleUpEvent:Am}),t=t||{},this.a=null,this.j=void 0!==t.features?t.features:null,t.layers)if("function"==typeof t.layers)var e=t.layers;else{var o=t.layers;e=function(t){return d(o,t)}}else e=Gi;this.C=e,this.l=t.hitTolerance?t.hitTolerance:0,this.g=null,me(this,Ne("active"),this.u,this)}function Pm(t){if(this.g=jm(this,t.pixel,t.map),this.a||!this.g)return!1;this.a=t.coordinate,Tm.call(this,t);var e=this.j||new De([this.g]);return this.b(new Lm("translatestart",e,t.coordinate)),!0}function Am(t){if(this.a){this.a=null,Tm.call(this,t);var e=this.j||new De([this.g]);return this.b(new Lm("translateend",e,t.coordinate)),!0}return!1}function Em(t){if(this.a){var o=(t=t.coordinate)[0]-this.a[0],i=t[1]-this.a[1],e=this.j||new De([this.g]);e.forEach(function(t){var e=t.V();e.translate(o,i),t.Ra(e)}),this.a=t,this.b(new Lm("translating",e,t))}}function Tm(t){var e=t.map.a;jm(this,t.pixel,t.map)?(e.classList.remove(this.a?"ol-grab":"ol-grabbing"),e.classList.add(this.a?"ol-grabbing":"ol-grab")):e.classList.remove("ol-grab","ol-grabbing")}function jm(t,e,o){return o.we(e,function(t){if(!this.j||d(this.j.a,t))return t}.bind(t),{layerFilter:t.C,hitTolerance:t.l})}function Cm(t,e){var o=t.v;t=t.c(),o&&t||(o=o||e).a.classList.remove("ol-grab","ol-grabbing")}function Lm(t,e,o){Ee.call(this,t),this.features=e,this.coordinate=o}function Rm(t){var e=ct({},t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,vb.call(this,e),this.j=null,this.R=void 0!==t.shadow?t.shadow:250,this.I=void 0,this.B=null,me(this,Ne(Fm),this.Bl,this),this.pj(t.gradient?t.gradient:Im),this.jj(void 0!==t.blur?t.blur:15),this.Uc(void 0!==t.radius?t.radius:8),me(this,Ne(Nm),this.cg,this),me(this,Ne(km),this.cg,this),this.cg();var i,o=t.weight?t.weight:"weight";i="string"==typeof o?function(t){return t.get(o)}:o,this.g(function(t){var e=255*(t=void 0!==(t=i(t))?w(t,0,1):1)|0,o=this.B[e];return o||(o=[new jh({image:new Jc({opacity:t,src:this.I})})],this.B[e]=o),o}.bind(this)),this.set(bb,null),me(this,"render",this.Sl,this)}s(mm,tn),(t=mm.prototype).yb=function(t,e){e=void 0===e||e;var o=G(t),i=t.V();if(i){var r=this.fa[i.U()];r&&(this.T[o]=i.G([1/0,1/0,-1/0,-1/0]),r.call(this,t,i))}e&&(this.B[o]=me(t,"change",this.Ln,this))},t.Ak=function(t){this.yb(t)},t.Bk=function(t){this.Gb(t)},t.ui=function(t){if(t instanceof jb)var e=t.feature;else t instanceof Be&&(e=t.element);this.yb(e)},t.vi=function(t){if(t instanceof jb)var e=t.feature;else t instanceof Be&&(e=t.element);this.Gb(e)},t.Ln=function(t){if(t=t.target,this.D){var e=G(t);e in this.u||(this.u[e]=t)}else this.Dj(t)},t.Gb=function(e,t){t=void 0===t||t;var o=G(e),i=this.T[o];if(i){var r=this.a,n=[];for(ga(r,i,function(t){e===t.feature&&n.push(t)}),i=n.length-1;0<=i;--i)r.remove(n[i])}t&&(Se(this.B[o]),delete this.B[o])},t.setMap=function(t){var e,o=this.v,i=this.pa;this.j?e=this.j:this.l&&(e=this.l.Xe()),o&&(i.forEach(Se),i.length=0,e.forEach(this.Bk,this)),tn.prototype.setMap.call(this,t),t&&(this.j?i.push(me(this.j,"add",this.ui,this),me(this.j,"remove",this.vi,this)):this.l&&i.push(me(this.l,"addfeature",this.ui,this),me(this.l,"removefeature",this.vi,this)),e.forEach(this.Ak,this))},t.Xc=Bi,t.Dj=function(t){this.Gb(t,!1),this.yb(t,!1)},t.Mn=function(t,e){var o,i=0;for(o=(e=Er(e).X()[0]).length-1;i<o;++i){var r=e.slice(i,i+2),n={feature:t,la:r};this.a.Ca(E(r),n)}},t.Nn=function(t,e){var o=e.a;for(e=0;e<o.length;++e){var i=this.fa[o[e].U()];i&&i.call(this,t,o[e])}},t.wi=function(t,e){var o,i=0;for(o=(e=e.X()).length-1;i<o;++i){var r=e.slice(i,i+2),n={feature:t,la:r};this.a.Ca(E(r),n)}},t.On=function(t,e){var o,i,r=0;for(i=(e=e.X()).length;r<i;++r){var n=e[r],p=0;for(o=n.length-1;p<o;++p){var s=n.slice(p,p+2),a={feature:t,la:s};this.a.Ca(E(s),a)}}},t.Pn=function(t,e){var o,i=e.X(),r=0;for(o=i.length;r<o;++r){var n=i[r];n={feature:t,la:[n,n]},this.a.Ca(e.G(),n)}},t.Qn=function(t,e){var o,i,r,n=0;for(r=(e=e.X()).length;n<r;++n){var p=e[n],s=0;for(i=p.length;s<i;++s){var a=p[s],h=0;for(o=a.length-1;h<o;++h){var l=a.slice(h,h+2),u={feature:t,la:l};this.a.Ca(E(l),u)}}}},t.Rn=function(t,e){var o=e.X();t={feature:t,la:[o,o]},this.a.Ca(e.G(),t)},t.Sn=function(t,e){var o,i,r=0;for(i=(e=e.X()).length;r<i;++r){var n=e[r],p=0;for(o=n.length-1;p<o;++p){var s=n.slice(p,p+2),a={feature:t,la:s};this.a.Ca(E(s),a)}}},s(Mm,tn),Mm.prototype.B=function(){return this.l},Mm.prototype.I=function(t){this.l=t},Mm.prototype.setMap=function(t){var e=this.v;tn.prototype.setMap.call(this,t),Cm(this,e)},Mm.prototype.u=function(){Cm(this,null)},s(Lm,Ee),s(Rm,vb);var Im=["#00f","#0ff","#0f0","#ff0","#f00"];(t=Rm.prototype).uh=function(){return this.get(Nm)},t.Bh=function(){return this.get(Fm)},t.yi=function(){return this.get(km)},t.Bl=function(){for(var t=this.Bh(),e=Je(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),r=0,n=t.length;r<n;++r)o.addColorStop(r*i,t[r]);e.fillStyle=o,e.fillRect(0,0,1,256),this.j=e.getImageData(0,0,1,256).data},t.cg=function(){var t,e=this.yi(),o=this.uh(),i=e+o+1;(t=Je(t=2*i,t)).shadowOffsetX=t.shadowOffsetY=this.R,t.shadowBlur=o,t.shadowColor="#000",t.beginPath(),o=i-this.R,t.arc(o,o,e,0,2*Math.PI,!0),t.fill(),this.I=t.canvas.toDataURL(),this.B=Array(256),this.s()},t.Sl=function(t){var e,o,i=(t=t.context).canvas,r=(i=t.getImageData(0,0,i.width,i.height)).data,n=0;for(e=r.length;n<e;n+=4)(o=4*r[n+3])&&(r[n]=this.j[o],r[n+1]=this.j[1+o],r[n+2]=this.j[2+o]);t.putImageData(i,0,0)},t.jj=function(t){this.set(Nm,t)},t.pj=function(t){this.set(Fm,t)},t.Uc=function(t){this.set(km,t)};var Nm="blur",Fm="gradient",km="radius";function Dm(t){tb.call(this,t),this.v=[1,0,0,1,0,0],this.j=null}function Om(t){Dm.call(this,t),this.M=null,this.c=[1,0,0,1,0,0]}function Um(t,e,o,i){var r=qt(o,e,t);return o=Ot(e,i,o),void 0!==(e=e.sc())&&(o*=e),void 0!==(e=t.sc())&&(o/=e),t=Ot(t,o,r)/o,isFinite(t)&&0<t&&(o/=t),o}function Gm(t,e,o,i){t=o-t,e=i-e;var r=Math.sqrt(t*t+e*e);return[Math.round(o+t/r),Math.round(i+e/r)]}function Bm(t,e,g,d,o,v,i,r,n,p,s){var b=Je(Math.round(g*t),Math.round(g*e));if(!n.length)return b.canvas;b.scale(g,g);var m=[1/0,1/0,-1/0,-1/0];n.forEach(function(t){H(m,t.extent)});var w=Je(Math.round(g*st(m)/d),Math.round(g*it(m)/d)),a=g/d;n.forEach(function(t){w.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,(t.extent[0]-m[0])*a,-(t.extent[3]-m[3])*a,st(t.extent)*a,it(t.extent)*a)});var x=nt(i);return r.c.forEach(function(t){var e=t.source,o=t.target,i=e[1][0],r=e[1][1],n=e[2][0],p=e[2][1];t=(o[0][0]-x[0])/v;var s=-(o[0][1]-x[1])/v,a=(o[1][0]-x[0])/v,h=-(o[1][1]-x[1])/v,l=(o[2][0]-x[0])/v,u=-(o[2][1]-x[1])/v;t:{for(r=(i=[[i=i-(o=e[0][0]),r=r-(e=e[0][1]),0,0,a-t],[n=n-o,p=p-e,0,0,l-t],[0,0,i,r,h-s],[0,0,n,p,u-s]]).length,n=0;n<r;n++){p=n;for(var c=Math.abs(i[n][n]),y=n+1;y<r;y++){var f=Math.abs(i[y][n]);c<f&&(c=f,p=y)}if(!c){i=null;break t}for(c=i[p],i[p]=i[n],i[n]=c,p=n+1;p<r;p++)for(c=-i[p][n]/i[n][n],y=n;y<r+1;y++)i[p][y]=n==y?0:i[p][y]+c*i[n][y]}for(n=Array(r),p=r-1;0<=p;p--)for(n[p]=i[p][r]/i[p][p],c=p-1;0<=c;c--)i[c][r]-=i[c][p]*n[p];i=n}i&&(b.save(),b.beginPath(),r=Gm(n=(t+a+l)/3,p=(s+h+u)/3,t,s),a=Gm(n,p,a,h),l=Gm(n,p,l,u),b.moveTo(a[0],a[1]),b.lineTo(r[0],r[1]),b.lineTo(l[0],l[1]),b.clip(),b.transform(i[0],i[2],i[1],i[3],t,s),b.translate(m[0]-o,m[3]-e),b.scale(d/g,-d/g),b.drawImage(w.canvas,0,0),b.restore())}),s&&(b.save(),b.strokeStyle="black",b.lineWidth=1,r.c.forEach(function(t){t=((n=t.target)[0][0]-x[0])/v;var e=-(n[0][1]-x[1])/v,o=(n[1][0]-x[0])/v,i=-(n[1][1]-x[1])/v,r=(n[2][0]-x[0])/v,n=-(n[2][1]-x[1])/v;b.beginPath(),b.moveTo(o,i),b.lineTo(t,e),b.lineTo(r,n),b.closePath(),b.stroke()}),b.restore()),b.canvas}function Xm(t,e,o,i,r){this.i=t,this.f=e;var n={},p=Kt(this.f,this.i);this.a=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=p(t)),n[e]},this.g=i,this.v=r*r,this.c=[],this.o=!1,this.l=this.i.i&&!!i&&!!this.i.G()&&st(i)==st(this.i.G()),this.b=this.i.G()?st(this.i.G()):null,this.j=this.f.G()?st(this.f.G()):null,t=nt(o),e=pt(o),i=tt(o),o=Q(o),r=this.a(t);var s=this.a(e),a=this.a(i),h=this.a(o);if(!function t(e,o,i,r,n,p,s,a,h,l){var u=E([p,s,a,h]),c=e.b?st(u)/e.b:null,y=e.b,f=e.i.i&&.5<c&&c<1,g=!1;if(0<l){if(e.f.c&&e.j)var d=E([o,i,r,n]),g=g|.25<st(d)/e.j;!f&&e.i.c&&c&&(g|=.25<c)}if(g||!e.g||at(u,e.g)){if(!(g||isFinite(p[0])&&isFinite(p[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(h[0])&&isFinite(h[1]))){if(!(0<l))return;g=!0}if(0<l&&(g||(u=e.a([(o[0]+r[0])/2,(o[1]+r[1])/2]),y=f?(L(p[0],y)+L(a[0],y))/2-L(u[0],y):(p[0]+a[0])/2-u[0],u=(p[1]+a[1])/2-u[1],g=y*y+u*u>e.v),g))return void(Math.abs(o[0]-r[0])<=Math.abs(o[1]-r[1])?(f=[(i[0]+r[0])/2,(i[1]+r[1])/2],y=e.a(f),u=[(n[0]+o[0])/2,(n[1]+o[1])/2],c=e.a(u),t(e,o,i,f,u,p,s,y,c,l-1),t(e,u,f,r,n,c,y,a,h,l-1)):(f=[(o[0]+i[0])/2,(o[1]+i[1])/2],y=e.a(f),u=[(r[0]+n[0])/2,(r[1]+n[1])/2],c=e.a(u),t(e,o,f,u,n,p,y,c,h,l-1),t(e,f,i,r,u,y,s,a,c,l-1)));if(f){if(!e.l)return;e.o=!0}e.c.push({source:[p,a,h],target:[o,r,n]}),e.c.push({source:[p,s,a],target:[o,i,r]})}}(this,t,e,i,o,r,s,a,h,10),this.o){var l=1/0;this.c.forEach(function(t){l=Math.min(l,t.source[0][0],t.source[1][0],t.source[2][0])}),this.c.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-l>this.b/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-l>this.b/2&&(e[0][0]-=this.b),e[1][0]-l>this.b/2&&(e[1][0]-=this.b),e[2][0]-l>this.b/2&&(e[2][0]-=this.b),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.b/2&&(t.source=e)}},this)}n={}}function Vm(t){var e=[1/0,1/0,-1/0,-1/0];return t.c.forEach(function(t){t=t.source,q(e,t[0]),q(e,t[1]),q(e,t[2])}),e}function Wm(t,e,o,i,r,n){this.v=e,this.l=t.G();var p=(s=e.G())?rt(o,s):o,s=Um(t,e,et(p),i);this.j=new Xm(t,e,p,this.l,.5*s),this.c=i,this.i=o,t=Vm(this.j),this.o=(this.Hb=n(t,s,r))?this.Hb.a:1,this.ee=this.g=null,r=2,n=[],this.Hb&&(r=0,n=this.Hb.f),pv.call(this,o,i,this.o,r,n)}function Zm(t){wb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.C=void 0!==t.resolutions?t.resolutions:null,this.a=null,this.fa=0}function Km(t,e){return t.C&&(e=t.C[l(t.C,e,0)]),e}function zm(t,e){t.Y().src=e}function Ym(t,e){Ee.call(this,t),this.image=e}s(Dm,tb),Dm.prototype.S=function(t,e,o){ob(this,"precompose",o,t,void 0);var i=this.Y();if(i){var r=void 0!==(n=e.extent)&&!O(n,t.extent)&&at(n,t.extent);r&&eb(o,t,n);var n=this.C(),p=o.globalAlpha;o.globalAlpha=e.opacity,o.drawImage(i,0,0,+i.width,+i.height,Math.round(n[4]),Math.round(n[5]),Math.round(i.width*n[0]),Math.round(i.height*n[3])),o.globalAlpha=p,r&&o.restore()}this.ef(o,t,e)},Dm.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Dm.prototype.u=function(t,e,o,i){if(this.Y()){if(this.a.ha().Ea!==m)return tb.prototype.u.apply(this,arguments);var r=ep(this.v,t.slice());if(Fi(r,e.viewState.resolution/this.f),this.j||(this.j=Je(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.Y(),r[0],r[1],1,1,0,0,1,1),0<(r=this.j.getImageData(0,0,1,1).data)[3])return o.call(i,this.a,r)}},s(Om,Dm),Om.prototype.Y=function(){return this.M?this.M.Y():null},Om.prototype.C=function(){return this.c},Om.prototype.sd=function(t,e){var o=t.pixelRatio,i=t.size,r=(h=t.viewState).center,n=h.resolution,p=this.a.ha(),s=t.viewHints,a=t.extent;if(void 0!==e.extent&&(a=rt(a,e.extent)),s[0]||s[1]||ht(a)||(e=p.Y(a,n,o,h.projection))&&Yv(this,e)&&(this.M=e),this.M){s=(e=this.M).G();var h,l=o*(a=e.resolution)/(n*(h=e.a));s=np(this.c,o*i[0]/2,o*i[1]/2,l,l,0,h*(s[0]-r[0])/a,h*(r[1]-s[3])/a);np(this.v,o*i[0]/2-s[4],o*i[1]/2-s[5],o/n,-o/n,0,-r[0],-r[1]),Jv(t.attributions,e.f),_v(t,p),this.f=n*o/h}return!!this.M},s(Wm,pv),Wm.prototype.ka=function(){1==this.state&&(Se(this.ee),this.ee=null),pv.prototype.ka.call(this)},Wm.prototype.Y=function(){return this.g},Wm.prototype.de=function(){var t=this.Hb.getState();2==t&&(this.g=Bm(st(this.i)/this.c,it(this.i)/this.c,this.o,this.Hb.resolution,0,this.c,this.i,this.j,[{extent:this.Hb.G(),image:this.Hb.Y()}],0)),this.state=t,this.s()},Wm.prototype.load=function(){if(0==this.state){this.state=1,this.s();var t=this.Hb.getState();2==t||3==t?this.de():(this.ee=me(this.Hb,"change",function(){var t=this.Hb.getState();2!=t&&3!=t||(Se(this.ee),this.ee=null,this.de())},this),this.Hb.load())}},s(Zm,wb),Zm.prototype.Y=function(t,e,o,i){var r=this.c;if(r&&i&&!Zt(r,i)){if(this.a){if(this.fa==this.i&&Zt(this.a.v,i)&&this.a.resolution==e&&this.a.a==o&&Y(this.a.G(),t))return this.a;Ae(this.a),this.a=null}return this.a=new Wm(r,i,t,e,o,function(t,e,o){return this.Jc(t,e,o,r)}.bind(this)),this.fa=this.i,this.a}return r&&(i=r),this.Jc(t,e,o,i)},Zm.prototype.o=function(t){switch((t=t.target).getState()){case 1:this.b(new Ym(Hm,t));break;case 2:this.b(new Ym(qm,t));break;case 3:this.b(new Ym(Jm,t))}},s(Ym,Ee);var Hm="imageloadstart",qm="imageloadend",Jm="imageloaderror";function _m(t){Zm.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.pa=t.canvasFunction,this.R=null,this.T=0,this.va=void 0!==t.ratio?t.ratio:1.5}function $m(t){this.f=t.source,this.$a=[1,0,0,1,0,0],this.g=Je(),this.l=[0,0],this.Sa=null==t.renderBuffer?100:t.renderBuffer,this.B=null,_m.call(this,{attributions:t.attributions,canvasFunction:this.tk.bind(this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.f.getState()}),this.I=null,this.v=void 0,this.Ii(t.style),me(this.f,"change",this.ro,this)}function Qm(t,e){fb.call(this,t,e),this.o=this.f=this.M=null}function tw(t){zn.call(this,t||{})}function ew(t){Dm.call(this,t),this.c=null===this.c?null:Je(),this.o=null,this.g=[],this.l=[1/0,1/0,-1/0,-1/0],this.va=new I(0,0,0,0),this.B=[1,0,0,1,0,0],this.T=0}function ow(t,e){return e=e.getState(),t=t.a.kd(),2==e||4==e||3==e&&!t}function iw(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}s(_m,Zm),_m.prototype.Jc=function(t,e,o,i){e=Km(this,e);var r=this.R;return r&&this.T==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t)||(lt(t=t.slice(),this.va),(i=this.pa(t,e,o,[st(t)/e*o,it(t)/e*o],i))&&(r=new av(t,e,o,this.j,i)),this.R=r,this.T=this.i),r},s($m,_m),(t=$m.prototype).tk=function(t,n,p,e,o){var s=new Bv(.5*n/p,t,n,this.f.T,this.Sa);this.f.Yd(t,n,o);var a=!1;return this.f.$b(t,function(t){var e,o;if(!(e=a))if((e=t.Lc())?o=e.call(t,n):this.v&&(o=this.v(t,n)),o){var i,r=!1;for(Array.isArray(o)||(o=[o]),e=0,i=o.length;e<i;++e)r=pb(s,t,o[e],nb(n,p),this.qo,this)||r;e=r}else e=!1;a=e},this),Wv(s),a?null:(this.l[0]!=e[0]||this.l[1]!=e[1]?(this.g.canvas.width=e[0],this.g.canvas.height=e[1],this.l[0]=e[0],this.l[1]=e[1]):this.g.clearRect(0,0,e[0],e[1]),t=function(t,e,o,i,r){return o=i/o,np(t.$a,r[0]/2,r[1]/2,o,-o,0,-e[0],-e[1])}(this,et(t),n,p,e),s.La(this.g,p,t,0,{}),this.B=s,this.g.canvas)},t.Ea=function(t,e,o,i,r,n){if(this.B){var p={};return this.B.Ea(t,e,0,i,r,function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,n(t)})}},t.no=function(){return this.f},t.oo=function(){return this.I},t.po=function(){return this.v},t.qo=function(){this.s()},t.ro=function(){Sb(this,this.f.getState())},t.Ii=function(t){this.I=void 0!==t?t:Rh,this.v=t?Ch(this.I):void 0,this.s()},s(Qm,fb),Qm.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Qm.prototype.ng=function(t,e){var o=this.c.i,i=t.pixelRatio,r=t.viewState,n=r.center,p=r.resolution,s=r.rotation,a=this.M,h=this.Ib,l=this.a.ha(),u=t.viewHints,c=t.extent;return void 0!==e.extent&&(c=rt(c,e.extent)),u[0]||u[1]||ht(c)||(e=l.Y(c,p,i,r.projection))&&Yv(this,e)&&(h=function(t,e){return e=e.Y(),hs(t.c.i,e)}(this,a=e),this.Ib&&t.postRenderFunctions.push(function(t,e){t.isContextLost()||t.deleteTexture(e)}.bind(null,o,this.Ib))),a&&(function(t,e,o,i,r,n,p,s){e*=n,o*=n,_n(t=t.S),ip(t,2*i/e,2*i/o),op(t,-p),rp(t,s[0]-r[0],s[1]-r[1]),ip(t,(s[2]-s[0])/2,(s[3]-s[1])/2),rp(t,1,1)}(this,(o=this.c.f.j).width,o.height,i,n,p,s,a.G()),this.o=null,_n(i=this.v),ip(i,1,-1),rp(i,0,-1),this.M=a,this.Ib=h,Jv(t.attributions,a.f),_v(t,l)),!!a},Qm.prototype.Ue=function(t,e){return void 0!==this.Ea(t,e,0,Gi,this)},Qm.prototype.lg=function(t,e,o,i){if(this.M&&this.M.Y())if(this.a.ha()instanceof $m){var r=ep(e.pixelToCoordinateTransform,t.slice());if(this.Ea(r,e,0,Gi,this))return o.call(i,this.a,null)}else{if(r=[this.M.Y().width,this.M.Y().height],!this.o){var n=e.size;rp(e=[1,0,0,1,0,0],-1,-1),ip(e,2/n[0],2/n[1]),rp(e,0,n[1]),ip(e,1,-1);n=pp(this.S.slice());var p=[1,0,0,1,0,0];rp(p,0,r[1]),ip(p,1,-1),ip(p,r[0]/2,r[1]/2),rp(p,1,1),$n(p,n),$n(p,e),this.o=p}if(!((t=ep(this.o,t.slice()))[0]<0||t[0]>r[0]||t[1]<0||t[1]>r[1])&&(this.f||(this.f=Je(1,1)),this.f.clearRect(0,0,1,1),this.f.drawImage(this.M.Y(),t[0],t[1],1,1,0,0,1,1),0<(r=this.f.getImageData(0,0,1,1).data)[3]))return o.call(i,this.a,r)}},s(tw,zn),tw.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new Om(this):"webgl"===o&&(e=new Qm(t,this)),e},s(ew,Dm),ew.prototype.sd=function(t,e){var o=t.pixelRatio,i=t.size,r=(p=t.viewState).projection,n=p.resolution,p=p.center,s=this.a,a=s.ha(),h=a.i,l=a.Ta(r),u=l.tc(n,this.T),c=l.Da(u),y=Math.round(n/c)||1,f=t.extent;if(void 0!==e.extent&&(f=rt(f,e.extent)),ht(f))return!1;var g=ie(l,f,c),d=l.Pc(u),v=l.Da(u),b=F(l.gb(u),l.j);d=W(d[0]+g.ca*b[0]*v,d[1]+g.da*b[1]*v,d[0]+(g.$+1)*b[0]*v,d[1]+(g.ia+1)*b[1]*v,void 0),v=a.nb(o),(b={})[u]={};var m,w,x=this.Nf(a,r,b),S=this.l,M=this.va,P=!1;for(m=g.ca;m<=g.$;++m)for(w=g.da;w<=g.ia;++w){var A=a.Nc(u,m,w,o,r);3!=A.getState()||this.a.kd()||uv(A,2),ow(this,A)||(A=lv(A)),ow(this,A)?2==A.getState()&&(b[u][A.ta.toString()]=A,P||-1!=this.g.indexOf(A)||(P=!0)):ee(l,A.ta,x,M,S)||(A=oe(l,A.ta,M,S))&&x(u+1,A)}if(m=(m=t.viewHints)[0]||m[1],!(this.f&&16<Date.now()-t.time&&m||!P&&this.o&&O(this.o,f)&&this.mf==h&&y==this.R&&(m||c*o/v*y==this.f))){(m=this.c)&&(w=a.Xd(u,o,r),A=Math.round((g.$-g.ca+1)*w[0]/y),w=Math.round((g.ia-g.da+1)*w[1]/y),(P=m.canvas).width!=A||P.height!=w?(this.R=y,P.width=A,P.height=w):(m.clearRect(0,0,A,w),y=this.R)),this.g.length=0,(P=Object.keys(b).map(Number)).sort(N);var E;M=0;for(E=P.length;M<E;++M){m=P[M],x=a.Xd(m,o,r);var T=(A=l.Da(m))/c,j=v*a.Wf(r),C=b[m];for(var L in C){A=C[L],m=((w=l.Aa(A.ta,S))[0]-d[0])/c*v/y,w=(d[3]-w[3])/c*v/y;var R=x[0]*T/y,I=x[1]*T/y;this.Of(A,t,e,m,w,R,I,j),this.g.push(A)}}this.mf=h,this.f=c*o/v*y,this.o=d}return e=this.f/n,e=np(this.B,o*i[0]/2,o*i[1]/2,e,e,0,(this.o[0]-p[0])/this.f*o,(p[1]-this.o[3])/this.f*o),np(this.v,o*i[0]/2-e[4],o*i[1]/2-e[5],o/n,-o/n,0,-p[0],-p[1]),$v(t.usedTiles,a,u,g),Qv(t,a,l,o,r,f,u,s.Ud()),qv(t,a),_v(t,a),0<this.g.length},ew.prototype.Of=function(t,e,o,i,r,n,p,s){this.a.ha().Zf(e.viewState.projection)||this.c.clearRect(i,r,n,p),(t=t.Y())&&this.c.drawImage(t,s,s,t.width-2*s,t.height-2*s,i,r,n,p)},ew.prototype.Y=function(){var t=this.c;return t?t.canvas:null},ew.prototype.C=function(){return this.B},s(iw,Rp);var rw=new iw;function nw(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}s(nw,Ip);var pw=new nw;function sw(t,e){this.i=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function aw(t,e){fb.call(this,t,e),this.I=rw,this.fa=pw,this.f=null,this.B=new zp([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.D=this.o=null,this.l=-1,this.R=[0,0]}function hw(t){var e=ct({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,zn.call(this,e),this.zi(void 0!==t.preload?t.preload:0),this.Ai(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}function lw(t){this.c=null,ew.call(this,t),this.I=!1,this.D=[1,0,0,1,0,0],this.T="vector"==t.j?1:0}s(aw,fb),(t=aw.prototype).ka=function(){is(this.c.f,this.B),fb.prototype.ka.call(this)},t.Nf=function(e,i,r){var n=this.c;return function(o,t){return Pw(e,i,o,t,function(t){var e=n.a.b.hasOwnProperty(t.bb());return e&&(r[o]||(r[o]={}),r[o][t.ta.toString()]=t),e})}},t.mg=function(){fb.prototype.mg.call(this),this.f=null},t.ng=function(t,e,o){var i=this.c,r=o.b,n=t.viewState,p=n.projection,s=this.a,a=s.ha(),h=a.Ta(p),l=h.tc(n.resolution),u=h.Da(l),c=a.Xd(l,t.pixelRatio,p),y=c[0]/F(h.gb(l),this.R)[0],f=u/y,g=a.nb(y)*a.Wf(p),d=n.center,v=t.extent,b=ie(h,v,u);if(this.o&&function(t,e){return t.ca==e.ca&&t.da==e.da&&t.$==e.$&&t.ia==e.ia}(this.o,b)&&this.l==a.i)f=this.D;else{var m=[b.$-b.ca+1,b.ia-b.da+1],w=(m=f*(A=function(t){return R(0<t,29),Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}(Math.max(m[0]*c[0],m[1]*c[1]))),h.Pc(l));f=[E=w[0]+b.ca*c[0]*f,f=w[1]+b.da*c[1]*f,E+m,f+m];!function(t,e,o){var i=t.c.i;if(void 0===t.j||t.j!=o){e.postRenderFunctions.push(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))}.bind(null,i,t.g,t.Ib)),e=as(i,o,o);var r=i.createFramebuffer();i.bindFramebuffer(36160,r),i.framebufferTexture2D(36160,36064,3553,e,0),t.Ib=e,t.g=r,t.j=o}else i.bindFramebuffer(36160,t.g)}(this,t,A),r.viewport(0,0,A,A),r.clearColor(0,0,0,0),r.clear(16384),r.disable(3042),A=ps(o,this.I,this.fa),o.Qc(A),this.f||(this.f=new sw(r,A)),os(o,34962,this.B),r.enableVertexAttribArray(this.f.b),r.vertexAttribPointer(this.f.b,2,5126,!1,16,0),r.enableVertexAttribArray(this.f.a),r.vertexAttribPointer(this.f.a,2,5126,!1,16,8),r.uniform1i(this.f.i,0),(o={})[l]={};var x,S,M=this.Nf(a,p,o),P=s.kd(),A=!0,E=[1/0,1/0,-1/0,-1/0],T=new I(0,0,0,0);for(x=b.ca;x<=b.$;++x)for(S=b.da;S<=b.ia;++S){if(w=a.Nc(l,x,S,y,p),void 0!==e.extent){var j=h.Aa(w.ta,E);if(!at(j,e.extent))continue}if((j=2==(j=w.getState())||4==j||3==j&&!P)||(w=lv(w)),2==(j=w.getState())){if(i.a.b.hasOwnProperty(w.bb())){o[l][w.ta.toString()]=w;continue}}else if(4==j||3==j&&!P)continue;A=!1,(j=ee(h,w.ta,M,T,E))||(w=oe(h,w.ta,T,E))&&M(l+1,w)}(e=Object.keys(o).map(Number)).sort(N);var C;for(M=new Float32Array(4),P=0,T=e.length;P<T;++P)for(C in x=o[e[P]])w=x[C],j=h.Aa(w.ta,E),M[0]=2*(j[2]-j[0])/m,M[1]=2*(j[3]-j[1])/m,M[2]=2*(j[0]-f[0])/m-1,M[3]=2*(j[1]-f[1])/m-1,r.uniform4fv(this.f.c,M),Xa(i,w,c,g*y),r.drawArrays(5,0,4);A?(this.o=b,this.D=f,this.l=a.i):(this.D=this.o=null,this.l=-1,t.animate=!0)}$v(t.usedTiles,a,l,b);var L=i.j;return Qv(t,a,h,y,p,v,l,s.Ud(),function(t){2!=t.getState()||i.a.b.hasOwnProperty(t.bb())||t.bb()in L.a||L.f([t,ne(h,t.ta),h.Da(t.ta[0]),c,g*y])},this),qv(t,a),_v(t,a),_n(r=this.v),rp(r,(Math.round(d[0]/u)*u-f[0])/(f[2]-f[0]),(Math.round(d[1]/u)*u-f[1])/(f[3]-f[1])),n.rotation&&op(r,n.rotation),ip(r,t.size[0]*n.resolution/(f[2]-f[0]),t.size[1]*n.resolution/(f[3]-f[1])),rp(r,-.5,-.5),!0},t.lg=function(t,e,o,i){if(this.g){t=[(t=ep(this.v,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]].slice()))[0]*this.j,t[1]*this.j],(e=this.c.f.b).bindFramebuffer(e.FRAMEBUFFER,this.g);var r=new Uint8Array(4);if(e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,r),0<r[3])return o.call(i,this.a,r)}},s(hw,zn),(t=hw.prototype).Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new ew(this):"webgl"===o&&(e=new aw(t,this)),e},t.Ud=function(){return this.get("preload")},t.zi=function(t){this.set("preload",t)},t.kd=function(){return this.get("useInterimTilesOnError")},t.Ai=function(t){this.set("useInterimTilesOnError",t)},s(lw,ew);var uw={image:jp,hybrid:["Polygon","LineString"]},cw={hybrid:["Image","Text"],vector:jp};function yw(t){var e=ct({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,vb.call(this,e),this.Bi(t.preload?t.preload:0),this.Ci(!t.useInterimTilesOnError||t.useInterimTilesOnError),R(null==t.renderMode||"image"==t.renderMode||"hybrid"==t.renderMode||"vector"==t.renderMode,28),this.j=t.renderMode||"hybrid"}function fw(t,e,o,i){function r(){delete window[p],n.parentNode.removeChild(n)}var n=document.createElement("script"),p="olc_"+G(e);n.async=!0,n.src=t+(-1==t.indexOf("?")?"?":"&")+(i||"callback")+"="+p;var s=setTimeout(function(){r(),o&&o()},1e4);window[p]=function(t){clearTimeout(s),r(),e(t)},document.getElementsByTagName("head")[0].appendChild(n)}function gw(t,e,o,i,r,n,p,s,a,h,l){if(hv.call(this,r,0),this.D=void 0!==l&&l,this.S=p,this.u=s,this.v=null,this.c=e,this.j=i,this.o=n||r,this.a=[],this.yd=null,this.g=0,n=i.Aa(this.o),s=this.j.G(),r=this.c.G(),$(n=s?rt(n,s):n))if((s=t.G())&&(r=r?rt(r,s):s),i=Um(t,o,et(n),i.Da(this.o[0])),!isFinite(i)||i<=0)this.state=4;else if(this.l=new Xm(t,o,n,r,i*(void 0!==h?h:.5)),this.l.c.length)if(this.g=e.tc(i),o=Vm(this.l),r&&(t.i?(o[1]=w(o[1],r[1],r[3]),o[3]=w(o[3],r[1],r[3])):o=rt(o,r)),$(o)){for(e=(t=re(e,o,this.g)).ca;e<=t.$;e++)for(o=t.da;o<=t.ia;o++)(h=a(this.g,e,o,p))&&this.a.push(h);this.a.length||(this.state=4)}else this.state=4;else this.state=4;else this.state=4}function dw(t,o){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,p=/\{-y\}/g;return function(e){if(e)return t.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(n,function(){return(-e[2]-1).toString()}).replace(p,function(){var t=o.a?o.a[e[0]]:null;return R(t,55),(t.ia-t.da+1+e[2]).toString()})}}function vw(t,e){for(var o=t.length,i=Array(o),r=0;r<o;++r)i[r]=dw(t[r],e);return bw(i)}function bw(i){return 1===i.length?i[0]:function(t,e,o){if(t)return i[L((t[1]<<t[0])+t[2],i.length)](t,e,o)}}function mw(){}function ww(t){var e=[],o=/\{([a-z])-([a-z])\}/.exec(t);if(o){var i,r=o[2].charCodeAt(0);for(i=o[1].charCodeAt(0);i<=r;++i)e.push(t.replace(o[0],String.fromCharCode(i)));return e}if(o=/\{(\d+)-(\d+)\}/.exec(t)){for(r=parseInt(o[2],10),i=parseInt(o[1],10);i<=r;i++)e.push(t.replace(o[0],i.toString()));return e}return e.push(t),e}function xw(t){Ga.call(this),this.highWaterMark=void 0!==t?t:2048}function Sw(t){return t.c>t.highWaterMark}function Mw(t){wb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.va=void 0!==t.opaque&&t.opaque,this.$a=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new xw(t.cacheSize),this.o=[0,0],this.uc=""}function Pw(t,e,o,i,r){if(!(e=t.Wd(e)))return!1;for(var n,p,s=!0,a=i.ca;a<=i.$;++a)for(var h=i.da;h<=i.ia;++h)n=t.Sb(o,a,h),p=!1,e.b.hasOwnProperty(n)&&((p=2===(n=e.get(n)).getState())&&(p=!1!==r(n))),p||(s=!1);return s}function Aw(t,e){t.uc!==e&&(t.uc=e,t.s())}function Ew(t,e,o){var i=void 0!==o?o:t.c;if(o=t.Ta(i),t.u&&i.c){var r=e;e=r[0],t=ne(o,r),e=D(i=ue(i),t)?r:(r=st(i),t[0]+=r*Math.ceil((i[0]-t[0])/r),o.bg(t,e))}if(r=e[0],i=e[1],t=e[2],o.minZoom>r||r>o.maxZoom)o=!1;else{var n=o.G();o=!(o=n?re(o,n,r):o.a?o.a[r]:null)||y(o,i,t)}return o?e:null}function Tw(t,e){Ee.call(this,t),this.tile=e}function jw(t){Mw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=this.Fc?this.Fc.bind(this):mw,this.urls=null,t.urls?this.eb(t.urls):t.url&&this.jb(t.url),t.tileUrlFunction&&this.cb(t.tileUrlFunction)}function Cw(t){jw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Iw,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=t.tileClass?t.tileClass:cv,this.g={},this.v={},this.Sa=t.reprojectionErrorThreshold,this.I=!1}function Lw(t,e,o,i,r,n,p){return r=(o=Ew(t,e=[e,o,i],n))?t.tileUrlFunction(o,r,n):void 0,(r=new t.tileClass(e,void 0!==r?0:4,void 0!==r?r:"",t.crossOrigin,t.tileLoadFunction)).key=p,me(r,"change",t.Li,t),r}function Rw(t,e,o,i,r,n){var p=t.Sb(e,o,i),s=t.uc;if(t.a.b.hasOwnProperty(p)){var a=t.a.get(p);if(a.key!=s){var h=a;if(a=Lw(t,e,o,i,r,n,s),0==h.getState()?a.i=h.i:a.i=h,a.i){e=a.i,o=a;do{if(2==e.getState()){e.i=null;break}1==e.getState()?o=e:0==e.getState()?o.i=e.i:o=e,e=o.i}while(e)}t.a.replace(p,a)}}else a=Lw(t,e,o,i,r,n,s),t.a.set(p,a);return a}function Iw(t,e){t.Y().src=e}function Nw(t){this.B=void 0!==t.hidpi&&t.hidpi,Cw.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Wt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:this.B?2:1,wrapX:void 0===t.wrapX||t.wrapX}),this.R=void 0!==t.culture?t.culture:"en-us",this.C=void 0!==t.maxZoom?t.maxZoom:-1,this.f=t.key,this.l=t.imagerySet,fw("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.l+"?uriScheme=https&include=ImageryProviders&key="+this.f,this.pa.bind(this),void 0,"jsonp")}(t=lw.prototype).sd=function(t,e){var o=this.a,i=o.i;return this.pa!=i&&(this.g.length=0,o=o.j,this.c||"vector"==o||(this.c=Je()),this.c&&"vector"==o&&(this.c=null)),this.pa=i,ew.prototype.sd.apply(this,arguments)},t.Of=function(t,e,o,i,r,n,p,s){var a=t,h=this.a,l=e.pixelRatio,u=e.viewState.projection,c=h.i,y=h.get(bb)||null,f=a.o;if(f.Nd||f.mf!=c||f.Kg!=y){for(var g=0,d=a.a.length;g<d;++g){var v=a.c[a.a[g]];v.S=null,f.Nd=!1;var b=h.ha(),m=b.tileGrid,w=v.ta,x=v.a,S=(P=b.Ta(u)).Da(a.ta[0]),M=m.Da(v.ta[0]),P=rt(P=P.Aa(a.v),w=m.Aa(w));if("tile-pixels"==x.a){var A=m=b.nb();M=ep(M=np(this.D,0,0,1/M*A,-1/M*A,0,-w[0],-w[3]),[P[0],P[3]]).concat(ep(M,[P[2],P[1]]))}else if(m=S,M=P,!Zt(u,x)){var E=!0;v.ig(u)}for(f.Nd=!1,b=new Bv(0,M,m,b.l,h.c),M=nb(m,l),m=v.g,y&&y!==f.Kg&&m.sort(y),w=0,P=m.length;w<P;++w){A=m[w],E&&A.V().tb(x,u);var T=void 0;if((j=A.Lc())?T=j.call(A,S):(j=h.f)&&(T=j(A,S)),T){Array.isArray(T)||(T=[T]);var j=M,C=b;if(T){var L=!1;if(Array.isArray(T))for(var R=0,I=T.length;R<I;++R)L=pb(C,A,T[R],j,this.Fi,this)||L;else L=pb(C,A,T,j,this.Fi,this)||L;A=L}else A=!1;this.I=this.I||A,f.Nd=f.Nd||A}}Wv(b),v.c[a.ta.toString()]=b}f.mf=c,f.Kg=y}if(this.c){if(g=e,u=this.a,l=a.o,c=u.i,(h=uw[u.j])&&l.Lg!==c)for(l.Lg=c,v=(d=a.v)[0],l=g.pixelRatio,u=(S=u.ha()).tileGrid,c=(x=S.Ta(g.viewState.projection)).Da(v),y=S.nb(),a.j||(a.j=Je()),f=a.j,g=S.Xd(v,l,g.viewState.projection),f.canvas.width=g[0],f.canvas.height=g[1],g=x.Aa(d),d=0,v=a.a.length;d<v;++d)b=(x=a.c[a.a[d]]).ta,E=l/c,S=_n(this.D),"tile-pixels"==x.a.a?(E=u.Aa(b,this.l),ip(S,M=l/y*(b=u.Da(b[0]))/c,M),rp(S,Math.round((E[0]-g[0])/b*y),Math.round((g[3]-E[3])/b*y))):(ip(S,E,-E),rp(S,-g[0],-g[3])),x.c[a.ta.toString()].La(f,l,S,0,{},h);ew.prototype.Of.apply(this,arguments)}},t.Ea=function(t,e,o,i,r){var n=e.viewState.resolution,p=e.viewState.rotation;o=null==o?0:o;var s=this.a,a={},h=this.g,l=s.ha();e=l.Ta(e.viewState.projection);var u,c=l.tileGrid,y=0;for(u=h.length;y<u;++y){var f=h[y],g=f.ta,d=T(g=e.Aa(g,this.l),o*n,d);if(D(d,t)){g=0;for(var v=f.a.length;g<v;++g){var b=f.c[f.a[g]];if("tile-pixels"===b.a.a){var m=b.ta,w=nt(n=c.Aa(m,this.l));n=l.nb(),m=c.Da(m[0])/n,w=[(t[0]-w[0])/m,(w[1]-t[1])/m]}else w=t;b=b.c[f.ta];var x=x||b.Ea(w,n,p,o,{},function(t){var e=G(t).toString();if(!(e in a))return a[e]=!0,i.call(r,t,s)})}}}return x},t.Fi=function(){Hv(this)},t.ef=function(t,e,o){var i=(l=this.a).ha(),r=cw[l.j];if(r)for(var n=e.pixelRatio,p=e.viewState.rotation,s=e.size,a=Math.round(n*s[0]/2),h=(s=Math.round(n*s[1]/2),this.g),l=l.ha().nb(),u=i.tileGrid,c=(i=i.Ta(e.viewState.projection),[]),y=[],f=h.length-1;0<=f;--f){var g=h[f];if(5!=g.getState())for(var d=g.ta,v=i.Aa(d)[0]-i.Aa(g.v)[0],b=0,m=g.a.length;b<m;++b){var w=g.c[g.a[b]],x=w.ta[0],S=u.Da(x),M=e;if("tile-pixels"==(T=w).a.a){var P=(E=this.a.ha()).tileGrid,A=T.ta,E=P.Da(A[0])/E.nb(),T=M.viewState,j=M.pixelRatio,C=T.resolution/j;A=P.Aa(A,this.l),P=T.center,A=nt(A);M=M.size,M=np(this.D,Math.round(j*M[0]/2),Math.round(j*M[1]/2),E/C,E/C,T.rotation,(A[0]-P[0])/E,(P[1]-A[1])/E)}else M=ib(this,M,0);for(rp(M,v*l/S,0),S=Zv(w=w.c[d.toString()],M),t.save(),t.globalAlpha=o.opacity,vp(t,-p,a,s),E=0,T=c.length;E<T;++E)j=c[E],x<y[E]&&(t.beginPath(),t.moveTo(S[0],S[1]),t.lineTo(S[2],S[3]),t.lineTo(S[4],S[5]),t.lineTo(S[6],S[7]),t.moveTo(j[6],j[7]),t.lineTo(j[4],j[5]),t.lineTo(j[2],j[3]),t.lineTo(j[0],j[1]),t.clip());w.La(t,n,M,p,{},r),t.restore(),c.push(S),y.push(x)}}ew.prototype.ef.apply(this,arguments)},s(yw,vb),(t=yw.prototype).Fd=function(t){var e=null;return"canvas"===t.U()&&(e=new lw(this)),e},t.Ud=function(){return this.get("preload")},t.kd=function(){return this.get("useInterimTilesOnError")},t.Bi=function(t){this.set("preload",t)},t.Ci=function(t){this.set("useInterimTilesOnError",t)},s(gw,hv),gw.prototype.ka=function(){1==this.state&&(this.yd.forEach(Se),this.yd=null),hv.prototype.ka.call(this)},gw.prototype.Y=function(){return this.v},gw.prototype.de=function(){var e=[];if(this.a.forEach(function(t){t&&2==t.getState()&&e.push({extent:this.c.Aa(t.ta),image:t.Y()})},this),this.a.length=0,e.length){var t=this.o[0],o="number"==typeof(i=this.j.gb(t))?i:i[0],i="number"==typeof i?i:i[1],r=(t=this.j.Da(t),this.c.Da(this.g)),n=this.j.Aa(this.o);this.v=Bm(o,i,this.S,r,this.c.G(),t,n,this.l,e,this.u,this.D),this.state=2}else this.state=3;this.s()},gw.prototype.load=function(){if(0==this.state){this.state=1,this.s();var i=0;this.yd=[],this.a.forEach(function(e){var t=e.getState();if(0==t||1==t){i++;var o=me(e,"change",function(){var t=e.getState();2!=t&&3!=t&&4!=t||(Se(o),--i||(this.yd.forEach(Se),this.yd=null,this.de()))},this);this.yd.push(o)}},this),this.a.forEach(function(t){0==t.getState()&&t.load()}),i||setTimeout(this.de.bind(this),0)}},s(xw,Ga),xw.prototype.fd=function(t){for(var e,o;Sw(this);){var i;if((i=(o=(e=this.a.Yc).ta[0].toString())in t)&&(e=e.ta,i=y(t[o],e[1],e[2])),i)break;Ae(this.pop())}},s(Mw,wb),(t=Mw.prototype).Ki=function(){return Sw(this.a)},t.fd=function(t,e){(t=this.Wd(t))&&t.fd(e)},t.Wf=function(){return 0},t.Sb=function(t,e,o){return t+"/"+e+"/"+o},t.Zf=function(){return this.va},t.ab=function(){return this.tileGrid},t.Ta=function(t){return this.tileGrid?this.tileGrid:se(t)},t.Wd=function(t){var e=this.c;return e&&!Zt(e,t)?null:this.a},t.nb=function(){return this.$a},t.Xd=function(t,e,o){return o=this.Ta(o),e=this.nb(e),t=F(o.gb(t),this.o),1==e?t:A(t,e,this.o)},t.sa=function(){this.a.clear(),this.s()},t.Ug=m,s(Tw,Ee),s(jw,Mw),(t=jw.prototype).pb=function(){return this.tileLoadFunction},t.qb=function(){return this.tileUrlFunction},t.rb=function(){return this.urls},t.Li=function(t){switch((t=t.target).getState()){case 1:this.b(new Tw("tileloadstart",t));break;case 2:this.b(new Tw("tileloadend",t));break;case 3:this.b(new Tw("tileloaderror",t))}},t.vb=function(t){this.a.clear(),this.tileLoadFunction=t,this.s()},t.cb=function(t,e){this.tileUrlFunction=t,void 0!==e?Aw(this,e):this.s()},t.jb=function(t){var e=this.urls=ww(t);this.cb(this.Fc?this.Fc.bind(this):vw(e,this.tileGrid),t)},t.eb=function(t){var e=(this.urls=t).join("\n");this.cb(this.Fc?this.Fc.bind(this):vw(t,this.tileGrid),e)},t.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},s(Cw,jw),(t=Cw.prototype).Ki=function(){if(Sw(this.a))return!0;for(var t in this.g)if(Sw(this.g[t]))return!0;return!1},t.fd=function(t,e){for(var o in t=this.Wd(t),this.a.fd(this.a==t?e:{}),this.g){var i=this.g[o];i.fd(i==t?e:{})}},t.Wf=function(t){return this.c&&t&&!Zt(this.c,t)?0:this.Xf()},t.Xf=function(){return 0},t.Zf=function(t){return!(this.c&&t&&!Zt(this.c,t))&&jw.prototype.Zf.call(this,t)},t.Ta=function(t){var e=this.c;return!this.tileGrid||e&&!Zt(e,t)?((e=G(t).toString())in this.v||(this.v[e]=se(t)),this.v[e]):this.tileGrid},t.Wd=function(t){var e=this.c;return!e||Zt(e,t)?this.a:((t=G(t).toString())in this.g||(this.g[t]=new xw(this.a.highWaterMark)),this.g[t])},t.Nc=function(t,e,o,i,r){if(this.c&&r&&!Zt(this.c,r)){var n,p=this.Wd(r);if(o=[t,e,o],t=this.Sb.apply(this,o),p.b.hasOwnProperty(t)&&(n=p.get(t)),e=this.uc,n&&n.key==e)return n;var s=this.c,a=this.Ta(s),h=this.Ta(r),l=Ew(this,o,r);return(i=new gw(s,a,r,h,o,l,this.nb(i),this.Xf(),function(t,e,o,i){return Rw(this,t,e,o,i,s)}.bind(this),this.Sa,this.I)).key=e,n?(i.i=n,p.replace(t,i)):p.set(t,i),i}return Rw(this,t,e,o,i,r)},t.Pb=function(t){if(this.I!=t){for(var e in this.I=t,this.g)this.g[e].clear();this.s()}},t.Qb=function(t,e){(t=Wt(t))&&((t=G(t).toString())in this.v||(this.v[t]=e))},s(Nw,Cw);var Fw=new ce({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});function kw(t){var e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",o=void 0!==t.tileGrid?t.tileGrid:ae({extent:ue(e),maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX})}function Dw(t){this.C=t.account,this.B=t.map||"",this.f=t.config||{},this.l={},kw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,state:"loading",wrapX:t.wrapX}),Ow(this)}function Ow(t){var e=JSON.stringify(t.f);if(t.l[e])Uw(t,t.l[e]);else{var o="https://"+t.C+".cartodb.com/api/v1/map";t.B&&(o+="/named/"+t.B);var i=new XMLHttpRequest;i.addEventListener("load",t.Dl.bind(t,e)),i.addEventListener("error",t.Cl.bind(t)),i.open("POST",o),i.setRequestHeader("Content-type","application/json"),i.send(JSON.stringify(t.f))}}function Uw(t,e){t.jb("https://"+e.cdn_url.https+"/"+t.C+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png")}function Gw(t){Mb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.features=[],this.geometryFunction=t.geometryFunction||function(t){return R((t=t.V())instanceof lr,10),t},this.source=t.source,this.source.J("change",Gw.prototype.sa,this)}function Bw(t){if(void 0!==t.resolution)for(var e=[1/(t.features.length=0),1/0,-1/0,-1/0],o=t.distance*t.resolution,i=t.source.Xe(),r={},n=0,p=i.length;n<p;n++){var s=i[n];G(s).toString()in r||!(s=t.geometryFunction(s))||(K(s=s.X(),e),T(e,o,e),s=(s=t.source.Uf(e)).filter(function(t){return!((t=G(t).toString())in r)&&(r[t]=!0)}),t.features.push(Xw(t,s)))}}function Xw(t,e){for(var o=[0,0],i=e.length-1;0<=i;--i){var r=t.geometryFunction(e[i]);r?ji(o,r.X()):e.splice(i,1)}return Fi(o,1/e.length),(t=new Fh(new lr(o))).set("features",e),t}function Vw(t,e){var o=[];Object.keys(e).forEach(function(t){null!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]))});var i=o.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+i}function Ww(t){Zm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.T=void 0===t.hidpi||t.hidpi,this.f=t.url,this.g=t.imageLoadFunction?t.imageLoadFunction:zm,this.v=t.params||{},this.M=null,this.l=[0,0],this.I=0,this.B=void 0!==t.ratio?t.ratio:1.5}function Zw(t){Zm.call(this,{projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.l=void 0!==t.displayDpi?t.displayDpi:96,this.g=t.params||{},this.I=t.url,this.f=t.imageLoadFunction?t.imageLoadFunction:zm,this.T=void 0===t.hidpi||t.hidpi,this.pa=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.v=void 0!==t.ratio?t.ratio:1,this.va=void 0!==t.useOverlay&&t.useOverlay,this.M=null,this.B=0}function Kw(t){var e=t.imageExtent,o=void 0!==t.crossOrigin?t.crossOrigin:null,i=t.imageLoadFunction?t.imageLoadFunction:zm;Zm.call(this,{attributions:t.attributions,logo:t.logo,projection:Wt(t.projection)}),this.M=new sv(e,void 0,1,this.j,t.url,o,i),this.f=t.imageSize?t.imageSize:null,me(this.M,"change",this.o,this)}function zw(t){Zm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.pa=void 0!==t.crossOrigin?t.crossOrigin:null,this.g=t.url,this.v=t.imageLoadFunction?t.imageLoadFunction:zm,this.f=t.params||{},this.l=!0,qw(this),this.T=t.serverType,this.va=void 0===t.hidpi||t.hidpi,this.M=null,this.B=[0,0],this.R=0,this.I=void 0!==t.ratio?t.ratio:1.5}Nw.prototype.T=function(){return this.f},Nw.prototype.fa=function(){return this.l},Nw.prototype.pa=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)Sb(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var i=t.resourceSets[0].resources[0],p=-1==this.C?i.zoomMax:this.C,s=ae({extent:t=ue(this.c),minZoom:i.zoomMin,maxZoom:p,tileSize:(i.imageWidth==i.imageHeight?i.imageWidth:[i.imageWidth,i.imageHeight])/this.nb()});this.tileGrid=s;var r=this.R,n=this.B;if(this.tileUrlFunction=bw(i.imageUrlSubdomains.map(function(t){var e=[0,0,0],o=i.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return $t(t[0],t[1],-t[2]-1,e),t=o,n&&(t+="&dpi=d1&device=mobile"),t.replace("{quadkey}",function(t){var e,o=t[0],i=Array(o),r=1<<o-1;for(e=0;e<o;++e){var n=48;t[1]&r&&(n+=1),t[2]&r&&(n+=2),i[e]=String.fromCharCode(n),r>>=1}return i.join("")}(e))}})),i.imageryProviders){var a=zt(Wt("EPSG:4326"),this.c);(t=i.imageryProviders.map(function(t){var e=t.attribution,n={};return t.coverageAreas.forEach(function(t){var e,o=t.zoomMin,i=Math.min(t.zoomMax,p);for(t=ut([(t=t.bbox)[1],t[0],t[3],t[2]],a),e=o;e<=i;++e){var r=e.toString();o=re(s,t,e),r in n?n[r].push(o):n[r]=[o]}}),new ce({html:e,tileRanges:n})})).push(Fw),this.ua(t)}this.D=e,Sb(this,"ready")}},s(kw,Cw),s(Dw,kw),(t=Dw.prototype).Kk=function(){return this.f},t.tq=function(t){ct(this.f,t),Ow(this)},t.Xp=function(t){this.f=t||{},Ow(this)},t.Dl=function(t,e){if(!(e=e.target).status||200<=e.status&&e.status<300){try{var o=JSON.parse(e.responseText)}catch(t){return void Sb(this,"error")}Uw(this,o),this.l[t]=o,Sb(this,"ready")}else Sb(this,"error")},t.Cl=function(){Sb(this,"error")},s(Gw,Mb),(t=Gw.prototype).$n=function(){return this.distance},t.ao=function(){return this.source},t.Yd=function(t,e,o){this.source.Yd(t,e,o),e!==this.resolution&&(this.clear(),this.resolution=e,Bw(this),this.cd(this.features))},t.Yp=function(t){this.distance=t,this.sa()},t.sa=function(){this.clear(),Bw(this),this.cd(this.features),Mb.prototype.sa.call(this)},s(Ww,Zm),(t=Ww.prototype).co=function(){return this.v},t.Jc=function(t,e,o,i){if(void 0===this.f)return null;e=Km(this,e),o=this.T?o:1;var r=this.M;if(r&&this.I==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t))return r;ct(r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.v);var n=((t=t.slice())[0]+t[2])/2,p=(t[1]+t[3])/2;if(1!=this.B){var s=this.B*st(t)/2,a=this.B*it(t)/2;t[0]=n-s,t[1]=p-a,t[2]=n+s,t[3]=p+a}s=e/o,a=Math.ceil(st(t)/s);var h=Math.ceil(it(t)/s);return t[0]=n-s*a/2,t[2]=n+s*a/2,t[1]=p-s*h/2,t[3]=p+s*h/2,this.l[0]=a,this.l[1]=h,n=t,p=this.l,s=o,i=i.mb.split(":").pop(),r.SIZE=p[0]+","+p[1],r.BBOX=n.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=Math.round(90*s),(n=(i=this.f).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"))==i&&R(!1,50),r=Vw(n,r),this.M=new sv(t,e,o,this.j,r,this.R,this.g),this.I=this.i,me(this.M,"change",this.o,this),this.M},t.bo=function(){return this.g},t.eo=function(){return this.f},t.fo=function(t){this.M=null,this.g=t,this.s()},t.ho=function(t){t!=this.f&&(this.f=t,this.M=null,this.s())},t.io=function(t){ct(this.v,t),this.M=null,this.s()},s(Zw,Zm),(t=Zw.prototype).ko=function(){return this.g},t.Jc=function(t,e,o){if(e=Km(this,e),o=this.T?o:1,(r=this.M)&&this.B==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t))return r;1!=this.v&<(t=t.slice(),this.v);var i=[st(t)/e*o,it(t)/e*o];if(void 0!==this.I){var r=this.I,n=et(t),p=this.pa,s=st(t),a=it(t),h=i[0],l=i[1],u=.0254/this.l;i={OPERATION:this.va?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.l,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:h*a<l*s?s*p/(h*u):a*p/(l*u),SETVIEWCENTERX:n[0],SETVIEWCENTERY:n[1]};ct(i,this.g),r=Vw(r,i),me(r=new sv(t,e,o,this.j,r,this.R,this.f),"change",this.o,this)}else r=null;return this.M=r,this.B=this.i,r},t.jo=function(){return this.f},t.mo=function(t){ct(this.g,t),this.s()},t.lo=function(t){this.M=null,this.f=t,this.s()},s(Kw,Zm),Kw.prototype.Jc=function(t){return at(t,this.M.G())?this.M:null},Kw.prototype.o=function(t){if(2==this.M.getState()){var e=this.M.G(),o=this.M.Y();if(this.f)var i=this.f[0],r=this.f[1];else i=o.width,r=o.height;if((e=Math.ceil(st(e)/(it(e)/r)))!=i){var n=(e=Je(e,r)).canvas;e.drawImage(o,0,0,i,r,0,0,n.width,n.height),this.M.Og(n)}}Zm.prototype.o.call(this,t)},s(zw,Zm);var Yw=[101,101];function Hw(t,e,o,i,r,n){if(R(void 0!==t.g,9),n[t.l?"CRS":"SRS"]=r.mb,"STYLES"in t.f||(n.STYLES=""),1!=i)switch(t.T){case"geoserver":i=90*i+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+i:"dpi:"+i;break;case"mapserver":n.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":n.DPI=90*i;break;default:R(!1,8)}var p;return n.WIDTH=o[0],n.HEIGHT=o[1],o=r.b,p=t.l&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=p.join(","),Vw(t.g,n)}function qw(t){t.l=0<=Ti(t.f.VERSION||"1.3.0")}function Jw(t){var e;e=void 0!==(t=t||{}).attributions?t.attributions:[_w],kw.call(this,{attributions:e,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}(t=zw.prototype).so=function(t,e,o,i){if(void 0!==this.g){var r=ot(t,e,0,Yw),n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS};return ct(n,this.f,i),i=Math.floor((r[3]-t[1])/e),n[this.l?"I":"X"]=Math.floor((t[0]-r[0])/e),n[this.l?"J":"Y"]=i,Hw(this,r,Yw,1,Wt(o),n)}},t.uo=function(){return this.f},t.Jc=function(t,e,o,i){if(void 0===this.g)return null;e=Km(this,e),1==o||this.va&&void 0!==this.T||(o=1);var r=e/o,n=et(t),p=ot(n,r,0,[Math.ceil(st(t)/r),Math.ceil(it(t)/r)]);return t=ot(n,r,0,[Math.ceil(this.I*st(t)/r),Math.ceil(this.I*it(t)/r)]),(n=this.M)&&this.R==this.i&&n.resolution==e&&n.a==o&&O(n.G(),p)?n:(ct(p={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),this.B[0]=Math.round(st(t)/r),this.B[1]=Math.round(it(t)/r),i=Hw(this,t,this.B,o,i,p),this.M=new sv(t,e,o,this.j,i,this.pa,this.v),this.R=this.i,me(this.M,"change",this.o,this),this.M)},t.to=function(){return this.v},t.vo=function(){return this.g},t.wo=function(t){this.M=null,this.v=t,this.s()},t.xo=function(t){t!=this.g&&(this.g=t,this.M=null,this.s())},t.yo=function(t){ct(this.f,t),qw(this),this.M=null,this.s()},s(Jw,kw);var _w=new ce({html:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function $w(t){this.B=null,this.va=void 0!==t.operationType?t.operationType:"pixel",this.Sa=void 0!==t.threads?t.threads:1,this.g=function(t){for(var e=t.length,o=Array(e),i=0;i<e;++i){var r=i,n=t[i],p=null;n instanceof Mw?(n=new hw({source:n}),p=new ew(n)):n instanceof Zm&&(n=new tw({source:n}),p=new Om(n)),o[r]=p}return o}(t.sources);for(var e=0,o=this.g.length;e<o;++e)me(this.g[e],"change",this.s,this);this.T=new Si(function(){return 1},this.s.bind(this));o={};for(var i=0,r=(e=function(t){return t.map(function(t){return Wn(t.a)})}(this.g)).length;i<r;++i)o[G(e[i].layer)]=e[i];this.f=null,this.I={animate:!1,attributions:{},coordinateToPixelTransform:[1,0,0,1,0,0],extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateTransform:[1,0,0,1,0,0],postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.T,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},Zm.call(this,{}),t.operation&&this.v(t.operation,t.lib)}Js.df={},Js.df.Af=function(){},function(t){function r(u){var c=!0;try{new ImageData(10,10)}catch(t){c=!1}return function(t){var e=t.buffers,o=t.meta,i=t.width,r=t.height,n=e.length,p=e[0].byteLength;if(t.imageOps){for(p=Array(n),t=0;t<n;++t){var s=t,a=new Uint8ClampedArray(e[t]),h=i,l=r;a=c?new ImageData(a,h,l):{data:a,width:h,height:l},p[s]=a}i=u(p,o).data}else{for(i=new Uint8ClampedArray(p),r=Array(n),s=Array(n),t=0;t<n;++t)r[t]=new Uint8ClampedArray(e[t]),s[t]=[0,0,0,0];for(e=0;e<p;e+=4){for(t=0;t<n;++t)a=r[t],s[t][0]=a[e],s[t][1]=a[e+1],s[t][2]=a[e+2],s[t][3]=a[e+3];t=u(s,o),i[e]=t[0],i[e+1]=t[1],i[e+2]=t[2],i[e+3]=t[3]}}return i.buffer}}function n(e,t){var o=Object.keys(e.lib||{}).map(function(t){return"var "+t+" = "+e.lib[t].toString()+";"}).concat(["var __minion__ = ("+r.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]);o=URL.createObjectURL(new Blob(o,{type:"text/javascript"}));return(o=new Worker(o)).addEventListener("message",t),o}function e(t){var e;this.Ff=!!t.$l;var o=[];if(e=0===t.threads?0:this.Ff?1:t.threads||1)for(var i=0;i<e;++i)o[i]=n(t,this.gh.bind(this,i));else o[0]=function(t,e){var o=r(t.operation);return{postMessage:function(t){setTimeout(function(){e({data:{buffer:o(t),meta:t.meta}})},0)}}}(t,this.gh.bind(this,0));this.qe=o,this.Ed=[],this.fk=t.rp||1/0,this.oe=0,this.bd={},this.Gf=null}var s=!0;try{new ImageData(10,10)}catch(t){s=!1}var a=document.createElement("canvas").getContext("2d");e.prototype.pp=function(t,e,o){this.dk({inputs:t,Qh:e,callback:o}),this.dh()},e.prototype.dk=function(t){for(this.Ed.push(t);this.Ed.length>this.fk;)this.Ed.shift().callback(null,null)},e.prototype.dh=function(){if(0===this.oe&&0<this.Ed.length){var t=this.Gf=this.Ed.shift(),e=t.inputs[0].width,o=t.inputs[0].height,i=t.inputs.map(function(t){return t.data.buffer}),r=this.qe.length;if(1===(this.oe=r))this.qe[0].postMessage({buffers:i,meta:t.Qh,imageOps:this.Ff,width:e,height:o},i);else for(var n=4*Math.ceil(t.inputs[0].data.length/4/r),p=0;p<r;++p){for(var s=p*n,a=[],h=0,l=i.length;h<l;++h)a.push(i[p].slice(s,s+n));this.qe[p].postMessage({buffers:a,meta:t.Qh,imageOps:this.Ff,width:e,height:o},a)}}},e.prototype.gh=function(t,e){this.Jq||(this.bd[t]=e.data,--this.oe,0===this.oe&&this.gk())},e.prototype.gk=function(){var t=this.Gf,e=this.qe.length;if(1===e)var o=new Uint8ClampedArray(this.bd[0].buffer),i=this.bd[0].meta;else{var r=t.inputs[0].data.length;o=new Uint8ClampedArray(r),i=Array(r);r=4*Math.ceil(r/4/e);for(var n=0;n<e;++n){var p=n*r;o.set(new Uint8ClampedArray(this.bd[n].buffer),p),i[n]=this.bd[n].meta}}this.Gf=null,this.bd={},t.callback(null,function(t,e,o){return s?new ImageData(t,e,o):((e=a.createImageData(e,o)).data.set(t),e)}(o,t.inputs[0].width,t.inputs[0].height),i),this.dh()},t.default={Af:e},t.Af=e}(Js.df=Js.df||{}),s($w,Zm),$w.prototype.v=function(t,e){this.B=new Js.df.Af({operation:t,$l:"image"===this.va,rp:1,lib:e,threads:this.Sa}),this.s()},$w.prototype.Y=function(t,e,o,i){o=!0;for(var r,n=0,p=this.g.length;n<p;++n)if("ready"!==(r=this.g[n].a.ha()).getState()){o=!1;break}if(!o)return null;if((o=ct({},this.I)).viewState=ct({},o.viewState),r=et(t),o.extent=t.slice(),o.focus=r,o.size[0]=Math.round(st(t)/e),o.size[1]=Math.round(it(t)/e),(n=o.viewState).center=r,n.projection=i,n.resolution=e,Mi((this.l=o).tileQueue,16,16),this.f&&(i=this.f.resolution,o=this.f.G(),e===i&&Y(t,o)||(this.f=null)),!this.f||this.i!==this.R)t:{for(t=this.l,i=this.g.length,e=Array(i),o=0;o<i;++o){if(r=this.g[o],p=(n=t).layerStatesArray[o],r.sd(n,p)){var s=n.size[0],a=n.size[1];if(Qw){var h=Qw.canvas;h.width!==s||h.height!==a?Qw=Je(s,a):Qw.clearRect(0,0,s,a)}else Qw=Je(s,a);r.S(n,p,Qw),r=Qw.getImageData(0,0,s,a)}else r=null;if(!r)break t;e[o]=r}i={},this.b(new tx(ex,t,i)),this.B.pp(e,i,this.pa.bind(this,t))}return this.f},$w.prototype.pa=function(t,e,o,i){if(!e&&o){e=t.extent;var r=t.viewState.resolution;if(r===this.l.viewState.resolution&&Y(e,this.l.extent)){if(this.f)var n=this.f.Y().getContext("2d");else n=Je(Math.round(st(e)/r),Math.round(it(e)/r)),this.f=new av(e,r,1,this.j,n.canvas);n.putImageData(o,0,0),this.s(),this.R=this.i,this.b(new tx(ox,t,i))}}};var Qw=null;function tx(t,e,o){Ee.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}s(tx,Ee),$w.prototype.Jc=function(){return null};var ex="beforeoperations",ox="afteroperations";function ix(t){var e=t.layer.indexOf("-"),o=(e=px[-1==e?t.layer:t.layer.slice(0,e)],nx[t.layer]);kw.call(this,{attributions:rx,cacheSize:t.cacheSize,crossOrigin:"anonymous",maxZoom:null!=t.maxZoom?t.maxZoom:e.maxZoom,minZoom:null!=t.minZoom?t.minZoom:e.minZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.Lb,wrapX:t.wrapX})}s(ix,kw);var rx=[new ce({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),_w],nx={terrain:{Lb:"jpg",opaque:!0},"terrain-background":{Lb:"jpg",opaque:!0},"terrain-labels":{Lb:"png",opaque:!1},"terrain-lines":{Lb:"png",opaque:!1},"toner-background":{Lb:"png",opaque:!0},toner:{Lb:"png",opaque:!0},"toner-hybrid":{Lb:"png",opaque:!1},"toner-labels":{Lb:"png",opaque:!1},"toner-lines":{Lb:"png",opaque:!1},"toner-lite":{Lb:"png",opaque:!0},watercolor:{Lb:"jpg",opaque:!0}},px={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function sx(t){Cw.call(this,{attributions:(t=t||{}).attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.f=t.params||{},this.l=[1/0,1/0,-1/0,-1/0],Aw(this,ax(this))}function ax(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function hx(t){Mw.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function lx(t,e,o){hv.call(this,t,2),this.c=e,this.Ia=o,this.a=null}function ux(t){if(this.f=null,Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,projection:Wt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),t.url)if(t.jsonp)fw(t.url,this.og.bind(this),this.Ve.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.Ao.bind(this)),e.addEventListener("error",this.zo.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.og(t.tileJSON):R(!1,51)}function cx(t){if(Mw.call(this,{projection:Wt("EPSG:3857"),state:"loading"}),this.v=void 0===t.preemptive||t.preemptive,this.l=mw,this.g=void 0,this.f=t.jsonp||!1,t.url)if(this.f)fw(t.url,this.pg.bind(this),this.We.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.Eo.bind(this)),e.addEventListener("error",this.Do.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.pg(t.tileJSON):R(!1,51)}function yx(t,e,o,i,r,n){hv.call(this,t,e),this.o=o,this.a=i,this.v=r,this.c=this.j=this.g=null,this.l=n}function fx(t){if(0==t.state)if(t.state=1,t.l)fw(t.o,t.Ji.bind(t),t.De.bind(t));else{var e=new XMLHttpRequest;e.addEventListener("load",t.Co.bind(t)),e.addEventListener("error",t.Bo.bind(t)),e.open("GET",t.o),e.send()}}function gx(t){var e=(t=t||{}).params||{};Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!(!("TRANSPARENT"in e)||e.TRANSPARENT),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.C=void 0!==t.gutter?t.gutter:0,this.f=e,this.l=!0,this.B=t.serverType,this.T=void 0===t.hidpi||t.hidpi,this.R="",vx(this),this.fa=[1/0,1/0,-1/0,-1/0],mx(this),Aw(this,bx(this))}function dx(t,e,o,i,r,n,p){var s=t.urls;if(s){if(p.WIDTH=o[0],p.HEIGHT=o[1],p[t.l?"CRS":"SRS"]=n.mb,"STYLES"in t.f||(p.STYLES=""),1!=r)switch(t.B){case"geoserver":o=90*r+.5|0,p.FORMAT_OPTIONS="FORMAT_OPTIONS"in p?p.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":p.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":p.DPI=90*r;break;default:R(!1,52)}return n=n.b,t.l&&"ne"==n.substr(0,2)&&(t=i[0],i[0]=i[1],i[1]=t,t=i[2],i[2]=i[3],i[3]=t),p.BBOX=i.join(","),Vw(1==s.length?s[0]:s[L((e[1]<<e[0])+e[2],s.length)],p)}}function vx(t){var e=0,o=[];if(t.urls){var i,r=0;for(i=t.urls.length;r<i;++r)o[e++]=t.urls[r]}t.R=o.join("#")}function bx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function mx(t){t.l=0<=Ti(t.f.VERSION||"1.3.0")}function wx(t,e,o,i,r,n,p,s,a,h,l,u,c,y){if(hv.call(this,t,e),this.j=null,this.o={Nd:!1,Kg:null,mf:-1,Lg:-1},this.c=h,this.a=[],this.u=o,this.v=n,this.g=[],this.l=[],n){var f=a.Aa(n),g=a.Da(t[0]);s.Rf(f,s.tc(g),function(t){if(.5<=st(e=rt(f,s.Aa(t)))/g&&.5<=it(e)/g){var e=t.toString(),o=h[e];o||(o=p(t,l,u),o=h[e]=new c(t,null==o?4:0,null==o?"":o,i,r),this.l.push(me(o,"change",y))),o.j++,this.a.push(e)}}.bind(this))}}function xx(t,e){t.Pg(ol(e,t.o,t.$o.bind(t),t.Zo.bind(t)))}function Sx(t,e,o,i,r){hv.call(this,t,e),this.j=0,this.o=i,this.g=null,this.c={},this.u=r,this.l=o}function Mx(t){jw.call(this,{attributions:t.attributions,cacheSize:void 0!==t.cacheSize?t.cacheSize:128,extent:t.extent,logo:t.logo,opaque:!1,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:xx,tileUrlFunction:t.tileUrlFunction,tilePixelRatio:t.tilePixelRatio,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.g=t.format?t.format:null,this.v={},this.l=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass?t.tileClass:Sx,this.f={},this.tileGrid||(this.tileGrid=this.Ta(Wt(t.projection||"EPSG:3857")))}function Px(t){this.o=t.matrixIds,Qt.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function Ax(t,e,o){var r=[],n=[],p=[],s=[],a=[],h=void 0!==o?o:[],l=(o=Wt(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))).sc(),u="ne"==o.b.substr(0,2);return t.TileMatrix.sort(function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),t.TileMatrix.forEach(function(e){var t;if(t=!(0<h.length)||v(h,function(t){return e.Identifier==t.TileMatrix})){n.push(e.Identifier),t=28e-5*e.ScaleDenominator/l;var o=e.TileWidth,i=e.TileHeight;u?p.push([e.TopLeftCorner[1],e.TopLeftCorner[0]]):p.push(e.TopLeftCorner),r.push(t),s.push(o==i?o:[o,i]),a.push([e.MatrixWidth,-e.MatrixHeight])}}),new Px({extent:e,origins:p,resolutions:r,matrixIds:n,tileSizes:s,sizes:a})}function Ex(t){this.fa=void 0!==t.version?t.version:"1.0.0",this.C=void 0!==t.format?t.format:"image/jpeg",this.f=t.dimensions?t.dimensions:{},this.B=t.layer,this.l=t.matrixSet,this.R=t.style;var e=t.urls;void 0===e&&void 0!==t.url&&(e=ww(t.url));var i=this.T=void 0!==t.requestEncoding?t.requestEncoding:"KVP",r=t.tileGrid,o={layer:this.B,style:this.R,tilematrixset:this.l};"KVP"==i&&ct(o,{Service:"WMTS",Request:"GetTile",Version:this.fa,Format:this.C});var n=this.f,p=e&&0<e.length?bw(e.map(function(e){return e="KVP"==i?Vw(e,o):e.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in o?o[e.toLowerCase()]:t}),function(t){if(t){var o={TileMatrix:r.o[t[0]],TileCol:t[1],TileRow:-t[2]-1};return ct(o,n),t=e,"KVP"==i?Vw(t,o):t.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}})):mw;Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:p,urls:e,wrapX:void 0!==t.wrapX&&t.wrapX}),Aw(this,Tx(this))}function Tx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function jx(t){var e=(t=t||{}).size,o=e[0],i=e[1],n=[],r=256;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:Lx){case Lx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),r+=r;break;case Rx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),o>>=1,i>>=1;break;default:R(!1,53)}n.push([1,1]),n.reverse();r=[1];var p=[0];for(i=1,o=n.length;i<o;i++)r.push(1<<i),p.push(n[i-1][0]*n[i-1][1]+p[i-1]);r.reverse(),e=new Qt({extent:e=[0,-e[1],e[0],0],origin:nt(e),resolutions:r}),(r=t.url)&&-1==r.indexOf("{TileGroup}")&&(r+="{TileGroup}/{z}-{x}-{y}.jpg"),r=bw((r=ww(r)).map(function(r){return function(t){if(t){var e=t[0],o=t[1],i={z:e,x:o,y:t=-t[2]-1,TileGroup:"TileGroup"+((o+t*n[e][0]+p[e])/256|0)};return r.replace(/\{(\w+?)\}/g,function(t,e){return i[e]})}}})),Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:Cx,tileGrid:e,tileUrlFunction:r})}function Cx(t,e,o,i,r){cv.call(this,t,e,o,i,r),this.a=null}s(sx,Cw),sx.prototype.C=function(){return this.f},sx.prototype.nb=function(t){return t},sx.prototype.Fc=function(t,e,o){var i=this.tileGrid;if(!((i=i||this.Ta(o)).b.length<=t[0])){var r=i.Aa(t,this.l),n=F(i.gb(t[0]),this.o);1!=e&&(n=A(n,e,this.o)),ct(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.f);var p=this.urls;return t=p?(o=o.mb.split(":").pop(),i.SIZE=n[0]+","+n[1],i.BBOX=r.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=Math.round(i.DPI?i.DPI*e:90*e),Vw(t=(1==p.length?p[0]:p[L((t[1]<<t[0])+t[2],p.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),i)):void 0}},sx.prototype.B=function(t){ct(this.f,t),Aw(this,ax(this))},s(hx,Mw),hx.prototype.Nc=function(t,e,o){var i=this.Sb(t,e,o);if(this.a.b.hasOwnProperty(i))return this.a.get(i);var r=F(this.tileGrid.gb(t));return r=new lx(t=[t,e,o],r,e=(e=Ew(this,t))?Ew(this,e).toString():""),this.a.set(i,r),r},s(lx,hv),lx.prototype.Y=function(){if(this.a)return this.a;var t=this.c,e=Je(t[0],t[1]);return e.strokeStyle="black",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="black",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.fillText(this.Ia,t[0]/2,t[1]/2),this.a=e.canvas},lx.prototype.load=function(){},s(ux,Cw),(t=ux.prototype).Ao=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.Ve()}this.og(e)}else this.Ve()},t.zo=function(){this.Ve()},t.pl=function(){return this.f},t.og=function(t){var e=Wt("EPSG:4326"),o=this.c;if(t.bounds)var i=zt(e,o),r=ut(t.bounds,i);var n=t.minzoom||0;i=t.maxzoom||22;if(this.tileGrid=o=ae({extent:ue(o),maxZoom:i,minZoom:n}),this.tileUrlFunction=vw(t.tiles,o),void 0!==t.attribution&&!this.j){e=void 0!==r?r:e.G(),r={};for(;n<=i;++n)r[n.toString()]=[re(o,e,n)];this.ua([new ce({html:t.attribution,tileRanges:r})])}this.f=t,Sb(this,"ready")},t.Ve=function(){Sb(this,"error")},s(cx,Mw),(t=cx.prototype).Eo=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.We()}this.pg(e)}else this.We()},t.Do=function(){this.We()},t.ml=function(){return this.g},t.zk=function(t,e,o,i,r){this.tileGrid?(e=this.tileGrid.Be(t,e),function(t,e,o,i,r){0==t.state&&!0===r?(we(t,"change",function(){o.call(i,this.getData(e))},t),fx(t)):!0===r?setTimeout(function(){o.call(i,this.getData(e))}.bind(t),0):o.call(i,t.getData(e))}(this.Nc(e[0],e[1],e[2],1,this.c),t,o,i,r)):!0===r?setTimeout(function(){o.call(i,null)},0):o.call(i,null)},t.We=function(){Sb(this,"error")},t.pg=function(t){var e=Wt("EPSG:4326"),o=this.c;if(t.bounds)var i=zt(e,o),r=ut(t.bounds,i);var n=t.minzoom||0;i=t.maxzoom||22;this.tileGrid=o=ae({extent:ue(o),maxZoom:i,minZoom:n}),this.g=t.template;var p=t.grids;if(p){if(this.l=vw(p,o),void 0!==t.attribution){for(e=void 0!==r?r:e.G(),r={};n<=i;++n)r[p=n.toString()]=[re(o,e,n)];this.ua([new ce({html:t.attribution,tileRanges:r})])}Sb(this,"ready")}else Sb(this,"error")},t.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(e=Ew(this,t=[t,e,o],r),i=new yx(t,void 0!==(i=this.l(e,i,r))?0:4,void 0!==i?i:"",this.tileGrid.Aa(t),this.v,this.f),this.a.set(n,i),i)},t.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},s(yx,hv),(t=yx.prototype).Y=function(){return null},t.getData=function(t){if(!this.g||!this.j)return null;var e=this.g[Math.floor((1-(t[1]-this.a[1])/(this.a[3]-this.a[1]))*this.g.length)];return"string"!=typeof e?null:(93<=(e=e.charCodeAt(Math.floor((t[0]-this.a[0])/(this.a[2]-this.a[0])*e.length)))&&e--,35<=e&&e--,t=null,(e-=32)in this.j&&(e=this.j[e],t=this.c&&e in this.c?this.c[e]:e),t)},t.bb=function(){return this.o},t.De=function(){this.state=3,this.s()},t.Ji=function(t){this.g=t.grid,this.j=t.keys,this.c=t.data,this.state=4,this.s()},t.Co=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.De()}this.Ji(e)}else this.De()},t.Bo=function(){this.De()},t.load=function(){this.v&&fx(this)},s(gx,Cw),(t=gx.prototype).Fo=function(t,e,o,i){if(o=Wt(o),e=(p=(p=this.tileGrid)||this.Ta(o)).Be(t,e),!(p.b.length<=e[0])){var r=p.Da(e[0]),n=p.Aa(e,this.fa),p=F(p.gb(e[0]),this.o),s=this.C;return s&&(p=P(p,s,this.o),n=T(n,r*s,n)),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS},ct(s,this.f,i),i=Math.floor((n[3]-t[1])/r),s[this.l?"I":"X"]=Math.floor((t[0]-n[0])/r),s[this.l?"J":"Y"]=i,dx(this,e,p,n,1,o,s)}},t.Xf=function(){return this.C},t.Sb=function(t,e,o){return this.R+Cw.prototype.Sb.call(this,t,e,o)},t.Go=function(){return this.f},t.nb=function(t){return this.T&&void 0!==this.B?t:1},t.Fc=function(t,e,o){if(!((n=(n=this.tileGrid)||this.Ta(o)).b.length<=t[0])){1==e||this.T&&void 0!==this.B||(e=1);var i=n.Da(t[0]),r=n.Aa(t,this.fa),n=F(n.gb(t[0]),this.o),p=this.C;return p&&(n=P(n,p,this.o),r=T(r,i*p,r)),1!=e&&(n=A(n,e,this.o)),ct(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),dx(this,t,n,r,e,o,i)}},t.eb=function(t){Cw.prototype.eb.call(this,t),vx(this)},t.Ho=function(t){ct(this.f,t),vx(this),mx(this),Aw(this,bx(this))},s(wx,hv),wx.prototype.ka=function(){for(var t=0,e=this.a.length;t<e;++t){var o=this.a[t],i=this.c[o];i.j--,i.j||(delete this.c[o],Ae(i))}this.a.length=0,this.c=null,1==this.state&&(this.g.forEach(Se),this.g.length=0),this.i&&Ae(this.i),this.state=5,this.s(),this.l.forEach(Se),this.l.length=0,hv.prototype.ka.call(this)},wx.prototype.Y=function(){return-1==this.o.Lg?null:this.j.canvas},wx.prototype.bb=function(){return this.a.join("/")+"/"+this.u},wx.prototype.load=function(){var r=0,n=!1;0==this.state&&uv(this,1),1==this.state&&this.a.forEach(function(e){var o=this.c[e];if(0==o.state?(o.Pg(this.S),o.load()):3==o.state?n=!0:4==o.state&&p(this.a,e),1==o.state){var i=me(o,"change",function(){var t=o.getState();2!=t&&3!=t||(--r,Se(i),p(this.g,i),3==t&&(p(this.a,e),n=!0),r||uv(this,0<this.a.length?2:3))}.bind(this));this.g.push(i),++r}}.bind(this)),r||setTimeout(function(){uv(this,0<this.a.length?2:n?3:4)}.bind(this),0)},s(Sx,hv),(t=Sx.prototype).ka=function(){this.g=null,this.c={},this.state=5,this.s(),hv.prototype.ka.call(this)},t.Lm=function(){return this.o},t.Km=function(){return this.g},t.bb=function(){return this.l},t.Mm=function(){return this.a},t.load=function(){0==this.state&&(uv(this,1),this.u(this,this.l),this.v(null,NaN,null))},t.$o=function(t,e){this.ig(e),this.mj(t)},t.Zo=function(){uv(this,3)},t.mj=function(t){this.g=t,uv(this,2)},t.ig=function(t){this.a=t},t.Pg=function(t){this.v=t},s(Mx,jw),Mx.prototype.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(i=new wx(t=[t,e,o],void 0!==(o=(e=Ew(this,t,r))?this.tileUrlFunction(e,i,r):void 0)?0:4,void 0!==o?o:"",this.g,this.tileLoadFunction,e,this.tileUrlFunction,this.tileGrid,this.Ta(r),this.v,i,r,this.tileClass,this.Li.bind(this)),this.a.set(n,i),i)},Mx.prototype.Ta=function(t){var e=t.mb,o=this.f[e];return o||(o=this.tileGrid,o=this.f[e]=le(t,void 0,o?o.gb(o.minZoom):void 0)),o},Mx.prototype.nb=function(t){return null==t?jw.prototype.nb.call(this,t):t},Mx.prototype.Xd=function(t,e,o){return t=F(this.Ta(o).gb(t)),[Math.round(t[0]*e),Math.round(t[1]*e)]},s(Px,Qt),Px.prototype.l=function(){return this.o},s(Ex,Cw),(t=Ex.prototype).Mk=function(){return this.f},t.Io=function(){return this.C},t.Jo=function(){return this.B},t.$k=function(){return this.l},t.kl=function(){return this.T},t.Ko=function(){return this.R},t.rl=function(){return this.fa},t.uq=function(t){ct(this.f,t),Aw(this,Tx(this))},s(jx,Cw),s(Cx,cv),Cx.prototype.Y=function(){if(this.a)return this.a;var t=cv.prototype.Y.call(this);if(2!=this.state)return t;if(256==t.width&&256==t.height)return this.a=t;var e=Je(256,256);return e.drawImage(t,0,0),this.a=e.canvas};var Lx="default",Rx="truncated";function Ix(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.c={},this.i=Je(t,t),this.f=this.i.canvas}function Nx(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function Fx(t){t=t||{},this.a=void 0!==t.initialSize?t.initialSize:256,this.i=void 0!==t.maxSize?t.maxSize:void 0!==e?e:2048,this.b=void 0!==t.space?t.space:1,this.f=[new Ix(this.a,this.b)],this.c=this.a,this.g=[new Ix(this.c,this.b)]}function kx(t,e,o,i,r,n,p){var s,a=e?t.g:t.f,h=0;for(s=a.length;h<s;++h){var l=a[h];if(l=l.add(o,i,r,n,p))return l;l||h!==s-1||(e?(l=Math.min(2*t.c,t.i),t.c=l):(l=Math.min(2*t.a,t.i),t.a=l),l=new Ix(l,t.b),a.push(l),++s)}return null}return Ix.prototype.get=function(t){return this.c[t]||null},Ix.prototype.add=function(t,e,o,i,r){var n,p=0;for(n=this.a.length;p<n;++p){var s=this.a[p];if(s.width>=e+this.b&&s.height>=o+this.b)return n={offsetX:s.x+this.b,offsetY:s.y+this.b,image:this.f},this.c[t]=n,i.call(r,this.i,s.x+this.b,s.y+this.b),t=p,e+=this.b,i=o+this.b,e=s.width-e>s.height-i?(o={x:s.x+e,y:s.y,width:s.width-e,height:s.height},{x:s.x,y:s.y+i,width:e,height:s.height-i}):(o={x:s.x+e,y:s.y,width:s.width-e,height:i},{x:s.x,y:s.y+i,width:s.width,height:s.height-i}),Nx(this,t,o,e),n}return null},Fx.prototype.add=function(t,e,o,i,r,n){return e+this.b>this.i||o+this.b>this.i?null:(i=kx(this,!1,t,e,o,i,n))?(t=kx(this,!0,t,e,o,r||m,n),{offsetX:i.offsetX,offsetY:i.offsetY,image:i.image,Zl:t.image}):null},h.prototype.code=h.prototype.code,i("ol.Attribution",ce),ce.prototype.getHTML=ce.prototype.i,i("ol.Collection",De),De.prototype.clear=De.prototype.clear,De.prototype.extend=De.prototype.fg,De.prototype.forEach=De.prototype.forEach,De.prototype.getArray=De.prototype.tm,De.prototype.item=De.prototype.item,De.prototype.getLength=De.prototype.dc,De.prototype.insertAt=De.prototype.He,De.prototype.pop=De.prototype.pop,De.prototype.push=De.prototype.push,De.prototype.remove=De.prototype.remove,De.prototype.removeAt=De.prototype.Hg,De.prototype.setAt=De.prototype.Wp,Be.prototype.element=Be.prototype.element,i("ol.color.asArray",We),i("ol.color.asString",Ze),i("ol.colorlike.asColorLike",qe),i("ol.control.defaults",lo),i("ol.coordinate.add",ji),i("ol.coordinate.createStringXY",function(e){return function(t){return Ui(t,e)}}),i("ol.coordinate.format",Ri),i("ol.coordinate.rotate",Ni),i("ol.coordinate.toStringHDMS",function(t,e){return t?Li("NS",t[1],e)+" "+Li("EW",t[0],e):""}),i("ol.coordinate.toStringXY",Ui),i("ol.DeviceOrientation",vh),vh.prototype.getAlpha=vh.prototype.Fk,vh.prototype.getBeta=vh.prototype.Ik,vh.prototype.getGamma=vh.prototype.Ok,vh.prototype.getHeading=vh.prototype.um,vh.prototype.getTracking=vh.prototype.Th,vh.prototype.setTracking=vh.prototype.gg,i("ol.easing.easeIn",io),i("ol.easing.easeOut",ro),i("ol.easing.inAndOut",no),i("ol.easing.linear",po),i("ol.easing.upAndDown",function(t){return t<.5?no(2*t):1-no(2*(t-.5))}),i("ol.extent.boundingExtent",E),i("ol.extent.buffer",T),i("ol.extent.containsCoordinate",D),i("ol.extent.containsExtent",O),i("ol.extent.containsXY",B),i("ol.extent.createEmpty",V),i("ol.extent.equals",Y),i("ol.extent.extend",H),i("ol.extent.getArea",$),i("ol.extent.getBottomLeft",Q),i("ol.extent.getBottomRight",tt),i("ol.extent.getCenter",et),i("ol.extent.getHeight",it),i("ol.extent.getIntersection",rt),i("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]}),i("ol.extent.getTopLeft",nt),i("ol.extent.getTopRight",pt),i("ol.extent.getWidth",st),i("ol.extent.intersects",at),i("ol.extent.isEmpty",ht),i("ol.extent.applyTransform",ut),i("ol.Feature",Fh),Fh.prototype.clone=Fh.prototype.clone,Fh.prototype.getGeometry=Fh.prototype.V,Fh.prototype.getId=Fh.prototype.wm,Fh.prototype.getGeometryName=Fh.prototype.Qk,Fh.prototype.getStyle=Fh.prototype.xm,Fh.prototype.getStyleFunction=Fh.prototype.Lc,Fh.prototype.setGeometry=Fh.prototype.Ra,Fh.prototype.setStyle=Fh.prototype.hg,Fh.prototype.setId=Fh.prototype.jc,Fh.prototype.setGeometryName=Fh.prototype.Tc,i("ol.featureloader.xhr",il),i("ol.Geolocation",_d),_d.prototype.getAccuracy=_d.prototype.Dk,_d.prototype.getAccuracyGeometry=_d.prototype.Ek,_d.prototype.getAltitude=_d.prototype.Gk,_d.prototype.getAltitudeAccuracy=_d.prototype.Hk,_d.prototype.getHeading=_d.prototype.ym,_d.prototype.getPosition=_d.prototype.zm,_d.prototype.getProjection=_d.prototype.Uh,_d.prototype.getSpeed=_d.prototype.ll,_d.prototype.getTracking=_d.prototype.Vh,_d.prototype.getTrackingOptions=_d.prototype.Gh,_d.prototype.setProjection=_d.prototype.Wh,_d.prototype.setTracking=_d.prototype.Ke,_d.prototype.setTrackingOptions=_d.prototype.wj,i("ol.Graticule",ev),ev.prototype.getMap=ev.prototype.Cm,ev.prototype.getMeridians=ev.prototype.al,ev.prototype.getParallels=ev.prototype.hl,ev.prototype.setMap=ev.prototype.setMap,i("ol.has.DEVICE_PIXEL_RATIO",Fo),i("ol.has.CANVAS",Do),i("ol.has.DEVICE_ORIENTATION",Oo),i("ol.has.GEOLOCATION",Uo),i("ol.has.TOUCH",Go),i("ol.has.WEBGL",To),sv.prototype.getImage=sv.prototype.Y,sv.prototype.load=sv.prototype.load,cv.prototype.getImage=cv.prototype.Y,i("ol.inherits",s),i("ol.interaction.defaults",Xn),i("ol.Kinetic",Or),i("ol.loadingstrategy.all",mb),i("ol.loadingstrategy.bbox",function(t){return[t]}),i("ol.loadingstrategy.tile",function(i){return function(t,e){e=i.tc(e),t=re(i,t,e);var o=[];for((e=[e,0,0])[1]=t.ca;e[1]<=t.$;++e[1])for(e[2]=t.da;e[2]<=t.ia;++e[2])o.push(i.Aa(e));return o}}),i("ol.Map",Ka),Ka.prototype.addControl=Ka.prototype.kk,Ka.prototype.addInteraction=Ka.prototype.lk,Ka.prototype.addLayer=Ka.prototype.ih,Ka.prototype.addOverlay=Ka.prototype.jh,Ka.prototype.forEachFeatureAtPixel=Ka.prototype.we,Ka.prototype.forEachLayerAtPixel=Ka.prototype.Im,Ka.prototype.hasFeatureAtPixel=Ka.prototype.Yl,Ka.prototype.getEventCoordinate=Ka.prototype.Tf,Ka.prototype.getEventPixel=Ka.prototype.xe,Ka.prototype.getTarget=Ka.prototype.ag,Ka.prototype.getTargetElement=Ka.prototype.jd,Ka.prototype.getCoordinateFromPixel=Ka.prototype.Wa,Ka.prototype.getControls=Ka.prototype.Lk,Ka.prototype.getOverlays=Ka.prototype.fl,Ka.prototype.getOverlayById=Ka.prototype.el,Ka.prototype.getInteractions=Ka.prototype.Sk,Ka.prototype.getLayerGroup=Ka.prototype.Kc,Ka.prototype.getLayers=Ka.prototype.Xh,Ka.prototype.getPixelFromCoordinate=Ka.prototype.Ja,Ka.prototype.getSize=Ka.prototype.Ob,Ka.prototype.getView=Ka.prototype.Z,Ka.prototype.getViewport=Ka.prototype.sl,Ka.prototype.renderSync=Ka.prototype.Tp,Ka.prototype.render=Ka.prototype.render,Ka.prototype.removeControl=Ka.prototype.Mp,Ka.prototype.removeInteraction=Ka.prototype.Np,Ka.prototype.removeLayer=Ka.prototype.Pp,Ka.prototype.removeOverlay=Ka.prototype.Qp,Ka.prototype.setLayerGroup=Ka.prototype.qj,Ka.prototype.setSize=Ka.prototype.Qg,Ka.prototype.setTarget=Ka.prototype.Le,Ka.prototype.setView=Ka.prototype.iq,Ka.prototype.updateSize=Ka.prototype.Ad,Po.prototype.originalEvent=Po.prototype.originalEvent,Po.prototype.pixel=Po.prototype.pixel,Po.prototype.coordinate=Po.prototype.coordinate,Po.prototype.dragging=Po.prototype.dragging,Mo.prototype.map=Mo.prototype.map,Mo.prototype.frameState=Mo.prototype.frameState,i("ol.Object",Re),Re.prototype.get=Re.prototype.get,Re.prototype.getKeys=Re.prototype.O,Re.prototype.getProperties=Re.prototype.N,Re.prototype.set=Re.prototype.set,Re.prototype.setProperties=Re.prototype.H,Re.prototype.unset=Re.prototype.P,ke.prototype.key=ke.prototype.key,ke.prototype.oldValue=ke.prototype.oldValue,i("ol.Observable",Le),i("ol.Observable.unByKey",function(t){if(Array.isArray(t))for(var e=0,o=t.length;e<o;++e)Se(t[e]);else Se(t)}),Le.prototype.changed=Le.prototype.s,Le.prototype.dispatchEvent=Le.prototype.b,Le.prototype.getRevision=Le.prototype.L,Le.prototype.on=Le.prototype.J,Le.prototype.once=Le.prototype.once,Le.prototype.un=Le.prototype.K,i("ol.Overlay",za),za.prototype.getElement=za.prototype.Rd,za.prototype.getId=za.prototype.Jm,za.prototype.getMap=za.prototype.Me,za.prototype.getOffset=za.prototype.Dh,za.prototype.getPosition=za.prototype.Yh,za.prototype.getPositioning=za.prototype.Eh,za.prototype.setElement=za.prototype.lj,za.prototype.setMap=za.prototype.setMap,za.prototype.setOffset=za.prototype.rj,za.prototype.setPosition=za.prototype.Ne,za.prototype.setPositioning=za.prototype.uj,i("ol.proj.METERS_PER_UNIT",bt),i("ol.proj.setProj4",function(t){mt=t}),i("ol.proj.getPointResolution",Ot),i("ol.proj.addEquivalentProjections",Ut),i("ol.proj.addProjection",Gt),i("ol.proj.addCoordinateTransforms",Xt),i("ol.proj.fromLonLat",function(t,e){return qt(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}),i("ol.proj.toLonLat",function(t,e){return qt(t,void 0!==e?e:"EPSG:3857","EPSG:4326")}),i("ol.proj.get",Wt),i("ol.proj.equivalent",Zt),i("ol.proj.getTransform",Kt),i("ol.proj.transform",qt),i("ol.proj.transformExtent",Jt),i("ol.render.toContext",function(t,e){var o=t.canvas,i=e||{};return e=i.pixelRatio||Fo,(i=i.size)&&(o.width=i[0]*e,o.height=i[1]*e,o.style.width=i[0]+"px",o.style.height=i[1]+"px"),new mp(t,e,o=[0,0,o.width,o.height],i=ip([1,0,0,1,0,0],e,e),0)}),i("ol.size.toSize",F),i("ol.Sphere",dt),dt.prototype.geodesicArea=dt.prototype.a,dt.prototype.haversineDistance=dt.prototype.b,hv.prototype.getTileCoord=hv.prototype.f,hv.prototype.load=hv.prototype.load,i("ol.tilegrid.createXYZ",ae),Sx.prototype.getFormat=Sx.prototype.Lm,Sx.prototype.getFeatures=Sx.prototype.Km,Sx.prototype.getProjection=Sx.prototype.Mm,Sx.prototype.setFeatures=Sx.prototype.mj,Sx.prototype.setProjection=Sx.prototype.ig,Sx.prototype.setLoader=Sx.prototype.Pg,i("ol.View",jr),jr.prototype.animate=jr.prototype.animate,jr.prototype.getAnimating=jr.prototype.Ic,jr.prototype.getInteracting=jr.prototype.Rk,jr.prototype.cancelAnimations=jr.prototype.ed,jr.prototype.constrainCenter=jr.prototype.Ec,jr.prototype.constrainResolution=jr.prototype.constrainResolution,jr.prototype.constrainRotation=jr.prototype.constrainRotation,jr.prototype.getCenter=jr.prototype.wa,jr.prototype.calculateExtent=jr.prototype.dd,jr.prototype.getMaxResolution=jr.prototype.Nm,jr.prototype.getMinResolution=jr.prototype.Pm,jr.prototype.getMaxZoom=jr.prototype.Om,jr.prototype.setMaxZoom=jr.prototype.eq,jr.prototype.getMinZoom=jr.prototype.Qm,jr.prototype.setMinZoom=jr.prototype.fq,jr.prototype.getProjection=jr.prototype.Rm,jr.prototype.getResolution=jr.prototype.Pa,jr.prototype.getResolutions=jr.prototype.Sm,jr.prototype.getResolutionForExtent=jr.prototype.ze,jr.prototype.getRotation=jr.prototype.Qa,jr.prototype.getZoom=jr.prototype.Hh,jr.prototype.getZoomForResolution=jr.prototype.Ce,jr.prototype.fit=jr.prototype.Qf,jr.prototype.centerOn=jr.prototype.uk,jr.prototype.rotate=jr.prototype.rotate,jr.prototype.setCenter=jr.prototype.ob,jr.prototype.setResolution=jr.prototype.Vc,jr.prototype.setRotation=jr.prototype.Oe,jr.prototype.setZoom=jr.prototype.lq,i("ol.xml.getAllTextContent",Oh),i("ol.xml.parse",Bh),es.prototype.getGL=es.prototype.Wo,es.prototype.useProgram=es.prototype.Qc,i("ol.tilegrid.TileGrid",Qt),Qt.prototype.forEachTileCoord=Qt.prototype.Rf,Qt.prototype.getMaxZoom=Qt.prototype.Ti,Qt.prototype.getMinZoom=Qt.prototype.Ui,Qt.prototype.getOrigin=Qt.prototype.Pc,Qt.prototype.getResolution=Qt.prototype.Da,Qt.prototype.getResolutions=Qt.prototype.Vi,Qt.prototype.getTileCoordExtent=Qt.prototype.Aa,Qt.prototype.getTileCoordForCoordAndResolution=Qt.prototype.Be,Qt.prototype.getTileCoordForCoordAndZ=Qt.prototype.bg,Qt.prototype.getTileSize=Qt.prototype.gb,Qt.prototype.getZForResolution=Qt.prototype.tc,i("ol.tilegrid.WMTS",Px),Px.prototype.getMatrixIds=Px.prototype.l,i("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Ax),i("ol.style.AtlasManager",Fx),i("ol.style.Circle",Eh),Eh.prototype.setRadius=Eh.prototype.Uc,i("ol.style.Fill",Th),Th.prototype.clone=Th.prototype.clone,Th.prototype.getColor=Th.prototype.i,Th.prototype.setColor=Th.prototype.c,i("ol.style.Icon",Jc),Jc.prototype.clone=Jc.prototype.clone,Jc.prototype.getAnchor=Jc.prototype.Hc,Jc.prototype.getColor=Jc.prototype.Lo,Jc.prototype.getImage=Jc.prototype.Y,Jc.prototype.getOrigin=Jc.prototype.Oc,Jc.prototype.getSrc=Jc.prototype.Mo,Jc.prototype.getSize=Jc.prototype.ic,Jc.prototype.load=Jc.prototype.load,i("ol.style.Image",Mh),Mh.prototype.getOpacity=Mh.prototype.Ze,Mh.prototype.getRotateWithView=Mh.prototype.$e,Mh.prototype.getRotation=Mh.prototype.af,Mh.prototype.getScale=Mh.prototype.bf,Mh.prototype.getSnapToPixel=Mh.prototype.Ae,Mh.prototype.setOpacity=Mh.prototype.td,Mh.prototype.setRotation=Mh.prototype.cf,Mh.prototype.setScale=Mh.prototype.ud,i("ol.style.RegularShape",Ph),Ph.prototype.clone=Ph.prototype.clone,Ph.prototype.getAnchor=Ph.prototype.Hc,Ph.prototype.getAngle=Ph.prototype.Pi,Ph.prototype.getFill=Ph.prototype.Fa,Ph.prototype.getImage=Ph.prototype.Y,Ph.prototype.getOrigin=Ph.prototype.Oc,Ph.prototype.getPoints=Ph.prototype.Qi,Ph.prototype.getRadius=Ph.prototype.Ri,Ph.prototype.getRadius2=Ph.prototype.Fh,Ph.prototype.getSize=Ph.prototype.ic,Ph.prototype.getStroke=Ph.prototype.Ga,i("ol.style.Stroke",Gs),Gs.prototype.clone=Gs.prototype.clone,Gs.prototype.getColor=Gs.prototype.No,Gs.prototype.getLineCap=Gs.prototype.Vk,Gs.prototype.getLineDash=Gs.prototype.Oo,Gs.prototype.getLineDashOffset=Gs.prototype.Wk,Gs.prototype.getLineJoin=Gs.prototype.Xk,Gs.prototype.getMiterLimit=Gs.prototype.bl,Gs.prototype.getWidth=Gs.prototype.Po,Gs.prototype.setColor=Gs.prototype.Qo,Gs.prototype.setLineCap=Gs.prototype.aq,Gs.prototype.setLineDash=Gs.prototype.setLineDash,Gs.prototype.setLineDashOffset=Gs.prototype.bq,Gs.prototype.setLineJoin=Gs.prototype.cq,Gs.prototype.setMiterLimit=Gs.prototype.gq,Gs.prototype.setWidth=Gs.prototype.jq,i("ol.style.Style",jh),jh.prototype.clone=jh.prototype.clone,jh.prototype.getGeometry=jh.prototype.V,jh.prototype.getGeometryFunction=jh.prototype.Pk,jh.prototype.getFill=jh.prototype.Fa,jh.prototype.setFill=jh.prototype.pf,jh.prototype.getImage=jh.prototype.Y,jh.prototype.setImage=jh.prototype.Og,jh.prototype.getStroke=jh.prototype.Ga,jh.prototype.setStroke=jh.prototype.qf,jh.prototype.getText=jh.prototype.Na,jh.prototype.setText=jh.prototype.xd,jh.prototype.getZIndex=jh.prototype.Ba,jh.prototype.setGeometry=jh.prototype.Ra,jh.prototype.setZIndex=jh.prototype.Vb,i("ol.style.Text",_c),_c.prototype.clone=_c.prototype.clone,_c.prototype.getFont=_c.prototype.Nk,_c.prototype.getOffsetX=_c.prototype.cl,_c.prototype.getOffsetY=_c.prototype.dl,_c.prototype.getFill=_c.prototype.Fa,_c.prototype.getRotateWithView=_c.prototype.Ro,_c.prototype.getRotation=_c.prototype.So,_c.prototype.getScale=_c.prototype.To,_c.prototype.getStroke=_c.prototype.Ga,_c.prototype.getText=_c.prototype.Na,_c.prototype.getTextAlign=_c.prototype.nl,_c.prototype.getTextBaseline=_c.prototype.ol,_c.prototype.setFont=_c.prototype.nj,_c.prototype.setOffsetX=_c.prototype.sj,_c.prototype.setOffsetY=_c.prototype.tj,_c.prototype.setFill=_c.prototype.pf,_c.prototype.setRotation=_c.prototype.Uo,_c.prototype.setScale=_c.prototype.Si,_c.prototype.setStroke=_c.prototype.qf,_c.prototype.setText=_c.prototype.xd,_c.prototype.setTextAlign=_c.prototype.vj,_c.prototype.setTextBaseline=_c.prototype.hq,i("ol.source.BingMaps",Nw),i("ol.source.BingMaps.TOS_ATTRIBUTION",Fw),Nw.prototype.getApiKey=Nw.prototype.T,Nw.prototype.getImagerySet=Nw.prototype.fa,i("ol.source.CartoDB",Dw),Dw.prototype.getConfig=Dw.prototype.Kk,Dw.prototype.updateConfig=Dw.prototype.tq,Dw.prototype.setConfig=Dw.prototype.Xp,i("ol.source.Cluster",Gw),Gw.prototype.getDistance=Gw.prototype.$n,Gw.prototype.getSource=Gw.prototype.ao,Gw.prototype.setDistance=Gw.prototype.Yp,i("ol.source.Image",Zm),Ym.prototype.image=Ym.prototype.image,i("ol.source.ImageArcGISRest",Ww),Ww.prototype.getParams=Ww.prototype.co,Ww.prototype.getImageLoadFunction=Ww.prototype.bo,Ww.prototype.getUrl=Ww.prototype.eo,Ww.prototype.setImageLoadFunction=Ww.prototype.fo,Ww.prototype.setUrl=Ww.prototype.ho,Ww.prototype.updateParams=Ww.prototype.io,i("ol.source.ImageCanvas",_m),i("ol.source.ImageMapGuide",Zw),Zw.prototype.getParams=Zw.prototype.ko,Zw.prototype.getImageLoadFunction=Zw.prototype.jo,Zw.prototype.updateParams=Zw.prototype.mo,Zw.prototype.setImageLoadFunction=Zw.prototype.lo,i("ol.source.ImageStatic",Kw),i("ol.source.ImageVector",$m),$m.prototype.getSource=$m.prototype.no,$m.prototype.getStyle=$m.prototype.oo,$m.prototype.getStyleFunction=$m.prototype.po,$m.prototype.setStyle=$m.prototype.Ii,i("ol.source.ImageWMS",zw),zw.prototype.getGetFeatureInfoUrl=zw.prototype.so,zw.prototype.getParams=zw.prototype.uo,zw.prototype.getImageLoadFunction=zw.prototype.to,zw.prototype.getUrl=zw.prototype.vo,zw.prototype.setImageLoadFunction=zw.prototype.wo,zw.prototype.setUrl=zw.prototype.xo,zw.prototype.updateParams=zw.prototype.yo,i("ol.source.OSM",Jw),i("ol.source.OSM.ATTRIBUTION",_w),i("ol.source.Raster",$w),$w.prototype.setOperation=$w.prototype.v,tx.prototype.extent=tx.prototype.extent,tx.prototype.resolution=tx.prototype.resolution,tx.prototype.data=tx.prototype.data,i("ol.source.Source",wb),wb.prototype.getAttributions=wb.prototype.ya,wb.prototype.getLogo=wb.prototype.xa,wb.prototype.getProjection=wb.prototype.za,wb.prototype.getState=wb.prototype.getState,wb.prototype.refresh=wb.prototype.sa,wb.prototype.setAttributions=wb.prototype.ua,i("ol.source.Stamen",ix),i("ol.source.Tile",Mw),Mw.prototype.getTileGrid=Mw.prototype.ab,Tw.prototype.tile=Tw.prototype.tile,i("ol.source.TileArcGISRest",sx),sx.prototype.getParams=sx.prototype.C,sx.prototype.updateParams=sx.prototype.B,i("ol.source.TileDebug",hx),i("ol.source.TileImage",Cw),Cw.prototype.setRenderReprojectionEdges=Cw.prototype.Pb,Cw.prototype.setTileGridForProjection=Cw.prototype.Qb,i("ol.source.TileJSON",ux),ux.prototype.getTileJSON=ux.prototype.pl,i("ol.source.TileUTFGrid",cx),cx.prototype.getTemplate=cx.prototype.ml,cx.prototype.forDataAtCoordinateAndResolution=cx.prototype.zk,i("ol.source.TileWMS",gx),gx.prototype.getGetFeatureInfoUrl=gx.prototype.Fo,gx.prototype.getParams=gx.prototype.Go,gx.prototype.updateParams=gx.prototype.Ho,jw.prototype.getTileLoadFunction=jw.prototype.pb,jw.prototype.getTileUrlFunction=jw.prototype.qb,jw.prototype.getUrls=jw.prototype.rb,jw.prototype.setTileLoadFunction=jw.prototype.vb,jw.prototype.setTileUrlFunction=jw.prototype.cb,jw.prototype.setUrl=jw.prototype.jb,jw.prototype.setUrls=jw.prototype.eb,i("ol.source.Vector",Mb),Mb.prototype.addFeature=Mb.prototype.yb,Mb.prototype.addFeatures=Mb.prototype.cd,Mb.prototype.clear=Mb.prototype.clear,Mb.prototype.forEachFeature=Mb.prototype.sh,Mb.prototype.forEachFeatureInExtent=Mb.prototype.$b,Mb.prototype.forEachFeatureIntersectingExtent=Mb.prototype.th,Mb.prototype.getFeaturesCollection=Mb.prototype.Ah,Mb.prototype.getFeatures=Mb.prototype.Xe,Mb.prototype.getFeaturesAtCoordinate=Mb.prototype.zh,Mb.prototype.getFeaturesInExtent=Mb.prototype.Uf,Mb.prototype.getClosestFeatureToCoordinate=Mb.prototype.vh,Mb.prototype.getExtent=Mb.prototype.G,Mb.prototype.getFeatureById=Mb.prototype.yh,Mb.prototype.getFormat=Mb.prototype.Mi,Mb.prototype.getUrl=Mb.prototype.Ni,Mb.prototype.removeFeature=Mb.prototype.Gb,jb.prototype.feature=jb.prototype.feature,i("ol.source.VectorTile",Mx),i("ol.source.WMTS",Ex),Ex.prototype.getDimensions=Ex.prototype.Mk,Ex.prototype.getFormat=Ex.prototype.Io,Ex.prototype.getLayer=Ex.prototype.Jo,Ex.prototype.getMatrixSet=Ex.prototype.$k,Ex.prototype.getRequestEncoding=Ex.prototype.kl,Ex.prototype.getStyle=Ex.prototype.Ko,Ex.prototype.getVersion=Ex.prototype.rl,Ex.prototype.updateDimensions=Ex.prototype.uq,i("ol.source.WMTS.optionsFromCapabilities",function(t,r){var e=v(t.Contents.Layer,function(t){return t.Identifier==r.layer});if(null===e)return null;var n=t.Contents.TileMatrixSet,o=1<e.TileMatrixSetLink.length?b(e.TileMatrixSetLink,"projection"in r?function(e){var t=v(n,function(t){return t.Identifier==e.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),o=Wt(t),i=Wt(r.projection);return o&&i?Zt(o,i):t==r.projection}:function(t){return t.TileMatrixSet==r.matrixSet}):0;o<0&&(o=0);var i=e.TileMatrixSetLink[o].TileMatrixSet,p=e.TileMatrixSetLink[o].TileMatrixSetLimits,s=e.Format[0];"format"in r&&(s=r.format),(o=b(e.Style,function(t){return"style"in r?t.Title==r.style:t.isDefault}))<0&&(o=0),o=e.Style[o].Identifier;var a={};"Dimension"in e&&e.Dimension.forEach(function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),a[e]=o});var h=v(t.Contents.TileMatrixSet,function(t){return t.Identifier==i}),l=Wt("projection"in r?r.projection:h.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=e.WGS84BoundingBox;if(void 0!==u){var c=Wt("EPSG:4326").G();c=u[0]==c[0]&&u[2]==c[2];var y=Jt(u,"EPSG:4326",l);(u=l.G())&&(O(u,y)||(y=void 0))}p=Ax(h,y,p);var f=[];h=void 0!==(h=r.requestEncoding)?h:"";if("OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata)for(y=0,u=(t=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;y<u;++y){var g=v(t[y].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;if(""===h&&(h=g[0]),"KVP"!==h)break;d(g,"KVP")&&f.push(t[y].href)}return f.length||(h="REST",e.ResourceURL.forEach(function(t){"tile"===t.resourceType&&(s=t.format,f.push(t.template))})),{urls:f,layer:r.layer,matrixSet:i,format:s,projection:l,requestEncoding:h,tileGrid:p,style:o,dimensions:a,wrapX:c,crossOrigin:r.crossOrigin}}),i("ol.source.XYZ",kw),i("ol.source.Zoomify",jx),yp.prototype.vectorContext=yp.prototype.vectorContext,yp.prototype.frameState=yp.prototype.frameState,yp.prototype.context=yp.prototype.context,yp.prototype.glContext=yp.prototype.glContext,Wf.prototype.get=Wf.prototype.get,Wf.prototype.getExtent=Wf.prototype.G,Wf.prototype.getId=Wf.prototype.Wn,Wf.prototype.getGeometry=Wf.prototype.V,Wf.prototype.getProperties=Wf.prototype.Xn,Wf.prototype.getType=Wf.prototype.U,i("ol.render.VectorContext",bp),Ua.prototype.setStyle=Ua.prototype.rd,Ua.prototype.drawGeometry=Ua.prototype.zb,Ua.prototype.drawFeature=Ua.prototype.te,mp.prototype.drawCircle=mp.prototype.Zb,mp.prototype.setStyle=mp.prototype.rd,mp.prototype.drawGeometry=mp.prototype.zb,mp.prototype.drawFeature=mp.prototype.te,i("ol.proj.common.add",_t),i("ol.proj.Projection",wt),wt.prototype.getCode=wt.prototype.Jk,wt.prototype.getExtent=wt.prototype.G,wt.prototype.getUnits=wt.prototype.Un,wt.prototype.getMetersPerUnit=wt.prototype.sc,wt.prototype.getWorldExtent=wt.prototype.tl,wt.prototype.isGlobal=wt.prototype.dm,wt.prototype.setGlobal=wt.prototype.$p,wt.prototype.setExtent=wt.prototype.Vn,wt.prototype.setWorldExtent=wt.prototype.kq,wt.prototype.setGetPointResolution=wt.prototype.Zp,i("ol.proj.Units.METERS_PER_UNIT",bt),i("ol.layer.Base",Vn),Vn.prototype.getExtent=Vn.prototype.G,Vn.prototype.getMaxResolution=Vn.prototype.fc,Vn.prototype.getMinResolution=Vn.prototype.gc,Vn.prototype.getOpacity=Vn.prototype.hc,Vn.prototype.getVisible=Vn.prototype.Mb,Vn.prototype.getZIndex=Vn.prototype.Ba,Vn.prototype.setExtent=Vn.prototype.vc,Vn.prototype.setMaxResolution=Vn.prototype.Ac,Vn.prototype.setMinResolution=Vn.prototype.Bc,Vn.prototype.setOpacity=Vn.prototype.wc,Vn.prototype.setVisible=Vn.prototype.xc,Vn.prototype.setZIndex=Vn.prototype.Vb,i("ol.layer.Group",Zn),Zn.prototype.getLayers=Zn.prototype.qd,Zn.prototype.setLayers=Zn.prototype.xi,i("ol.layer.Heatmap",Rm),Rm.prototype.getBlur=Rm.prototype.uh,Rm.prototype.getGradient=Rm.prototype.Bh,Rm.prototype.getRadius=Rm.prototype.yi,Rm.prototype.setBlur=Rm.prototype.jj,Rm.prototype.setGradient=Rm.prototype.pj,Rm.prototype.setRadius=Rm.prototype.Uc,i("ol.layer.Image",tw),tw.prototype.getSource=tw.prototype.ha,i("ol.layer.Layer",zn),zn.prototype.getSource=zn.prototype.ha,zn.prototype.setMap=zn.prototype.setMap,zn.prototype.setSource=zn.prototype.Wc,i("ol.layer.Tile",hw),hw.prototype.getPreload=hw.prototype.Ud,hw.prototype.getSource=hw.prototype.ha,hw.prototype.setPreload=hw.prototype.zi,hw.prototype.getUseInterimTilesOnError=hw.prototype.kd,hw.prototype.setUseInterimTilesOnError=hw.prototype.Ai,i("ol.layer.Vector",vb),vb.prototype.getSource=vb.prototype.ha,vb.prototype.getStyle=vb.prototype.D,vb.prototype.getStyleFunction=vb.prototype.C,vb.prototype.setStyle=vb.prototype.g,i("ol.layer.VectorTile",yw),yw.prototype.getPreload=yw.prototype.Ud,yw.prototype.getUseInterimTilesOnError=yw.prototype.kd,yw.prototype.setPreload=yw.prototype.Bi,yw.prototype.setUseInterimTilesOnError=yw.prototype.Ci,i("ol.interaction.DoubleClickZoom",Wr),i("ol.interaction.DoubleClickZoom.handleEvent",Zr),i("ol.interaction.DragAndDrop",gv),i("ol.interaction.DragAndDrop.handleEvent",Gi),xv.prototype.features=xv.prototype.features,xv.prototype.file=xv.prototype.file,xv.prototype.projection=xv.prototype.projection,i("ol.interaction.DragBox",gn),gn.prototype.getGeometry=gn.prototype.V,Mn.prototype.coordinate=Mn.prototype.coordinate,Mn.prototype.mapBrowserEvent=Mn.prototype.mapBrowserEvent,i("ol.interaction.DragPan",rn),i("ol.interaction.DragRotate",an),i("ol.interaction.DragRotateAndZoom",Sv),i("ol.interaction.DragZoom",Pn),i("ol.interaction.Draw",Cb),i("ol.interaction.Draw.handleEvent",Lb),Cb.prototype.removeLastPoint=Cb.prototype.Op,Cb.prototype.finishDrawing=Cb.prototype.Pd,Cb.prototype.extend=Cb.prototype.vn,i("ol.interaction.Draw.createRegularPolygon",function(r,n){return function(t,e){var o=t[0];t=t[1];var i=Math.sqrt(ki(o,t));return Tr(e=e||Er(new $d(o),r),o,i,n||Math.atan((t[1]-o[1])/(t[0]-o[0]))),e}}),i("ol.interaction.Draw.createBox",function(){return function(t,e){return t=E(t),(e=e||new Sr(null)).ma([[Q(t),tt(t),pt(t),nt(t),Q(t)]]),e}}),Wb.prototype.feature=Wb.prototype.feature,i("ol.interaction.Extent",Zb),Zb.prototype.getExtent=Zb.prototype.G,Zb.prototype.setExtent=Zb.prototype.g,Qb.prototype.extent_=Qb.prototype.b,i("ol.interaction.Interaction",Gr),Gr.prototype.getActive=Gr.prototype.c,Gr.prototype.getMap=Gr.prototype.f,Gr.prototype.setActive=Gr.prototype.Ha,i("ol.interaction.KeyboardPan",An),i("ol.interaction.KeyboardPan.handleEvent",En),i("ol.interaction.KeyboardZoom",Tn),i("ol.interaction.KeyboardZoom.handleEvent",jn),i("ol.interaction.Modify",em),i("ol.interaction.Modify.handleEvent",hm),em.prototype.removePoint=em.prototype.hj,fm.prototype.features=fm.prototype.features,fm.prototype.mapBrowserEvent=fm.prototype.mapBrowserEvent,i("ol.interaction.MouseWheelZoom",Cn),i("ol.interaction.MouseWheelZoom.handleEvent",Ln),Cn.prototype.setMouseAnchor=Cn.prototype.T,i("ol.interaction.PinchRotate",Nn),i("ol.interaction.PinchZoom",On),i("ol.interaction.Pointer",tn),i("ol.interaction.Pointer.handleEvent",on),i("ol.interaction.Select",gm),gm.prototype.getFeatures=gm.prototype.Gn,gm.prototype.getHitTolerance=gm.prototype.Hn,gm.prototype.getLayer=gm.prototype.In,i("ol.interaction.Select.handleEvent",dm),gm.prototype.setHitTolerance=gm.prototype.Kn,gm.prototype.setMap=gm.prototype.setMap,vm.prototype.selected=vm.prototype.selected,vm.prototype.deselected=vm.prototype.deselected,vm.prototype.mapBrowserEvent=vm.prototype.mapBrowserEvent,i("ol.interaction.Snap",mm),mm.prototype.addFeature=mm.prototype.yb,mm.prototype.removeFeature=mm.prototype.Gb,i("ol.interaction.Translate",Mm),Mm.prototype.getHitTolerance=Mm.prototype.B,Mm.prototype.setHitTolerance=Mm.prototype.I,Lm.prototype.features=Lm.prototype.features,Lm.prototype.coordinate=Lm.prototype.coordinate,i("ol.geom.Circle",$d),$d.prototype.clone=$d.prototype.clone,$d.prototype.getCenter=$d.prototype.wa,$d.prototype.getRadius=$d.prototype.pd,$d.prototype.getType=$d.prototype.U,$d.prototype.intersectsExtent=$d.prototype.Xa,$d.prototype.setCenter=$d.prototype.ob,$d.prototype.setCenterAndRadius=$d.prototype.Ng,$d.prototype.setRadius=$d.prototype.Uc,$d.prototype.transform=$d.prototype.tb,i("ol.geom.Geometry",Xi),Xi.prototype.getClosestPoint=Xi.prototype.Ab,Xi.prototype.intersectsCoordinate=Xi.prototype.sb,Xi.prototype.getExtent=Xi.prototype.G,Xi.prototype.rotate=Xi.prototype.rotate,Xi.prototype.scale=Xi.prototype.scale,Xi.prototype.simplify=Xi.prototype.Rb,Xi.prototype.transform=Xi.prototype.tb,i("ol.geom.GeometryCollection",Ql),Ql.prototype.clone=Ql.prototype.clone,Ql.prototype.getGeometries=Ql.prototype.Vf,Ql.prototype.getType=Ql.prototype.U,Ql.prototype.intersectsExtent=Ql.prototype.Xa,Ql.prototype.setGeometries=Ql.prototype.oj,Ql.prototype.applyTransform=Ql.prototype.Dc,Ql.prototype.translate=Ql.prototype.translate,i("ol.geom.LinearRing",ar),ar.prototype.clone=ar.prototype.clone,ar.prototype.getArea=ar.prototype.qn,ar.prototype.getCoordinates=ar.prototype.X,ar.prototype.getType=ar.prototype.U,ar.prototype.setCoordinates=ar.prototype.ma,i("ol.geom.LineString",cl),cl.prototype.appendCoordinate=cl.prototype.mk,cl.prototype.clone=cl.prototype.clone,cl.prototype.forEachSegment=cl.prototype.Ck,cl.prototype.getCoordinateAtM=cl.prototype.nn,cl.prototype.getCoordinates=cl.prototype.X,cl.prototype.getCoordinateAt=cl.prototype.wh,cl.prototype.getLength=cl.prototype.pn,cl.prototype.getType=cl.prototype.U,cl.prototype.intersectsExtent=cl.prototype.Xa,cl.prototype.setCoordinates=cl.prototype.ma,i("ol.geom.MultiLineString",fl),fl.prototype.appendLineString=fl.prototype.nk,fl.prototype.clone=fl.prototype.clone,fl.prototype.getCoordinateAtM=fl.prototype.rn,fl.prototype.getCoordinates=fl.prototype.X,fl.prototype.getLineString=fl.prototype.Yk,fl.prototype.getLineStrings=fl.prototype.gd,fl.prototype.getType=fl.prototype.U,fl.prototype.intersectsExtent=fl.prototype.Xa,fl.prototype.setCoordinates=fl.prototype.ma,i("ol.geom.MultiPoint",vl),vl.prototype.appendPoint=vl.prototype.qk,vl.prototype.clone=vl.prototype.clone,vl.prototype.getCoordinates=vl.prototype.X,vl.prototype.getPoint=vl.prototype.il,vl.prototype.getPoints=vl.prototype.Zd,vl.prototype.getType=vl.prototype.U,vl.prototype.intersectsExtent=vl.prototype.Xa,vl.prototype.setCoordinates=vl.prototype.ma,i("ol.geom.MultiPolygon",bl),bl.prototype.appendPolygon=bl.prototype.rk,bl.prototype.clone=bl.prototype.clone,bl.prototype.getArea=bl.prototype.sn,bl.prototype.getCoordinates=bl.prototype.X,bl.prototype.getInteriorPoints=bl.prototype.Uk,bl.prototype.getPolygon=bl.prototype.jl,bl.prototype.getPolygons=bl.prototype.Td,bl.prototype.getType=bl.prototype.U,bl.prototype.intersectsExtent=bl.prototype.Xa,bl.prototype.setCoordinates=bl.prototype.ma,i("ol.geom.Point",lr),lr.prototype.clone=lr.prototype.clone,lr.prototype.getCoordinates=lr.prototype.X,lr.prototype.getType=lr.prototype.U,lr.prototype.intersectsExtent=lr.prototype.Xa,lr.prototype.setCoordinates=lr.prototype.ma,i("ol.geom.Polygon",Sr),Sr.prototype.appendLinearRing=Sr.prototype.pk,Sr.prototype.clone=Sr.prototype.clone,Sr.prototype.getArea=Sr.prototype.tn,Sr.prototype.getCoordinates=Sr.prototype.X,Sr.prototype.getInteriorPoint=Sr.prototype.Tk,Sr.prototype.getLinearRingCount=Sr.prototype.Zk,Sr.prototype.getLinearRing=Sr.prototype.Ch,Sr.prototype.getLinearRings=Sr.prototype.Sd,Sr.prototype.getType=Sr.prototype.U,Sr.prototype.intersectsExtent=Sr.prototype.Xa,Sr.prototype.setCoordinates=Sr.prototype.ma,i("ol.geom.Polygon.circular",Pr),i("ol.geom.Polygon.fromExtent",Ar),i("ol.geom.Polygon.fromCircle",Er),i("ol.geom.SimpleGeometry",Zi),Zi.prototype.getFirstCoordinate=Zi.prototype.ac,Zi.prototype.getLastCoordinate=Zi.prototype.bc,Zi.prototype.getLayout=Zi.prototype.cc,Zi.prototype.applyTransform=Zi.prototype.Dc,Zi.prototype.translate=Zi.prototype.translate,i("ol.format.EsriJSON",Ml),Ml.prototype.readFeature=Ml.prototype.Tb,Ml.prototype.readFeatures=Ml.prototype.Oa,Ml.prototype.readGeometry=Ml.prototype.Sc,Ml.prototype.readProjection=Ml.prototype.kb,Ml.prototype.writeGeometry=Ml.prototype.$c,Ml.prototype.writeGeometryObject=Ml.prototype.je,Ml.prototype.writeFeature=Ml.prototype.Bd,Ml.prototype.writeFeatureObject=Ml.prototype.Zc,Ml.prototype.writeFeatures=Ml.prototype.Wb,Ml.prototype.writeFeaturesObject=Ml.prototype.he,i("ol.format.Feature",rl),i("ol.format.filter.and",_l),i("ol.format.filter.or",function(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(ql,e))}),i("ol.format.filter.not",function(t){return new Yl(t)}),i("ol.format.filter.bbox",$l),i("ol.format.filter.intersects",function(t,e,o){return new Xl(t,e,o)}),i("ol.format.filter.within",function(t,e,o){return new Jl(t,e,o)}),i("ol.format.filter.equalTo",function(t,e,o){return new Ol(t,e,o)}),i("ol.format.filter.notEqualTo",function(t,e,o){return new Hl(t,e,o)}),i("ol.format.filter.lessThan",function(t,e){return new Kl(t,e)}),i("ol.format.filter.lessThanOrEqualTo",function(t,e){return new zl(t,e)}),i("ol.format.filter.greaterThan",function(t,e){return new Ul(t,e)}),i("ol.format.filter.greaterThanOrEqualTo",function(t,e){return new Gl(t,e)}),i("ol.format.filter.isNull",function(t){return new Zl(t)}),i("ol.format.filter.between",function(t,e,o){return new Vl(t,e,o)}),i("ol.format.filter.like",function(t,e,o,i,r,n){return new Wl(t,e,o,i,r,n)}),i("ol.format.filter.during",function(t,e,o){return new kl(t,e,o)}),i("ol.format.GeoJSON",iu),iu.prototype.readFeature=iu.prototype.Tb,iu.prototype.readFeatures=iu.prototype.Oa,iu.prototype.readGeometry=iu.prototype.Sc,iu.prototype.readProjection=iu.prototype.kb,iu.prototype.writeFeature=iu.prototype.Bd,iu.prototype.writeFeatureObject=iu.prototype.Zc,iu.prototype.writeFeatures=iu.prototype.Wb,iu.prototype.writeFeaturesObject=iu.prototype.he,iu.prototype.writeGeometry=iu.prototype.$c,iu.prototype.writeGeometryObject=iu.prototype.je,i("ol.format.GML",Au),Au.prototype.writeFeatures=Au.prototype.Wb,Au.prototype.writeFeaturesNode=Au.prototype.Xb,i("ol.format.GML2",Fu),i("ol.format.GML3",Au),Au.prototype.writeGeometryNode=Au.prototype.ie,Au.prototype.writeFeatures=Au.prototype.Wb,Au.prototype.writeFeaturesNode=Au.prototype.Xb,uu.prototype.readFeatures=uu.prototype.Oa,i("ol.format.GPX",Ku),Ku.prototype.readFeature=Ku.prototype.Tb,Ku.prototype.readFeatures=Ku.prototype.Oa,Ku.prototype.readProjection=Ku.prototype.kb,Ku.prototype.writeFeatures=Ku.prototype.Wb,Ku.prototype.writeFeaturesNode=Ku.prototype.Xb,i("ol.format.IGC",jc),jc.prototype.readFeature=jc.prototype.Tb,jc.prototype.readFeatures=jc.prototype.Oa,jc.prototype.readProjection=jc.prototype.kb,i("ol.format.KML",$c),$c.prototype.readFeature=$c.prototype.Tb,$c.prototype.readFeatures=$c.prototype.Oa,$c.prototype.readName=$c.prototype.Cp,$c.prototype.readNetworkLinks=$c.prototype.Dp,$c.prototype.readRegion=$c.prototype.Gp,$c.prototype.readRegionFromNode=$c.prototype.lf,$c.prototype.readProjection=$c.prototype.kb,$c.prototype.writeFeatures=$c.prototype.Wb,$c.prototype.writeFeaturesNode=$c.prototype.Xb,i("ol.format.MVT",Zf),Zf.prototype.readFeatures=Zf.prototype.Oa,Zf.prototype.readProjection=Zf.prototype.kb,Zf.prototype.setLayers=Zf.prototype.mn,i("ol.format.OSMXML",zf),zf.prototype.readFeatures=zf.prototype.Oa,zf.prototype.readProjection=zf.prototype.kb,i("ol.format.Polyline",vg),i("ol.format.Polyline.encodeDeltas",bg),i("ol.format.Polyline.decodeDeltas",mg),i("ol.format.Polyline.encodeFloats",wg),i("ol.format.Polyline.decodeFloats",xg),vg.prototype.readFeature=vg.prototype.Tb,vg.prototype.readFeatures=vg.prototype.Oa,vg.prototype.readGeometry=vg.prototype.Sc,vg.prototype.readProjection=vg.prototype.kb,vg.prototype.writeGeometry=vg.prototype.$c,i("ol.format.TopoJSON",Sg),Sg.prototype.readFeatures=Sg.prototype.Oa,Sg.prototype.readProjection=Sg.prototype.kb,i("ol.format.WFS",jg),jg.prototype.readFeatures=jg.prototype.Oa,jg.prototype.readTransactionResponse=jg.prototype.j,jg.prototype.readFeatureCollectionMetadata=jg.prototype.g,i("ol.format.WFS.writeFilter",function(t){var e=Dh("http://www.opengis.net/ogc","Filter");return el({node:e},Hg,Hh(t.kc),[t],[]),e}),jg.prototype.writeGetFeature=jg.prototype.l,jg.prototype.writeTransaction=jg.prototype.v,jg.prototype.readProjection=jg.prototype.kb,i("ol.format.WKT",qg),qg.prototype.readFeature=qg.prototype.Tb,qg.prototype.readFeatures=qg.prototype.Oa,qg.prototype.readGeometry=qg.prototype.Sc,qg.prototype.writeFeature=qg.prototype.Bd,qg.prototype.writeFeatures=qg.prototype.Wb,qg.prototype.writeGeometry=qg.prototype.$c,i("ol.format.WMSCapabilities",cd),cd.prototype.read=cd.prototype.read,i("ol.format.WMSGetFeatureInfo",kd),kd.prototype.readFeatures=kd.prototype.Oa,i("ol.format.WMTSCapabilities",Dd),Dd.prototype.read=Dd.prototype.read,i("ol.format.filter.And",Il),i("ol.format.filter.Bbox",Nl),i("ol.format.filter.Comparison",Fl),i("ol.format.filter.ComparisonBinary",Dl),i("ol.format.filter.During",kl),i("ol.format.filter.EqualTo",Ol),i("ol.format.filter.Filter",Ll),i("ol.format.filter.GreaterThan",Ul),i("ol.format.filter.GreaterThanOrEqualTo",Gl),i("ol.format.filter.Intersects",Xl),i("ol.format.filter.IsBetween",Vl),i("ol.format.filter.IsLike",Wl),i("ol.format.filter.IsNull",Zl),i("ol.format.filter.LessThan",Kl),i("ol.format.filter.LessThanOrEqualTo",zl),i("ol.format.filter.Not",Yl),i("ol.format.filter.NotEqualTo",Hl),i("ol.format.filter.Or",ql),i("ol.format.filter.Spatial",Bl),i("ol.format.filter.Within",Jl),i("ol.events.condition.altKeyOnly",function(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}),i("ol.events.condition.altShiftKeysOnly",Kr),i("ol.events.condition.always",Gi),i("ol.events.condition.click",function(t){return"click"==t.type}),i("ol.events.condition.never",Bi),i("ol.events.condition.pointerMove",Yr),i("ol.events.condition.singleClick",Hr),i("ol.events.condition.doubleClick",function(t){return"dblclick"==t.type}),i("ol.events.condition.noModifierKeys",qr),i("ol.events.condition.platformModifierKeyOnly",function(t){return!(t=t.originalEvent).altKey&&(No?t.metaKey:t.ctrlKey)&&!t.shiftKey}),i("ol.events.condition.shiftKeyOnly",Jr),i("ol.events.condition.targetNotEditable",_r),i("ol.events.condition.mouseOnly",$r),i("ol.events.condition.primaryAction",Qr),Ee.prototype.type=Ee.prototype.type,Ee.prototype.target=Ee.prototype.target,Ee.prototype.preventDefault=Ee.prototype.preventDefault,Ee.prototype.stopPropagation=Ee.prototype.stopPropagation,i("ol.control.Attribution",to),i("ol.control.Attribution.render",eo),to.prototype.getCollapsible=to.prototype.Um,to.prototype.setCollapsible=to.prototype.Xm,to.prototype.setCollapsed=to.prototype.Wm,to.prototype.getCollapsed=to.prototype.Tm,i("ol.control.Control",Qe),Qe.prototype.getMap=Qe.prototype.g,Qe.prototype.setMap=Qe.prototype.setMap,Qe.prototype.setTarget=Qe.prototype.f,i("ol.control.FullScreen",uo),i("ol.control.MousePosition",bo),i("ol.control.MousePosition.render",mo),bo.prototype.getCoordinateFormat=bo.prototype.xh,bo.prototype.getProjection=bo.prototype.Zh,bo.prototype.setCoordinateFormat=bo.prototype.kj,bo.prototype.setProjection=bo.prototype.$h,i("ol.control.OverviewMap",eh),i("ol.control.OverviewMap.render",oh),eh.prototype.getCollapsible=eh.prototype.$m,eh.prototype.setCollapsible=eh.prototype.cn,eh.prototype.setCollapsed=eh.prototype.bn,eh.prototype.getCollapsed=eh.prototype.Zm,eh.prototype.getOverviewMap=eh.prototype.gl,i("ol.control.Rotate",so),i("ol.control.Rotate.render",ao),i("ol.control.ScaleLine",ph),ph.prototype.getUnits=ph.prototype.C,i("ol.control.ScaleLine.render",ah),ph.prototype.setUnits=ph.prototype.I,i("ol.control.Zoom",ho),i("ol.control.ZoomSlider",uh),i("ol.control.ZoomSlider.render",yh),i("ol.control.ZoomToExtent",dh),Re.prototype.changed=Re.prototype.s,Re.prototype.dispatchEvent=Re.prototype.b,Re.prototype.getRevision=Re.prototype.L,Re.prototype.on=Re.prototype.J,Re.prototype.once=Re.prototype.once,Re.prototype.un=Re.prototype.K,De.prototype.get=De.prototype.get,De.prototype.getKeys=De.prototype.O,De.prototype.getProperties=De.prototype.N,De.prototype.set=De.prototype.set,De.prototype.setProperties=De.prototype.H,De.prototype.unset=De.prototype.P,De.prototype.changed=De.prototype.s,De.prototype.dispatchEvent=De.prototype.b,De.prototype.getRevision=De.prototype.L,De.prototype.on=De.prototype.J,De.prototype.once=De.prototype.once,De.prototype.un=De.prototype.K,Be.prototype.type=Be.prototype.type,Be.prototype.target=Be.prototype.target,Be.prototype.preventDefault=Be.prototype.preventDefault,Be.prototype.stopPropagation=Be.prototype.stopPropagation,vh.prototype.get=vh.prototype.get,vh.prototype.getKeys=vh.prototype.O,vh.prototype.getProperties=vh.prototype.N,vh.prototype.set=vh.prototype.set,vh.prototype.setProperties=vh.prototype.H,vh.prototype.unset=vh.prototype.P,vh.prototype.changed=vh.prototype.s,vh.prototype.dispatchEvent=vh.prototype.b,vh.prototype.getRevision=vh.prototype.L,vh.prototype.on=vh.prototype.J,vh.prototype.once=vh.prototype.once,vh.prototype.un=vh.prototype.K,Fh.prototype.get=Fh.prototype.get,Fh.prototype.getKeys=Fh.prototype.O,Fh.prototype.getProperties=Fh.prototype.N,Fh.prototype.set=Fh.prototype.set,Fh.prototype.setProperties=Fh.prototype.H,Fh.prototype.unset=Fh.prototype.P,Fh.prototype.changed=Fh.prototype.s,Fh.prototype.dispatchEvent=Fh.prototype.b,Fh.prototype.getRevision=Fh.prototype.L,Fh.prototype.on=Fh.prototype.J,Fh.prototype.once=Fh.prototype.once,Fh.prototype.un=Fh.prototype.K,_d.prototype.get=_d.prototype.get,_d.prototype.getKeys=_d.prototype.O,_d.prototype.getProperties=_d.prototype.N,_d.prototype.set=_d.prototype.set,_d.prototype.setProperties=_d.prototype.H,_d.prototype.unset=_d.prototype.P,_d.prototype.changed=_d.prototype.s,_d.prototype.dispatchEvent=_d.prototype.b,_d.prototype.getRevision=_d.prototype.L,_d.prototype.on=_d.prototype.J,_d.prototype.once=_d.prototype.once,_d.prototype.un=_d.prototype.K,cv.prototype.getTileCoord=cv.prototype.f,cv.prototype.load=cv.prototype.load,Ka.prototype.get=Ka.prototype.get,Ka.prototype.getKeys=Ka.prototype.O,Ka.prototype.getProperties=Ka.prototype.N,Ka.prototype.set=Ka.prototype.set,Ka.prototype.setProperties=Ka.prototype.H,Ka.prototype.unset=Ka.prototype.P,Ka.prototype.changed=Ka.prototype.s,Ka.prototype.dispatchEvent=Ka.prototype.b,Ka.prototype.getRevision=Ka.prototype.L,Ka.prototype.on=Ka.prototype.J,Ka.prototype.once=Ka.prototype.once,Ka.prototype.un=Ka.prototype.K,Mo.prototype.type=Mo.prototype.type,Mo.prototype.target=Mo.prototype.target,Mo.prototype.preventDefault=Mo.prototype.preventDefault,Mo.prototype.stopPropagation=Mo.prototype.stopPropagation,Po.prototype.map=Po.prototype.map,Po.prototype.frameState=Po.prototype.frameState,Po.prototype.type=Po.prototype.type,Po.prototype.target=Po.prototype.target,Po.prototype.preventDefault=Po.prototype.preventDefault,Po.prototype.stopPropagation=Po.prototype.stopPropagation,zo.prototype.originalEvent=zo.prototype.originalEvent,zo.prototype.pixel=zo.prototype.pixel,zo.prototype.coordinate=zo.prototype.coordinate,zo.prototype.dragging=zo.prototype.dragging,zo.prototype.preventDefault=zo.prototype.preventDefault,zo.prototype.stopPropagation=zo.prototype.stopPropagation,zo.prototype.map=zo.prototype.map,zo.prototype.frameState=zo.prototype.frameState,zo.prototype.type=zo.prototype.type,zo.prototype.target=zo.prototype.target,ke.prototype.type=ke.prototype.type,ke.prototype.target=ke.prototype.target,ke.prototype.preventDefault=ke.prototype.preventDefault,ke.prototype.stopPropagation=ke.prototype.stopPropagation,za.prototype.get=za.prototype.get,za.prototype.getKeys=za.prototype.O,za.prototype.getProperties=za.prototype.N,za.prototype.set=za.prototype.set,za.prototype.setProperties=za.prototype.H,za.prototype.unset=za.prototype.P,za.prototype.changed=za.prototype.s,za.prototype.dispatchEvent=za.prototype.b,za.prototype.getRevision=za.prototype.L,za.prototype.on=za.prototype.J,za.prototype.once=za.prototype.once,za.prototype.un=za.prototype.K,wx.prototype.getTileCoord=wx.prototype.f,wx.prototype.load=wx.prototype.load,Sx.prototype.getTileCoord=Sx.prototype.f,Sx.prototype.load=Sx.prototype.load,jr.prototype.get=jr.prototype.get,jr.prototype.getKeys=jr.prototype.O,jr.prototype.getProperties=jr.prototype.N,jr.prototype.set=jr.prototype.set,jr.prototype.setProperties=jr.prototype.H,jr.prototype.unset=jr.prototype.P,jr.prototype.changed=jr.prototype.s,jr.prototype.dispatchEvent=jr.prototype.b,jr.prototype.getRevision=jr.prototype.L,jr.prototype.on=jr.prototype.J,jr.prototype.once=jr.prototype.once,jr.prototype.un=jr.prototype.K,Px.prototype.forEachTileCoord=Px.prototype.Rf,Px.prototype.getMaxZoom=Px.prototype.Ti,Px.prototype.getMinZoom=Px.prototype.Ui,Px.prototype.getOrigin=Px.prototype.Pc,Px.prototype.getResolution=Px.prototype.Da,Px.prototype.getResolutions=Px.prototype.Vi,Px.prototype.getTileCoordExtent=Px.prototype.Aa,Px.prototype.getTileCoordForCoordAndResolution=Px.prototype.Be,Px.prototype.getTileCoordForCoordAndZ=Px.prototype.bg,Px.prototype.getTileSize=Px.prototype.gb,Px.prototype.getZForResolution=Px.prototype.tc,Ph.prototype.getOpacity=Ph.prototype.Ze,Ph.prototype.getRotateWithView=Ph.prototype.$e,Ph.prototype.getRotation=Ph.prototype.af,Ph.prototype.getScale=Ph.prototype.bf,Ph.prototype.getSnapToPixel=Ph.prototype.Ae,Ph.prototype.setOpacity=Ph.prototype.td,Ph.prototype.setRotation=Ph.prototype.cf,Ph.prototype.setScale=Ph.prototype.ud,Eh.prototype.clone=Eh.prototype.clone,Eh.prototype.getAngle=Eh.prototype.Pi,Eh.prototype.getFill=Eh.prototype.Fa,Eh.prototype.getPoints=Eh.prototype.Qi,Eh.prototype.getRadius=Eh.prototype.Ri,Eh.prototype.getRadius2=Eh.prototype.Fh,Eh.prototype.getStroke=Eh.prototype.Ga,Eh.prototype.getOpacity=Eh.prototype.Ze,Eh.prototype.getRotateWithView=Eh.prototype.$e,Eh.prototype.getRotation=Eh.prototype.af,Eh.prototype.getScale=Eh.prototype.bf,Eh.prototype.getSnapToPixel=Eh.prototype.Ae,Eh.prototype.setOpacity=Eh.prototype.td,Eh.prototype.setRotation=Eh.prototype.cf,Eh.prototype.setScale=Eh.prototype.ud,Jc.prototype.getOpacity=Jc.prototype.Ze,Jc.prototype.getRotateWithView=Jc.prototype.$e,Jc.prototype.getRotation=Jc.prototype.af,Jc.prototype.getScale=Jc.prototype.bf,Jc.prototype.getSnapToPixel=Jc.prototype.Ae,Jc.prototype.setOpacity=Jc.prototype.td,Jc.prototype.setRotation=Jc.prototype.cf,Jc.prototype.setScale=Jc.prototype.ud,wb.prototype.get=wb.prototype.get,wb.prototype.getKeys=wb.prototype.O,wb.prototype.getProperties=wb.prototype.N,wb.prototype.set=wb.prototype.set,wb.prototype.setProperties=wb.prototype.H,wb.prototype.unset=wb.prototype.P,wb.prototype.changed=wb.prototype.s,wb.prototype.dispatchEvent=wb.prototype.b,wb.prototype.getRevision=wb.prototype.L,wb.prototype.on=wb.prototype.J,wb.prototype.once=wb.prototype.once,wb.prototype.un=wb.prototype.K,Mw.prototype.getAttributions=Mw.prototype.ya,Mw.prototype.getLogo=Mw.prototype.xa,Mw.prototype.getProjection=Mw.prototype.za,Mw.prototype.getState=Mw.prototype.getState,Mw.prototype.refresh=Mw.prototype.sa,Mw.prototype.setAttributions=Mw.prototype.ua,Mw.prototype.get=Mw.prototype.get,Mw.prototype.getKeys=Mw.prototype.O,Mw.prototype.getProperties=Mw.prototype.N,Mw.prototype.set=Mw.prototype.set,Mw.prototype.setProperties=Mw.prototype.H,Mw.prototype.unset=Mw.prototype.P,Mw.prototype.changed=Mw.prototype.s,Mw.prototype.dispatchEvent=Mw.prototype.b,Mw.prototype.getRevision=Mw.prototype.L,Mw.prototype.on=Mw.prototype.J,Mw.prototype.once=Mw.prototype.once,Mw.prototype.un=Mw.prototype.K,jw.prototype.getTileGrid=jw.prototype.ab,jw.prototype.refresh=jw.prototype.sa,jw.prototype.getAttributions=jw.prototype.ya,jw.prototype.getLogo=jw.prototype.xa,jw.prototype.getProjection=jw.prototype.za,jw.prototype.getState=jw.prototype.getState,jw.prototype.setAttributions=jw.prototype.ua,jw.prototype.get=jw.prototype.get,jw.prototype.getKeys=jw.prototype.O,jw.prototype.getProperties=jw.prototype.N,jw.prototype.set=jw.prototype.set,jw.prototype.setProperties=jw.prototype.H,jw.prototype.unset=jw.prototype.P,jw.prototype.changed=jw.prototype.s,jw.prototype.dispatchEvent=jw.prototype.b,jw.prototype.getRevision=jw.prototype.L,jw.prototype.on=jw.prototype.J,jw.prototype.once=jw.prototype.once,jw.prototype.un=jw.prototype.K,Cw.prototype.getTileLoadFunction=Cw.prototype.pb,Cw.prototype.getTileUrlFunction=Cw.prototype.qb,Cw.prototype.getUrls=Cw.prototype.rb,Cw.prototype.setTileLoadFunction=Cw.prototype.vb,Cw.prototype.setTileUrlFunction=Cw.prototype.cb,Cw.prototype.setUrl=Cw.prototype.jb,Cw.prototype.setUrls=Cw.prototype.eb,Cw.prototype.getTileGrid=Cw.prototype.ab,Cw.prototype.refresh=Cw.prototype.sa,Cw.prototype.getAttributions=Cw.prototype.ya,Cw.prototype.getLogo=Cw.prototype.xa,Cw.prototype.getProjection=Cw.prototype.za,Cw.prototype.getState=Cw.prototype.getState,Cw.prototype.setAttributions=Cw.prototype.ua,Cw.prototype.get=Cw.prototype.get,Cw.prototype.getKeys=Cw.prototype.O,Cw.prototype.getProperties=Cw.prototype.N,Cw.prototype.set=Cw.prototype.set,Cw.prototype.setProperties=Cw.prototype.H,Cw.prototype.unset=Cw.prototype.P,Cw.prototype.changed=Cw.prototype.s,Cw.prototype.dispatchEvent=Cw.prototype.b,Cw.prototype.getRevision=Cw.prototype.L,Cw.prototype.on=Cw.prototype.J,Cw.prototype.once=Cw.prototype.once,Cw.prototype.un=Cw.prototype.K,Nw.prototype.setRenderReprojectionEdges=Nw.prototype.Pb,Nw.prototype.setTileGridForProjection=Nw.prototype.Qb,Nw.prototype.getTileLoadFunction=Nw.prototype.pb,Nw.prototype.getTileUrlFunction=Nw.prototype.qb,Nw.prototype.getUrls=Nw.prototype.rb,Nw.prototype.setTileLoadFunction=Nw.prototype.vb,Nw.prototype.setTileUrlFunction=Nw.prototype.cb,Nw.prototype.setUrl=Nw.prototype.jb,Nw.prototype.setUrls=Nw.prototype.eb,Nw.prototype.getTileGrid=Nw.prototype.ab,Nw.prototype.refresh=Nw.prototype.sa,Nw.prototype.getAttributions=Nw.prototype.ya,Nw.prototype.getLogo=Nw.prototype.xa,Nw.prototype.getProjection=Nw.prototype.za,Nw.prototype.getState=Nw.prototype.getState,Nw.prototype.setAttributions=Nw.prototype.ua,Nw.prototype.get=Nw.prototype.get,Nw.prototype.getKeys=Nw.prototype.O,Nw.prototype.getProperties=Nw.prototype.N,Nw.prototype.set=Nw.prototype.set,Nw.prototype.setProperties=Nw.prototype.H,Nw.prototype.unset=Nw.prototype.P,Nw.prototype.changed=Nw.prototype.s,Nw.prototype.dispatchEvent=Nw.prototype.b,Nw.prototype.getRevision=Nw.prototype.L,Nw.prototype.on=Nw.prototype.J,Nw.prototype.once=Nw.prototype.once,Nw.prototype.un=Nw.prototype.K,kw.prototype.setRenderReprojectionEdges=kw.prototype.Pb,kw.prototype.setTileGridForProjection=kw.prototype.Qb,kw.prototype.getTileLoadFunction=kw.prototype.pb,kw.prototype.getTileUrlFunction=kw.prototype.qb,kw.prototype.getUrls=kw.prototype.rb,kw.prototype.setTileLoadFunction=kw.prototype.vb,kw.prototype.setTileUrlFunction=kw.prototype.cb,kw.prototype.setUrl=kw.prototype.jb,kw.prototype.setUrls=kw.prototype.eb,kw.prototype.getTileGrid=kw.prototype.ab,kw.prototype.refresh=kw.prototype.sa,kw.prototype.getAttributions=kw.prototype.ya,kw.prototype.getLogo=kw.prototype.xa,kw.prototype.getProjection=kw.prototype.za,kw.prototype.getState=kw.prototype.getState,kw.prototype.setAttributions=kw.prototype.ua,kw.prototype.get=kw.prototype.get,kw.prototype.getKeys=kw.prototype.O,kw.prototype.getProperties=kw.prototype.N,kw.prototype.set=kw.prototype.set,kw.prototype.setProperties=kw.prototype.H,kw.prototype.unset=kw.prototype.P,kw.prototype.changed=kw.prototype.s,kw.prototype.dispatchEvent=kw.prototype.b,kw.prototype.getRevision=kw.prototype.L,kw.prototype.on=kw.prototype.J,kw.prototype.once=kw.prototype.once,kw.prototype.un=kw.prototype.K,Dw.prototype.setRenderReprojectionEdges=Dw.prototype.Pb,Dw.prototype.setTileGridForProjection=Dw.prototype.Qb,Dw.prototype.getTileLoadFunction=Dw.prototype.pb,Dw.prototype.getTileUrlFunction=Dw.prototype.qb,Dw.prototype.getUrls=Dw.prototype.rb,Dw.prototype.setTileLoadFunction=Dw.prototype.vb,Dw.prototype.setTileUrlFunction=Dw.prototype.cb,Dw.prototype.setUrl=Dw.prototype.jb,Dw.prototype.setUrls=Dw.prototype.eb,Dw.prototype.getTileGrid=Dw.prototype.ab,Dw.prototype.refresh=Dw.prototype.sa,Dw.prototype.getAttributions=Dw.prototype.ya,Dw.prototype.getLogo=Dw.prototype.xa,Dw.prototype.getProjection=Dw.prototype.za,Dw.prototype.getState=Dw.prototype.getState,Dw.prototype.setAttributions=Dw.prototype.ua,Dw.prototype.get=Dw.prototype.get,Dw.prototype.getKeys=Dw.prototype.O,Dw.prototype.getProperties=Dw.prototype.N,Dw.prototype.set=Dw.prototype.set,Dw.prototype.setProperties=Dw.prototype.H,Dw.prototype.unset=Dw.prototype.P,Dw.prototype.changed=Dw.prototype.s,Dw.prototype.dispatchEvent=Dw.prototype.b,Dw.prototype.getRevision=Dw.prototype.L,Dw.prototype.on=Dw.prototype.J,Dw.prototype.once=Dw.prototype.once,Dw.prototype.un=Dw.prototype.K,Mb.prototype.getAttributions=Mb.prototype.ya,Mb.prototype.getLogo=Mb.prototype.xa,Mb.prototype.getProjection=Mb.prototype.za,Mb.prototype.getState=Mb.prototype.getState,Mb.prototype.refresh=Mb.prototype.sa,Mb.prototype.setAttributions=Mb.prototype.ua,Mb.prototype.get=Mb.prototype.get,Mb.prototype.getKeys=Mb.prototype.O,Mb.prototype.getProperties=Mb.prototype.N,Mb.prototype.set=Mb.prototype.set,Mb.prototype.setProperties=Mb.prototype.H,Mb.prototype.unset=Mb.prototype.P,Mb.prototype.changed=Mb.prototype.s,Mb.prototype.dispatchEvent=Mb.prototype.b,Mb.prototype.getRevision=Mb.prototype.L,Mb.prototype.on=Mb.prototype.J,Mb.prototype.once=Mb.prototype.once,Mb.prototype.un=Mb.prototype.K,Gw.prototype.addFeature=Gw.prototype.yb,Gw.prototype.addFeatures=Gw.prototype.cd,Gw.prototype.clear=Gw.prototype.clear,Gw.prototype.forEachFeature=Gw.prototype.sh,Gw.prototype.forEachFeatureInExtent=Gw.prototype.$b,Gw.prototype.forEachFeatureIntersectingExtent=Gw.prototype.th,Gw.prototype.getFeaturesCollection=Gw.prototype.Ah,Gw.prototype.getFeatures=Gw.prototype.Xe,Gw.prototype.getFeaturesAtCoordinate=Gw.prototype.zh,Gw.prototype.getFeaturesInExtent=Gw.prototype.Uf,Gw.prototype.getClosestFeatureToCoordinate=Gw.prototype.vh,Gw.prototype.getExtent=Gw.prototype.G,Gw.prototype.getFeatureById=Gw.prototype.yh,Gw.prototype.getFormat=Gw.prototype.Mi,Gw.prototype.getUrl=Gw.prototype.Ni,Gw.prototype.removeFeature=Gw.prototype.Gb,Gw.prototype.getAttributions=Gw.prototype.ya,Gw.prototype.getLogo=Gw.prototype.xa,Gw.prototype.getProjection=Gw.prototype.za,Gw.prototype.getState=Gw.prototype.getState,Gw.prototype.refresh=Gw.prototype.sa,Gw.prototype.setAttributions=Gw.prototype.ua,Gw.prototype.get=Gw.prototype.get,Gw.prototype.getKeys=Gw.prototype.O,Gw.prototype.getProperties=Gw.prototype.N,Gw.prototype.set=Gw.prototype.set,Gw.prototype.setProperties=Gw.prototype.H,Gw.prototype.unset=Gw.prototype.P,Gw.prototype.changed=Gw.prototype.s,Gw.prototype.dispatchEvent=Gw.prototype.b,Gw.prototype.getRevision=Gw.prototype.L,Gw.prototype.on=Gw.prototype.J,Gw.prototype.once=Gw.prototype.once,Gw.prototype.un=Gw.prototype.K,Zm.prototype.getAttributions=Zm.prototype.ya,Zm.prototype.getLogo=Zm.prototype.xa,Zm.prototype.getProjection=Zm.prototype.za,Zm.prototype.getState=Zm.prototype.getState,Zm.prototype.refresh=Zm.prototype.sa,Zm.prototype.setAttributions=Zm.prototype.ua,Zm.prototype.get=Zm.prototype.get,Zm.prototype.getKeys=Zm.prototype.O,Zm.prototype.getProperties=Zm.prototype.N,Zm.prototype.set=Zm.prototype.set,Zm.prototype.setProperties=Zm.prototype.H,Zm.prototype.unset=Zm.prototype.P,Zm.prototype.changed=Zm.prototype.s,Zm.prototype.dispatchEvent=Zm.prototype.b,Zm.prototype.getRevision=Zm.prototype.L,Zm.prototype.on=Zm.prototype.J,Zm.prototype.once=Zm.prototype.once,Zm.prototype.un=Zm.prototype.K,Ym.prototype.type=Ym.prototype.type,Ym.prototype.target=Ym.prototype.target,Ym.prototype.preventDefault=Ym.prototype.preventDefault,Ym.prototype.stopPropagation=Ym.prototype.stopPropagation,Ww.prototype.getAttributions=Ww.prototype.ya,Ww.prototype.getLogo=Ww.prototype.xa,Ww.prototype.getProjection=Ww.prototype.za,Ww.prototype.getState=Ww.prototype.getState,Ww.prototype.refresh=Ww.prototype.sa,Ww.prototype.setAttributions=Ww.prototype.ua,Ww.prototype.get=Ww.prototype.get,Ww.prototype.getKeys=Ww.prototype.O,Ww.prototype.getProperties=Ww.prototype.N,Ww.prototype.set=Ww.prototype.set,Ww.prototype.setProperties=Ww.prototype.H,Ww.prototype.unset=Ww.prototype.P,Ww.prototype.changed=Ww.prototype.s,Ww.prototype.dispatchEvent=Ww.prototype.b,Ww.prototype.getRevision=Ww.prototype.L,Ww.prototype.on=Ww.prototype.J,Ww.prototype.once=Ww.prototype.once,Ww.prototype.un=Ww.prototype.K,_m.prototype.getAttributions=_m.prototype.ya,_m.prototype.getLogo=_m.prototype.xa,_m.prototype.getProjection=_m.prototype.za,_m.prototype.getState=_m.prototype.getState,_m.prototype.refresh=_m.prototype.sa,_m.prototype.setAttributions=_m.prototype.ua,_m.prototype.get=_m.prototype.get,_m.prototype.getKeys=_m.prototype.O,_m.prototype.getProperties=_m.prototype.N,_m.prototype.set=_m.prototype.set,_m.prototype.setProperties=_m.prototype.H,_m.prototype.unset=_m.prototype.P,_m.prototype.changed=_m.prototype.s,_m.prototype.dispatchEvent=_m.prototype.b,_m.prototype.getRevision=_m.prototype.L,_m.prototype.on=_m.prototype.J,_m.prototype.once=_m.prototype.once,_m.prototype.un=_m.prototype.K,Zw.prototype.getAttributions=Zw.prototype.ya,Zw.prototype.getLogo=Zw.prototype.xa,Zw.prototype.getProjection=Zw.prototype.za,Zw.prototype.getState=Zw.prototype.getState,Zw.prototype.refresh=Zw.prototype.sa,Zw.prototype.setAttributions=Zw.prototype.ua,Zw.prototype.get=Zw.prototype.get,Zw.prototype.getKeys=Zw.prototype.O,Zw.prototype.getProperties=Zw.prototype.N,Zw.prototype.set=Zw.prototype.set,Zw.prototype.setProperties=Zw.prototype.H,Zw.prototype.unset=Zw.prototype.P,Zw.prototype.changed=Zw.prototype.s,Zw.prototype.dispatchEvent=Zw.prototype.b,Zw.prototype.getRevision=Zw.prototype.L,Zw.prototype.on=Zw.prototype.J,Zw.prototype.once=Zw.prototype.once,Zw.prototype.un=Zw.prototype.K,Kw.prototype.getAttributions=Kw.prototype.ya,Kw.prototype.getLogo=Kw.prototype.xa,Kw.prototype.getProjection=Kw.prototype.za,Kw.prototype.getState=Kw.prototype.getState,Kw.prototype.refresh=Kw.prototype.sa,Kw.prototype.setAttributions=Kw.prototype.ua,Kw.prototype.get=Kw.prototype.get,Kw.prototype.getKeys=Kw.prototype.O,Kw.prototype.getProperties=Kw.prototype.N,Kw.prototype.set=Kw.prototype.set,Kw.prototype.setProperties=Kw.prototype.H,Kw.prototype.unset=Kw.prototype.P,Kw.prototype.changed=Kw.prototype.s,Kw.prototype.dispatchEvent=Kw.prototype.b,Kw.prototype.getRevision=Kw.prototype.L,Kw.prototype.on=Kw.prototype.J,Kw.prototype.once=Kw.prototype.once,Kw.prototype.un=Kw.prototype.K,$m.prototype.getAttributions=$m.prototype.ya,$m.prototype.getLogo=$m.prototype.xa,$m.prototype.getProjection=$m.prototype.za,$m.prototype.getState=$m.prototype.getState,$m.prototype.refresh=$m.prototype.sa,$m.prototype.setAttributions=$m.prototype.ua,$m.prototype.get=$m.prototype.get,$m.prototype.getKeys=$m.prototype.O,$m.prototype.getProperties=$m.prototype.N,$m.prototype.set=$m.prototype.set,$m.prototype.setProperties=$m.prototype.H,$m.prototype.unset=$m.prototype.P,$m.prototype.changed=$m.prototype.s,$m.prototype.dispatchEvent=$m.prototype.b,$m.prototype.getRevision=$m.prototype.L,$m.prototype.on=$m.prototype.J,$m.prototype.once=$m.prototype.once,$m.prototype.un=$m.prototype.K,zw.prototype.getAttributions=zw.prototype.ya,zw.prototype.getLogo=zw.prototype.xa,zw.prototype.getProjection=zw.prototype.za,zw.prototype.getState=zw.prototype.getState,zw.prototype.refresh=zw.prototype.sa,zw.prototype.setAttributions=zw.prototype.ua,zw.prototype.get=zw.prototype.get,zw.prototype.getKeys=zw.prototype.O,zw.prototype.getProperties=zw.prototype.N,zw.prototype.set=zw.prototype.set,zw.prototype.setProperties=zw.prototype.H,zw.prototype.unset=zw.prototype.P,zw.prototype.changed=zw.prototype.s,zw.prototype.dispatchEvent=zw.prototype.b,zw.prototype.getRevision=zw.prototype.L,zw.prototype.on=zw.prototype.J,zw.prototype.once=zw.prototype.once,zw.prototype.un=zw.prototype.K,Jw.prototype.setRenderReprojectionEdges=Jw.prototype.Pb,Jw.prototype.setTileGridForProjection=Jw.prototype.Qb,Jw.prototype.getTileLoadFunction=Jw.prototype.pb,Jw.prototype.getTileUrlFunction=Jw.prototype.qb,Jw.prototype.getUrls=Jw.prototype.rb,Jw.prototype.setTileLoadFunction=Jw.prototype.vb,Jw.prototype.setTileUrlFunction=Jw.prototype.cb,Jw.prototype.setUrl=Jw.prototype.jb,Jw.prototype.setUrls=Jw.prototype.eb,Jw.prototype.getTileGrid=Jw.prototype.ab,Jw.prototype.refresh=Jw.prototype.sa,Jw.prototype.getAttributions=Jw.prototype.ya,Jw.prototype.getLogo=Jw.prototype.xa,Jw.prototype.getProjection=Jw.prototype.za,Jw.prototype.getState=Jw.prototype.getState,Jw.prototype.setAttributions=Jw.prototype.ua,Jw.prototype.get=Jw.prototype.get,Jw.prototype.getKeys=Jw.prototype.O,Jw.prototype.getProperties=Jw.prototype.N,Jw.prototype.set=Jw.prototype.set,Jw.prototype.setProperties=Jw.prototype.H,Jw.prototype.unset=Jw.prototype.P,Jw.prototype.changed=Jw.prototype.s,Jw.prototype.dispatchEvent=Jw.prototype.b,Jw.prototype.getRevision=Jw.prototype.L,Jw.prototype.on=Jw.prototype.J,Jw.prototype.once=Jw.prototype.once,Jw.prototype.un=Jw.prototype.K,$w.prototype.getAttributions=$w.prototype.ya,$w.prototype.getLogo=$w.prototype.xa,$w.prototype.getProjection=$w.prototype.za,$w.prototype.getState=$w.prototype.getState,$w.prototype.refresh=$w.prototype.sa,$w.prototype.setAttributions=$w.prototype.ua,$w.prototype.get=$w.prototype.get,$w.prototype.getKeys=$w.prototype.O,$w.prototype.getProperties=$w.prototype.N,$w.prototype.set=$w.prototype.set,$w.prototype.setProperties=$w.prototype.H,$w.prototype.unset=$w.prototype.P,$w.prototype.changed=$w.prototype.s,$w.prototype.dispatchEvent=$w.prototype.b,$w.prototype.getRevision=$w.prototype.L,$w.prototype.on=$w.prototype.J,$w.prototype.once=$w.prototype.once,$w.prototype.un=$w.prototype.K,tx.prototype.type=tx.prototype.type,tx.prototype.target=tx.prototype.target,tx.prototype.preventDefault=tx.prototype.preventDefault,tx.prototype.stopPropagation=tx.prototype.stopPropagation,ix.prototype.setRenderReprojectionEdges=ix.prototype.Pb,ix.prototype.setTileGridForProjection=ix.prototype.Qb,ix.prototype.getTileLoadFunction=ix.prototype.pb,ix.prototype.getTileUrlFunction=ix.prototype.qb,ix.prototype.getUrls=ix.prototype.rb,ix.prototype.setTileLoadFunction=ix.prototype.vb,ix.prototype.setTileUrlFunction=ix.prototype.cb,ix.prototype.setUrl=ix.prototype.jb,ix.prototype.setUrls=ix.prototype.eb,ix.prototype.getTileGrid=ix.prototype.ab,ix.prototype.refresh=ix.prototype.sa,ix.prototype.getAttributions=ix.prototype.ya,ix.prototype.getLogo=ix.prototype.xa,ix.prototype.getProjection=ix.prototype.za,ix.prototype.getState=ix.prototype.getState,ix.prototype.setAttributions=ix.prototype.ua,ix.prototype.get=ix.prototype.get,ix.prototype.getKeys=ix.prototype.O,ix.prototype.getProperties=ix.prototype.N,ix.prototype.set=ix.prototype.set,ix.prototype.setProperties=ix.prototype.H,ix.prototype.unset=ix.prototype.P,ix.prototype.changed=ix.prototype.s,ix.prototype.dispatchEvent=ix.prototype.b,ix.prototype.getRevision=ix.prototype.L,ix.prototype.on=ix.prototype.J,ix.prototype.once=ix.prototype.once,ix.prototype.un=ix.prototype.K,Tw.prototype.type=Tw.prototype.type,Tw.prototype.target=Tw.prototype.target,Tw.prototype.preventDefault=Tw.prototype.preventDefault,Tw.prototype.stopPropagation=Tw.prototype.stopPropagation,sx.prototype.setRenderReprojectionEdges=sx.prototype.Pb,sx.prototype.setTileGridForProjection=sx.prototype.Qb,sx.prototype.getTileLoadFunction=sx.prototype.pb,sx.prototype.getTileUrlFunction=sx.prototype.qb,sx.prototype.getUrls=sx.prototype.rb,sx.prototype.setTileLoadFunction=sx.prototype.vb,sx.prototype.setTileUrlFunction=sx.prototype.cb,sx.prototype.setUrl=sx.prototype.jb,sx.prototype.setUrls=sx.prototype.eb,sx.prototype.getTileGrid=sx.prototype.ab,sx.prototype.refresh=sx.prototype.sa,sx.prototype.getAttributions=sx.prototype.ya,sx.prototype.getLogo=sx.prototype.xa,sx.prototype.getProjection=sx.prototype.za,sx.prototype.getState=sx.prototype.getState,sx.prototype.setAttributions=sx.prototype.ua,sx.prototype.get=sx.prototype.get,sx.prototype.getKeys=sx.prototype.O,sx.prototype.getProperties=sx.prototype.N,sx.prototype.set=sx.prototype.set,sx.prototype.setProperties=sx.prototype.H,sx.prototype.unset=sx.prototype.P,sx.prototype.changed=sx.prototype.s,sx.prototype.dispatchEvent=sx.prototype.b,sx.prototype.getRevision=sx.prototype.L,sx.prototype.on=sx.prototype.J,sx.prototype.once=sx.prototype.once,sx.prototype.un=sx.prototype.K,hx.prototype.getTileGrid=hx.prototype.ab,hx.prototype.refresh=hx.prototype.sa,hx.prototype.getAttributions=hx.prototype.ya,hx.prototype.getLogo=hx.prototype.xa,hx.prototype.getProjection=hx.prototype.za,hx.prototype.getState=hx.prototype.getState,hx.prototype.setAttributions=hx.prototype.ua,hx.prototype.get=hx.prototype.get,hx.prototype.getKeys=hx.prototype.O,hx.prototype.getProperties=hx.prototype.N,hx.prototype.set=hx.prototype.set,hx.prototype.setProperties=hx.prototype.H,hx.prototype.unset=hx.prototype.P,hx.prototype.changed=hx.prototype.s,hx.prototype.dispatchEvent=hx.prototype.b,hx.prototype.getRevision=hx.prototype.L,hx.prototype.on=hx.prototype.J,hx.prototype.once=hx.prototype.once,hx.prototype.un=hx.prototype.K,ux.prototype.setRenderReprojectionEdges=ux.prototype.Pb,ux.prototype.setTileGridForProjection=ux.prototype.Qb,ux.prototype.getTileLoadFunction=ux.prototype.pb,ux.prototype.getTileUrlFunction=ux.prototype.qb,ux.prototype.getUrls=ux.prototype.rb,ux.prototype.setTileLoadFunction=ux.prototype.vb,ux.prototype.setTileUrlFunction=ux.prototype.cb,ux.prototype.setUrl=ux.prototype.jb,ux.prototype.setUrls=ux.prototype.eb,ux.prototype.getTileGrid=ux.prototype.ab,ux.prototype.refresh=ux.prototype.sa,ux.prototype.getAttributions=ux.prototype.ya,ux.prototype.getLogo=ux.prototype.xa,ux.prototype.getProjection=ux.prototype.za,ux.prototype.getState=ux.prototype.getState,ux.prototype.setAttributions=ux.prototype.ua,ux.prototype.get=ux.prototype.get,ux.prototype.getKeys=ux.prototype.O,ux.prototype.getProperties=ux.prototype.N,ux.prototype.set=ux.prototype.set,ux.prototype.setProperties=ux.prototype.H,ux.prototype.unset=ux.prototype.P,ux.prototype.changed=ux.prototype.s,ux.prototype.dispatchEvent=ux.prototype.b,ux.prototype.getRevision=ux.prototype.L,ux.prototype.on=ux.prototype.J,ux.prototype.once=ux.prototype.once,ux.prototype.un=ux.prototype.K,cx.prototype.getTileGrid=cx.prototype.ab,cx.prototype.refresh=cx.prototype.sa,cx.prototype.getAttributions=cx.prototype.ya,cx.prototype.getLogo=cx.prototype.xa,cx.prototype.getProjection=cx.prototype.za,cx.prototype.getState=cx.prototype.getState,cx.prototype.setAttributions=cx.prototype.ua,cx.prototype.get=cx.prototype.get,cx.prototype.getKeys=cx.prototype.O,cx.prototype.getProperties=cx.prototype.N,cx.prototype.set=cx.prototype.set,cx.prototype.setProperties=cx.prototype.H,cx.prototype.unset=cx.prototype.P,cx.prototype.changed=cx.prototype.s,cx.prototype.dispatchEvent=cx.prototype.b,cx.prototype.getRevision=cx.prototype.L,cx.prototype.on=cx.prototype.J,cx.prototype.once=cx.prototype.once,cx.prototype.un=cx.prototype.K,gx.prototype.setRenderReprojectionEdges=gx.prototype.Pb,gx.prototype.setTileGridForProjection=gx.prototype.Qb,gx.prototype.getTileLoadFunction=gx.prototype.pb,gx.prototype.getTileUrlFunction=gx.prototype.qb,gx.prototype.getUrls=gx.prototype.rb,gx.prototype.setTileLoadFunction=gx.prototype.vb,gx.prototype.setTileUrlFunction=gx.prototype.cb,gx.prototype.setUrl=gx.prototype.jb,gx.prototype.setUrls=gx.prototype.eb,gx.prototype.getTileGrid=gx.prototype.ab,gx.prototype.refresh=gx.prototype.sa,gx.prototype.getAttributions=gx.prototype.ya,gx.prototype.getLogo=gx.prototype.xa,gx.prototype.getProjection=gx.prototype.za,gx.prototype.getState=gx.prototype.getState,gx.prototype.setAttributions=gx.prototype.ua,gx.prototype.get=gx.prototype.get,gx.prototype.getKeys=gx.prototype.O,gx.prototype.getProperties=gx.prototype.N,gx.prototype.set=gx.prototype.set,gx.prototype.setProperties=gx.prototype.H,gx.prototype.unset=gx.prototype.P,gx.prototype.changed=gx.prototype.s,gx.prototype.dispatchEvent=gx.prototype.b,gx.prototype.getRevision=gx.prototype.L,gx.prototype.on=gx.prototype.J,gx.prototype.once=gx.prototype.once,gx.prototype.un=gx.prototype.K,jb.prototype.type=jb.prototype.type,jb.prototype.target=jb.prototype.target,jb.prototype.preventDefault=jb.prototype.preventDefault,jb.prototype.stopPropagation=jb.prototype.stopPropagation,Mx.prototype.getTileLoadFunction=Mx.prototype.pb,Mx.prototype.getTileUrlFunction=Mx.prototype.qb,Mx.prototype.getUrls=Mx.prototype.rb,Mx.prototype.setTileLoadFunction=Mx.prototype.vb,Mx.prototype.setTileUrlFunction=Mx.prototype.cb,Mx.prototype.setUrl=Mx.prototype.jb,Mx.prototype.setUrls=Mx.prototype.eb,Mx.prototype.getTileGrid=Mx.prototype.ab,Mx.prototype.refresh=Mx.prototype.sa,Mx.prototype.getAttributions=Mx.prototype.ya,Mx.prototype.getLogo=Mx.prototype.xa,Mx.prototype.getProjection=Mx.prototype.za,Mx.prototype.getState=Mx.prototype.getState,Mx.prototype.setAttributions=Mx.prototype.ua,Mx.prototype.get=Mx.prototype.get,Mx.prototype.getKeys=Mx.prototype.O,Mx.prototype.getProperties=Mx.prototype.N,Mx.prototype.set=Mx.prototype.set,Mx.prototype.setProperties=Mx.prototype.H,Mx.prototype.unset=Mx.prototype.P,Mx.prototype.changed=Mx.prototype.s,Mx.prototype.dispatchEvent=Mx.prototype.b,Mx.prototype.getRevision=Mx.prototype.L,Mx.prototype.on=Mx.prototype.J,Mx.prototype.once=Mx.prototype.once,Mx.prototype.un=Mx.prototype.K,Ex.prototype.setRenderReprojectionEdges=Ex.prototype.Pb,Ex.prototype.setTileGridForProjection=Ex.prototype.Qb,Ex.prototype.getTileLoadFunction=Ex.prototype.pb,Ex.prototype.getTileUrlFunction=Ex.prototype.qb,Ex.prototype.getUrls=Ex.prototype.rb,Ex.prototype.setTileLoadFunction=Ex.prototype.vb,Ex.prototype.setTileUrlFunction=Ex.prototype.cb,Ex.prototype.setUrl=Ex.prototype.jb,Ex.prototype.setUrls=Ex.prototype.eb,Ex.prototype.getTileGrid=Ex.prototype.ab,Ex.prototype.refresh=Ex.prototype.sa,Ex.prototype.getAttributions=Ex.prototype.ya,Ex.prototype.getLogo=Ex.prototype.xa,Ex.prototype.getProjection=Ex.prototype.za,Ex.prototype.getState=Ex.prototype.getState,Ex.prototype.setAttributions=Ex.prototype.ua,Ex.prototype.get=Ex.prototype.get,Ex.prototype.getKeys=Ex.prototype.O,Ex.prototype.getProperties=Ex.prototype.N,Ex.prototype.set=Ex.prototype.set,Ex.prototype.setProperties=Ex.prototype.H,Ex.prototype.unset=Ex.prototype.P,Ex.prototype.changed=Ex.prototype.s,Ex.prototype.dispatchEvent=Ex.prototype.b,Ex.prototype.getRevision=Ex.prototype.L,Ex.prototype.on=Ex.prototype.J,Ex.prototype.once=Ex.prototype.once,Ex.prototype.un=Ex.prototype.K,jx.prototype.setRenderReprojectionEdges=jx.prototype.Pb,jx.prototype.setTileGridForProjection=jx.prototype.Qb,jx.prototype.getTileLoadFunction=jx.prototype.pb,jx.prototype.getTileUrlFunction=jx.prototype.qb,jx.prototype.getUrls=jx.prototype.rb,jx.prototype.setTileLoadFunction=jx.prototype.vb,jx.prototype.setTileUrlFunction=jx.prototype.cb,jx.prototype.setUrl=jx.prototype.jb,jx.prototype.setUrls=jx.prototype.eb,jx.prototype.getTileGrid=jx.prototype.ab,jx.prototype.refresh=jx.prototype.sa,jx.prototype.getAttributions=jx.prototype.ya,jx.prototype.getLogo=jx.prototype.xa,jx.prototype.getProjection=jx.prototype.za,jx.prototype.getState=jx.prototype.getState,jx.prototype.setAttributions=jx.prototype.ua,jx.prototype.get=jx.prototype.get,jx.prototype.getKeys=jx.prototype.O,jx.prototype.getProperties=jx.prototype.N,jx.prototype.set=jx.prototype.set,jx.prototype.setProperties=jx.prototype.H,jx.prototype.unset=jx.prototype.P,jx.prototype.changed=jx.prototype.s,jx.prototype.dispatchEvent=jx.prototype.b,jx.prototype.getRevision=jx.prototype.L,jx.prototype.on=jx.prototype.J,jx.prototype.once=jx.prototype.once,jx.prototype.un=jx.prototype.K,gw.prototype.getTileCoord=gw.prototype.f,gw.prototype.load=gw.prototype.load,zv.prototype.changed=zv.prototype.s,zv.prototype.dispatchEvent=zv.prototype.b,zv.prototype.getRevision=zv.prototype.L,zv.prototype.on=zv.prototype.J,zv.prototype.once=zv.prototype.once,zv.prototype.un=zv.prototype.K,fb.prototype.changed=fb.prototype.s,fb.prototype.dispatchEvent=fb.prototype.b,fb.prototype.getRevision=fb.prototype.L,fb.prototype.on=fb.prototype.J,fb.prototype.once=fb.prototype.once,fb.prototype.un=fb.prototype.K,Qm.prototype.changed=Qm.prototype.s,Qm.prototype.dispatchEvent=Qm.prototype.b,Qm.prototype.getRevision=Qm.prototype.L,Qm.prototype.on=Qm.prototype.J,Qm.prototype.once=Qm.prototype.once,Qm.prototype.un=Qm.prototype.K,aw.prototype.changed=aw.prototype.s,aw.prototype.dispatchEvent=aw.prototype.b,aw.prototype.getRevision=aw.prototype.L,aw.prototype.on=aw.prototype.J,aw.prototype.once=aw.prototype.once,aw.prototype.un=aw.prototype.K,db.prototype.changed=db.prototype.s,db.prototype.dispatchEvent=db.prototype.b,db.prototype.getRevision=db.prototype.L,db.prototype.on=db.prototype.J,db.prototype.once=db.prototype.once,db.prototype.un=db.prototype.K,tb.prototype.changed=tb.prototype.s,tb.prototype.dispatchEvent=tb.prototype.b,tb.prototype.getRevision=tb.prototype.L,tb.prototype.on=tb.prototype.J,tb.prototype.once=tb.prototype.once,tb.prototype.un=tb.prototype.K,Dm.prototype.changed=Dm.prototype.s,Dm.prototype.dispatchEvent=Dm.prototype.b,Dm.prototype.getRevision=Dm.prototype.L,Dm.prototype.on=Dm.prototype.J,Dm.prototype.once=Dm.prototype.once,Dm.prototype.un=Dm.prototype.K,Om.prototype.changed=Om.prototype.s,Om.prototype.dispatchEvent=Om.prototype.b,Om.prototype.getRevision=Om.prototype.L,Om.prototype.on=Om.prototype.J,Om.prototype.once=Om.prototype.once,Om.prototype.un=Om.prototype.K,ew.prototype.changed=ew.prototype.s,ew.prototype.dispatchEvent=ew.prototype.b,ew.prototype.getRevision=ew.prototype.L,ew.prototype.on=ew.prototype.J,ew.prototype.once=ew.prototype.once,ew.prototype.un=ew.prototype.K,ab.prototype.changed=ab.prototype.s,ab.prototype.dispatchEvent=ab.prototype.b,ab.prototype.getRevision=ab.prototype.L,ab.prototype.on=ab.prototype.J,ab.prototype.once=ab.prototype.once,ab.prototype.un=ab.prototype.K,lw.prototype.changed=lw.prototype.s,lw.prototype.dispatchEvent=lw.prototype.b,lw.prototype.getRevision=lw.prototype.L,lw.prototype.on=lw.prototype.J,lw.prototype.once=lw.prototype.once,lw.prototype.un=lw.prototype.K,yp.prototype.type=yp.prototype.type,yp.prototype.target=yp.prototype.target,yp.prototype.preventDefault=yp.prototype.preventDefault,yp.prototype.stopPropagation=yp.prototype.stopPropagation,ti.prototype.type=ti.prototype.type,ti.prototype.target=ti.prototype.target,ti.prototype.preventDefault=ti.prototype.preventDefault,ti.prototype.stopPropagation=ti.prototype.stopPropagation,Vn.prototype.get=Vn.prototype.get,Vn.prototype.getKeys=Vn.prototype.O,Vn.prototype.getProperties=Vn.prototype.N,Vn.prototype.set=Vn.prototype.set,Vn.prototype.setProperties=Vn.prototype.H,Vn.prototype.unset=Vn.prototype.P,Vn.prototype.changed=Vn.prototype.s,Vn.prototype.dispatchEvent=Vn.prototype.b,Vn.prototype.getRevision=Vn.prototype.L,Vn.prototype.on=Vn.prototype.J,Vn.prototype.once=Vn.prototype.once,Vn.prototype.un=Vn.prototype.K,Zn.prototype.getExtent=Zn.prototype.G,Zn.prototype.getMaxResolution=Zn.prototype.fc,Zn.prototype.getMinResolution=Zn.prototype.gc,Zn.prototype.getOpacity=Zn.prototype.hc,Zn.prototype.getVisible=Zn.prototype.Mb,Zn.prototype.getZIndex=Zn.prototype.Ba,Zn.prototype.setExtent=Zn.prototype.vc,Zn.prototype.setMaxResolution=Zn.prototype.Ac,Zn.prototype.setMinResolution=Zn.prototype.Bc,Zn.prototype.setOpacity=Zn.prototype.wc,Zn.prototype.setVisible=Zn.prototype.xc,Zn.prototype.setZIndex=Zn.prototype.Vb,Zn.prototype.get=Zn.prototype.get,Zn.prototype.getKeys=Zn.prototype.O,Zn.prototype.getProperties=Zn.prototype.N,Zn.prototype.set=Zn.prototype.set,Zn.prototype.setProperties=Zn.prototype.H,Zn.prototype.unset=Zn.prototype.P,Zn.prototype.changed=Zn.prototype.s,Zn.prototype.dispatchEvent=Zn.prototype.b,Zn.prototype.getRevision=Zn.prototype.L,Zn.prototype.on=Zn.prototype.J,Zn.prototype.once=Zn.prototype.once,Zn.prototype.un=Zn.prototype.K,zn.prototype.getExtent=zn.prototype.G,zn.prototype.getMaxResolution=zn.prototype.fc,zn.prototype.getMinResolution=zn.prototype.gc,zn.prototype.getOpacity=zn.prototype.hc,zn.prototype.getVisible=zn.prototype.Mb,zn.prototype.getZIndex=zn.prototype.Ba,zn.prototype.setExtent=zn.prototype.vc,zn.prototype.setMaxResolution=zn.prototype.Ac,zn.prototype.setMinResolution=zn.prototype.Bc,zn.prototype.setOpacity=zn.prototype.wc,zn.prototype.setVisible=zn.prototype.xc,zn.prototype.setZIndex=zn.prototype.Vb,zn.prototype.get=zn.prototype.get,zn.prototype.getKeys=zn.prototype.O,zn.prototype.getProperties=zn.prototype.N,zn.prototype.set=zn.prototype.set,zn.prototype.setProperties=zn.prototype.H,zn.prototype.unset=zn.prototype.P,zn.prototype.changed=zn.prototype.s,zn.prototype.dispatchEvent=zn.prototype.b,zn.prototype.getRevision=zn.prototype.L,zn.prototype.on=zn.prototype.J,zn.prototype.once=zn.prototype.once,zn.prototype.un=zn.prototype.K,vb.prototype.setMap=vb.prototype.setMap,vb.prototype.setSource=vb.prototype.Wc,vb.prototype.getExtent=vb.prototype.G,vb.prototype.getMaxResolution=vb.prototype.fc,vb.prototype.getMinResolution=vb.prototype.gc,vb.prototype.getOpacity=vb.prototype.hc,vb.prototype.getVisible=vb.prototype.Mb,vb.prototype.getZIndex=vb.prototype.Ba,vb.prototype.setExtent=vb.prototype.vc,vb.prototype.setMaxResolution=vb.prototype.Ac,vb.prototype.setMinResolution=vb.prototype.Bc,vb.prototype.setOpacity=vb.prototype.wc,vb.prototype.setVisible=vb.prototype.xc,vb.prototype.setZIndex=vb.prototype.Vb,vb.prototype.get=vb.prototype.get,vb.prototype.getKeys=vb.prototype.O,vb.prototype.getProperties=vb.prototype.N,vb.prototype.set=vb.prototype.set,vb.prototype.setProperties=vb.prototype.H,vb.prototype.unset=vb.prototype.P,vb.prototype.changed=vb.prototype.s,vb.prototype.dispatchEvent=vb.prototype.b,vb.prototype.getRevision=vb.prototype.L,vb.prototype.on=vb.prototype.J,vb.prototype.once=vb.prototype.once,vb.prototype.un=vb.prototype.K,Rm.prototype.getSource=Rm.prototype.ha,Rm.prototype.getStyle=Rm.prototype.D,Rm.prototype.getStyleFunction=Rm.prototype.C,Rm.prototype.setStyle=Rm.prototype.g,Rm.prototype.setMap=Rm.prototype.setMap,Rm.prototype.setSource=Rm.prototype.Wc,Rm.prototype.getExtent=Rm.prototype.G,Rm.prototype.getMaxResolution=Rm.prototype.fc,Rm.prototype.getMinResolution=Rm.prototype.gc,Rm.prototype.getOpacity=Rm.prototype.hc,Rm.prototype.getVisible=Rm.prototype.Mb,Rm.prototype.getZIndex=Rm.prototype.Ba,Rm.prototype.setExtent=Rm.prototype.vc,Rm.prototype.setMaxResolution=Rm.prototype.Ac,Rm.prototype.setMinResolution=Rm.prototype.Bc,Rm.prototype.setOpacity=Rm.prototype.wc,Rm.prototype.setVisible=Rm.prototype.xc,Rm.prototype.setZIndex=Rm.prototype.Vb,Rm.prototype.get=Rm.prototype.get,Rm.prototype.getKeys=Rm.prototype.O,Rm.prototype.getProperties=Rm.prototype.N,Rm.prototype.set=Rm.prototype.set,Rm.prototype.setProperties=Rm.prototype.H,Rm.prototype.unset=Rm.prototype.P,Rm.prototype.changed=Rm.prototype.s,Rm.prototype.dispatchEvent=Rm.prototype.b,Rm.prototype.getRevision=Rm.prototype.L,Rm.prototype.on=Rm.prototype.J,Rm.prototype.once=Rm.prototype.once,Rm.prototype.un=Rm.prototype.K,tw.prototype.setMap=tw.prototype.setMap,tw.prototype.setSource=tw.prototype.Wc,tw.prototype.getExtent=tw.prototype.G,tw.prototype.getMaxResolution=tw.prototype.fc,tw.prototype.getMinResolution=tw.prototype.gc,tw.prototype.getOpacity=tw.prototype.hc,tw.prototype.getVisible=tw.prototype.Mb,tw.prototype.getZIndex=tw.prototype.Ba,tw.prototype.setExtent=tw.prototype.vc,tw.prototype.setMaxResolution=tw.prototype.Ac,tw.prototype.setMinResolution=tw.prototype.Bc,tw.prototype.setOpacity=tw.prototype.wc,tw.prototype.setVisible=tw.prototype.xc,tw.prototype.setZIndex=tw.prototype.Vb,tw.prototype.get=tw.prototype.get,tw.prototype.getKeys=tw.prototype.O,tw.prototype.getProperties=tw.prototype.N,tw.prototype.set=tw.prototype.set,tw.prototype.setProperties=tw.prototype.H,tw.prototype.unset=tw.prototype.P,tw.prototype.changed=tw.prototype.s,tw.prototype.dispatchEvent=tw.prototype.b,tw.prototype.getRevision=tw.prototype.L,tw.prototype.on=tw.prototype.J,tw.prototype.once=tw.prototype.once,tw.prototype.un=tw.prototype.K,hw.prototype.setMap=hw.prototype.setMap,hw.prototype.setSource=hw.prototype.Wc,hw.prototype.getExtent=hw.prototype.G,hw.prototype.getMaxResolution=hw.prototype.fc,hw.prototype.getMinResolution=hw.prototype.gc,hw.prototype.getOpacity=hw.prototype.hc,hw.prototype.getVisible=hw.prototype.Mb,hw.prototype.getZIndex=hw.prototype.Ba,hw.prototype.setExtent=hw.prototype.vc,hw.prototype.setMaxResolution=hw.prototype.Ac,hw.prototype.setMinResolution=hw.prototype.Bc,hw.prototype.setOpacity=hw.prototype.wc,hw.prototype.setVisible=hw.prototype.xc,hw.prototype.setZIndex=hw.prototype.Vb,hw.prototype.get=hw.prototype.get,hw.prototype.getKeys=hw.prototype.O,hw.prototype.getProperties=hw.prototype.N,hw.prototype.set=hw.prototype.set,hw.prototype.setProperties=hw.prototype.H,hw.prototype.unset=hw.prototype.P,hw.prototype.changed=hw.prototype.s,hw.prototype.dispatchEvent=hw.prototype.b,hw.prototype.getRevision=hw.prototype.L,hw.prototype.on=hw.prototype.J,hw.prototype.once=hw.prototype.once,hw.prototype.un=hw.prototype.K,yw.prototype.getSource=yw.prototype.ha,yw.prototype.getStyle=yw.prototype.D,yw.prototype.getStyleFunction=yw.prototype.C,yw.prototype.setStyle=yw.prototype.g,yw.prototype.setMap=yw.prototype.setMap,yw.prototype.setSource=yw.prototype.Wc,yw.prototype.getExtent=yw.prototype.G,yw.prototype.getMaxResolution=yw.prototype.fc,yw.prototype.getMinResolution=yw.prototype.gc,yw.prototype.getOpacity=yw.prototype.hc,yw.prototype.getVisible=yw.prototype.Mb,yw.prototype.getZIndex=yw.prototype.Ba,yw.prototype.setExtent=yw.prototype.vc,yw.prototype.setMaxResolution=yw.prototype.Ac,yw.prototype.setMinResolution=yw.prototype.Bc,yw.prototype.setOpacity=yw.prototype.wc,yw.prototype.setVisible=yw.prototype.xc,yw.prototype.setZIndex=yw.prototype.Vb,yw.prototype.get=yw.prototype.get,yw.prototype.getKeys=yw.prototype.O,yw.prototype.getProperties=yw.prototype.N,yw.prototype.set=yw.prototype.set,yw.prototype.setProperties=yw.prototype.H,yw.prototype.unset=yw.prototype.P,yw.prototype.changed=yw.prototype.s,yw.prototype.dispatchEvent=yw.prototype.b,yw.prototype.getRevision=yw.prototype.L,yw.prototype.on=yw.prototype.J,yw.prototype.once=yw.prototype.once,yw.prototype.un=yw.prototype.K,Gr.prototype.get=Gr.prototype.get,Gr.prototype.getKeys=Gr.prototype.O,Gr.prototype.getProperties=Gr.prototype.N,Gr.prototype.set=Gr.prototype.set,Gr.prototype.setProperties=Gr.prototype.H,Gr.prototype.unset=Gr.prototype.P,Gr.prototype.changed=Gr.prototype.s,Gr.prototype.dispatchEvent=Gr.prototype.b,Gr.prototype.getRevision=Gr.prototype.L,Gr.prototype.on=Gr.prototype.J,Gr.prototype.once=Gr.prototype.once,Gr.prototype.un=Gr.prototype.K,Wr.prototype.getActive=Wr.prototype.c,Wr.prototype.getMap=Wr.prototype.f,Wr.prototype.setActive=Wr.prototype.Ha,Wr.prototype.get=Wr.prototype.get,Wr.prototype.getKeys=Wr.prototype.O,Wr.prototype.getProperties=Wr.prototype.N,Wr.prototype.set=Wr.prototype.set,Wr.prototype.setProperties=Wr.prototype.H,Wr.prototype.unset=Wr.prototype.P,Wr.prototype.changed=Wr.prototype.s,Wr.prototype.dispatchEvent=Wr.prototype.b,Wr.prototype.getRevision=Wr.prototype.L,Wr.prototype.on=Wr.prototype.J,Wr.prototype.once=Wr.prototype.once,Wr.prototype.un=Wr.prototype.K,gv.prototype.getActive=gv.prototype.c,gv.prototype.getMap=gv.prototype.f,gv.prototype.setActive=gv.prototype.Ha,gv.prototype.get=gv.prototype.get,gv.prototype.getKeys=gv.prototype.O,gv.prototype.getProperties=gv.prototype.N,gv.prototype.set=gv.prototype.set,gv.prototype.setProperties=gv.prototype.H,gv.prototype.unset=gv.prototype.P,gv.prototype.changed=gv.prototype.s,gv.prototype.dispatchEvent=gv.prototype.b,gv.prototype.getRevision=gv.prototype.L,gv.prototype.on=gv.prototype.J,gv.prototype.once=gv.prototype.once,gv.prototype.un=gv.prototype.K,xv.prototype.type=xv.prototype.type,xv.prototype.target=xv.prototype.target,xv.prototype.preventDefault=xv.prototype.preventDefault,xv.prototype.stopPropagation=xv.prototype.stopPropagation,tn.prototype.getActive=tn.prototype.c,tn.prototype.getMap=tn.prototype.f,tn.prototype.setActive=tn.prototype.Ha,tn.prototype.get=tn.prototype.get,tn.prototype.getKeys=tn.prototype.O,tn.prototype.getProperties=tn.prototype.N,tn.prototype.set=tn.prototype.set,tn.prototype.setProperties=tn.prototype.H,tn.prototype.unset=tn.prototype.P,tn.prototype.changed=tn.prototype.s,tn.prototype.dispatchEvent=tn.prototype.b,tn.prototype.getRevision=tn.prototype.L,tn.prototype.on=tn.prototype.J,tn.prototype.once=tn.prototype.once,tn.prototype.un=tn.prototype.K,gn.prototype.getActive=gn.prototype.c,gn.prototype.getMap=gn.prototype.f,gn.prototype.setActive=gn.prototype.Ha,gn.prototype.get=gn.prototype.get,gn.prototype.getKeys=gn.prototype.O,gn.prototype.getProperties=gn.prototype.N,gn.prototype.set=gn.prototype.set,gn.prototype.setProperties=gn.prototype.H,gn.prototype.unset=gn.prototype.P,gn.prototype.changed=gn.prototype.s,gn.prototype.dispatchEvent=gn.prototype.b,gn.prototype.getRevision=gn.prototype.L,gn.prototype.on=gn.prototype.J,gn.prototype.once=gn.prototype.once,gn.prototype.un=gn.prototype.K,Mn.prototype.type=Mn.prototype.type,Mn.prototype.target=Mn.prototype.target,Mn.prototype.preventDefault=Mn.prototype.preventDefault,Mn.prototype.stopPropagation=Mn.prototype.stopPropagation,rn.prototype.getActive=rn.prototype.c,rn.prototype.getMap=rn.prototype.f,rn.prototype.setActive=rn.prototype.Ha,rn.prototype.get=rn.prototype.get,rn.prototype.getKeys=rn.prototype.O,rn.prototype.getProperties=rn.prototype.N,rn.prototype.set=rn.prototype.set,rn.prototype.setProperties=rn.prototype.H,rn.prototype.unset=rn.prototype.P,rn.prototype.changed=rn.prototype.s,rn.prototype.dispatchEvent=rn.prototype.b,rn.prototype.getRevision=rn.prototype.L,rn.prototype.on=rn.prototype.J,rn.prototype.once=rn.prototype.once,rn.prototype.un=rn.prototype.K,an.prototype.getActive=an.prototype.c,an.prototype.getMap=an.prototype.f,an.prototype.setActive=an.prototype.Ha,an.prototype.get=an.prototype.get,an.prototype.getKeys=an.prototype.O,an.prototype.getProperties=an.prototype.N,an.prototype.set=an.prototype.set,an.prototype.setProperties=an.prototype.H,an.prototype.unset=an.prototype.P,an.prototype.changed=an.prototype.s,an.prototype.dispatchEvent=an.prototype.b,an.prototype.getRevision=an.prototype.L,an.prototype.on=an.prototype.J,an.prototype.once=an.prototype.once,an.prototype.un=an.prototype.K,Sv.prototype.getActive=Sv.prototype.c,Sv.prototype.getMap=Sv.prototype.f,Sv.prototype.setActive=Sv.prototype.Ha,Sv.prototype.get=Sv.prototype.get,Sv.prototype.getKeys=Sv.prototype.O,Sv.prototype.getProperties=Sv.prototype.N,Sv.prototype.set=Sv.prototype.set,Sv.prototype.setProperties=Sv.prototype.H,Sv.prototype.unset=Sv.prototype.P,Sv.prototype.changed=Sv.prototype.s,Sv.prototype.dispatchEvent=Sv.prototype.b,Sv.prototype.getRevision=Sv.prototype.L,Sv.prototype.on=Sv.prototype.J,Sv.prototype.once=Sv.prototype.once,Sv.prototype.un=Sv.prototype.K,Pn.prototype.getGeometry=Pn.prototype.V,Pn.prototype.getActive=Pn.prototype.c,Pn.prototype.getMap=Pn.prototype.f,Pn.prototype.setActive=Pn.prototype.Ha,Pn.prototype.get=Pn.prototype.get,Pn.prototype.getKeys=Pn.prototype.O,Pn.prototype.getProperties=Pn.prototype.N,Pn.prototype.set=Pn.prototype.set,Pn.prototype.setProperties=Pn.prototype.H,Pn.prototype.unset=Pn.prototype.P,Pn.prototype.changed=Pn.prototype.s,Pn.prototype.dispatchEvent=Pn.prototype.b,Pn.prototype.getRevision=Pn.prototype.L,Pn.prototype.on=Pn.prototype.J,Pn.prototype.once=Pn.prototype.once,Pn.prototype.un=Pn.prototype.K,Cb.prototype.getActive=Cb.prototype.c,Cb.prototype.getMap=Cb.prototype.f,Cb.prototype.setActive=Cb.prototype.Ha,Cb.prototype.get=Cb.prototype.get,Cb.prototype.getKeys=Cb.prototype.O,Cb.prototype.getProperties=Cb.prototype.N,Cb.prototype.set=Cb.prototype.set,Cb.prototype.setProperties=Cb.prototype.H,Cb.prototype.unset=Cb.prototype.P,Cb.prototype.changed=Cb.prototype.s,Cb.prototype.dispatchEvent=Cb.prototype.b,Cb.prototype.getRevision=Cb.prototype.L,Cb.prototype.on=Cb.prototype.J,Cb.prototype.once=Cb.prototype.once,Cb.prototype.un=Cb.prototype.K,Wb.prototype.type=Wb.prototype.type,Wb.prototype.target=Wb.prototype.target,Wb.prototype.preventDefault=Wb.prototype.preventDefault,Wb.prototype.stopPropagation=Wb.prototype.stopPropagation,Zb.prototype.getActive=Zb.prototype.c,Zb.prototype.getMap=Zb.prototype.f,Zb.prototype.setActive=Zb.prototype.Ha,Zb.prototype.get=Zb.prototype.get,Zb.prototype.getKeys=Zb.prototype.O,Zb.prototype.getProperties=Zb.prototype.N,Zb.prototype.set=Zb.prototype.set,Zb.prototype.setProperties=Zb.prototype.H,Zb.prototype.unset=Zb.prototype.P,Zb.prototype.changed=Zb.prototype.s,Zb.prototype.dispatchEvent=Zb.prototype.b,Zb.prototype.getRevision=Zb.prototype.L,Zb.prototype.on=Zb.prototype.J,Zb.prototype.once=Zb.prototype.once,Zb.prototype.un=Zb.prototype.K,Qb.prototype.type=Qb.prototype.type,Qb.prototype.target=Qb.prototype.target,Qb.prototype.preventDefault=Qb.prototype.preventDefault,Qb.prototype.stopPropagation=Qb.prototype.stopPropagation,An.prototype.getActive=An.prototype.c,An.prototype.getMap=An.prototype.f,An.prototype.setActive=An.prototype.Ha,An.prototype.get=An.prototype.get,An.prototype.getKeys=An.prototype.O,An.prototype.getProperties=An.prototype.N,An.prototype.set=An.prototype.set,An.prototype.setProperties=An.prototype.H,An.prototype.unset=An.prototype.P,An.prototype.changed=An.prototype.s,An.prototype.dispatchEvent=An.prototype.b,An.prototype.getRevision=An.prototype.L,An.prototype.on=An.prototype.J,An.prototype.once=An.prototype.once,An.prototype.un=An.prototype.K,Tn.prototype.getActive=Tn.prototype.c,Tn.prototype.getMap=Tn.prototype.f,Tn.prototype.setActive=Tn.prototype.Ha,Tn.prototype.get=Tn.prototype.get,Tn.prototype.getKeys=Tn.prototype.O,Tn.prototype.getProperties=Tn.prototype.N,Tn.prototype.set=Tn.prototype.set,Tn.prototype.setProperties=Tn.prototype.H,Tn.prototype.unset=Tn.prototype.P,Tn.prototype.changed=Tn.prototype.s,Tn.prototype.dispatchEvent=Tn.prototype.b,Tn.prototype.getRevision=Tn.prototype.L,Tn.prototype.on=Tn.prototype.J,Tn.prototype.once=Tn.prototype.once,Tn.prototype.un=Tn.prototype.K,em.prototype.getActive=em.prototype.c,em.prototype.getMap=em.prototype.f,em.prototype.setActive=em.prototype.Ha,em.prototype.get=em.prototype.get,em.prototype.getKeys=em.prototype.O,em.prototype.getProperties=em.prototype.N,em.prototype.set=em.prototype.set,em.prototype.setProperties=em.prototype.H,em.prototype.unset=em.prototype.P,em.prototype.changed=em.prototype.s,em.prototype.dispatchEvent=em.prototype.b,em.prototype.getRevision=em.prototype.L,em.prototype.on=em.prototype.J,em.prototype.once=em.prototype.once,em.prototype.un=em.prototype.K,fm.prototype.type=fm.prototype.type,fm.prototype.target=fm.prototype.target,fm.prototype.preventDefault=fm.prototype.preventDefault,fm.prototype.stopPropagation=fm.prototype.stopPropagation,Cn.prototype.getActive=Cn.prototype.c,Cn.prototype.getMap=Cn.prototype.f,Cn.prototype.setActive=Cn.prototype.Ha,Cn.prototype.get=Cn.prototype.get,Cn.prototype.getKeys=Cn.prototype.O,Cn.prototype.getProperties=Cn.prototype.N,Cn.prototype.set=Cn.prototype.set,Cn.prototype.setProperties=Cn.prototype.H,Cn.prototype.unset=Cn.prototype.P,Cn.prototype.changed=Cn.prototype.s,Cn.prototype.dispatchEvent=Cn.prototype.b,Cn.prototype.getRevision=Cn.prototype.L,Cn.prototype.on=Cn.prototype.J,Cn.prototype.once=Cn.prototype.once,Cn.prototype.un=Cn.prototype.K,Nn.prototype.getActive=Nn.prototype.c,Nn.prototype.getMap=Nn.prototype.f,Nn.prototype.setActive=Nn.prototype.Ha,Nn.prototype.get=Nn.prototype.get,Nn.prototype.getKeys=Nn.prototype.O,Nn.prototype.getProperties=Nn.prototype.N,Nn.prototype.set=Nn.prototype.set,Nn.prototype.setProperties=Nn.prototype.H,Nn.prototype.unset=Nn.prototype.P,Nn.prototype.changed=Nn.prototype.s,Nn.prototype.dispatchEvent=Nn.prototype.b,Nn.prototype.getRevision=Nn.prototype.L,Nn.prototype.on=Nn.prototype.J,Nn.prototype.once=Nn.prototype.once,Nn.prototype.un=Nn.prototype.K,On.prototype.getActive=On.prototype.c,On.prototype.getMap=On.prototype.f,On.prototype.setActive=On.prototype.Ha,On.prototype.get=On.prototype.get,On.prototype.getKeys=On.prototype.O,On.prototype.getProperties=On.prototype.N,On.prototype.set=On.prototype.set,On.prototype.setProperties=On.prototype.H,On.prototype.unset=On.prototype.P,On.prototype.changed=On.prototype.s,On.prototype.dispatchEvent=On.prototype.b,On.prototype.getRevision=On.prototype.L,On.prototype.on=On.prototype.J,On.prototype.once=On.prototype.once,On.prototype.un=On.prototype.K,gm.prototype.getActive=gm.prototype.c,gm.prototype.getMap=gm.prototype.f,gm.prototype.setActive=gm.prototype.Ha,gm.prototype.get=gm.prototype.get,gm.prototype.getKeys=gm.prototype.O,gm.prototype.getProperties=gm.prototype.N,gm.prototype.set=gm.prototype.set,gm.prototype.setProperties=gm.prototype.H,gm.prototype.unset=gm.prototype.P,gm.prototype.changed=gm.prototype.s,gm.prototype.dispatchEvent=gm.prototype.b,gm.prototype.getRevision=gm.prototype.L,gm.prototype.on=gm.prototype.J,gm.prototype.once=gm.prototype.once,gm.prototype.un=gm.prototype.K,vm.prototype.type=vm.prototype.type,vm.prototype.target=vm.prototype.target,vm.prototype.preventDefault=vm.prototype.preventDefault,vm.prototype.stopPropagation=vm.prototype.stopPropagation,mm.prototype.getActive=mm.prototype.c,mm.prototype.getMap=mm.prototype.f,mm.prototype.setActive=mm.prototype.Ha,mm.prototype.get=mm.prototype.get,mm.prototype.getKeys=mm.prototype.O,mm.prototype.getProperties=mm.prototype.N,mm.prototype.set=mm.prototype.set,mm.prototype.setProperties=mm.prototype.H,mm.prototype.unset=mm.prototype.P,mm.prototype.changed=mm.prototype.s,mm.prototype.dispatchEvent=mm.prototype.b,mm.prototype.getRevision=mm.prototype.L,mm.prototype.on=mm.prototype.J,mm.prototype.once=mm.prototype.once,mm.prototype.un=mm.prototype.K,Mm.prototype.getActive=Mm.prototype.c,Mm.prototype.getMap=Mm.prototype.f,Mm.prototype.setActive=Mm.prototype.Ha,Mm.prototype.get=Mm.prototype.get,Mm.prototype.getKeys=Mm.prototype.O,Mm.prototype.getProperties=Mm.prototype.N,Mm.prototype.set=Mm.prototype.set,Mm.prototype.setProperties=Mm.prototype.H,Mm.prototype.unset=Mm.prototype.P,Mm.prototype.changed=Mm.prototype.s,Mm.prototype.dispatchEvent=Mm.prototype.b,Mm.prototype.getRevision=Mm.prototype.L,Mm.prototype.on=Mm.prototype.J,Mm.prototype.once=Mm.prototype.once,Mm.prototype.un=Mm.prototype.K,Lm.prototype.type=Lm.prototype.type,Lm.prototype.target=Lm.prototype.target,Lm.prototype.preventDefault=Lm.prototype.preventDefault,Lm.prototype.stopPropagation=Lm.prototype.stopPropagation,Xi.prototype.get=Xi.prototype.get,Xi.prototype.getKeys=Xi.prototype.O,Xi.prototype.getProperties=Xi.prototype.N,Xi.prototype.set=Xi.prototype.set,Xi.prototype.setProperties=Xi.prototype.H,Xi.prototype.unset=Xi.prototype.P,Xi.prototype.changed=Xi.prototype.s,Xi.prototype.dispatchEvent=Xi.prototype.b,Xi.prototype.getRevision=Xi.prototype.L,Xi.prototype.on=Xi.prototype.J,Xi.prototype.once=Xi.prototype.once,Xi.prototype.un=Xi.prototype.K,Zi.prototype.getClosestPoint=Zi.prototype.Ab,Zi.prototype.intersectsCoordinate=Zi.prototype.sb,Zi.prototype.getExtent=Zi.prototype.G,Zi.prototype.rotate=Zi.prototype.rotate,Zi.prototype.scale=Zi.prototype.scale,Zi.prototype.simplify=Zi.prototype.Rb,Zi.prototype.transform=Zi.prototype.tb,Zi.prototype.get=Zi.prototype.get,Zi.prototype.getKeys=Zi.prototype.O,Zi.prototype.getProperties=Zi.prototype.N,Zi.prototype.set=Zi.prototype.set,Zi.prototype.setProperties=Zi.prototype.H,Zi.prototype.unset=Zi.prototype.P,Zi.prototype.changed=Zi.prototype.s,Zi.prototype.dispatchEvent=Zi.prototype.b,Zi.prototype.getRevision=Zi.prototype.L,Zi.prototype.on=Zi.prototype.J,Zi.prototype.once=Zi.prototype.once,Zi.prototype.un=Zi.prototype.K,$d.prototype.getFirstCoordinate=$d.prototype.ac,$d.prototype.getLastCoordinate=$d.prototype.bc,$d.prototype.getLayout=$d.prototype.cc,$d.prototype.rotate=$d.prototype.rotate,$d.prototype.scale=$d.prototype.scale,$d.prototype.getClosestPoint=$d.prototype.Ab,$d.prototype.intersectsCoordinate=$d.prototype.sb,$d.prototype.getExtent=$d.prototype.G,$d.prototype.simplify=$d.prototype.Rb,$d.prototype.get=$d.prototype.get,$d.prototype.getKeys=$d.prototype.O,$d.prototype.getProperties=$d.prototype.N,$d.prototype.set=$d.prototype.set,$d.prototype.setProperties=$d.prototype.H,$d.prototype.unset=$d.prototype.P,$d.prototype.changed=$d.prototype.s,$d.prototype.dispatchEvent=$d.prototype.b,$d.prototype.getRevision=$d.prototype.L,$d.prototype.on=$d.prototype.J,$d.prototype.once=$d.prototype.once,$d.prototype.un=$d.prototype.K,Ql.prototype.getClosestPoint=Ql.prototype.Ab,Ql.prototype.intersectsCoordinate=Ql.prototype.sb,Ql.prototype.getExtent=Ql.prototype.G,Ql.prototype.rotate=Ql.prototype.rotate,Ql.prototype.scale=Ql.prototype.scale,Ql.prototype.simplify=Ql.prototype.Rb,Ql.prototype.transform=Ql.prototype.tb,Ql.prototype.get=Ql.prototype.get,Ql.prototype.getKeys=Ql.prototype.O,Ql.prototype.getProperties=Ql.prototype.N,Ql.prototype.set=Ql.prototype.set,Ql.prototype.setProperties=Ql.prototype.H,Ql.prototype.unset=Ql.prototype.P,Ql.prototype.changed=Ql.prototype.s,Ql.prototype.dispatchEvent=Ql.prototype.b,Ql.prototype.getRevision=Ql.prototype.L,Ql.prototype.on=Ql.prototype.J,Ql.prototype.once=Ql.prototype.once,Ql.prototype.un=Ql.prototype.K,ar.prototype.getFirstCoordinate=ar.prototype.ac,ar.prototype.getLastCoordinate=ar.prototype.bc,ar.prototype.getLayout=ar.prototype.cc,ar.prototype.rotate=ar.prototype.rotate,ar.prototype.scale=ar.prototype.scale,ar.prototype.getClosestPoint=ar.prototype.Ab,ar.prototype.intersectsCoordinate=ar.prototype.sb,ar.prototype.getExtent=ar.prototype.G,ar.prototype.simplify=ar.prototype.Rb,ar.prototype.transform=ar.prototype.tb,ar.prototype.get=ar.prototype.get,ar.prototype.getKeys=ar.prototype.O,ar.prototype.getProperties=ar.prototype.N,ar.prototype.set=ar.prototype.set,ar.prototype.setProperties=ar.prototype.H,ar.prototype.unset=ar.prototype.P,ar.prototype.changed=ar.prototype.s,ar.prototype.dispatchEvent=ar.prototype.b,ar.prototype.getRevision=ar.prototype.L,ar.prototype.on=ar.prototype.J,ar.prototype.once=ar.prototype.once,ar.prototype.un=ar.prototype.K,cl.prototype.getFirstCoordinate=cl.prototype.ac,cl.prototype.getLastCoordinate=cl.prototype.bc,cl.prototype.getLayout=cl.prototype.cc,cl.prototype.rotate=cl.prototype.rotate,cl.prototype.scale=cl.prototype.scale,cl.prototype.getClosestPoint=cl.prototype.Ab,cl.prototype.intersectsCoordinate=cl.prototype.sb,cl.prototype.getExtent=cl.prototype.G,cl.prototype.simplify=cl.prototype.Rb,cl.prototype.transform=cl.prototype.tb,cl.prototype.get=cl.prototype.get,cl.prototype.getKeys=cl.prototype.O,cl.prototype.getProperties=cl.prototype.N,cl.prototype.set=cl.prototype.set,cl.prototype.setProperties=cl.prototype.H,cl.prototype.unset=cl.prototype.P,cl.prototype.changed=cl.prototype.s,cl.prototype.dispatchEvent=cl.prototype.b,cl.prototype.getRevision=cl.prototype.L,cl.prototype.on=cl.prototype.J,cl.prototype.once=cl.prototype.once,cl.prototype.un=cl.prototype.K,fl.prototype.getFirstCoordinate=fl.prototype.ac,fl.prototype.getLastCoordinate=fl.prototype.bc,fl.prototype.getLayout=fl.prototype.cc,fl.prototype.rotate=fl.prototype.rotate,fl.prototype.scale=fl.prototype.scale,fl.prototype.getClosestPoint=fl.prototype.Ab,fl.prototype.intersectsCoordinate=fl.prototype.sb,fl.prototype.getExtent=fl.prototype.G,fl.prototype.simplify=fl.prototype.Rb,fl.prototype.transform=fl.prototype.tb,fl.prototype.get=fl.prototype.get,fl.prototype.getKeys=fl.prototype.O,fl.prototype.getProperties=fl.prototype.N,fl.prototype.set=fl.prototype.set,fl.prototype.setProperties=fl.prototype.H,fl.prototype.unset=fl.prototype.P,fl.prototype.changed=fl.prototype.s,fl.prototype.dispatchEvent=fl.prototype.b,fl.prototype.getRevision=fl.prototype.L,fl.prototype.on=fl.prototype.J,fl.prototype.once=fl.prototype.once,fl.prototype.un=fl.prototype.K,vl.prototype.getFirstCoordinate=vl.prototype.ac,vl.prototype.getLastCoordinate=vl.prototype.bc,vl.prototype.getLayout=vl.prototype.cc,vl.prototype.rotate=vl.prototype.rotate,vl.prototype.scale=vl.prototype.scale,vl.prototype.getClosestPoint=vl.prototype.Ab,vl.prototype.intersectsCoordinate=vl.prototype.sb,vl.prototype.getExtent=vl.prototype.G,vl.prototype.simplify=vl.prototype.Rb,vl.prototype.transform=vl.prototype.tb,vl.prototype.get=vl.prototype.get,vl.prototype.getKeys=vl.prototype.O,vl.prototype.getProperties=vl.prototype.N,vl.prototype.set=vl.prototype.set,vl.prototype.setProperties=vl.prototype.H,vl.prototype.unset=vl.prototype.P,vl.prototype.changed=vl.prototype.s,vl.prototype.dispatchEvent=vl.prototype.b,vl.prototype.getRevision=vl.prototype.L,vl.prototype.on=vl.prototype.J,vl.prototype.once=vl.prototype.once,vl.prototype.un=vl.prototype.K,bl.prototype.getFirstCoordinate=bl.prototype.ac,bl.prototype.getLastCoordinate=bl.prototype.bc,bl.prototype.getLayout=bl.prototype.cc,bl.prototype.rotate=bl.prototype.rotate,bl.prototype.scale=bl.prototype.scale,bl.prototype.getClosestPoint=bl.prototype.Ab,bl.prototype.intersectsCoordinate=bl.prototype.sb,bl.prototype.getExtent=bl.prototype.G,bl.prototype.simplify=bl.prototype.Rb,bl.prototype.transform=bl.prototype.tb,bl.prototype.get=bl.prototype.get,bl.prototype.getKeys=bl.prototype.O,bl.prototype.getProperties=bl.prototype.N,bl.prototype.set=bl.prototype.set,bl.prototype.setProperties=bl.prototype.H,bl.prototype.unset=bl.prototype.P,bl.prototype.changed=bl.prototype.s,bl.prototype.dispatchEvent=bl.prototype.b,bl.prototype.getRevision=bl.prototype.L,bl.prototype.on=bl.prototype.J,bl.prototype.once=bl.prototype.once,bl.prototype.un=bl.prototype.K,lr.prototype.getFirstCoordinate=lr.prototype.ac,lr.prototype.getLastCoordinate=lr.prototype.bc,lr.prototype.getLayout=lr.prototype.cc,lr.prototype.rotate=lr.prototype.rotate,lr.prototype.scale=lr.prototype.scale,lr.prototype.getClosestPoint=lr.prototype.Ab,lr.prototype.intersectsCoordinate=lr.prototype.sb,lr.prototype.getExtent=lr.prototype.G,lr.prototype.simplify=lr.prototype.Rb,lr.prototype.transform=lr.prototype.tb,lr.prototype.get=lr.prototype.get,lr.prototype.getKeys=lr.prototype.O,lr.prototype.getProperties=lr.prototype.N,lr.prototype.set=lr.prototype.set,lr.prototype.setProperties=lr.prototype.H,lr.prototype.unset=lr.prototype.P,lr.prototype.changed=lr.prototype.s,lr.prototype.dispatchEvent=lr.prototype.b,lr.prototype.getRevision=lr.prototype.L,lr.prototype.on=lr.prototype.J,lr.prototype.once=lr.prototype.once,lr.prototype.un=lr.prototype.K,Sr.prototype.getFirstCoordinate=Sr.prototype.ac,Sr.prototype.getLastCoordinate=Sr.prototype.bc,Sr.prototype.getLayout=Sr.prototype.cc,Sr.prototype.rotate=Sr.prototype.rotate,Sr.prototype.scale=Sr.prototype.scale,Sr.prototype.getClosestPoint=Sr.prototype.Ab,Sr.prototype.intersectsCoordinate=Sr.prototype.sb,Sr.prototype.getExtent=Sr.prototype.G,Sr.prototype.simplify=Sr.prototype.Rb,Sr.prototype.transform=Sr.prototype.tb,Sr.prototype.get=Sr.prototype.get,Sr.prototype.getKeys=Sr.prototype.O,Sr.prototype.getProperties=Sr.prototype.N,Sr.prototype.set=Sr.prototype.set,Sr.prototype.setProperties=Sr.prototype.H,Sr.prototype.unset=Sr.prototype.P,Sr.prototype.changed=Sr.prototype.s,Sr.prototype.dispatchEvent=Sr.prototype.b,Sr.prototype.getRevision=Sr.prototype.L,Sr.prototype.on=Sr.prototype.J,Sr.prototype.once=Sr.prototype.once,Sr.prototype.un=Sr.prototype.K,Au.prototype.readFeatures=Au.prototype.Oa,Fu.prototype.readFeatures=Fu.prototype.Oa,Au.prototype.readFeatures=Au.prototype.Oa,Qe.prototype.get=Qe.prototype.get,Qe.prototype.getKeys=Qe.prototype.O,Qe.prototype.getProperties=Qe.prototype.N,Qe.prototype.set=Qe.prototype.set,Qe.prototype.setProperties=Qe.prototype.H,Qe.prototype.unset=Qe.prototype.P,Qe.prototype.changed=Qe.prototype.s,Qe.prototype.dispatchEvent=Qe.prototype.b,Qe.prototype.getRevision=Qe.prototype.L,Qe.prototype.on=Qe.prototype.J,Qe.prototype.once=Qe.prototype.once,Qe.prototype.un=Qe.prototype.K,to.prototype.getMap=to.prototype.g,to.prototype.setMap=to.prototype.setMap,to.prototype.setTarget=to.prototype.f,to.prototype.get=to.prototype.get,to.prototype.getKeys=to.prototype.O,to.prototype.getProperties=to.prototype.N,to.prototype.set=to.prototype.set,to.prototype.setProperties=to.prototype.H,to.prototype.unset=to.prototype.P,to.prototype.changed=to.prototype.s,to.prototype.dispatchEvent=to.prototype.b,to.prototype.getRevision=to.prototype.L,to.prototype.on=to.prototype.J,to.prototype.once=to.prototype.once,to.prototype.un=to.prototype.K,uo.prototype.getMap=uo.prototype.g,uo.prototype.setMap=uo.prototype.setMap,uo.prototype.setTarget=uo.prototype.f,uo.prototype.get=uo.prototype.get,uo.prototype.getKeys=uo.prototype.O,uo.prototype.getProperties=uo.prototype.N,uo.prototype.set=uo.prototype.set,uo.prototype.setProperties=uo.prototype.H,uo.prototype.unset=uo.prototype.P,uo.prototype.changed=uo.prototype.s,uo.prototype.dispatchEvent=uo.prototype.b,uo.prototype.getRevision=uo.prototype.L,uo.prototype.on=uo.prototype.J,uo.prototype.once=uo.prototype.once,uo.prototype.un=uo.prototype.K,bo.prototype.getMap=bo.prototype.g,bo.prototype.setMap=bo.prototype.setMap,bo.prototype.setTarget=bo.prototype.f,bo.prototype.get=bo.prototype.get,bo.prototype.getKeys=bo.prototype.O,bo.prototype.getProperties=bo.prototype.N,bo.prototype.set=bo.prototype.set,bo.prototype.setProperties=bo.prototype.H,bo.prototype.unset=bo.prototype.P,bo.prototype.changed=bo.prototype.s,bo.prototype.dispatchEvent=bo.prototype.b,bo.prototype.getRevision=bo.prototype.L,bo.prototype.on=bo.prototype.J,bo.prototype.once=bo.prototype.once,bo.prototype.un=bo.prototype.K,eh.prototype.getMap=eh.prototype.g,eh.prototype.setMap=eh.prototype.setMap,eh.prototype.setTarget=eh.prototype.f,eh.prototype.get=eh.prototype.get,eh.prototype.getKeys=eh.prototype.O,eh.prototype.getProperties=eh.prototype.N,eh.prototype.set=eh.prototype.set,eh.prototype.setProperties=eh.prototype.H,eh.prototype.unset=eh.prototype.P,eh.prototype.changed=eh.prototype.s,eh.prototype.dispatchEvent=eh.prototype.b,eh.prototype.getRevision=eh.prototype.L,eh.prototype.on=eh.prototype.J,eh.prototype.once=eh.prototype.once,eh.prototype.un=eh.prototype.K,so.prototype.getMap=so.prototype.g,so.prototype.setMap=so.prototype.setMap,so.prototype.setTarget=so.prototype.f,so.prototype.get=so.prototype.get,so.prototype.getKeys=so.prototype.O,so.prototype.getProperties=so.prototype.N,so.prototype.set=so.prototype.set,so.prototype.setProperties=so.prototype.H,so.prototype.unset=so.prototype.P,so.prototype.changed=so.prototype.s,so.prototype.dispatchEvent=so.prototype.b,so.prototype.getRevision=so.prototype.L,so.prototype.on=so.prototype.J,so.prototype.once=so.prototype.once,so.prototype.un=so.prototype.K,ph.prototype.getMap=ph.prototype.g,ph.prototype.setMap=ph.prototype.setMap,ph.prototype.setTarget=ph.prototype.f,ph.prototype.get=ph.prototype.get,ph.prototype.getKeys=ph.prototype.O,ph.prototype.getProperties=ph.prototype.N,ph.prototype.set=ph.prototype.set,ph.prototype.setProperties=ph.prototype.H,ph.prototype.unset=ph.prototype.P,ph.prototype.changed=ph.prototype.s,ph.prototype.dispatchEvent=ph.prototype.b,ph.prototype.getRevision=ph.prototype.L,ph.prototype.on=ph.prototype.J,ph.prototype.once=ph.prototype.once,ph.prototype.un=ph.prototype.K,ho.prototype.getMap=ho.prototype.g,ho.prototype.setMap=ho.prototype.setMap,ho.prototype.setTarget=ho.prototype.f,ho.prototype.get=ho.prototype.get,ho.prototype.getKeys=ho.prototype.O,ho.prototype.getProperties=ho.prototype.N,ho.prototype.set=ho.prototype.set,ho.prototype.setProperties=ho.prototype.H,ho.prototype.unset=ho.prototype.P,ho.prototype.changed=ho.prototype.s,ho.prototype.dispatchEvent=ho.prototype.b,ho.prototype.getRevision=ho.prototype.L,ho.prototype.on=ho.prototype.J,ho.prototype.once=ho.prototype.once,ho.prototype.un=ho.prototype.K,uh.prototype.getMap=uh.prototype.g,uh.prototype.setMap=uh.prototype.setMap,uh.prototype.setTarget=uh.prototype.f,uh.prototype.get=uh.prototype.get,uh.prototype.getKeys=uh.prototype.O,uh.prototype.getProperties=uh.prototype.N,uh.prototype.set=uh.prototype.set,uh.prototype.setProperties=uh.prototype.H,uh.prototype.unset=uh.prototype.P,uh.prototype.changed=uh.prototype.s,uh.prototype.dispatchEvent=uh.prototype.b,uh.prototype.getRevision=uh.prototype.L,uh.prototype.on=uh.prototype.J,uh.prototype.once=uh.prototype.once,uh.prototype.un=uh.prototype.K,dh.prototype.getMap=dh.prototype.g,dh.prototype.setMap=dh.prototype.setMap,dh.prototype.setTarget=dh.prototype.f,dh.prototype.get=dh.prototype.get,dh.prototype.getKeys=dh.prototype.O,dh.prototype.getProperties=dh.prototype.N,dh.prototype.set=dh.prototype.set,dh.prototype.setProperties=dh.prototype.H,dh.prototype.unset=dh.prototype.P,dh.prototype.changed=dh.prototype.s,dh.prototype.dispatchEvent=dh.prototype.b,dh.prototype.getRevision=dh.prototype.L,dh.prototype.on=dh.prototype.J,dh.prototype.once=dh.prototype.once,dh.prototype.un=dh.prototype.K,r.ol})
\ No newline at end of file
1
+!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){var e,o,r={},n=this;function t(t,e){var o,i=r;t=t.split("."),i=i||n,t[0]in i||!i.execScript||i.execScript("var "+t[0]);for(;t.length&&(o=t.shift());)t.length||void 0===e?i=i[o]&&i[o]!==Object.prototype[o]?i[o]:i[o]={}:i[o]=e}function G(t,e){return e<t?1:t<e?-1:0}function d(t,e){return 0<=t.indexOf(e)}function b(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function c(t,e){var o=Array.isArray(e)?e:[e],i=o.length;for(e=0;e<i;e++)t[t.length]=o[e]}function s(t,e){-1<(e=t.indexOf(e))&&t.splice(e,1)}function v(t,e){for(var o,i=t.length>>>0,r=0;r<i;r++)if(e(o=t[r],r,t))return o;return null}function U(t,e){var o=t.length;if(o===e.length){for(var i=0;i<o;i++)if(t[i]!==e[i])return;return 1}}function h(t){for(var o=us,e=t.length,i=Array(t.length),r=0;r<e;r++)i[r]={index:r,value:t[r]};for(i.sort(function(t,e){return o(t.value,e.value)||t.index-e.index}),r=0;r<t.length;r++)t[r]=i[r].value}function m(o,i){var r;return o.every(function(t,e){return!i(t,r=e,o)})?-1:r}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function w(){}function B(t){return t.Vo||(t.Vo=++a)}var a=0;function p(t){this.message="Assertion failed. See https://openlayers.org/en/v4.2.0/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function X(t,e){if(!t)throw new p(e)}function V(t,e,o,i){this.ca=t,this.$=e,this.da=o,this.ia=i}function l(t,e,o){return t.ca<=e&&e<=t.$&&t.da<=o&&o<=t.ia}function C(t,e){return t.ca<=e.$&&t.$>=e.ca&&t.da<=e.ia&&t.ia>=e.da}function x(t,e,o){return Math.min(Math.max(t,e),o)}i(p,Error);var u="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2};function S(t,e,o,i,r,n){var s,a=r-o,p=n-i;return(a||p)&&(1<(s=((t-o)*a+(e-i)*p)/(a*a+p*p))?(o=r,i=n):0<s&&(o+=a*s,i+=p*s)),y(t,e,o,i)}function y(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function M(t){return t*Math.PI/180}function L(t,e){return(t%=e)*e<0?t+e:t}function f(t,e,o){return t+o*(e-t)}function g(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function P(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function W(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function A(t){for(var e=Z(),o=0,i=t.length;o<i;++o)H(e,t[o]);return e}function E(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function T(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function j(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function R(t,e){return I(t,e[0],e[1])}function N(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function I(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function F(t,e){var o=t[1],i=t[2],r=t[3],n=e[0];e=e[1];var s=0;return n<t[0]?s|=16:i<n&&(s|=4),e<o?s|=8:r<e&&(s|=2),s=s||1}function Z(){return[1/0,1/0,-1/0,-1/0]}function k(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function D(t){return k(1/0,1/0,-1/0,-1/0,t)}function O(t,e){var o=t[0];return k(o,t=t[1],o,t,e)}function K(t,e,o,i,r){return q(r=D(r),t,e,o,i)}function z(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Y(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function H(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function q(t,e,o,i,r){for(;o<i;o+=r){var n=t,s=e[o],a=e[o+1];n[0]=Math.min(n[0],s),n[1]=Math.min(n[1],a),n[2]=Math.max(n[2],s),n[3]=Math.max(n[3],a)}return t}function J(t,e,o){var i;return((i=e.call(o,$(t)))||(i=e.call(o,Q(t)))||(i=e.call(o,nt(t)))||!!(i=e.call(o,rt(t))))&&i}function _(t){var e=0;return pt(t)||(e=st(t)*ot(t)),e}function $(t){return[t[0],t[1]]}function Q(t){return[t[2],t[1]]}function tt(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function et(t,e,o,i,r){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o);var s=Math.sin(o);o=n*e,n*=s,e*=i;var a=i*s,p=t[0],h=t[1];t=p-o+a,i=p-o-a,s=p+o-a,o=p+o+a;var a=h-n-e,p=h-n+e,l=h+n+e,n=h+n-e;return k(Math.min(t,i,s,o),Math.min(a,p,l,n),Math.max(t,i,s,o),Math.max(a,p,l,n),r)}function ot(t){return t[3]-t[1]}function it(t,e,o){return o=o||Z(),at(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function rt(t){return[t[0],t[3]]}function nt(t){return[t[2],t[3]]}function st(t){return t[2]-t[0]}function at(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function pt(t){return t[2]<t[0]||t[3]<t[1]}function ht(t,e){var o=(t[2]-t[0])/2*(e-1);e=(t[3]-t[1])/2*(e-1),t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function lt(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var i=[t[0],t[2],t[4],t[6]],r=[t[1],t[3],t[5],t[7]];return k(e=Math.min.apply(null,i),t=Math.min.apply(null,r),Math.max.apply(null,i),Math.max.apply(null,r),o)}var ut="function"==typeof Object.assign?Object.assign:function(t,e){if(!t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1,r=arguments.length;i<r;++i){var n=arguments[i];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s])}return o};function ct(t){for(var e in t)delete t[e]}function ft(t){var e,o=[];for(e in t)o.push(t[e]);return o}function yt(t){for(var e in t)return!1;return!e}function gt(t){this.radius=t}gt.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++)var s=t[n][0],a=t[n][1],e=e+M(s-i)*(2+Math.sin(M(r))+Math.sin(M(a))),i=s,r=a;return e*this.radius*this.radius/2},gt.prototype.b=function(t,e){var o=M(t[1]),i=M(e[1]),r=(i-o)/2;return t=M(e[0]-t[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(t)*Math.sin(t)*Math.cos(o)*Math.cos(i),2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},gt.prototype.offset=function(t,e,o){var i=M(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(M(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var dt=new gt(6370997),vt={};vt.degrees=2*Math.PI*dt.radius/360,vt.ft=.3048,vt.m=1,vt["us-ft"]=1200/3937;var bt=null;function mt(t){this.mb=t.code,this.a=t.units,this.f=void 0!==t.extent?t.extent:null,this.g=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.i=!(!this.c||!this.f),this.o=t.getPointResolution,this.j=null,this.l=t.metersPerUnit;var e=t.code,o=bt||window.proj4;"function"!=typeof o||void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.l=e.to_meter),void 0===t.units&&(this.a=e.units))}function wt(t){mt.call(this,{code:t,units:"m",extent:St,global:!0,worldExtent:Mt,getPointResolution:function(t,e){return t/u(e[1]/6378137)}})}(Eu=mt.prototype).Jk=function(){return this.mb},Eu.G=function(){return this.f},Eu.Un=function(){return this.a},Eu.sc=function(){return this.l||vt[this.a]},Eu.tl=function(){return this.g},Eu.dm=function(){return this.c},Eu.$p=function(t){this.c=t,this.i=!(!t||!this.f)},Eu.Vn=function(t){this.f=t,this.i=!(!this.c||!t)},Eu.kq=function(t){this.g=t},Eu.Zp=function(t){this.o=t},i(wt,mt);var xt=6378137*Math.PI,St=[-xt,-xt,xt,xt],Mt=[-180,-85,180,85],Pt="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(t){return new wt(t)});function At(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o){e[r]=xt*t[r]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));xt<n?n=xt:n<-xt&&(n=-xt),e[r+1]=n}return e}function Et(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/xt,e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}var Tt=new gt(6378137);function jt(t,e){mt.call(this,{code:t,units:"degrees",extent:Ct,axisOrientation:e,global:!0,metersPerUnit:Lt,worldExtent:Ct})}i(jt,mt);var Ct=[-180,-90,180,90],Lt=Math.PI*Tt.radius/180,Rt=[new jt("CRS:84"),new jt("EPSG:4326","neu"),new jt("urn:ogc:def:crs:EPSG::4326","neu"),new jt("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new jt("urn:ogc:def:crs:OGC:1.3:CRS84"),new jt("urn:ogc:def:crs:OGC:2:84"),new jt("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new jt("urn:x-ogc:def:crs:EPSG:4326","neu")],It={},Nt={};function Ft(t,e,o){t=t.mb,e=e.mb,t in Nt||(Nt[t]={}),Nt[t][e]=o}function kt(t,e){var o;return t in Nt&&e in Nt[t]&&(o=Nt[t][e]),o}function Dt(t,e,o){var i=(t=Vt(t)).o;return i?e=i(e,o):"degrees"!=t.a&&(e=(i=Kt(t,Vt("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(dt.b(e.slice(0,2),e.slice(2,4))+dt.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=t.sc())&&(e/=t)),e}function Ot(t){t.forEach(Ut),t.forEach(function(e){t.forEach(function(t){e!==t&&Ft(e,t,Yt)})})}function Ut(t){Ft(It[t.mb]=t,t,Yt)}function Gt(t){return t?"string"==typeof t?Vt(t):t:Vt("EPSG:3857")}function Bt(t,e,o,i){Ft(t=Vt(t),e=Vt(e),Xt(o)),Ft(e,t,Xt(i))}function Xt(s){return function(t,e,o){var i,r=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(r),i=0;i<r;i+=o){var n=s([t[i],t[i+1]]);for(e[i]=n[0],e[i+1]=n[1],n=o-1;2<=n;--n)e[i+n]=t[i+n]}return e}}function Vt(t){var e,o=null;return t instanceof mt?o=t:"string"==typeof t&&(o=It[t]||null,e=bt||window.proj4,o||"function"!=typeof e||void 0===e.defs(t)||Ut(o=new mt({code:t}))),o}function Wt(t,e){if(t===e)return!0;var o=t.a===e.a;return(t.mb===e.mb||Kt(t,e)===Yt)&&o}function Zt(t,e){return Kt(t=Vt(t),e=Vt(e))}function Kt(t,e){var o,i,r,n=t.mb,s=e.mb,a=kt(n,s);return a||"function"==typeof(o=bt||window.proj4)&&(i=o.defs(n),r=o.defs(s),void 0!==i&&void 0!==r&&(i===r?Ot([e,t]):Bt(e,t,(a=o(s,n)).forward,a.inverse),a=kt(n,s))),a=a||zt}function zt(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function Yt(t,e){if(void 0!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}else t=t.slice();return t}function Ht(t,e,o){return Zt(e,o)(t,void 0,t.length)}function qt(t,e,o){return lt(t,e=Zt(e,o))}function Jt(){Ot(Pt),Ot(Rt),Rt.forEach(function(e){Pt.forEach(function(t){Ft(e,t,At),Ft(t,e,Et)})})}function _t(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function $t(t){var o,i;this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,X((o=this.b,i=function(t,e){return e-t}||G,o.every(function(t,e){return!e||!(0<(t=i(o[e-1],t))||0===t)})),17),this.maxZoom=this.b.length-1,this.i=void 0!==t.origin?t.origin:null,this.c=null,void 0!==t.origins&&(this.c=t.origins,X(this.c.length==this.b.length,20));var e=t.extent;void 0===e||this.i||this.c||(this.i=rt(e)),X(!this.i&&this.c||this.i&&!this.c,18),this.f=null,void 0!==t.tileSizes&&(this.f=t.tileSizes,X(this.f.length==this.b.length,19)),this.g=void 0!==t.tileSize?t.tileSize:this.f?null:256,X(!this.g&&this.f||this.g&&!this.f,22),this.v=void 0!==e?e:null,this.a=null,this.j=[0,0],void 0!==t.sizes?this.a=t.sizes.map(function(t){return new V(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&function(t,e){for(var o=t.b.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=ie(t,e,r);t.a=i}(this,e)}Jt();var Qt=[0,0,0];function te(t,e,o,i,r){for(r=t.Aa(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,ie(t,r,e,i)))return!0;--e}return!1}function ee(t,e,o,i){return e[0]<t.maxZoom?(i=t.Aa(e,i),ie(t,i,e[0]+1,o)):null}function oe(t,e,o,i){ne(t,e[0],e[1],o,!1,Qt);var r=Qt[1],n=Qt[2];return ne(t,e[2],e[3],o,!0,Qt),t=Qt[1],e=Qt[2],void 0!==i?(i.ca=r,i.$=t,i.da=n,i.ia=e):i=new V(r,t,n,e),i}function ie(t,e,o,i){return oe(t,e,t.Da(o),i)}function re(t,e){var o=t.Pc(e[0]),i=t.Da(e[0]);return t=W(t.gb(e[0]),t.j),[o[0]+(e[1]+.5)*t[0]*i,o[1]+(e[2]+.5)*t[1]*i]}function ne(t,e,o,i,r,n){var s=t.tc(i),a=i/t.Da(s),p=t.Pc(s);return t=W(t.gb(s),t.j),e=a*Math.floor((e-p[0])/i+(r?.5:0))/t[0],o=a*Math.floor((o-p[1])/i+(r?0:.5))/t[1],o=r?(e=Math.ceil(e)-1,Math.ceil(o)-1):(e=Math.floor(e),Math.floor(o)),_t(s,e,o,n)}function se(t){var e=t.j;return e||(e=he(t),t.j=e),e}function ae(t){var e={};return ut(e,t||{}),void 0===e.extent&&(e.extent=Vt("EPSG:3857").G()),e.resolutions=pe(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new $t(e)}function pe(t,e,o){e=void 0!==e?e:42;var i=ot(t);for(t=st(t),o=W(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function he(t,e,o){return e=pe(t=le(t),e,o),new $t({extent:t,origin:rt(t),resolutions:e,tileSize:o})}function le(t){var e=(t=Vt(t)).G();return e||(e=k(-(t=180*vt.degrees/t.sc()),-t,t,t)),e}function ue(t){this.b=t.html,this.a=t.tileRanges?t.tileRanges:null}function ce(t){return t}function fe(i){return i.mh=function(t){var e=i.listener,o=i.lh||i.target;return i.nh&&xe(i),e.call(o,t)}}function ye(t,e,o,i){for(var r,n=0,s=t.length;n<s;++n)if((r=t[n]).listener===e&&r.lh===o)return i&&(r.deleteIndex=n),r}function ge(t,e){return(t=t.fb)?t[e]:void 0}function de(t){return t.fb||(t.fb={})}function ve(t,e){var o=ge(t,e);if(o){for(var i=0,r=o.length;i<r;++i)t.removeEventListener(e,o[i].mh),ct(o[i]);o.length=0,(o=t.fb)&&(delete o[e],Object.keys(o).length||delete t.fb)}}function be(t,e,o,i,r){var n=de(t),s=n[e];return(n=ye(s=s||(n[e]=[]),o,i,!1))?r||(n.nh=!1):(n={lh:i,nh:!!r,listener:o,target:t,type:e},t.addEventListener(e,fe(n)),s.push(n)),n}function me(t,e,o,i){return be(t,e,o,i,!0)}function we(t,e,o,i){(t=ge(t,e))&&(o=ye(t,o,i,!0))&&xe(o)}function xe(t){var e,o;t&&t.target&&(t.target.removeEventListener(t.type,t.mh),(e=ge(t.target,t.type))&&(-1!==(o="deleteIndex"in t?t.deleteIndex:e.indexOf(t))&&e.splice(o,1),e.length||ve(t.target,t.type)),ct(t))}function Se(t){var e,o=de(t);for(e in o)ve(t,e)}function Me(){}function Pe(t){t.Jb||(t.Jb=!0,t.ka())}function Ae(t){this.type=t,this.target=null}function Ee(t){t.stopPropagation()}function Te(){this.Ua={},this.ra={},this.oa={}}function je(t,e){return e?e in t.oa:0<Object.keys(t.oa).length}function Ce(){Te.call(this),this.i=0}function Le(t){Ce.call(this),B(this),this.S={},void 0!==t&&this.H(t)}(Eu=$t.prototype).Rf=function(t,e,o){for(var i=(t=ie(this,t,e)).ca,r=t.$;i<=r;++i)for(var n=t.da,s=t.ia;n<=s;++n)o([e,i,n])},Eu.G=function(){return this.v},Eu.Ti=function(){return this.maxZoom},Eu.Ui=function(){return this.minZoom},Eu.Pc=function(t){return this.i?this.i:this.c[t]},Eu.Da=function(t){return this.b[t]},Eu.Vi=function(){return this.b},Eu.Aa=function(t,e){var o=this.Pc(t[0]),i=this.Da(t[0]),r=W(this.gb(t[0]),this.j),n=o[0]+t[1]*r[0]*i;return k(n,t=o[1]+t[2]*r[1]*i,n+r[0]*i,t+r[1]*i,e)},Eu.Be=function(t,e,o){return ne(this,t[0],t[1],e,!1,o)},Eu.bg=function(t,e,o){return ne(this,t[0],t[1],this.Da(e),!1,o)},Eu.gb=function(t){return this.g?this.g:this.f[t]},Eu.tc=function(t,e){return x(b(this.b,t,e||0),this.minZoom,this.maxZoom)},Me.prototype.Jb=!(ue.prototype.i=function(){return this.b}),Me.prototype.ka=w,Ae.prototype.preventDefault=Ae.prototype.stopPropagation=function(){this.qp=!0},i(Te,Me),Te.prototype.addEventListener=function(t,e){var o=this.oa[t];-1===(o=o||(this.oa[t]=[])).indexOf(e)&&o.push(e)},Te.prototype.b=function(t){var e="string"==typeof t?new Ae(t):t;t=e.type;var o=(e.target=this).oa[t];if(o){t in this.ra||(this.ra[t]=0,this.Ua[t]=0),++this.ra[t];for(var i=0,r=o.length;i<r;++i)if(!1===o[i].call(this,e)||e.qp){var n=!1;break}if(--this.ra[t],!this.ra[t]){for(e=this.Ua[t],delete this.Ua[t];e--;)this.removeEventListener(t,w);delete this.ra[t]}return n}},Te.prototype.ka=function(){Se(this)},Te.prototype.removeEventListener=function(t,e){var o=this.oa[t];o&&(e=o.indexOf(e),t in this.Ua?(o[e]=w,++this.Ua[t]):(o.splice(e,1),o.length||delete this.oa[t]))},i(Ce,Te),(Eu=Ce.prototype).s=function(){++this.i,this.b("change")},Eu.L=function(){return this.i},Eu.J=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=be(this,t[n],e,o);return r}return be(this,t,e,o)},Eu.once=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=me(this,t[n],e,o);return r}return me(this,t,e,o)},Eu.K=function(t,e,o){if(Array.isArray(t))for(var i=0,r=t.length;i<r;++i)we(this,t[i],e,o);else we(this,t,e,o)},i(Le,Ce);var Re={};function Ie(t){return Re.hasOwnProperty(t)?Re[t]:Re[t]="change:"+t}function Ne(t,e,o){var i=Ie(e);t.b(new Fe(i,e,o)),t.b(new Fe("propertychange",e,o))}function Fe(t,e,o){Ae.call(this,t),this.key=e,this.oldValue=o}function ke(t,e){if(Le.call(this),this.c=!!(e||{}).unique,this.a=t||[],this.c)for(t=0,e=this.a.length;t<e;++t)Oe(this,this.a[t],t);De(this)}function De(t){t.set(Ue,t.a.length)}function Oe(t,e,o){for(var i=0,r=t.a.length;i<r;++i)if(t.a[i]===e&&i!==o)throw new p(58)}(Eu=Le.prototype).get=function(t){var e;return this.S.hasOwnProperty(t)&&(e=this.S[t]),e},Eu.O=function(){return Object.keys(this.S)},Eu.N=function(){return ut({},this.S)},Eu.set=function(t,e,o){o?this.S[t]=e:(o=this.S[t])!==(this.S[t]=e)&&Ne(this,t,o)},Eu.H=function(t,e){for(var o in t)this.set(o,t[o],e)},Eu.P=function(t,e){var o;t in this.S&&(o=this.S[t],delete this.S[t],e||Ne(this,t,o))},i(Fe,Ae),i(ke,Le),(Eu=ke.prototype).clear=function(){for(;0<this.dc();)this.pop()},Eu.fg=function(t){for(var e=0,o=t.length;e<o;++e)this.push(t[e]);return this},Eu.forEach=function(t,e){this.a.forEach(t,e)},Eu.tm=function(){return this.a},Eu.item=function(t){return this.a[t]},Eu.dc=function(){return this.get(Ue)},Eu.He=function(t,e){this.c&&Oe(this,e),this.a.splice(t,0,e),De(this),this.b(new Ge("add",e))},Eu.pop=function(){return this.Hg(this.dc()-1)},Eu.push=function(t){this.c&&Oe(this,t);var e=this.dc();return this.He(e,t),this.dc()},Eu.remove=function(t){for(var e=this.a,o=0,i=e.length;o<i;++o)if(e[o]===t)return this.Hg(o)},Eu.Hg=function(t){var e=this.a[t];return this.a.splice(t,1),De(this),this.b(new Ge("remove",e)),e},Eu.Wp=function(t,e){var o=this.dc();if(t<o)this.c&&Oe(this,e,t),o=this.a[t],this.a[t]=e,this.b(new Ge("remove",o)),this.b(new Ge("add",e));else{for(;o<t;++o)this.He(o,void 0);this.He(t,e)}};var Ue="length";function Ge(t,e){Ae.call(this,t),this.element=e}i(Ge,Ae);var Be=/^#(?:[0-9a-f]{3}){1,2}$/i,Xe=/^([a-z]*)$/i;function Ve(t){return Array.isArray(t)?t:ze(t)}function We(t){var e,o,i;return"string"!=typeof t&&((e=t[0])!=(0|e)&&(e=e+.5|0),(o=t[1])!=(0|o)&&(o=o+.5|0),(i=t[2])!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+(void 0===t[3]?1:t[3])+")"),t}var Ze,Ke,ze=(Ze={},Ke=0,function(t){if(Ze.hasOwnProperty(t))var e=Ze[t];else{if(1024<=Ke)for(var o in e=0,Ze)3&e++||(delete Ze[o],--Ke);var i,r;e=t,Xe.exec(e)&&((o=document.createElement("div")).style.color=e,document.body.appendChild(o),e=getComputedStyle(o).color,document.body.removeChild(o)),Be.exec(e)?(X(3==(r=e.length-1)||6==r,54),i=3==r?1:2,r=parseInt(e.substr(1+0*i,i),16),o=parseInt(e.substr(1+i,i),16),e=parseInt(e.substr(1+2*i,i),16),1==i&&(r=(r<<4)+r,o=(o<<4)+o,e=(e<<4)+e),r=[r,o,e,1]):e.indexOf("rgba(")?e.indexOf("rgb(")?X(!1,14):((e=e.slice(4,-1).split(",").map(Number)).push(1),r=Ye(e)):r=Ye(e=e.slice(5,-1).split(",").map(Number)),e=r,Ze[t]=e,++Ke}return e});function Ye(t){var e=[];return e[0]=x(t[0]+.5|0,0,255),e[1]=x(t[1]+.5|0,0,255),e[2]=x(t[2]+.5|0,0,255),e[3]=x(t[3],0,1),e}function He(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:We(t)}function qe(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function Je(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function _e(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function $e(t){Le.call(this),this.element=t.element?t.element:null,this.a=this.R=null,this.v=[],this.render=t.render?t.render:w,t.target&&this.f(t.target)}function Qe(t){t=t||{},this.I=document.createElement("UL"),this.u=document.createElement("LI"),this.I.appendChild(this.u),this.u.style.display="none",this.c=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.c=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions",i=void 0!==t.collapseLabel?t.collapseLabel:"»";"string"==typeof i?(this.D=document.createElement("span"),this.D.textContent=i):this.D=i,"string"==typeof(i=void 0!==t.label?t.label:"i")?(this.C=document.createElement("span"),this.C.textContent=i):this.C=i;var r=this.o&&!this.c?this.D:this.C;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),be(i,"click",this.Vm,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.c&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),o.appendChild(this.I),o.appendChild(i),$e.call(this,{element:o,render:t.render?t.render:to,target:t.target}),this.B=!0,this.l={},this.j={},this.T={}}function to(t){if(t=t.frameState){var e,o,i,r,n,s,a,p=t.layerStatesArray,h=ut({},t.attributions),l={},u={},c=t.viewState.projection,f=0;for(a=p.length;f<a;f++)if(o=p[f].layer.ha()){var y=B(o).toString();if(i=o.j)for(var g=0,d=i.length;g<d;g++){var v=i[g],b=B(v).toString();if(!(b in h)){if(e=t.usedTiles[y])t:{var m=void 0,w=v,x=M=o.Ta(c),S=c;if(w.a){for(m in e)if(m in w.a)for(var M=e[m],P=0,A=w.a[m].length;P<A;++P){var E=w.a[m][P];if(C(E,M)){m=!0;break t}var T=ie(x,le(S),parseInt(m,10)),j=T.$-T.ca+1;if((M.ca<T.ca||M.$>T.$)&&(C(E,new V(L(M.ca,j),L(M.$,j),M.da,M.ia))||M.$-M.ca+1>j&&C(E,T))){m=!0;break t}}m=!1}else m=!0}else m=!1;m?(b in l&&delete l[b],(m=v.b)in u||(u[m]=!0,h[b]=v)):l[b]=v}}}for(r in f=(a=[h,l])[0],a=a[1],this.l)r in f?(this.j[r]||(this.l[r].style.display="",this.j[r]=!0),delete f[r]):r in a?(this.j[r]&&(this.l[r].style.display="none",delete this.j[r]),delete a[r]):(_e(this.l[r]),delete this.l[r],delete this.j[r]);for(r in f)(g=document.createElement("LI")).innerHTML=f[r].b,this.I.appendChild(g),this.l[r]=g,this.j[r]=!0;for(r in a)(g=document.createElement("LI")).innerHTML=a[r].b,g.style.display="none",this.I.appendChild(g),this.l[r]=g;for(s in r=!yt(this.j)||!yt(t.logos),this.B!=r&&(this.element.style.display=r?"":"none",this.B=r),r&&yt(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only"),t=t.logos,r=this.T)s in t||(_e(r[s]),delete r[s]);for(n in t){(a=t[n])instanceof HTMLElement&&(this.u.appendChild(a),r[n]=a),n in r||((s=new Image).src=n,""===a?f=s:((f=document.createElement("a")).href=a,f.appendChild(s)),this.u.appendChild(f),r[n]=f)}this.u.style.display=yt(t)?"none":""}else this.B&&(this.element.style.display="none",this.B=!1)}function eo(t){t.element.classList.toggle("ol-collapsed"),t.c?Je(t.D,t.C):Je(t.C,t.D),t.c=!t.c}function oo(t){return Math.pow(t,3)}function io(t){return 1-oo(1-t)}function ro(t){return 3*t*t-2*t*t*t}function no(t){return t}function so(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.c=null,"string"==typeof o?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=o):(this.c=o,this.c.classList.add("ol-compass"));var i=t.tipLabel?t.tipLabel:"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=i,o.appendChild(this.c),be(o,"click",so.prototype.D,this),(i=document.createElement("div")).className=e+" ol-unselectable ol-control",i.appendChild(o),e=t.render?t.render:ao,this.o=t.resetNorth?t.resetNorth:void 0,$e.call(this,{element:i,render:e,target:t.target}),this.l=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.u=void 0,this.j&&this.element.classList.add("ol-hidden")}function ao(t){var e,o;(t=t.frameState)&&((t=t.viewState.rotation)!=this.u&&(e="rotate("+t+"rad)",this.j&&((o=this.element.classList.contains("ol-hidden"))||t?o&&t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")),this.c.style.msTransform=e,this.c.style.webkitTransform=e,this.c.style.transform=e),this.u=t)}function po(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInLabel?t.zoomInLabel:"+",r=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",s=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",a=document.createElement("button");a.className=e+"-in",a.setAttribute("type","button"),a.title=n,a.appendChild("string"==typeof i?document.createTextNode(i):i),be(a,"click",po.prototype.j.bind(this,o)),(i=document.createElement("button")).className=e+"-out",i.setAttribute("type","button"),i.title=s,i.appendChild("string"==typeof r?document.createTextNode(r):r),be(i,"click",po.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(a),o.appendChild(i),$e.call(this,{element:o,target:t.target}),this.c=void 0!==t.duration?t.duration:250}function ho(t){t=t||{};var e=new ke;return void 0!==t.zoom&&!t.zoom||e.push(new po(t.zoomOptions)),void 0!==t.rotate&&!t.rotate||e.push(new so(t.rotateOptions)),void 0!==t.attribution&&!t.attribution||e.push(new Qe(t.attributionOptions)),e}function lo(t){t=t||{},this.c=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.o="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.l="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel?t.tipLabel:"Toggle full-screen";(e=document.createElement("button")).className=this.c+"-"+co(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.o),be(e,"click",this.C,this),(o=document.createElement("div")).className=this.c+" ol-unselectable ol-control "+(uo()?"":"ol-unsupported"),o.appendChild(e),$e.call(this,{element:o,target:t.target}),this.D=void 0!==t.keys&&t.keys,this.j=t.source}function uo(){var t=document.body;return t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled}function co(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function fo(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}i($e,Le),$e.prototype.ka=function(){_e(this.element),Le.prototype.ka.call(this)},$e.prototype.g=function(){return this.a},$e.prototype.setMap=function(t){this.a&&_e(this.element);for(var e=0,o=this.v.length;e<o;++e)xe(this.v[e]);this.v.length=0,(this.a=t)&&((this.R?this.R:t.D).appendChild(this.element),this.render!==w&&this.v.push(be(t,"postrender",this.render,this)),t.render())},$e.prototype.f=function(t){this.R="string"==typeof t?document.getElementById(t):t},i(Qe,$e),(Eu=Qe.prototype).Vm=function(t){t.preventDefault(),eo(this)},Eu.Um=function(){return this.o},Eu.Xm=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.c&&eo(this))},Eu.Wm=function(t){this.o&&this.c!==t&&eo(this)},Eu.Tm=function(){return this.c},i(so,$e),so.prototype.D=function(t){t.preventDefault(),this.o?this.o():(t=this.a.Z())&&void 0!==t.Qa()&&(0<this.l?t.animate({rotation:0,duration:this.l,easing:io}):t.Oe(0))},i(po,$e),po.prototype.j=function(t,e){var o;e.preventDefault(),!(e=this.a.Z())||(o=e.Pa())&&(t=e.constrainResolution(o,t),0<this.c?(e.Ic()&&e.ed(),e.animate({resolution:t,duration:this.c,easing:io})):e.Vc(t))},i(lo,$e),lo.prototype.C=function(t){t.preventDefault(),uo()&&(t=this.a)&&(co()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.jd(),this.D?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):fo(t):fo(t)))},lo.prototype.u=function(){var t=this.element.firstElementChild,e=this.a;co()?(t.className=this.c+"-true",Je(this.l,this.o)):(t.className=this.c+"-false",Je(this.o,this.l)),e&&e.Ad()},lo.prototype.setMap=function(t){$e.prototype.setMap.call(this,t),t&&this.v.push(be(document,go(),this.u,this))};var yo,go=function(){var t;return yo||((t=document.body).webkitRequestFullscreen?yo="webkitfullscreenchange":t.mozRequestFullScreen?yo="mozfullscreenchange":t.msRequestFullscreen?yo="MSFullscreenChange":t.requestFullscreen&&(yo="fullscreenchange")),yo};function vo(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",$e.call(this,{element:e,render:t.render?t.render:bo,target:t.target}),be(this,Ie(wo),this.Ym,this),t.coordinateFormat&&this.kj(t.coordinateFormat),t.projection&&this.$h(t.projection),this.u=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.l=e.innerHTML,this.o=this.j=this.c=null}function bo(t){(t=t.frameState)?this.c!=t.viewState.projection&&(this.c=t.viewState.projection,this.j=null):this.c=null,mo(this,this.o)}function mo(t,e){var o,i=t.u;e&&t.c&&(t.j||(o=t.Zh(),t.j=o?Kt(t.c,o):zt),(e=t.a.Wa(e))&&(t.j(e,e),i=(i=t.xh())?i(e):e.toString())),t.l&&i==t.l||(t.element.innerHTML=i,t.l=i)}i(vo,$e),(Eu=vo.prototype).Ym=function(){this.j=null},Eu.xh=function(){return this.get(xo)},Eu.Zh=function(){return this.get(wo)},Eu.Ll=function(t){this.o=this.a.xe(t),mo(this,this.o)},Eu.Ml=function(){mo(this,null),this.o=null},Eu.setMap=function(t){$e.prototype.setMap.call(this,t),t&&(t=t.a,this.v.push(be(t,"mousemove",this.Ll,this),be(t,"mouseout",this.Ml,this)))},Eu.kj=function(t){this.set(xo,t)},Eu.$h=function(t){this.set(wo,Vt(t))};var wo="projection",xo="coordinateFormat";function So(t,e,o){Ae.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function Mo(t,e,o,i,r){So.call(this,t,e,r),this.originalEvent=o,this.pixel=e.xe(o),this.coordinate=e.Wa(this.pixel),this.dragging=void 0!==i&&i}i(So,Ae),i(Mo,So),Mo.prototype.preventDefault=function(){So.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},Mo.prototype.stopPropagation=function(){So.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var Po=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Ao(t,e){for(var o,i=Po.length,r=0;r<i;++r)try{if(o=t.getContext(Po[r],e))return o}catch(t){}return null}var Eo,To,jo="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",Co=-1!==jo.indexOf("firefox"),Lo=-1!==jo.indexOf("safari")&&-1==jo.indexOf("chrom"),Ro=-1!==jo.indexOf("webkit")&&-1==jo.indexOf("edge"),Io=-1!==jo.indexOf("macintosh"),No=window.devicePixelRatio||1,Fo=!1,ko=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(Fo=!0),!0)}catch(t){return!1}}(),Do="DeviceOrientationEvent"in window,Oo="geolocation"in navigator,Uo="ontouchstart"in window,Go="PointerEvent"in window,Bo=!!navigator.msPointerEnabled,Xo=!1,Vo=[];if("WebGLRenderingContext"in window)try{var Wo=Ao(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Wo&&(Xo=!0,To=Wo.getParameter(Wo.MAX_TEXTURE_SIZE),Vo=Wo.getSupportedExtensions())}catch(t){}Eo=Xo,o=Vo,e=To;var Zo={Iq:"singleclick",xq:"click",yq:"dblclick",Bq:"pointerdrag",Eq:"pointermove",Aq:"pointerdown",Hq:"pointerup",Gq:"pointerover",Fq:"pointerout",Cq:"pointerenter",Dq:"pointerleave",zq:"pointercancel"};function Ko(t,e,o,i,r){Mo.call(this,t,e,o.b,i,r),this.b=o}function zo(t,e){this.b=t,this.f=e}function Yo(t){zo.call(this,t,{mousedown:this.fm,mousemove:this.gm,mouseup:this.jm,mouseover:this.im,mouseout:this.hm}),this.a=t.i,this.i=[]}function Ho(t,e){t=t.i;var o=e.clientX;e=e.clientY;for(var i,r=0,n=t.length;r<n&&(i=t[r]);r++){var s=Math.abs(e-i[1]);if(Math.abs(o-i[0])<=25&&s<=25)return 1}}function qo(t){var e=si(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function Jo(t){zo.call(this,t,{MSPointerDown:this.om,MSPointerMove:this.pm,MSPointerUp:this.sm,MSPointerOut:this.qm,MSPointerOver:this.rm,MSPointerCancel:this.nm,MSGotPointerCapture:this.lm,MSLostPointerCapture:this.mm}),this.a=t.i,this.i=["","unavailable","touch","pen","mouse"]}function _o(t,e){var o=e;return"number"==typeof e.pointerType&&((o=si(e,e)).pointerType=t.i[e.pointerType]),o}function $o(t){zo.call(this,t,{pointerdown:this.ip,pointermove:this.jp,pointerup:this.mp,pointerout:this.kp,pointerover:this.lp,pointercancel:this.hp,gotpointercapture:this.ul,lostpointercapture:this.em})}function Qo(t,e,o){var i,r;Ae.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||ti)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=(i=t,r=this.buttons,i.pressure?i.pressure:r?.5:0),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.ctrlKey="ctrlKey"in t&&t.ctrlKey,this.altKey="altKey"in t&&t.altKey,this.shiftKey="shiftKey"in t&&t.shiftKey,this.metaKey="metaKey"in t&&t.metaKey,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.tiltX="tiltX"in t?t.tiltX:0,this.tiltY="tiltY"in t?t.tiltY:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}i(Ko,Mo),i(Yo,zo),(Eu=Yo.prototype).fm=function(t){var e;Ho(this,t)||(1..toString()in this.a&&this.cancel(t),e=qo(t),this.a[1..toString()]=t,li(this.b,"pointerdown",e,t))},Eu.gm=function(t){var e;Ho(this,t)||(e=qo(t),li(this.b,"pointermove",e,t))},Eu.jm=function(t){var e;Ho(this,t)||(e=this.a[1..toString()])&&e.button===t.button&&(e=qo(t),li(this.b,"pointerup",e,t),delete this.a[1..toString()])},Eu.im=function(t){var e;Ho(this,t)||(e=qo(t),hi(this.b,e,t))},Eu.hm=function(t){var e;Ho(this,t)||(e=qo(t),pi(this.b,e,t))},Eu.cancel=function(t){var e=qo(t);this.b.cancel(e,t),delete this.a[1..toString()]},i(Jo,zo),(Eu=Jo.prototype).om=function(t){this.a[t.pointerId.toString()]=t;var e=_o(this,t);li(this.b,"pointerdown",e,t)},Eu.pm=function(t){var e=_o(this,t);li(this.b,"pointermove",e,t)},Eu.sm=function(t){var e=_o(this,t);li(this.b,"pointerup",e,t),delete this.a[t.pointerId.toString()]},Eu.qm=function(t){var e=_o(this,t);pi(this.b,e,t)},Eu.rm=function(t){var e=_o(this,t);hi(this.b,e,t)},Eu.nm=function(t){var e=_o(this,t);this.b.cancel(e,t),delete this.a[t.pointerId.toString()]},Eu.mm=function(t){this.b.b(new Qo("lostpointercapture",t,t))},Eu.lm=function(t){this.b.b(new Qo("gotpointercapture",t,t))},i($o,zo),(Eu=$o.prototype).ip=function(t){ui(this.b,t)},Eu.jp=function(t){ui(this.b,t)},Eu.mp=function(t){ui(this.b,t)},Eu.kp=function(t){ui(this.b,t)},Eu.lp=function(t){ui(this.b,t)},Eu.hp=function(t){ui(this.b,t)},Eu.em=function(t){ui(this.b,t)},Eu.ul=function(t){ui(this.b,t)},i(Qo,Ae);var ti=!1;try{ti=1===new MouseEvent("click",{buttons:1}).buttons}catch(t){}function ei(t,e){zo.call(this,t,{touchstart:this.rq,touchmove:this.qq,touchend:this.pq,touchcancel:this.oq}),this.a=t.i,this.j=e,this.i=void 0,this.g=0,this.c=void 0}function oi(t,e,o){function i(){e.preventDefault()}for(var r,n,s,a=Array.prototype.slice.call(e.changedTouches),p=a.length,h=0;h<p;++h){var l=(r=t,n=e,s=a[h],(n=si(n,s)).pointerId=s.identifier+2,n.bubbles=!0,n.cancelable=!0,n.detail=r.g,n.button=0,n.buttons=1,n.width=s.webkitRadiusX||s.radiusX||0,n.height=s.webkitRadiusY||s.radiusY||0,n.pressure=s.webkitForce||s.force||.5,n.isPrimary=r.i===s.identifier,n.pointerType="touch",n.clientX=s.clientX,n.clientY=s.clientY,n.screenX=s.screenX,n.screenY=s.screenY,n);l.preventDefault=i,o.call(t,e,l)}}function ii(t,e){var o,i=t.j.i;e=e.changedTouches[0],t.i===e.identifier&&(o=[e.clientX,e.clientY],i.push(o),setTimeout(function(){s(i,o)},2500))}function ri(t){Te.call(this),this.g=t,this.i={},this.f={},this.a=[],Go?ni(this,new $o(this)):Bo?ni(this,new Jo(this)):(ni(this,t=new Yo(this)),Uo&&ni(this,new ei(this,t))),t=this.a.length;for(var e,o,i=0;i<t;i++)e=this.a[i],o=this,Object.keys(e.f).forEach(function(t){be(this.g,t,this.c,this)},o)}function ni(t,o){var e=Object.keys(o.f);e&&(e.forEach(function(t){var e=o.f[t];e&&(this.f[t]=e.bind(o))},t),t.a.push(o))}function si(t,e){for(var o,i={},r=0,n=ci.length;r<n;r++)i[o=ci[r][0]]=t[o]||e[o]||ci[r][1];return i}function ai(t,e,o){e.bubbles=!1,li(t,"pointerleave",e,o)}function pi(t,e,o){t.out(e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||ai(t,e,o)}function hi(t,e,o){e.bubbles=!0,li(t,"pointerover",e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||(e.bubbles=!1,li(t,"pointerenter",e,o))}function li(t,e,o,i){t.b(new Qo(e,i,o))}function ui(t,e){t.b(new Qo(e.type,e,e))}i(ei,zo),(Eu=ei.prototype).ij=function(){this.g=0,this.c=void 0},Eu.rq=function(t){var e=t.touches,o=Object.keys(this.a),i=o.length;if(i>=e.length){for(var r=[],n=0;n<i;++n){var s,a=o[n],p=this.a[a];if(!(s=1==a))t:{for(var h=e.length,l=0;l<h;l++)if((s=e[l]).identifier===a-2){s=!0;break t}s=!1}s||r.push(p.out)}for(n=0;n<r.length;++n)this.Kf(t,r[n])}e=t.changedTouches[0],(!(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.i=e.identifier,void 0!==this.c&&clearTimeout(this.c)),ii(this,t),this.g++,oi(this,t,this.cp)},Eu.cp=function(t,e){this.a[e.pointerId]={target:e.target,out:e,Wi:e.target};var o=this.b;e.bubbles=!0,li(o,"pointerover",e,t),o=this.b,e.bubbles=!1,li(o,"pointerenter",e,t),li(this.b,"pointerdown",e,t)},Eu.qq=function(t){t.preventDefault(),oi(this,t,this.km)},Eu.km=function(t,e){var o,i,r=this.a[e.pointerId];r&&(o=r.out,i=r.Wi,li(this.b,"pointermove",e,t),o&&i!==e.target&&(o.relatedTarget=e.target,e.relatedTarget=i,o.target=i,e.target?(pi(this.b,o,t),hi(this.b,e,t)):(e.target=i,e.relatedTarget=null,this.Kf(t,e))),r.out=e,r.Wi=e.target)},Eu.pq=function(t){ii(this,t),oi(this,t,this.sq)},Eu.sq=function(t,e){li(this.b,"pointerup",e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},Eu.oq=function(t){oi(this,t,this.Kf)},Eu.Kf=function(t,e){this.b.cancel(e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},i(ri,Te),ri.prototype.c=function(t){var e=this.f[t.type];e&&e(t)},ri.prototype.out=function(t,e){t.bubbles=!0,li(this,"pointerout",t,e)},ri.prototype.cancel=function(t,e){li(this,"pointercancel",t,e)};var ci=[["bubbles",!(ri.prototype.ka=function(){for(var t,e,o=this.a.length,i=0;i<o;i++)t=this.a[i],e=this,Object.keys(t.f).forEach(function(t){we(this.g,t,this.c,this)},e);Te.prototype.ka.call(this)})],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function fi(t,e){Te.call(this),this.i=t,this.j=0,this.o=!1,this.f=[],this.D=e?e*No:No,this.c=null,t=this.i.a,this.S=0,this.u={},this.g=new ri(t),this.a=null,this.l=be(this.g,"pointerdown",this.Ol,this),this.v=be(this.g,"pointermove",this.Lp,this)}function yi(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.u[e.pointerId]:"pointerdown"==e.type&&(t.u[e.pointerId]=!0),t.S=Object.keys(t.u).length}function gi(t,e){return Math.abs(e.clientX-t.c.clientX)>t.D||Math.abs(e.clientY-t.c.clientY)>t.D}function di(t,e){this.l=t,this.c=e,this.b=[],this.i=[],this.a={}}function vi(t){var e=t.b,o=t.i,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),bi(t,0)),e=t.c(i),delete t.a[e],i}function bi(t,e){for(var o=t.b,i=t.i,r=o.length,n=o[e],s=i[e],a=e;e<r>>1;){var p=2*e+1,h=2*e+2,p=h<r&&i[h]<i[p]?h:p;o[e]=o[p],i[e]=i[p],e=p}o[e]=n,i[e]=s,mi(t,a,e)}function mi(t,e,o){var i=t.b;t=t.i;for(var r=i[o],n=t[o];e<o;){var s=o-1>>1;if(!(t[s]>n))break;i[o]=i[s],t[o]=t[s],o=s}i[o]=r,t[o]=n}function wi(t){for(var e=t.l,o=t.b,i=t.i,r=0,n=o.length,s=0;s<n;++s){var a=o[s],p=e(a);1/0==p?delete t.a[t.c(a)]:(i[r]=p,o[r++]=a)}for(o.length=r,i.length=r,e=(t.b.length>>1)-1;0<=e;e--)bi(t,e)}function xi(e,t){di.call(this,function(t){return e.apply(null,t)},function(t){return t[0].bb()}),this.v=t,this.j=0,this.g={}}function Si(t,e,o){for(var i,r,n=0;t.j<e&&n<o&&0<t.b.length;)r=(i=vi(t)[0]).bb(),0!==i.getState()||r in t.g||(t.g[r]=!0,++t.j,++n,i.load())}function Mi(t){if(void 0!==t)return 0}function Pi(t,e){if(void 0!==t)return t+e}function Ai(t,e){return 2<(e=-1===(e=(t=void 0!==e?t.toFixed(e):""+t).indexOf("."))?t.length:e)?t:Array(3-e).join("0")+t}function Ei(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var i=parseInt(t[o]||"0",10),r=parseInt(e[o]||"0",10);if(r<i)return 1;if(i<r)return-1}return 0}function Ti(t,e){return t[0]+=e[0],t[1]+=e[1],t}function ji(t,e){var o=t[0];t=t[1];var i=e[0],r=e[1];e=i[0];var i=i[1],n=r[0],s=n-e,a=(r=r[1])-i;return o=(o=s||a?(s*(o-e)+a*(t-i))/(s*s+a*a||0):0)<=0?(t=e,i):1<=o?(t=n,r):(t=e+o*s,i+o*a),[t,o]}function Ci(t,e,o){e=L(e+180,360)-180;var i=Math.abs(3600*e);o=o||0;var r=Math.pow(10,o),n=Math.floor(i/3600),s=Math.floor((i-3600*n)/60);return 60<=(i=Math.ceil((i-3600*n-60*s)*r)/r)&&(i=0,s+=1),60<=s&&(s=0,n+=1),n+"° "+Ai(s)+"′ "+Ai(i,o)+"″"+(e?" "+t.charAt(e<0?1:0):"")}function Li(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function Ri(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function Ii(t,e){var o=Math.cos(e);e=Math.sin(e);var i=t[1]*o+t[0]*e;return t[0]=t[0]*o-t[1]*e,t[1]=i,t}function Ni(t,e){t[0]*=e,t[1]*=e}function Fi(t,e){var o=t[0]-e[0];return o*o+(t=t[1]-e[1])*t}function ki(t,e){return Math.sqrt(Fi(t,e))}function Di(t,e){return Fi(t,ji(t,e))}function Oi(t,e){return Li(t,"{x}, {y}",e)}function Ui(){return!0}function Gi(){return!1}function Bi(){Le.call(this),this.l=Z(),this.v=-1,this.f={},this.o=this.g=0}function Xi(t,e,o,i,r,n){for(var s=n||[],a=0;e<o;e+=i){var p=t[e],h=t[e+1];s[a++]=r[0]*p+r[2]*h+r[4],s[a++]=r[1]*p+r[3]*h+r[5]}return n&&s.length!=a&&(s.length=a),s}function Vi(t,e,o,i,r,n,s){for(var a,p=s||[],h=0;e<o;e+=i)for(p[h++]=t[e]+r,p[h++]=t[e+1]+n,a=e+2;a<e+i;++a)p[h++]=t[a];return s&&p.length!=h&&(p.length=h),p}function Wi(){Bi.call(this),this.ja="XY",this.a=2,this.A=null}function Zi(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function Ki(t,e,o){t.a=Zi(e),t.ja=e,t.A=o}function zi(t,e,o,i){if(e)o=Zi(e);else{for(e=0;e<i;++e){if(!o.length)return t.ja="XY",void(t.a=2);o=o[0]}var r;2==(o=o.length)?r="XY":3==o?r="XYZ":4==o&&(r="XYZM"),e=r}t.ja=e,t.a=o}function Yi(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],r=r+(s*a-n*p),n=a,s=p;return r/2}function Hi(t,e,o,i){for(var r=0,n=0,s=o.length;n<s;++n){var a=o[n],r=r+Yi(t,e,a,i);e=a}return r}function qi(t,e,o,i,r,n,s){var a=t[e],p=t[e+1],h=t[o]-a,l=t[o+1]-p;if(h||l)if(1<(n=((r-a)*h+(n-p)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)s[r]=f(t[e+r],t[o+r],n);return void(s.length=i)}for(r=0;r<i;++r)s[r]=t[e+r];s.length=i}function Ji(t,e,o,i,r){var n=t[e],s=t[e+1];for(e+=i;e<o;e+=i){var a=t[e],p=t[e+1];r<(n=y(n,s,a,p))&&(r=n),n=a,s=p}return r}function _i(t,e,o,i,r){for(var n=0,s=o.length;n<s;++n){var a=o[n];r=Ji(t,e,a,i,r),e=a}return r}function $i(t,e,o,i,r,n,s,a,p,h,l){if(e==o)return h;if(!r){var u=y(s,a,t[e],t[e+1]);if(u<h){for(l=0;l<i;++l)p[l]=t[e+l];return p.length=i,u}return h}for(var c=l||[NaN,NaN],f=e+i;f<o;)if(qi(t,f-i,f,i,s,a,c),(u=y(s,a,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)p[l]=c[l];f+=p.length=i}else f+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(qi(t,o-i,e,i,s,a,c),(u=y(s,a,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)p[l]=c[l];p.length=i}return h}function Qi(t,e,o,i,r,n,s,a,p,h,l){l=l||[NaN,NaN];for(var u=0,c=o.length;u<c;++u){var f=o[u];h=$i(t,e,f,i,r,n,s,a,p,h,l),e=f}return h}function tr(t,e){for(var o=0,i=0,r=e.length;i<r;++i)t[o++]=e[i];return o}function er(t,e,o,i){for(var r=0,n=o.length;r<n;++r)for(var s=o[r],a=0;a<i;++a)t[e++]=s[a];return e}function or(t,e,o,i,r){r=r||[];for(var n=0,s=0,a=o.length;s<a;++s)e=er(t,e,o[s],i),r[n++]=e;return r.length=n,r}function ir(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function rr(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0,s=0,a=o.length;s<a;++s){var p=o[s];r[n++]=ir(t,e,p,i,r[n]),e=p}return r.length=n,r}function nr(t,e,o,i,r,n,s){var a=(o-e)/i;if(a<3){for(;e<o;e+=i)n[s++]=t[e],n[s++]=t[e+1];return s}var p=Array(a);p[0]=1,p[a-1]=1,o=[e,o-i];for(var h=0;0<o.length;){for(var l=o.pop(),u=o.pop(),c=0,f=t[u],y=t[u+1],g=t[l],d=t[l+1],v=u+i;v<l;v+=i){var b=S(t[v],t[v+1],f,y,g,d);c<b&&(h=v,c=b)}r<c&&(p[(h-e)/i]=1,u+i<h&&o.push(u,h),h+i<l&&o.push(h,l))}for(v=0;v<a;++v)p[v]&&(n[s++]=t[e+v*i],n[s++]=t[e+v*i+1]);return s}function sr(t,e,o,i,r,n,s,a){for(var p=0,h=o.length;p<h;++p){var l=o[p];t:{var u=t,c=l,f=i,y=r,g=n,d=s;if(e!=c){var v=y*Math.round(u[e]/y),b=y*Math.round(u[e+1]/y);e+=f,g[d++]=v,g[d++]=b;do{var m=y*Math.round(u[e]/y);if(s=y*Math.round(u[e+1]/y),(e+=f)==c){g[d++]=m,g[d++]=s,s=d;break t}}while(m==v&&s==b);for(;e<c;){var w,x,S,M,P=y*Math.round(u[e]/y),A=y*Math.round(u[e+1]/y);e+=f,P==m&&A==s||((w=m-v)*(M=A-b)==(x=s-b)*(S=P-v)&&(w<0&&S<w||w==S||0<w&&w<S)&&(x<0&&M<x||x==M||0<x&&x<M)||(v=g[d++]=m,b=g[d++]=s),m=P,s=A)}g[d++]=m,g[d++]=s}s=d}a.push(s),e=l}return s}function ar(t,e){Wi.call(this),this.c=this.j=-1,this.ma(t,e)}function pr(t,e,o){Ki(t,e,o),t.s()}function hr(t,e){Wi.call(this),this.ma(t,e)}function lr(t,e,o,i,r,n){for(var s=0,a=t[o-i],p=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];p<=n?n<l&&0<(h-a)*(n-p)-(r-a)*(l-p)&&s++:l<=n&&(h-a)*(n-p)-(r-a)*(l-p)<0&&s--,a=h,p=l}return s}function ur(t,e,o,i,r,n){if(!o.length||!lr(t,e,o[0],i,r,n))return!1;var s;for(e=1,s=o.length;e<s;++e)if(lr(t,o[e-1],o[e],i,r,n))return!1;return!0}function cr(t,e,o,i,r,n,s){for(var a=r[n+1],p=[],h=o[0],l=t[h-i],u=t[h-i+1],c=e;c<h;c+=i){var f=t[c],y=t[c+1];(a<=u&&y<=a||u<=a&&a<=y)&&(l=(a-u)/(y-u)*(f-l)+l,p.push(l)),l=f,u=y}for(h=NaN,u=-1/0,p.sort(G),l=p[0],c=1,y=p.length;c<y;++c){f=p[c];var g=Math.abs(f-l);u<g&&(ur(t,e,o,i,l=(l+f)/2,a)&&(h=l,u=g)),l=f}return isNaN(h)&&(h=r[n]),s?(s.push(h,a),s):[h,a]}function fr(t,e,o,i,r,n){for(var s,a=[t[e],t[e+1]],p=[];e+i<o;e+=i){if(p[0]=t[e+i],p[1]=t[e+i+1],s=r.call(n,a,p))return s;a[0]=p[0],a[1]=p[1]}return!1}function yr(t,e,o,i,l){var r=q(Z(),t,e,o,i);return!!at(l,r)&&(!!(N(l,r)||r[0]>=l[0]&&r[2]<=l[2]||r[1]>=l[1]&&r[3]<=l[3])||fr(t,e,o,i,function(t,e){var o,i,r,n,s,a=!1,p=F(l,t),h=F(l,e);return 1===p||1===h?a=!0:(o=l[0],i=l[1],r=l[2],n=l[3],s=e[0],t=((e=e[1])-t[1])/(s-t[0]),2&h&&!(2&p)&&(a=o<=(a=s-(e-n)/t)&&a<=r),a||!(4&h)||4&p||(a=i<=(a=e-(s-r)*t)&&a<=n),a||!(8&h)||8&p||(a=o<=(a=s-(e-i)/t)&&a<=r),a||!(16&h)||16&p||(a=i<=(a=e-(s-o)*t)&&a<=n)),a}))}function gr(t,e,o,i,r){var n=o[0];if(!(yr(t,e,n,i,r)||lr(t,e,n,i,r[0],r[1])||lr(t,e,n,i,r[0],r[3])||lr(t,e,n,i,r[2],r[1])||lr(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(function(e,o,i,r,t){return!J(t,function(t){return!lr(e,o,i,r,t[0],t[1])})}(t,o[e-1],o[e],i,r))return!1;return!0}function dr(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],r=r+(a-n)*(p+s),n=a,s=p;return 0<r}function vr(t,e,o,i){var r=0;i=void 0!==i&&i;for(var n=0,s=e.length;n<s;++n){var a=e[n],r=dr(t,r,a,o);if(n){if(i&&!r||!i&&r)return}else if(i&&r||!i&&!r)return;r=a}return 1}function br(t,e,o,i,r){r=void 0!==r&&r;for(var n=0,s=o.length;n<s;++n){var a=o[n],p=dr(t,e,a,i);if(n?r&&!p||!r&&p:r&&p||!r&&!p)for(var p=t,h=a,l=i;e<h-l;){for(var u=0;u<l;++u){var c=p[e+u];p[e+u]=p[h-l+u],p[h-l+u]=c}e+=l,h-=l}e=a}return e}function mr(t,e,o,i){for(var r=0,n=0,s=e.length;n<s;++n)r=br(t,r,e[n],o,i);return r}function wr(t,e){Wi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function xr(t){var e;return t.u!=t.i&&(e=tt(t.G()),t.D=cr(t.ec(),0,t.c,t.a,e,0),t.u=t.i),t.D}function Sr(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)c(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new wr(null)).ba("XY",i,[i.length]),t}function Mr(t){var e=t[0],o=t[1],i=t[2],e=[e,o,e,t=t[3],i,t,i,o,e,o];return(o=new wr(null)).ba("XY",e,[e.length]),o}function Pr(t,e,o){for(var i=e||32,r=t.qa(),n=new wr(null,e=t.ja),i=r*(i+1),r=Array(i),s=0;s<i;s++)r[s]=0;return n.ba(e,r,[r.length]),Ar(n,t.wa(),t.pd(),o),n}function Ar(t,e,o,i){var r=t.ga(),n=t.ja,s=t.qa(),a=t.Bb(),p=r.length/s-1;i=i||0;for(var h,l,u=0;u<=p;++u)l=u*s,h=i+2*L(u,p)*Math.PI/p,r[l]=e[0]+o*Math.cos(h),r[1+l]=e[1]+o*Math.sin(h);t.ba(n,r,a)}function Er(t){Le.call(this),t=ut({},t),this.o=[0,0],this.c=[],this.wf=this.wf.bind(this),this.v=Gt(t.projection),Tr(this,t)}function Tr(t,e){var o={};o.center=void 0!==e.center?e.center:null;var i,r,n,s,a,p,h,l,u,c,f,y,g=void 0!==e.minZoom?e.minZoom:0,d=void 0!==e.maxZoom?e.maxZoom:28,v=void 0!==e.zoomFactor?e.zoomFactor:2,d=void 0!==e.resolutions?(s=(d=e.resolutions)[0],i=d[d.length-1],l=d,function(t,e,o){if(void 0!==t)return(t=x((t=b(l,t,o))+e,0,l.length-1))!=(e=Math.floor(t))&&e<l.length-1?l[e]/Math.pow(l[e]/l[e+1],t-e):l[e]}):(n=(r=((i=(s=Gt(e.projection)).G())?Math.max(st(i),ot(i)):360*vt.degrees/s.sc())/256/Math.pow(2,0))/Math.pow(2,28),void 0!==(s=e.maxResolution)?g=0:s=r/Math.pow(v,g),void 0===(i=e.minResolution)&&(i=void 0!==e.maxZoom?void 0!==e.maxResolution?s/Math.pow(v,d):r/Math.pow(v,d):n),d=g+Math.floor(Math.log(s/i)/Math.log(v)),i=s/Math.pow(v,d-g),a=v,p=s,h=d-g,function(t,e,o){if(void 0!==t)return t=Math.max(Math.floor(Math.log(p/t)/Math.log(a)+(-o/2+.5))+e,0),void 0!==h&&(t=Math.min(t,h)),p/Math.pow(a,t)});t.a=s,t.f=i,t.C=v,t.j=e.resolutions,t.l=g,g=void 0===e.enableRotation||e.enableRotation?void 0===(g=e.constrainRotation)||!0===g?(f=M(5),function(t,e){if(void 0!==t)return Math.abs(t+e)<=f?0:t+e}):!1!==g&&"number"==typeof g?(u=g,c=2*Math.PI/u,function(t,e){if(void 0!==t)return Math.floor((t+e)/c+.5)*c}):Pi:Mi,t.g={center:void 0!==e.extent?(y=e.extent,function(t){if(t)return[x(t[0],y[0],y[2]),x(t[1],y[1],y[3])]}):ce,resolution:d,rotation:g},void 0!==e.resolution?o.resolution=e.resolution:void 0!==e.zoom&&(o.resolution=t.constrainResolution(t.a,e.zoom-t.l)),o.rotation=void 0!==e.rotation?e.rotation:0,t.H(o),t.D=e}function jr(t,e){var o=ut({},t.D);return void 0!==o.resolution?o.resolution=t.Pa():o.zoom=t.Hh(),o.center=t.wa(),o.rotation=t.Qa(),ut({},o,e)}function Cr(t,e,o){var i,r=t.wa();return void 0!==r&&(Ii(i=[r[0]-o[0],r[1]-o[1]],e-t.Qa()),Ti(i,o)),i}function Lr(t,e,o){var i,r=t.wa();return t=t.Pa(),void 0!==r&&void 0!==t&&(i=[o[0]-e*(o[0]-r[0])/t,o[1]-e*(o[1]-r[1])/t]),i}function Rr(t){var e=[100,100];return t='.ol-viewport[data-view="'+B(t)+'"]',(t=document.querySelector(t))&&(t=getComputedStyle(t),e[0]=parseInt(t.width,10),e[1]=parseInt(t.height,10)),e}function Ir(t,e){return void 0!==e?(e[0]=t.o[0],e[1]=t.o[1],e):t.o.slice()}function Nr(t){return t.wa()&&void 0!==t.Pa()}function Fr(t,e,o){t.o[e]+=o,t.s()}function kr(t,e,o){this.f=t,this.c=e,this.g=o,this.b=[],this.a=this.i=0}function Dr(t){t.b.length=0,t.i=0,t.a=0}function Or(t){Le.call(this),this.v=null,this.Ha(!0),this.handleEvent=t.handleEvent}function Ur(t,e,o,i){var r,n;void 0!==e&&(r=t.Qa(),n=t.wa(),void 0!==r&&n&&0<i?t.animate({rotation:e,anchor:o,duration:i,easing:io}):t.rotate(e,o))}function Gr(t,e,o,i){var r,n=t.Pa();e=t.constrainResolution(n,e,0),o&&void 0!==e&&e!==n&&(r=t.wa(),o=Lr(t,e,o),o=t.Ec(o),o=[(e*r[0]-n*o[0])/(e-n),(e*r[1]-n*o[1])/(e-n)]),Br(t,e,o,i)}function Br(t,e,o,i){var r,n;e&&(r=t.Pa(),n=t.wa(),void 0!==r&&n&&e!==r&&i?t.animate({resolution:e,anchor:o,duration:i,easing:io}):(o&&(o=Lr(t,e,o),t.ob(o)),t.Vc(e)))}function Xr(t){t=t||{},this.a=t.delta?t.delta:1,Or.call(this,{handleEvent:Vr}),this.g=void 0!==t.duration?t.duration:250}function Vr(t){var e=!1,o=t.originalEvent;return"dblclick"==t.type&&(e=t.coordinate,o=o.shiftKey?-this.a:this.a,Gr(t.map.Z(),o,e,this.g),t.preventDefault(),e=!0),!e}function Wr(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function Zr(t){return!((t=t.originalEvent).button||Ro&&Io&&t.ctrlKey)}function Kr(t){return"pointermove"==t.type}function zr(t){return"singleclick"==t.type}function Yr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function Hr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function qr(t){return"INPUT"!==(t=t.originalEvent.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function Jr(t){return X(t.b,56),"mouse"==t.b.pointerType}function _r(t){return(t=t.b).isPrimary&&0===t.button}function $r(t){Or.call(this,{handleEvent:(t=t||{}).handleEvent?t.handleEvent:tn}),this.yf=t.handleDownEvent?t.handleDownEvent:Gi,this.If=t.handleDragEvent?t.handleDragEvent:w,this.Jf=t.handleMoveEvent?t.handleMoveEvent:w,this.sk=t.handleUpEvent?t.handleUpEvent:Gi,this.D=!1,this.na={},this.o=[]}function Qr(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++)o+=t[r].clientX,i+=t[r].clientY;return[o/e,i/e]}function tn(t){if(!(t instanceof Ko))return!0;var e=!1,o=t.type;return"pointerdown"!==o&&"pointerdrag"!==o&&"pointerup"!==o||(o=t.b,"pointerup"==t.type?delete this.na[o.pointerId]:("pointerdown"==t.type||o.pointerId in this.na)&&(this.na[o.pointerId]=o),this.o=ft(this.na)),this.D?"pointerdrag"==t.type?this.If(t):"pointerup"==t.type&&(this.D=this.sk(t)&&0<this.o.length):"pointerdown"==t.type?(this.D=t=this.yf(t),e=this.Xc(t)):"pointermove"==t.type&&this.Jf(t),!e}function en(t){$r.call(this,{handleDownEvent:nn,handleDragEvent:on,handleUpEvent:rn}),t=t||{},this.a=t.kinetic,this.g=null,this.u=t.condition?t.condition:Yr,this.j=!1}function on(t){var e,o,i=this.o,r=Qr(i);i.length==this.l?(this.a&&this.a.b.push(r[0],r[1],Date.now()),this.g&&(Ni(o=[o=this.g[0]-r[0],r[1]-this.g[1]],(e=(t=t.map.Z()).getState()).resolution),Ii(o,e.rotation),Ti(o,e.center),o=t.Ec(o),t.ob(o))):this.a&&Dr(this.a),this.g=r,this.l=i.length}function rn(t){var e,o,i,r=t.map;return t=r.Z(),this.o.length?(this.a&&Dr(this.a),!(this.g=null)):(!this.j&&this.a&&function(t){if(!(t.b.length<6)){var e=Date.now()-t.g,o=t.b.length-3;if(!(t.b[2+o]<e)){for(var i=o-3;0<i&&t.b[i+2]>e;)i-=3;if(!((e=t.b[2+o]-t.b[i+2])<1e3/60)){var r=t.b[o]-t.b[i],o=t.b[1+o]-t.b[i+1];return t.i=Math.atan2(o,r),t.a=Math.sqrt(r*r+o*o)/e,t.a>t.c}}}}(this.a)&&(e=((e=this.a).c-e.a)/e.f,o=this.a.i,i=t.wa(),i=r.Ja(i),r=r.Wa([i[0]-e*Math.cos(o),i[1]-e*Math.sin(o)]),t.animate({center:t.Ec(r),duration:500,easing:io})),Fr(t,1,-1),!1)}function nn(t){if(0<this.o.length&&this.u(t)){var e=t.map.Z();return this.g=null,this.D||Fr(e,1,1),Ir(e)[0]&&e.ob(t.frameState.viewState.center),this.a&&Dr(this.a),this.j=1<this.o.length,!0}return!1}function sn(t){t=t||{},$r.call(this,{handleDownEvent:hn,handleDragEvent:an,handleUpEvent:pn}),this.g=t.condition?t.condition:Wr,this.a=void 0,this.j=void 0!==t.duration?t.duration:250}function an(t){var e,o,i;!Jr(t)||(e=(o=t.map).Z()).g.rotation!==Mi&&(o=o.Ob(),t=t.pixel,t=Math.atan2(o[1]/2-t[1],t[0]-o[0]/2),void 0!==this.a&&(o=t-this.a,i=e.Qa(),Ur(e,i-o)),this.a=t)}function pn(t){if(!Jr(t))return!0;Fr(t=t.map.Z(),1,-1);var e=t.Qa(),o=this.j,e=t.constrainRotation(e,0);return Ur(t,e,void 0,o),!1}function hn(t){return!!(Jr(t)&&Zr(t)&&this.g(t))&&(Fr(t.map.Z(),1,1),!(this.a=void 0))}function ln(t){this.Gc=null,this.a=document.createElement("div"),this.a.style.position="absolute",this.a.className="ol-box "+t,this.i=this.c=this.b=null}function un(t){var e=t.c,o=t.i;(t=t.a.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function cn(t){var e=t.c,o=t.i;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.b.Wa,t.b))[4]=e[0].slice(),t.Gc?t.Gc.ma([e]):t.Gc=new wr([e])}function fn(t){$r.call(this,{handleDownEvent:vn,handleDragEvent:gn,handleUpEvent:dn}),t=t||{},this.a=new ln(t.className||"ol-dragbox"),this.u=void 0!==t.minArea?t.minArea:64,this.g=null,this.C=t.condition?t.condition:Ui,this.l=t.boxEndCondition?t.boxEndCondition:yn}function yn(t,e,o){return(t=o[0]-e[0])*t+(e=o[1]-e[1])*e>=this.u}function gn(t){var e,o;Jr(t)&&(e=this.a,o=t.pixel,e.c=this.g,e.i=o,cn(e),un(e),this.b(new xn(mn,t.coordinate,t)))}function dn(t){return!Jr(t)||(this.a.setMap(null),this.l(t,this.g,t.pixel)&&(this.j(t),this.b(new xn(wn,t.coordinate,t))),!1)}function vn(t){if(Jr(t)&&Zr(t)&&this.C(t)){this.g=t.pixel,this.a.setMap(t.map);var e=this.a,o=this.g;return e.c=this.g,e.i=o,cn(e),un(e),this.b(new xn(bn,t.coordinate,t)),!0}return!1}i(fi,Te),(Eu=fi.prototype).Jh=function(t){yi(this,t);var e,o,i,r=new Ko("pointerup",this.i,t);this.b(r),this.o||t.button||(o=(e=this).c,i=new Ko("click",e.i,o),e.b(i),e.j?(clearTimeout(e.j),e.j=0,i=new Ko("dblclick",e.i,o),e.b(i)):e.j=setTimeout(function(){this.j=0;var t=new Ko("singleclick",this.i,o);this.b(t)}.bind(e),250)),this.S||(this.f.forEach(xe),this.f.length=0,this.o=!1,this.c=null,Pe(this.a),this.a=null)},Eu.Ol=function(t){yi(this,t);var e=new Ko("pointerdown",this.i,t);this.b(e),this.c=t,this.f.length||(this.a=new ri(document),this.f.push(be(this.a,"pointermove",this.Hm,this),be(this.a,"pointerup",this.Jh,this),be(this.g,"pointercancel",this.Jh,this)))},Eu.Hm=function(t){var e;gi(this,t)&&(this.o=!0,e=new Ko("pointerdrag",this.i,t,this.o),this.b(e)),t.preventDefault()},Eu.Lp=function(t){this.b(new Ko(t.type,this.i,t,!(!this.c||!gi(this,t))))},Eu.ka=function(){this.v&&(xe(this.v),this.v=null),this.l&&(xe(this.l),this.l=null),this.f.forEach(xe),this.f.length=0,this.a&&(Pe(this.a),this.a=null),this.g&&(Pe(this.g),this.g=null),Te.prototype.ka.call(this)},di.prototype.clear=function(){this.b.length=0,this.i.length=0,ct(this.a)},di.prototype.f=function(t){X(!(this.c(t)in this.a),31);var e=this.l(t);return 1/0!=e&&(this.b.push(t),this.i.push(e),this.a[this.c(t)]=!0,mi(this,0,this.b.length-1),!0)},i(xi,di),xi.prototype.f=function(t){var e=di.prototype.f.call(this,t);return e&&be(t[0],"change",this.o,this),e},xi.prototype.o=function(t){var e=(t=t.target).getState();2!==e&&3!==e&&4!==e&&5!==e||(we(t,"change",this.o,this),(t=t.bb())in this.g&&(delete this.g[t],--this.j),this.v())},i(Bi,Le),(Eu=Bi.prototype).Ab=function(t,e){return e=e||[NaN,NaN],this.Kb(t[0],t[1],e,1/0),e},Eu.sb=function(t){return this.Mc(t[0],t[1])},Eu.Mc=Gi,Eu.G=function(t){this.v!=this.i&&(this.l=this.se(this.l),this.v=this.i);var e=this.l;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},Eu.Rb=function(t){return this.Vd(t*t)},Eu.tb=function(t,e){return this.Dc(Zt(t,e)),this},i(Wi,Bi),(Eu=Wi.prototype).Mc=Gi,Eu.se=function(t){return K(this.A,0,this.A.length,this.a,t)},Eu.ac=function(){return this.A.slice(0,this.a)},Eu.ga=function(){return this.A},Eu.bc=function(){return this.A.slice(this.A.length-this.a)},Eu.cc=function(){return this.ja},Eu.Vd=function(t){if(this.o!=this.i&&(ct(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<=this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o=this.hd(t);return o.ga().length<this.A.length?this.f[e]=o:(this.g=t,this)},Eu.hd=function(){return this},Eu.qa=function(){return this.a},Eu.Dc=function(t){this.A&&(t(this.A,this.A,this.a),this.s())},Eu.rotate=function(t,e){var o=this.ga();if(o){var i=o.length,r=this.qa(),n=o||[],s=Math.cos(t);t=Math.sin(t);var a=e[0];e=e[1];for(var p=0,h=0;h<i;h+=r){var l=o[h]-a,u=o[h+1]-e;for(n[p++]=a+l*s-u*t,n[p++]=e+l*t+u*s,l=h+2;l<h+r;++l)n[p++]=o[l]}o&&n.length!=p&&(n.length=p),this.s()}},Eu.scale=function(t,e,o){var i=e;if(void 0===i&&(i=t),a=(a=o)||tt(this.G()),o=this.ga()){e=o.length;for(var r=this.qa(),n=o||[],s=a[0],a=a[1],p=0,h=0;h<e;h+=r){var l=o[h]-s,u=o[h+1]-a;for(n[p++]=s+t*l,n[p++]=a+i*u,l=h+2;l<h+r;++l)n[p++]=o[l]}o&&n.length!=p&&(n.length=p),this.s()}},Eu.translate=function(t,e){var o=this.ga();o&&(Vi(o,0,o.length,this.qa(),t,e,o),this.s())},i(ar,Wi),(Eu=ar.prototype).clone=function(){var t=new ar(null);return pr(t,this.ja,this.A.slice()),t},Eu.Kb=function(t,e,o,i){return i<j(this.G(),t,e)?i:(this.c!=this.i&&(this.j=Math.sqrt(Ji(this.A,0,this.A.length,this.a,0)),this.c=this.i),$i(this.A,0,this.A.length,this.a,this.j,!0,t,e,o,i))},Eu.qn=function(){return Yi(this.A,0,this.A.length,this.a)},Eu.X=function(){return ir(this.A,0,this.A.length,this.a)},Eu.hd=function(t){var e=[];return e.length=nr(this.A,0,this.A.length,this.a,t,e,0),pr(t=new ar(null),"XY",e),t},Eu.U=function(){return"LinearRing"},Eu.Xa=function(){},Eu.ma=function(t,e){t?(zi(this,e,t,1),this.A||(this.A=[]),this.A.length=er(this.A,0,t,this.a),this.s()):pr(this,"XY",null)},i(hr,Wi),(Eu=hr.prototype).clone=function(){var t=new hr(null);return t.ba(this.ja,this.A.slice()),t},Eu.Kb=function(t,e,o,i){var r=this.A;if((t=y(t,e,r[0],r[1]))<i){for(i=this.a,e=0;e<i;++e)o[e]=r[e];return o.length=i,t}return i},Eu.X=function(){return this.A?this.A.slice():[]},Eu.se=function(t){return O(this.A,t)},Eu.U=function(){return"Point"},Eu.Xa=function(t){return I(t,this.A[0],this.A[1])},Eu.ma=function(t,e){t?(zi(this,e,t,0),this.A||(this.A=[]),this.A.length=tr(this.A,t),this.s()):this.ba("XY",null)},Eu.ba=function(t,e){Ki(this,t,e),this.s()},i(wr,Wi),(Eu=wr.prototype).pk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},Eu.clone=function(){var t=new wr(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},Eu.Kb=function(t,e,o,i){return i<j(this.G(),t,e)?i:(this.C!=this.i&&(this.B=Math.sqrt(_i(this.A,0,this.c,this.a,0)),this.C=this.i),Qi(this.A,0,this.c,this.a,this.B,!0,t,e,o,i))},Eu.Mc=function(t,e){return ur(this.ec(),0,this.c,this.a,t,e)},Eu.tn=function(){return Hi(this.ec(),0,this.c,this.a)},Eu.X=function(t){var e;return void 0!==t?br(e=this.ec().slice(),0,this.c,this.a,t):e=this.A,rr(e,0,this.c,this.a)},Eu.Bb=function(){return this.c},Eu.Tk=function(){return new hr(xr(this))},Eu.Zk=function(){return this.c.length},Eu.Ch=function(t){if(t<0||this.c.length<=t)return null;var e=new ar(null);return pr(e,this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},Eu.Sd=function(){for(var t=this.ja,e=this.A,o=this.c,i=[],r=0,n=0,s=o.length;n<s;++n){var a=o[n],p=new ar(null);pr(p,t,e.slice(r,a)),i.push(p),r=a}return i},Eu.ec=function(){var t;return this.I!=this.i&&(vr(t=this.A,this.c,this.a)?this.j=t:(this.j=t.slice(),this.j.length=br(this.j,0,this.c,this.a)),this.I=this.i),this.j},Eu.hd=function(t){var e=[],o=[];return e.length=sr(this.A,0,this.c,this.a,Math.sqrt(t),e,0,o),(t=new wr(null)).ba("XY",e,o),t},Eu.U=function(){return"Polygon"},Eu.Xa=function(t){return gr(this.ec(),0,this.c,this.a,t)},Eu.ma=function(t,e){t?(zi(this,e,t,2),this.A||(this.A=[]),t=or(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},Eu.ba=function(t,e,o){Ki(this,t,e),this.c=o,this.s()},i(Er,Le),(Eu=Er.prototype).animate=function(t){var e,o=Date.now(),i=this.wa().slice(),r=this.Pa(),n=this.Qa(),s=arguments.length;1<s&&"function"==typeof arguments[s-1]&&(e=arguments[s-1],--s);for(var a=[],p=0;p<s;++p){var h=arguments[p],l={start:o,complete:!1,anchor:h.anchor,duration:void 0!==h.duration?h.duration:1e3,easing:h.easing||ro};h.center&&(l.Rg=i,l.Tg=h.center,i=l.Tg),void 0!==h.zoom?(l.tf=r,l.zd=this.constrainResolution(this.a,h.zoom-this.l,0),r=l.zd):h.resolution&&(l.tf=r,l.zd=h.resolution,r=l.zd),void 0!==h.rotation&&(l.Sg=n,l.uf=h.rotation,n=l.uf),l.callback=e,o+=l.duration,a.push(l)}this.c.push(a),Fr(this,0,1),this.wf()},Eu.Ic=function(){return 0<Ir(this)[0]},Eu.Rk=function(){return 0<Ir(this)[1]},Eu.ed=function(){Fr(this,0,-Ir(this)[0]);for(var t=0,e=this.c.length;t<e;++t){var o=this.c[t];o[0].callback&&o[0].callback(!1)}this.c.length=0},Eu.wf=function(){if(void 0!==this.u&&(cancelAnimationFrame(this.u),this.u=void 0),this.Ic()){for(var t=Date.now(),e=!1,o=this.c.length-1;0<=o;--o){for(var i=this.c[o],r=!0,n=0,s=i.length;n<s;++n){var a=i[n];if(!a.complete){var p,h,e=t-a.start;if(1<=(e=0<a.duration?e/a.duration:1)?(a.complete=!0,e=1):r=!1,e=a.easing(e),a.Rg&&(p=a.Rg[0],h=a.Rg[1],this.set("center",[p+e*(a.Tg[0]-p),h+e*(a.Tg[1]-h)])),a.tf&&a.zd&&(p=1===e?a.zd:a.tf+e*(a.zd-a.tf),a.anchor&&this.set("center",Lr(this,p,a.anchor)),this.set("resolution",p)),void 0!==a.Sg&&void 0!==a.uf&&(e=1===e?a.uf:a.Sg+e*(a.uf-a.Sg),a.anchor&&this.set("center",Cr(this,e,a.anchor)),this.set("rotation",e)),e=!0,!a.complete)break}}r&&(this.c[o]=null,Fr(this,0,-1),(i=i[0].callback)&&i(!0))}this.c=this.c.filter(Boolean),e&&void 0===this.u&&(this.u=requestAnimationFrame(this.wf))}},Eu.Ec=function(t){return this.g.center(t)},Eu.constrainResolution=function(t,e,o){return this.g.resolution(t,e||0,o||0)},Eu.constrainRotation=function(t,e){return this.g.rotation(t,e||0)},Eu.wa=function(){return this.get("center")},Eu.dd=function(t){t=t||Rr(this);var e=this.wa();X(e,1);var o=this.Pa();X(void 0!==o,2);var i=this.Qa();return X(void 0!==i,3),et(e,o,i,t)},Eu.Nm=function(){return this.a},Eu.Pm=function(){return this.f},Eu.Om=function(){return this.Ce(this.f)},Eu.eq=function(t){Tr(this,jr(this,{maxZoom:t}))},Eu.Qm=function(){return this.Ce(this.a)},Eu.fq=function(t){Tr(this,jr(this,{minZoom:t}))},Eu.Rm=function(){return this.v},Eu.Pa=function(){return this.get("resolution")},Eu.Sm=function(){return this.j},Eu.ze=function(t,e){return e=e||Rr(this),Math.max(st(t)/e[0],ot(t)/e[1])},Eu.Qa=function(){return this.get("rotation")},Eu.getState=function(){var t=this.wa(),e=this.v,o=this.Pa(),i=this.Qa();return{center:t.slice(),projection:void 0!==e?e:null,resolution:o,rotation:i}},Eu.Hh=function(){var t,e=this.Pa();return void 0!==e&&(t=this.Ce(e)),t},Eu.Ce=function(t){if(t>=this.f&&t<=this.a){var e=this.l||0;if(this.j){if(e+=i=b(this.j,t,1),i==this.j.length-1)return e;var o=this.j[i],i=o/this.j[i+1]}else o=this.a,i=this.C;e+=Math.log(o/t)/Math.log(i)}return e},Eu.Qf=function(t,e){var o=(o=(e=e||{}).size)||Rr(this);t instanceof Wi?"Circle"===t.U()?(f=Mr(t=t.G())).rotate(this.Qa(),tt(t)):f=t:(X(Array.isArray(t),24),X(!pt(t),25),f=Mr(t));var i=e.padding?e.padding:[0,0,0,0],r=void 0===e.constrainResolution||e.constrainResolution,n=void 0!==e.nearest&&e.nearest,s=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.constrainResolution(this.a,e.maxZoom-this.l,0):0,a=f.ga(),p=this.Qa();t=Math.cos(-p);for(var p=Math.sin(-p),h=1/0,l=1/0,u=-1/0,c=-1/0,f=f.qa(),y=0,g=a.length;y<g;y+=f)var d=a[y]*t-a[y+1]*p,v=a[y]*p+a[y+1]*t,h=Math.min(h,d),l=Math.min(l,v),u=Math.max(u,d),c=Math.max(c,v);o=this.ze([h,l,u,c],[o[0]-i[1]-i[3],o[1]-i[0]-i[2]]),o=isNaN(o)?s:Math.max(o,s),r&&(s=this.constrainResolution(o,0,0),!n&&s<o&&(s=this.constrainResolution(s,-1,0)),o=s),p=-p,t=[(s=(h+u)/2+(i[1]-i[3])/2*o)*t-(i=(l+c)/2+(i[0]-i[2])/2*o)*p,i*t+s*p],i=e.callback?e.callback:w,void 0!==e.duration?this.animate({resolution:o,center:t,duration:e.duration,easing:e.easing},i):(this.Vc(o),this.ob(t),setTimeout(i.bind(void 0,!0),0))},Eu.uk=function(t,e,o){var i=this.Qa(),r=Math.cos(-i),i=Math.sin(-i),n=t[0]*r-t[1]*i;t=t[1]*r+t[0]*i;var s=this.Pa(),n=n+(e[0]/2-o[0])*s;t+=(o[1]-e[1]/2)*s,i=-i,this.ob([n*r-t*i,t*r+n*i])},Eu.rotate=function(t,e){void 0!==e&&(e=Cr(this,t,e),this.ob(e)),this.Oe(t)},Eu.ob=function(t){this.set("center",t),this.Ic()&&this.ed()},Eu.Vc=function(t){this.set("resolution",t),this.Ic()&&this.ed()},Eu.Oe=function(t){this.set("rotation",t),this.Ic()&&this.ed()},Eu.lq=function(t){t=this.constrainResolution(this.a,t-this.l,0),this.Vc(t)},i(Or,Le),Or.prototype.c=function(){return this.get("active")},Or.prototype.f=function(){return this.v},Or.prototype.Ha=function(t){this.set("active",t)},Or.prototype.setMap=function(t){this.v=t},i(Xr,Or),i($r,Or),$r.prototype.Xc=function(t){return t},i(en,$r),en.prototype.Xc=Gi,i(sn,$r),sn.prototype.Xc=Gi,i(ln,Me),ln.prototype.ka=function(){this.setMap(null)},ln.prototype.setMap=function(t){var e;this.b&&(this.b.C.removeChild(this.a),(e=this.a.style).left=e.top=e.width=e.height="inherit"),(this.b=t)&&this.b.C.appendChild(this.a)},ln.prototype.V=function(){return this.Gc},i(fn,$r),fn.prototype.V=function(){return this.a.V()},fn.prototype.j=w;var bn="boxstart",mn="boxdrag",wn="boxend";function xn(t,e,o){Ae.call(this,t),this.coordinate=e,this.mapBrowserEvent=o}function Sn(t){var e=(t=t||{}).condition?t.condition:Hr;this.B=void 0!==t.duration?t.duration:200,this.I=void 0!==t.out&&t.out,fn.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function Mn(t){Or.call(this,{handleEvent:Pn}),t=t||{},this.a=function(t){return Yr(t)&&qr(t)},this.g=t.condition?t.condition:this.a,this.j=void 0!==t.duration?t.duration:100,this.o=void 0!==t.pixelDelta?t.pixelDelta:128}function Pn(t){var e,o,i,r,n=!1;return"keydown"==t.type&&(e=t.originalEvent.keyCode,!this.g(t)||40!=e&&37!=e&&39!=e&&38!=e||(o=(n=t.map.Z()).Pa()*this.o,r=i=0,40==e?r=-o:37==e?i=-o:39==e?i=o:r=o,Ii(o=[i,r],n.Qa()),e=this.j,(i=n.wa())&&(o=n.Ec([i[0]+o[0],i[1]+o[1]]),e?n.animate({duration:e,easing:no,center:o}):n.ob(o)),t.preventDefault(),n=!0)),!n}function An(t){Or.call(this,{handleEvent:En}),t=t||{},this.g=t.condition?t.condition:qr,this.a=t.delta?t.delta:1,this.j=void 0!==t.duration?t.duration:100}function En(t){var e,o=!1;return"keydown"!=t.type&&"keypress"!=t.type||(e=t.originalEvent.charCode,!this.g(t)||43!=e&&45!=e||(o=43==e?this.a:-this.a,Gr(e=t.map.Z(),o,void 0,this.j),t.preventDefault(),o=!0)),!o}function Tn(t){Or.call(this,{handleEvent:jn}),t=t||{},this.j=0,this.D=void 0!==t.duration?t.duration:250,this.na=void 0!==t.timeout?t.timeout:80,this.C=void 0===t.useAnchor||t.useAnchor,this.R=t.constrainResolution||!1,this.a=null,this.l=this.o=this.u=this.g=void 0}function jn(t){if("wheel"!==(o=t.type)&&"mousewheel"!==o)return!0;t.preventDefault();var e,o=t.map,i=t.originalEvent;if(this.C&&(this.a=t.coordinate),"wheel"==t.type?(e=i.deltaY,Co&&i.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(e/=No),i.deltaMode===WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==t.type&&(e=-i.wheelDeltaY,Lo&&(e/=3)),0===e)return!1;if(t=Date.now(),void 0===this.g&&(this.g=t),(!this.o||400<t-this.g)&&(this.o=Math.abs(e)<4?Cn:Ln),this.o!==Cn)return this.j+=e,e=Math.max(this.na-(t-this.g),0),clearTimeout(this.u),this.u=setTimeout(this.I.bind(this,o),e),!1;o=o.Z(),this.l?clearTimeout(this.l):Fr(o,1,1),this.l=setTimeout(this.B.bind(this),400);var r,i=o.Pa()*Math.pow(2,e/300),n=o.f,s=o.a,a=0;return i<n?(i=Math.max(i,n/1.5),a=1):s<i&&(i=Math.min(i,1.5*s),a=-1),this.a&&(r=Lr(o,i,this.a),o.ob(o.Ec(r))),o.Vc(i),!a&&this.R&&o.animate({resolution:o.constrainResolution(i,0<e?-1:1),easing:io,anchor:this.a,duration:this.D}),0<a?o.animate({resolution:n,easing:io,anchor:this.a,duration:500}):a<0&&o.animate({resolution:s,easing:io,anchor:this.a,duration:500}),this.g=t,!1}i(xn,Ae),i(Sn,fn),Sn.prototype.j=function(){var t=(r=this.v).Z(),e=r.Ob(),o=this.V().G();if(this.I){for(var i=t.dd(e),o=[r.Ja($(o)),r.Ja(nt(o))],r=D(void 0),n=0,s=o.length;n<s;++n)H(r,o[n]);ht(i,1/(o=t.ze(r,e))),o=i}e=t.constrainResolution(t.ze(o,e)),i=tt(o),i=t.Ec(i),t.animate({resolution:e,center:i,duration:this.B,easing:io})},i(Mn,Or),i(An,Or),i(Tn,Or),Tn.prototype.B=function(){this.l=void 0,Fr(this.v.Z(),1,-1)},Tn.prototype.I=function(t){(t=t.Z()).Ic()&&t.ed(),Gr(t,-x(this.j,-1,1),this.a,this.D),this.o=void 0,this.j=0,this.a=null,this.u=this.g=void 0},Tn.prototype.T=function(t){(this.C=t)||(this.a=null)};var Cn="trackpad",Ln="wheel";function Rn(t){$r.call(this,{handleDownEvent:Fn,handleDragEvent:In,handleUpEvent:Nn}),t=t||{},this.g=null,this.j=void 0,this.a=!1,this.l=0,this.C=void 0!==t.threshold?t.threshold:.3,this.u=void 0!==t.duration?t.duration:250}function In(t){var e,o=0,i=this.o[0],r=this.o[1],i=Math.atan2(r.clientY-i.clientY,r.clientX-i.clientX);void 0!==this.j&&(o=i-this.j,this.l+=o,!this.a&&Math.abs(this.l)>this.C&&(this.a=!0)),this.j=i,(i=(t=t.map).Z()).g.rotation!==Mi&&(r=t.a.getBoundingClientRect(),(e=Qr(this.o))[0]-=r.left,e[1]-=r.top,this.g=t.Wa(e),this.a&&(r=i.Qa(),t.render(),Ur(i,r+o,this.g)))}function Nn(t){var e,o,i;return!(this.o.length<2)||(Fr(t=t.map.Z(),1,-1),this.a&&(i=t.Qa(),e=this.g,o=this.u,i=t.constrainRotation(i,0),Ur(t,i,e,o)),!1)}function Fn(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.j=void 0,this.a=!1,this.l=0,this.D||Fr(t.Z(),1,1),!0)}function kn(t){$r.call(this,{handleDownEvent:Un,handleDragEvent:Dn,handleUpEvent:On}),t=t||{},this.l=t.constrainResolution||!1,this.g=null,this.u=void 0!==t.duration?t.duration:400,this.a=void 0,this.j=1}function Dn(t){var e=1,o=this.o[0],i=this.o[1],r=o.clientX-i.clientX,o=o.clientY-i.clientY,r=Math.sqrt(r*r+o*o);void 0!==this.a&&(e=this.a/r),this.a=r;var i=(r=(t=t.map).Z()).Pa(),n=r.a,s=r.f;n<(o=i*e)?(e=n/i,o=n):o<s&&(e=s/i,o=s),1!=e&&(this.j=e),e=t.a.getBoundingClientRect(),(i=Qr(this.o))[0]-=e.left,i[1]-=e.top,this.g=t.Wa(i),t.render(),Br(r,o,this.g)}function On(t){if(this.o.length<2){Fr(t=t.map.Z(),1,-1);var e,o,i=t.Pa();return(this.l||i<t.f||i>t.a)&&(e=this.g,o=this.u,i=t.constrainResolution(i,0,this.j-1),Br(t,i,e,o)),!1}return!0}function Un(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.a=void 0,this.j=1,this.D||Fr(t.Z(),1,1),!0)}function Gn(t){t=t||{};var e=new ke,o=new kr(-.005,.05,100);return void 0!==t.altShiftDragRotate&&!t.altShiftDragRotate||e.push(new sn),void 0!==t.doubleClickZoom&&!t.doubleClickZoom||e.push(new Xr({delta:t.zoomDelta,duration:t.zoomDuration})),void 0!==t.dragPan&&!t.dragPan||e.push(new en({kinetic:o})),void 0!==t.pinchRotate&&!t.pinchRotate||e.push(new Rn),void 0!==t.pinchZoom&&!t.pinchZoom||e.push(new kn({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.keyboard&&!t.keyboard||(e.push(new Mn),e.push(new An({delta:t.zoomDelta,duration:t.zoomDuration}))),void 0!==t.mouseWheelZoom&&!t.mouseWheelZoom||e.push(new Tn({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.shiftDragZoom&&!t.shiftDragZoom||e.push(new Sn({duration:t.zoomDuration})),e}function Bn(t){Le.call(this);var e=ut({},t);e.opacity=void 0!==t.opacity?t.opacity:1,e.visible=void 0===t.visible||t.visible,e.zIndex=void 0!==t.zIndex?t.zIndex:0,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,this.H(e),this.a={layer:this,Je:!0}}function Xn(t){return t.a.opacity=x(t.hc(),0,1),t.a.yj=t.$f(),t.a.visible=t.Mb(),t.a.extent=t.G(),t.a.zIndex=t.Ba(),t.a.maxResolution=t.fc(),t.a.minResolution=Math.max(t.gc(),0),t.a}function Vn(t){var e=t||{};delete(t=ut({},e)).layers,e=e.layers,Bn.call(this,t),this.f=[],this.c={},be(this,Ie(Wn),this.Hl,this),e?Array.isArray(e)?e=new ke(e.slice(),{unique:!0}):X(e instanceof ke,43):e=new ke(void 0,{unique:!0}),this.xi(e)}i(Rn,$r),Rn.prototype.Xc=Gi,i(kn,$r),kn.prototype.Xc=Gi,i(Bn,Le),(Eu=Bn.prototype).G=function(){return this.get("extent")},Eu.fc=function(){return this.get("maxResolution")},Eu.gc=function(){return this.get("minResolution")},Eu.hc=function(){return this.get("opacity")},Eu.Mb=function(){return this.get("visible")},Eu.Ba=function(){return this.get("zIndex")},Eu.vc=function(t){this.set("extent",t)},Eu.Ac=function(t){this.set("maxResolution",t)},Eu.Bc=function(t){this.set("minResolution",t)},Eu.wc=function(t){this.set("opacity",t)},Eu.xc=function(t){this.set("visible",t)},Eu.Vb=function(t){this.set("zIndex",t)},i(Vn,Bn),(Eu=Vn.prototype).Fd=function(){},Eu.Fe=function(){this.Mb()&&this.s()},Eu.Hl=function(){this.f.forEach(xe),this.f.length=0;var t=this.qd();for(e in this.f.push(be(t,"add",this.Gl,this),be(t,"remove",this.Il,this)),this.c)this.c[e].forEach(xe);ct(this.c);for(var e=0,o=(t=t.a).length;e<o;e++){var i=t[e];this.c[B(i).toString()]=[be(i,"propertychange",this.Fe,this),be(i,"change",this.Fe,this)]}this.s()},Eu.Gl=function(t){var e=B(t=t.element).toString();this.c[e]=[be(t,"propertychange",this.Fe,this),be(t,"change",this.Fe,this)],this.s()},Eu.Il=function(t){t=B(t.element).toString(),this.c[t].forEach(xe),delete this.c[t],this.s()},Eu.qd=function(){return this.get(Wn)},Eu.xi=function(t){this.set(Wn,t)},Eu.Yf=function(t){var e,o=void 0!==t?t:[],i=o.length;for(this.qd().forEach(function(t){t.Yf(o)}),t=Xn(this),e=o.length;i<e;i++){var r=o[i];r.opacity*=t.opacity,r.visible=r.visible&&t.visible,r.maxResolution=Math.min(r.maxResolution,t.maxResolution),r.minResolution=Math.max(r.minResolution,t.minResolution),void 0!==t.extent&&(r.extent=void 0!==r.extent?it(r.extent,t.extent):t.extent)}return o},Eu.$f=function(){return"ready"};var Wn="layers";function Zn(t){var e=ut({},t);delete e.source,Bn.call(this,e),this.v=this.l=this.o=null,t.map&&this.setMap(t.map),be(this,Ie("source"),this.Ul,this),this.Wc(t.source?t.source:null)}function Kn(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function zn(){this.b={},this.a=0}i(Zn,Bn),(Eu=Zn.prototype).Yf=function(t){return(t=t||[]).push(Xn(this)),t},Eu.ha=function(){return this.get("source")||null},Eu.$f=function(){var t=this.ha();return t?t.getState():"undefined"},Eu.Tn=function(){this.s()},Eu.Ul=function(){this.v&&(xe(this.v),this.v=null);var t=this.ha();t&&(this.v=be(t,"change",this.Tn,this)),this.s()},Eu.setMap=function(t){this.o&&(xe(this.o),this.o=null),t||this.s(),this.l&&(xe(this.l),this.l=null),t&&(this.o=be(t,"precompose",function(t){var e=Xn(this);e.Je=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[B(this)]=e},this),this.l=be(this,"change",t.render,t),this.s())},Eu.Wc=function(t){this.set("source",t)},zn.prototype.clear=function(){this.b={},this.a=0},zn.prototype.get=function(t,e,o){return(t=e+":"+t+":"+(o?We(o):"null"))in this.b?this.b[t]:null},zn.prototype.set=function(t,e,o,i){this.b[e+":"+t+":"+(o?We(o):"null")]=i,++this.a};var Yn=new zn,Hn=Array(6);function qn(){return[1,0,0,1,0,0]}function Jn(t){return $n(t,1,0,0,1,0,0)}function _n(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],a=t[5],p=e[0],h=e[1],l=e[2],u=e[3],c=e[4];return e=e[5],t[0]=o*p+r*h,t[1]=i*p+n*h,t[2]=o*l+r*u,t[3]=i*l+n*u,t[4]=o*c+r*e+s,t[5]=i*c+n*e+a,t}function $n(t,e,o,i,r,n,s){return t[0]=e,t[1]=o,t[2]=i,t[3]=r,t[4]=n,t[5]=s,t}function Qn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ts(t,e){var o=e[0],i=e[1];return e[0]=t[0]*o+t[2]*i+t[4],e[1]=t[1]*o+t[3]*i+t[5],e}function es(t,e){var o=Math.cos(e);e=Math.sin(e),_n(t,$n(Hn,o,e,-e,o,0,0))}function os(t,e,o){return _n(t,$n(Hn,e,0,0,o,0,0))}function is(t,e,o){_n(t,$n(Hn,1,0,0,1,e,o))}function rs(t,e,o,i,r,n,s,a){var p=Math.sin(n);return n=Math.cos(n),t[0]=i*n,t[1]=r*p,t[2]=-i*p,t[3]=r*n,t[4]=s*i*n-a*i*p+e,t[5]=s*r*p+a*r*n+o,t}function ns(t){var e=t[0]*t[3]-t[1]*t[2];X(!!e,32);var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],a=t[5];return t[0]=n/e,t[1]=-i/e,t[2]=-r/e,t[3]=o/e,t[4]=(r*a-n*s)/e,t[5]=-(o*a-i*s)/e,t}function ss(t,e){this.o=e,this.c={},this.v={}}function as(t){var e=t.viewState,o=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;rs(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),ns(Qn(i,o))}function ps(){if(32<Yn.a){var t,e=0;for(t in Yn.b){var o=Yn.b[t];3&e++||je(o)||(delete Yn.b[t],--Yn.a)}}}function hs(t,e){var o=B(e).toString();return o in t.c?t.c[o]:(e=e.Fd(t),t.c[o]=e,t.v[o]=be(e,"change",t.Fl,t),e)}function ls(t,e){for(var o in t.c)if(!(o in e.layerStates)){e.postRenderFunctions.push(t.Rp.bind(t));break}}function us(t,e){return t.zIndex-e.zIndex}function cs(t,e,o,i,r){Ae.call(this,t),this.vectorContext=e,this.frameState=o,this.context=i,this.glContext=r}i(ss,Me),(Eu=ss.prototype).ka=function(){for(var t in this.c)Pe(this.c[t])},Eu.Ea=function(t,r,e,n,s,o,i){function a(t,e){var o=B(t).toString(),i=r.layerStates[B(e)].Je;if(!(o in r.skippedFeatureUids)||i)return n.call(s,t,i?e:null)}var p,h,l=(c=r.viewState).resolution,u=c.projection,c=t;for(u.i&&(h=st(u=u.G()),((y=t[0])<u[0]||y>u[2])&&(c=[y+h*Math.ceil((u[0]-y)/h),t[1]])),h=(u=r.layerStatesArray).length-1;0<=h;--h){var f=u[h],y=f.layer;if(Kn(f,l)&&o.call(i,y)&&(f=hs(this,y),y.ha()&&(p=f.Ea(y.ha().u?c:t,r,e,a,s)),p))return p}},Eu.Ei=function(t,e,o,i,r){return void 0!==this.Ea(t,e,o,Ui,this,i,r)},Eu.Fl=function(){this.o.render()},Eu.Jg=w,Eu.Rp=function(t,e){for(var o in this.c){var i;e&&o in e.layerStates||(t=o,i=this.c[t],delete this.c[t],xe(this.v[t]),delete this.v[t],Pe(i))}},i(cs,Ae);var fs=[0,0,0,1],ys=[],gs=[0,0,0,1];function ds(t,e,o,i){e&&(t.translate(o,i),t.rotate(e),t.translate(-o,-i))}function vs(){}function bs(t,e,o,i,r){this.i=t,this.u=e,this.c=o,this.S=i,this.Yb=r,this.M=this.b=this.a=this.Ua=this.R=this.I=null,this.na=this.T=this.l=this.B=this.C=this.D=0,this.fa=!1,this.f=this.fb=0,this.pa=!1,this.oa=0,this.Ia="",this.va=this.Jb=0,this.Sa=!1,this.j=this.$a=0,this.ra=this.o=this.g=null,this.v=[],this.xb=qn()}function ms(t,e,o){if(t.M){e=Xi(e,0,o,2,t.S,t.v),o=t.i;var i=t.xb,r=o.globalAlpha;1!=t.l&&(o.globalAlpha=r*t.l);var n=t.fb;t.fa&&(n+=t.Yb);for(var s=0,a=e.length;s<a;s+=2){var p,h,l=e[s]-t.D,u=e[s+1]-t.C;t.pa&&(l=Math.round(l),u=Math.round(u)),!n&&1==t.f||(rs(i,p=l+t.D,h=u+t.C,t.f,t.f,n,-p,-h),o.setTransform.apply(o,i)),o.drawImage(t.M,t.T,t.na,t.oa,t.B,l,u,t.oa,t.B)}!n&&1==t.f||o.setTransform(1,0,0,1,0,0),1!=t.l&&(o.globalAlpha=r)}}function ws(t,e,o,i){var r=0;if(t.ra&&""!==t.Ia){t.g&&Ms(t,t.g),t.o&&Ps(t,t.o);var n=t.ra,s=t.i;for((p=t.Ua)?(p.font!=n.font&&(p.font=s.font=n.font),p.textAlign!=n.textAlign&&(p.textAlign=s.textAlign=n.textAlign),p.textBaseline!=n.textBaseline&&(p.textBaseline=s.textBaseline=n.textBaseline)):(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline,t.Ua={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),e=Xi(e,r,o,i,t.S,t.v),n=t.i,s=t.$a,t.Sa&&(s+=t.Yb);r<o;r+=i){var a,p=e[r]+t.Jb,h=e[r+1]+t.va;!s&&1==t.j||(a=rs(t.xb,p,h,t.j,t.j,s,-p,-h),n.setTransform.apply(n,a)),t.o&&n.strokeText(t.Ia,p,h),t.g&&n.fillText(t.Ia,p,h)}!s&&1==t.j||n.setTransform(1,0,0,1,0,0)}}function xs(t,e,o,i,r,n){var s=t.i;for(t=Xi(e,o,i,r,t.S,t.v),s.moveTo(t[0],t[1]),e=t.length,n&&(e-=2),o=2;o<e;o+=2)s.lineTo(t[o],t[o+1]);return n&&s.closePath(),i}function Ss(t,e,o,i,r){for(var n=0,s=i.length;n<s;++n)o=xs(t,e,o,i[n],r,!0);return o}function Ms(t,e){var o=t.i,i=t.I;i?i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.I={fillStyle:e.fillStyle})}function Ps(t,e){var o=t.i,i=t.R;i?(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),Fo&&!U(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,Fo&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.R={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function As(t,e){ss.call(this,0,e),this.i=qe(),this.b=this.i.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.a=!0,this.f=qn()}function Es(t,e,o){var i,r,n,s,a,p=t.o,h=t.i;je(p,e)&&(i=o.extent,r=o.pixelRatio,n=o.viewState.rotation,s=o.viewState,a=o.pixelRatio/s.resolution,t=rs(t.f,t.b.width/2,t.b.height/2,a,-a,-s.rotation,-s.center[0],-s.center[1]),p.b(new cs(e,new bs(h,r,i,t,n),o,h,null)))}(Eu=vs.prototype).zb=function(){},Eu.rd=function(){},Eu.Zb=function(){},Eu.te=function(){},Eu.ue=function(){},Eu.mc=function(){},Eu.nc=function(){},Eu.oc=function(){},Eu.pc=function(){},Eu.qc=function(){},Eu.rc=function(){},Eu.yc=function(){},Eu.Ma=function(){},Eu.Ub=function(){},Eu.Cb=function(){},i(bs,vs),(Eu=bs.prototype).Zb=function(t){var e,o,i;at(this.c,t.G())&&((this.a||this.b)&&(this.a&&Ms(this,this.a),this.b&&Ps(this,this.b),e=this.S,o=this.v,o=(e=(i=t.ga())?Xi(i,0,i.length,t.qa(),e,o):null)[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),(i=this.i).beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),this.a&&i.fill(),this.b&&i.stroke()),""!==this.Ia&&ws(this,t.wa(),2,2))},Eu.rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y()),this.Cb(t.Na())},Eu.zb=function(t){switch(t.U()){case"Point":this.qc(t);break;case"LineString":this.mc(t);break;case"Polygon":this.rc(t);break;case"MultiPoint":this.oc(t);break;case"MultiLineString":this.nc(t);break;case"MultiPolygon":this.pc(t);break;case"GeometryCollection":this.ue(t);break;case"Circle":this.Zb(t)}},Eu.te=function(t,e){(t=(0,e.Za)(t))&&at(this.c,t.G())&&(this.rd(e),this.zb(t))},Eu.ue=function(t){for(var e=0,o=(t=t.a).length;e<o;++e)this.zb(t[e])},Eu.qc=function(t){var e=t.ga();t=t.qa(),this.M&&ms(this,e,e.length),""!==this.Ia&&ws(this,e,e.length,t)},Eu.oc=function(t){var e=t.ga();t=t.qa(),this.M&&ms(this,e,e.length),""!==this.Ia&&ws(this,e,e.length,t)},Eu.mc=function(t){var e,o;at(this.c,t.G())&&(this.b&&(Ps(this,this.b),e=this.i,o=t.ga(),e.beginPath(),xs(this,o,0,o.length,t.qa(),!1),e.stroke()),""!==this.Ia&&ws(this,t=cl(t),2,2))},Eu.nc=function(t){var e=t.G();if(at(this.c,e)){if(this.b){Ps(this,this.b);var e=this.i,o=t.ga(),i=0,r=t.Bb(),n=t.qa();e.beginPath();for(var s=0,a=r.length;s<a;++s)i=xs(this,o,i,r[s],n,!1);e.stroke()}""!==this.Ia&&ws(this,t=yl(t),t.length,2)}},Eu.rc=function(t){var e;at(this.c,t.G())&&((this.b||this.a)&&(this.a&&Ms(this,this.a),this.b&&Ps(this,this.b),(e=this.i).beginPath(),Ss(this,t.ec(),0,t.Bb(),t.qa()),this.a&&e.fill(),this.b&&e.stroke()),""!==this.Ia&&ws(this,t=xr(t),2,2))},Eu.pc=function(t){if(at(this.c,t.G())){if(this.b||this.a){this.a&&Ms(this,this.a),this.b&&Ps(this,this.b);var e=this.i,o=ml(t),i=0,r=t.c,n=t.qa();e.beginPath();for(var s=0,a=r.length;s<a;++s)i=Ss(this,o,i,r[s],n);this.a&&e.fill(),this.b&&e.stroke()}""!==this.Ia&&ws(this,t=bl(t),t.length,2)}},Eu.Ma=function(t,e){var o,i,r,n,s;t?(t=t.b,this.a={fillStyle:He(t||fs)}):this.a=null,e?(t=e.a,o=e.f,i=e.i,r=e.g,n=e.j,s=e.c,e=e.o,this.b={lineCap:void 0!==o?o:"round",lineDash:i||ys,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:this.u*(void 0!==s?s:1),miterLimit:void 0!==e?e:10,strokeStyle:He(t||gs)}):this.b=null},Eu.Ub=function(t){var e,o,i,r;t?(e=t.Hc(),o=t.Y(1),i=t.Oc(),r=t.ic(),this.D=e[0],this.C=e[1],this.B=r[1],this.M=o,this.l=t.f,this.T=i[0],this.na=i[1],this.fa=t.l,this.fb=t.g,this.f=t.a,this.pa=t.v,this.oa=r[0]):this.M=null},Eu.Cb=function(t){var e,o,i,r,n,s,a,p;t?((e=t.Fa())?(e=e.b,this.g={fillStyle:He(e||fs)}):this.g=null,(a=t.Ga())?(e=a.a,o=a.f,i=a.i,r=a.g,n=a.j,s=a.c,a=a.o,this.o={lineCap:void 0!==o?o:"round",lineDash:i||ys,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:void 0!==s?s:1,miterLimit:void 0!==a?a:10,strokeStyle:He(e||gs)}):this.o=null,e=t.a,o=t.i,i=t.c,r=t.o,n=t.f,s=t.b,a=t.Na(),p=t.g,t=t.j,this.ra={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==p?p:"center",textBaseline:void 0!==t?t:"middle"},this.Ia=void 0!==a?a:"",this.Jb=void 0!==o?this.u*o:0,this.va=void 0!==i?this.u*i:0,this.Sa=void 0!==r&&r,this.$a=void 0!==n?n:0,this.j=this.u*(void 0!==s?s:1)):this.Ia=""},i(As,ss),As.prototype.U=function(){return"canvas"},As.prototype.Jg=function(t){if(t){var e=this.i,o=t.pixelRatio,i=Math.round(t.size[0]*o),r=Math.round(t.size[1]*o);this.b.width!=i||this.b.height!=r?(this.b.width=i,this.b.height=r):e.clearRect(0,0,i,r),o=t.viewState.rotation,as(t),Es(this,"precompose",t);var n=t.layerStatesArray;h(n),o&&(e.save(),ds(e,o,i/2,r/2));for(var i=t.viewState.resolution,r=0,s=n.length;r<s;++r){var a=n[r],p=hs(this,p=a.layer);Kn(a,i)&&"ready"==a.yj&&p.sd(t,a)&&p.S(t,a,e)}o&&e.restore(),Es(this,"postcompose",t),this.a||(this.b.style.display="",this.a=!0),ls(this,t),t.postRenderFunctions.push(ps)}else this.a&&(this.b.style.display="none",this.a=!1)},As.prototype.Di=function(t,e,o,i,r,n){var s=e.viewState.resolution,a=e.layerStatesArray,p=a.length;for(t=ts(e.pixelToCoordinateTransform,t.slice()),--p;0<=p;--p){var h=a[p],l=h.layer;if(Kn(h,s)&&r.call(n,l)&&(h=hs(this,l).u(t,e,o,i)))return h}};var Ts=["Polygon","Circle","LineString","Image","Text"];function js(){}function Cs(t){this.b=t}function Ls(t){this.b=t}function Rs(t){this.b=t}function Is(){this.b="precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"}i(Ls,Cs),Ls.prototype.U=function(){return 35632},i(Rs,Cs),Rs.prototype.U=function(){return 35633},i(Is,Ls);var Ns=new Is;function Fs(){this.b="varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;if(f==0.0){offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}"}i(Fs,Rs);var ks=new Fs;function Ds(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"l"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"p"),this.R=t.getUniformLocation(e,"o"),this.j=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e"),this.S=t.getAttribLocation(e,"g")}function Os(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function Us(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}function Gs(t,e){this.origin=tt(e),this.xb=qn(),this.Sa=qn(),this.$a=qn(),this.Jb=Os(),this.b=[],this.o=null,this.i=[],this.f=[],this.a=[],this.l=null,this.g=void 0}function Bs(t,e,o,i){t.drawElements(4,i-o,e.g?5125:5123,o*(e.g?4:2))}i(Gs,vs),Gs.prototype.La=function(t,e,o,i,r,n,s,a,p,h,l){var u,c,f,y,g,d,v,b,m=t.b;this.g&&(u=m.isEnabled(m.STENCIL_TEST),c=m.getParameter(m.STENCIL_FUNC),f=m.getParameter(m.STENCIL_VALUE_MASK),y=m.getParameter(m.STENCIL_REF),g=m.getParameter(m.STENCIL_WRITEMASK),d=m.getParameter(m.STENCIL_FAIL),v=m.getParameter(m.STENCIL_PASS_DEPTH_PASS),b=m.getParameter(m.STENCIL_PASS_DEPTH_FAIL),m.enable(m.STENCIL_TEST),m.clear(m.STENCIL_BUFFER_BIT),m.stencilMask(255),m.stencilFunc(m.ALWAYS,1,255),m.stencilOp(m.KEEP,m.KEEP,m.REPLACE),this.g.La(t,e,o,i,r,n,s,a,p,h,l),m.stencilMask(0),m.stencilFunc(m.NOTEQUAL,1,255)),oa(t,34962,this.l),oa(t,34963,this.o),n=this.rf(m,t,r,n);var w,x=Jn(this.xb);return os(x,2/(o*r[0]),2/(o*r[1])),es(x,-i),is(x,-(e[0]-this.origin[0]),-(e[1]-this.origin[1])),os(e=Jn(this.$a),2/r[0],2/r[1]),r=Jn(this.Sa),i&&es(r,-i),m.uniformMatrix4fv(n.i,!1,Us(this.Jb,x)),m.uniformMatrix4fv(n.f,!1,Us(this.Jb,e)),m.uniformMatrix4fv(n.c,!1,Us(this.Jb,r)),m.uniform1f(n.a,s),p?w=t=h?this.ve(m,t,a,p,l):(m.clear(m.COLOR_BUFFER_BIT|m.DEPTH_BUFFER_BIT),this.Od(m,t,a,!0),(t=p(null))?t:void 0):this.Od(m,t,a,!1),this.sf(m,n),this.g&&(u||m.disable(m.STENCIL_TEST),m.clear(m.STENCIL_BUFFER_BIT),m.stencilFunc(c,y,f),m.stencilMask(g),m.stencilOp(d,b,v)),w};var Xs=[0,0,0,1],Vs=[],Ws=[0,0,0,1];function Zs(t,e,o,i,r,n){return(t=(o-t)*(n-e)-(r-t)*(i-e))<=Ks&&-Ks<=t?void 0:0<t}var Ks=Number.EPSILON||2220446049250313e-31;function zs(t){this.b=void 0!==t?t:[],this.a=Ys}var Ys=35044;function Hs(t,e){Gs.call(this,0,e),this.v=null,this.j=[],this.u=[],this.S=0,this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,s:!1}}function qs(t,e,o,i){e.uniform4fv(t.v.R,o),e.uniform1f(t.v.oa,i)}function Js(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(Hs,Gs),(Eu=Hs.prototype).Zb=function(t,e){var o=t.pd(),i=t.qa();if(o){this.i.push(this.b.length),this.f.push(e),this.c.s&&(this.u.push(this.b.length),this.c.s=!1),this.S=o,t=Vi(t=t.ga(),0,2,i,-this.origin[0],-this.origin[1]),e=this.a.length;for(var o=this.b.length,r=e/4,n=0;n<2;n+=i)this.a[e++]=t[n],this.a[e++]=t[n+1],this.a[e++]=0,this.a[e++]=this.S,this.a[e++]=t[n],this.a[e++]=t[n+1],this.a[e++]=1,this.a[e++]=this.S,this.a[e++]=t[n],this.a[e++]=t[n+1],this.a[e++]=2,this.a[e++]=this.S,this.a[e++]=t[n],this.a[e++]=t[n+1],this.a[e++]=3,this.a[e++]=this.S,this.b[o++]=r,this.b[o++]=r+1,this.b[o++]=r+2,this.b[o++]=r+2,this.b[o++]=r+3,this.b[o++]=r,r+=4}else this.c.s&&(this.j.pop(),this.j.length&&(i=this.j[this.j.length-1],this.c.fillColor=i[0],this.c.strokeColor=i[1],this.c.lineWidth=i[2],this.c.s=!1))},Eu.Db=function(){this.l=new zs(this.a),this.o=new zs(this.b),this.i.push(this.b.length),!this.u.length&&0<this.j.length&&(this.j=[]),this.b=this.a=null},Eu.Eb=function(t){var e=this.l,o=this.o;return function(){ia(t,e),ia(t,o)}},Eu.rf=function(t,e,o,i){var r,n=sa(e,Ns,ks);return this.v?r=this.v:this.v=r=new Ds(t,n),e.Qc(n),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,16,0),t.enableVertexAttribArray(r.j),t.vertexAttribPointer(r.j,1,5126,!1,16,8),t.enableVertexAttribArray(r.S),t.vertexAttribPointer(r.S,1,5126,!1,16,12),t.uniform2fv(r.I,o),t.uniform1f(r.ra,i),r},Eu.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.j),t.disableVertexAttribArray(e.S)},Eu.Od=function(t,e,o){if(yt(o)){var i=this.i[this.i.length-1];for(o=this.u.length-1;0<=o;--o){var r=this.u[o],n=this.j[o];t.uniform4fv(this.v.B,n[0]),qs(this,t,n[1],n[2]),Bs(t,e,r,i),i=r}}else for(var s=this.i.length-2,n=i=this.i[s+1],r=this.u.length-1;0<=r;--r){var a=this.j[r];for(t.uniform4fv(this.v.B,a[0]),qs(this,t,a[1],a[2]),a=this.u[r];0<=s&&this.i[s]>=a;){var p=this.i[s];o[B(this.f[s]).toString()]&&(i!==n&&Bs(t,e,i,n),n=p),s--,i=p}i!==n&&Bs(t,e,i,n),i=n=a}},Eu.ve=function(t,e,o,i,r){for(var n,s=this.i.length-2,a=this.i[s+1],p=this.u.length-1;0<=p;--p){var h=this.j[p];for(t.uniform4fv(this.v.B,h[0]),qs(this,t,h[1],h[2]),n=this.u[p];0<=s&&this.i[s]>=n;){h=this.i[s];var l=this.f[s];if(void 0===o[B(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bs(t,e,h,a),a=i(l)))return a;s--,a=h}}},Eu.Ma=function(t,e){var o;e=e?(o=e.i,this.c.lineDash=o||Vs,o=e.g,this.c.lineDashOffset=o||0,o=!((o=e.a)instanceof CanvasGradient||o instanceof CanvasPattern)&&Ve(o).map(function(t,e){return 3!=e?t/255:t})||Ws,void 0!==(e=e.c)?e:1):(o=[0,0,0,0],0),t=!((t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern)&&Ve(t).map(function(t,e){return 3!=e?t/255:t})||Xs,this.c.strokeColor&&U(this.c.strokeColor,o)&&this.c.fillColor&&U(this.c.fillColor,t)&&this.c.lineWidth===e||(this.c.s=!0,this.c.fillColor=t,this.c.strokeColor=o,this.c.lineWidth=e,this.j.push([t,o,e]))},i(Js,Ls);var _s=new Js;function $s(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}"}i($s,Rs);var Qs=new $s;function ta(t,e){this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"k"),this.i=t.getUniformLocation(e,"h"),this.v=t.getAttribLocation(e,"e"),this.u=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"c"),this.D=t.getAttribLocation(e,"g"),this.C=t.getAttribLocation(e,"d")}function ea(t,e){this.j=t,this.b=e,this.a={},this.c={},this.i={},this.l=this.v=this.f=this.o=null,(this.g=d(o,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),be(this.j,"webglcontextlost",this.Xo,this),be(this.j,"webglcontextrestored",this.Yo,this)}function oa(t,e,o){var i,r,n=t.b,s=o.b,a=String(B(o));a in t.a?n.bindBuffer(e,t.a[a].buffer):(i=n.createBuffer(),n.bindBuffer(e,i),34962==e?r=new Float32Array(s):34963==e&&(r=new(t.g?Uint32Array:Uint16Array)(s)),n.bufferData(e,r,o.a),t.a[a]={lc:o,buffer:i})}function ia(t,e){var o=t.b;e=String(B(e));var i=t.a[e];o.isContextLost()||o.deleteBuffer(i.buffer),delete t.a[e]}function ra(t){var e,o,i,r;return t.f||(o=(e=t.b).createFramebuffer(),e.bindFramebuffer(e.FRAMEBUFFER,o),i=pa(e,1,1),r=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,r),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,r),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.f=o,t.v=i,t.l=r),t.f}function na(t,e){var o=String(B(e));if(o in t.c)return t.c[o];var i=t.b,r=i.createShader(e.U());return i.shaderSource(r,e.b),i.compileShader(r),t.c[o]=r}function sa(t,e,o){var i=B(e)+"/"+B(o);if(i in t.i)return t.i[i];var r=t.b,n=r.createProgram();return r.attachShader(n,na(t,e)),r.attachShader(n,na(t,o)),r.linkProgram(n),t.i[i]=n}function aa(t,e,o){var i=t.createTexture();return t.bindTexture(t.TEXTURE_2D,i),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),i}function pa(t,e,o){var i=aa(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function ha(t,e){var o=aa(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function la(t,e){Gs.call(this,0,e),this.C=this.D=void 0,this.S=[],this.v=[],this.oa=void 0,this.j=[],this.c=[],this.I=this.ra=void 0,this.B=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.va=[],this.u=[],this.pa=void 0}function ua(t,e,o,i){for(var r=t.D,n=t.C,s=t.oa,a=t.ra,p=t.I,h=t.R,l=t.Ua,u=t.T,c=t.na?1:0,f=-t.fa,y=t.fb,g=t.pa,d=Math.cos(f),f=Math.sin(f),v=t.b.length,b=t.a.length,m=0;m<o;m+=i){var w=e[m]-t.origin[0],x=e[m+1]-t.origin[1],S=b/8,M=-y*r,P=-y*(s-n);t.a[b++]=w,t.a[b++]=x,t.a[b++]=M*d-P*f,t.a[b++]=M*f+P*d,t.a[b++]=l/p,t.a[b++]=(u+s)/a,t.a[b++]=h,t.a[b++]=c,M=y*(g-r),P=-y*(s-n),t.a[b++]=w,t.a[b++]=x,t.a[b++]=M*d-P*f,t.a[b++]=M*f+P*d,t.a[b++]=(l+g)/p,t.a[b++]=(u+s)/a,t.a[b++]=h,t.a[b++]=c,M=y*(g-r),P=y*n,t.a[b++]=w,t.a[b++]=x,t.a[b++]=M*d-P*f,t.a[b++]=M*f+P*d,t.a[b++]=(l+g)/p,t.a[b++]=u/a,t.a[b++]=h,t.a[b++]=c,M=-y*r,P=y*n,t.a[b++]=w,t.a[b++]=x,t.a[b++]=M*d-P*f,t.a[b++]=M*f+P*d,t.a[b++]=l/p,t.a[b++]=u/a,t.a[b++]=h,t.a[b++]=c,t.b[v++]=S,t.b[v++]=1+S,t.b[v++]=2+S,t.b[v++]=S,t.b[v++]=2+S,t.b[v++]=3+S}}function ca(t,e,o,i){for(var r=e.length,n=0;n<r;++n){var s=e[n],a=B(s).toString();a in o?s=o[a]:(s=ha(i,s),o[a]=s),t[n]=s}}function fa(t,e,o){var i=e-o;return t[0]===t[i]&&t[1]===t[1+i]&&3<e/o&&!!Yi(t,0,e,o)}function ya(){this.b="precision mediump float;varying float a;varying vec2 b;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((b.x+1.0)/2.0*o.x*p,(b.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(ea,Me),(Eu=ea.prototype).ka=function(){Se(this.j);var t=this.b;if(!t.isContextLost()){for(var e in this.a)t.deleteBuffer(this.a[e].buffer);for(e in this.i)t.deleteProgram(this.i[e]);for(e in this.c)t.deleteShader(this.c[e]);t.deleteFramebuffer(this.f),t.deleteRenderbuffer(this.l),t.deleteTexture(this.v)}},Eu.Wo=function(){return this.b},Eu.Xo=function(){ct(this.a),ct(this.c),ct(this.i),this.l=this.v=this.f=this.o=null},Eu.Yo=function(){},Eu.Qc=function(t){return t!=this.o&&(this.b.useProgram(t),this.o=t,!0)},i(la,Gs),(Eu=la.prototype).Eb=function(o){var i=this.l,r=this.o,n=this.va,s=this.u,a=o.b;return function(){if(!a.isContextLost()){for(var t=0,e=n.length;t<e;++t)a.deleteTexture(n[t]);for(t=0,e=s.length;t<e;++t)a.deleteTexture(s[t])}ia(o,i),ia(o,r)}},Eu.oc=function(t,e){this.i.push(this.b.length),this.f.push(e),ua(this,e=t.ga(),e.length,t.qa())},Eu.qc=function(t,e){this.i.push(this.b.length),this.f.push(e),ua(this,e=t.ga(),e.length,t.qa())},Eu.Db=function(t){t=t.b,this.S.push(this.b.length),this.v.push(this.b.length),this.l=new zs(this.a),this.o=new zs(this.b);var e={};ca(this.va,this.j,e,t),ca(this.u,this.c,e,t),this.oa=this.C=this.D=void 0,this.c=this.j=null,this.I=this.ra=void 0,this.b=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.a=null,this.pa=void 0},Eu.rf=function(t,e){var o,i=sa(e,_s,Qs);return this.B?o=this.B:this.B=o=new ta(t,i),e.Qc(i),t.enableVertexAttribArray(o.b),t.vertexAttribPointer(o.b,2,5126,!1,32,0),t.enableVertexAttribArray(o.v),t.vertexAttribPointer(o.v,2,5126,!1,32,8),t.enableVertexAttribArray(o.C),t.vertexAttribPointer(o.C,2,5126,!1,32,16),t.enableVertexAttribArray(o.u),t.vertexAttribPointer(o.u,1,5126,!1,32,24),t.enableVertexAttribArray(o.D),t.vertexAttribPointer(o.D,1,5126,!1,32,28),o},Eu.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.v),t.disableVertexAttribArray(e.C),t.disableVertexAttribArray(e.u),t.disableVertexAttribArray(e.D)},Eu.Od=function(t,e,o,i){var r=i?this.u:this.va;if(i=i?this.v:this.S,yt(o)){o=0;for(var n=r.length,s=0;o<n;++o){t.bindTexture(3553,r[o]);var a=i[o];Bs(t,e,s,a),s=a}}else for(s=n=0,a=r.length;s<a;++s){t.bindTexture(3553,r[s]);for(var p=0<s?i[s-1]:0,h=i[s],l=p;n<this.i.length&&this.i[n]<=h;){p=void 0!==o[B(this.f[n]).toString()]?(l!==p&&Bs(t,e,l,p),l=n===this.i.length-1?h:this.i[n+1]):n===this.i.length-1?h:this.i[n+1];n++}l!==p&&Bs(t,e,l,p)}},Eu.ve=function(t,e,o,i,r){for(var n=this.i.length-1,s=this.u.length-1;0<=s;--s){t.bindTexture(3553,this.u[s]);for(var a=0<s?this.v[s-1]:0,p=this.v[s];0<=n&&this.i[n]>=a;){var h=this.i[n],l=this.f[n];if(void 0===o[B(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bs(t,e,h,p),p=i(l)))return p;p=h,n--}}},Eu.Ub=function(t){var e=t.Hc(),o=t.Y(1),i=t.ye(),r=t.qg(1),n=t.f,s=t.Oc(),a=t.l,p=t.g,h=t.ic();t=t.a,this.j.length?B(this.j[this.j.length-1])!=B(o)&&(this.S.push(this.b.length),this.j.push(o)):this.j.push(o),this.c.length?B(this.c[this.c.length-1])!=B(r)&&(this.v.push(this.b.length),this.c.push(r)):this.c.push(r),this.D=e[0],this.C=e[1],this.oa=h[1],this.ra=i[1],this.I=i[0],this.R=n,this.Ua=s[0],this.T=s[1],this.fa=p,this.na=a,this.fb=t,this.pa=h[0]},i(ya,Ls);var ga=new ya;function da(){this.b="varying float a;varying vec2 b;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;b=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}"}i(da,Rs);var va=new da;function ba(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.R=t.getUniformLocation(e,"l"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"p"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"o"),this.g=t.getAttribLocation(e,"g"),this.o=t.getAttribLocation(e,"d"),this.l=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e")}function ma(t,e){Gs.call(this,0,e),this.v=null,this.u=[],this.j=[],this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}function wa(t,e,o,i){for(var r=t.a.length,n=t.b.length,s="bevel"===t.c.lineJoin?0:"miter"===t.c.lineJoin?1:2,a="butt"===t.c.lineCap?0:"square"===t.c.lineCap?1:2,p=fa(e,o,i),h=n,l=1,u=0;u<o;u+=i){var c,f=r/7,y=g,g=c||[e[u],e[u+1]];if(u){if(u===o-i){p?c=d:(r=xa(t,y=y||[0,0],g,[0,0],l*Ta*(a||1),r),r=xa(t,y,g,[0,0],-l*Ta*(a||1),r),t.b[n++]=f,t.b[n++]=h-1,t.b[n++]=h,t.b[n++]=h,t.b[n++]=f+1,t.b[n++]=f,a&&(r=xa(t,y,g,[0,0],l*Ca*a,r),r=xa(t,y,g,[0,0],-l*Ca*a,r),t.b[n++]=f+2,t.b[n++]=f,t.b[n++]=f+1,t.b[n++]=f+1,t.b[n++]=f+3,t.b[n++]=f+2));break}c=[e[u+i],e[u+i+1]]}else{if(c=[e[u+i],e[u+i+1]],+o==2*i&&U(g,c))break;if(!p){a&&(r=xa(t,[0,0],g,c,l*ja*a,r),r=xa(t,[0,0],g,c,-l*ja*a,r),t.b[n++]=f+2,t.b[n++]=f,t.b[n++]=f+1,t.b[n++]=f+1,t.b[n++]=f+3,t.b[n++]=f+2),r=xa(t,[0,0],g,c,l*Ea*(a||1),r),h=(r=xa(t,[0,0],g,c,-l*Ea*(a||1),r))/7-1;continue}y=[e[o-2*i],e[o-2*i+1]];var d=c}var v=Zs(y[0],y[1],g[0],g[1],c[0],c[1])?-1:1,r=xa(t,y,g,c,v*La*(s||1),r);r=xa(t,y,g,c,v*Ra*(s||1),r),r=xa(t,y,g,c,-v*Ia*(s||1),r),0<u&&(t.b[n++]=f,t.b[n++]=h-1,t.b[n++]=h,t.b[n++]=f+2,t.b[n++]=f,t.b[n++]=0<l*v?h:h-1),t.b[n++]=f,t.b[n++]=f+2,t.b[n++]=f+1,h=f+2,l=v,s&&(r=xa(t,y,g,c,v*Na*s,r),t.b[n++]=f+1,t.b[n++]=f+3,t.b[n++]=f)}p&&(f=f||r/7,r=xa(t,y,g,c,(v=dr([y[0],y[1],g[0],g[1],c[0],c[1]],0,6,2)?1:-1)*La*(s||1),r),xa(t,y,g,c,-v*Ia*(s||1),r),t.b[n++]=f,t.b[n++]=h-1,t.b[n++]=h,t.b[n++]=f+1,t.b[n++]=f,t.b[n++]=0<l*v?h:h-1)}function xa(t,e,o,i,r,n){return t.a[n++]=e[0],t.a[n++]=e[1],t.a[n++]=o[0],t.a[n++]=o[1],t.a[n++]=i[0],t.a[n++]=i[1],t.a[n++]=r,n}function Sa(t,e,o,i){return!((o-=e)<2*i)&&(o!==2*i||!U([t[e],t[e+1]],[t[e+i],t[e+i+1]]))}function Ma(t,e,o,i){var r;if(fa(e,e.length,i)||(e.push(e[0]),e.push(e[1])),wa(t,e,e.length,i),o.length)for(e=0,r=o.length;e<r;++e)fa(o[e],o[e].length,i)||(o[e].push(o[e][0]),o[e].push(o[e][1])),wa(t,o[e],o[e].length,i)}function Pa(t,e,o){o=void 0===o?t.b.length:o,t.i.push(o),t.f.push(e),t.c.s&&(t.j.push(o),t.c.s=!1)}function Aa(t,e,o,i,r){e.uniform4fv(t.v.B,o),e.uniform1f(t.v.oa,i),e.uniform1f(t.v.R,r)}i(ma,Gs),(Eu=ma.prototype).mc=function(t,e){var o=t.ga();t=t.qa(),Sa(o,0,o.length,t)&&(o=Vi(o,0,o.length,t,-this.origin[0],-this.origin[1]),this.c.s&&(this.j.push(this.b.length),this.c.s=!1),this.i.push(this.b.length),this.f.push(e),wa(this,o,o.length,t))},Eu.nc=function(t,e){var o=this.b.length,i=t.Bb();i.unshift(0);var r=t.ga();if(t=t.qa(),1<i.length)for(var n,s=1,a=i.length;s<a;++s){Sa(r,i[s-1],i[s],t)&&wa(this,n=Vi(r,i[s-1],i[s],t,-this.origin[0],-this.origin[1]),n.length,t)}this.b.length>o&&(this.i.push(o),this.f.push(e),this.c.s&&(this.j.push(o),this.c.s=!1))},Eu.Db=function(){this.l=new zs(this.a),this.o=new zs(this.b),this.i.push(this.b.length),!this.j.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},Eu.Eb=function(t){var e=this.l,o=this.o;return function(){ia(t,e),ia(t,o)}},Eu.rf=function(t,e,o,i){var r,n=sa(e,ga,va);return this.v?r=this.v:this.v=r=new ba(t,n),e.Qc(n),t.enableVertexAttribArray(r.o),t.vertexAttribPointer(r.o,2,5126,!1,28,0),t.enableVertexAttribArray(r.b),t.vertexAttribPointer(r.b,2,5126,!1,28,8),t.enableVertexAttribArray(r.l),t.vertexAttribPointer(r.l,2,5126,!1,28,16),t.enableVertexAttribArray(r.g),t.vertexAttribPointer(r.g,1,5126,!1,28,24),t.uniform2fv(r.I,o),t.uniform1f(r.ra,i),r},Eu.sf=function(t,e){t.disableVertexAttribArray(e.o),t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.l),t.disableVertexAttribArray(e.g)},Eu.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),yt(o)){var s=this.i[this.i.length-1];for(o=this.j.length-1;0<=o;--o){var a=this.j[o],p=this.u[o];Aa(this,t,p[0],p[1],p[2]),Bs(t,e,a,s),t.clear(t.DEPTH_BUFFER_BIT),s=a}}else for(var h=this.i.length-2,p=s=this.i[h+1],a=this.j.length-1;0<=a;--a){var l=this.u[a];for(Aa(this,t,l[0],l[1],l[2]),l=this.j[a];0<=h&&this.i[h]>=l;){var u=this.i[h];o[B(this.f[h]).toString()]&&(s!==p&&(Bs(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT)),p=u),h--,s=u}s!==p&&(Bs(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT)),s=p=l}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},Eu.ve=function(t,e,o,i,r){for(var n,s=this.i.length-2,a=this.i[s+1],p=this.j.length-1;0<=p;--p){var h=this.u[p];for(Aa(this,t,h[0],h[1],h[2]),n=this.j[p];0<=s&&this.i[s]>=n;){h=this.i[s];var l=this.f[s];if(void 0===o[B(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bs(t,e,h,a),a=i(l)))return a;s--,a=h}}},Eu.Ma=function(t,e){t=e.f,this.c.lineCap=void 0!==t?t:"round",t=e.i,this.c.lineDash=t||Vs,t=e.g,this.c.lineDashOffset=t||0,t=e.j,this.c.lineJoin=void 0!==t?t:"round",t=!((t=e.a)instanceof CanvasGradient||t instanceof CanvasPattern)&&Ve(t).map(function(t,e){return 3!=e?t/255:t})||Ws;var o=void 0!==(o=e.c)?o:1;e=void 0!==(e=e.o)?e:10,this.c.strokeColor&&U(this.c.strokeColor,t)&&this.c.lineWidth===o&&this.c.miterLimit===e||(this.c.s=!0,this.c.strokeColor=t,this.c.lineWidth=o,this.c.miterLimit=e,this.u.push([t,o,e]))};var Ea=3,Ta=5,ja=7,Ca=11,La=13,Ra=17,Ia=19,Na=23;function Fa(){this.b="precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}i(Fa,Ls);var ka=new Fa;function Da(){this.b="attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}"}i(Da,Rs);var Oa=new Da;function Ua(t,e){this.B=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"c"),this.a=t.getUniformLocation(e,"f"),this.i=t.getUniformLocation(e,"b"),this.b=t.getAttribLocation(e,"a")}function Ga(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.f=t.lineCap,this.i=void 0!==t.lineDash?t.lineDash:null,this.g=t.lineDashOffset,this.j=t.lineJoin,this.o=t.miterLimit,this.c=t.width,this.b=void 0}function Ba(t){this.b=this.a=this.i=void 0,this.f=void 0===t||t,this.c=0}function Xa(t){var e,o,i=t.b;i&&(e=i.next,o=i.ub,e&&(e.ub=o),o&&(o.next=e),t.b=e||o,t.i===t.a?(t.b=void 0,t.i=void 0,t.a=void 0):t.i===i?t.i=t.b:t.a===i&&(t.a=o?t.b.ub:t.b),t.c--)}function Va(t){if(t.b=t.i,t.b)return t.b.data}function Wa(t){if(t.b&&t.b.next)return t.b=t.b.next,t.b.data}function Za(t){if(t.b&&t.b.next)return t.b.next.data}function Ka(t){if(t.b&&t.b.ub)return t.b=t.b.ub,t.b.data}function za(t){if(t.b&&t.b.ub)return t.b.ub.data}function Ya(t){if(t.b)return t.b.data}(Eu=Ga.prototype).clone=function(){var t=this.a;return new Ga({color:t&&t.slice?t.slice():t||void 0,lineCap:this.f,lineDash:this.i?this.i.slice():void 0,lineDashOffset:this.g,lineJoin:this.j,miterLimit:this.o,width:this.c})},Eu.No=function(){return this.a},Eu.Vk=function(){return this.f},Eu.Oo=function(){return this.i},Eu.Wk=function(){return this.g},Eu.Xk=function(){return this.j},Eu.bl=function(){return this.o},Eu.Po=function(){return this.c},Eu.Qo=function(t){this.a=t,this.b=void 0},Eu.aq=function(t){this.f=t,this.b=void 0},Eu.setLineDash=function(t){this.i=t,this.b=void 0},Eu.bq=function(t){this.g=t,this.b=void 0},Eu.cq=function(t){this.j=t,this.b=void 0},Eu.gq=function(t){this.o=t,this.b=void 0},Eu.jq=function(t){this.c=t,this.b=void 0},Ba.prototype.concat=function(t){var e;t.b&&(this.b?(e=this.b.next,this.b.next=t.i,t.i.ub=this.b,e.ub=t.a,t.a.next=e,this.c+=t.c):(this.b=t.b,this.i=t.i,this.a=t.a,this.c=t.c),t.b=void 0,t.i=void 0,t.a=void 0,t.c=0)};var Ha,qa,Ja={$d:function(){}};function _a(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}function $a(t,e){return t<e?-1:e<t?1:0}function Qa(t,e){if(!(this instanceof Qa))return new Qa(t,e);this.Hf=Math.max(4,t||9),this.fh=Math.max(2,Math.ceil(.4*this.Hf)),e&&this.ek(e),this.clear()}function tp(t,e){ep(t,0,t.children.length,e,t)}function ep(t,e,o,i,r){(r=r||hp(null)).ca=1/0,r.da=1/0,r.$=-1/0,r.ia=-1/0;for(var n;e<o;e++)n=t.children[e],op(r,t.ib?i(n):n);return r}function op(t,e){t.ca=Math.min(t.ca,e.ca),t.da=Math.min(t.da,e.da),t.$=Math.max(t.$,e.$),t.ia=Math.max(t.ia,e.ia)}function ip(t,e){return t.ca-e.ca}function rp(t,e){return t.da-e.da}function np(t){return(t.$-t.ca)*(t.ia-t.da)}function sp(t){return t.$-t.ca+(t.ia-t.da)}function ap(t,e){return t.ca<=e.ca&&t.da<=e.da&&e.$<=t.$&&e.ia<=t.ia}function pp(t,e){return e.ca<=t.$&&e.da<=t.ia&&e.$>=t.ca&&e.ia>=t.da}function hp(t){return{children:t,height:1,ib:!0,ca:1/0,da:1/0,$:-1/0,ia:-1/0}}function lp(t,e,o,i,r){for(var n,s=[e,o];s.length;)(o=s.pop())-(e=s.pop())<=i||(n=e+Math.ceil((o-e)/i/2)*i,qa(t,n,e,o,r),s.push(e,n,n,o))}function up(t){this.a=Ja.$d(t),this.b={}}function cp(t,e,o){var i=t.b[B(o)];z([i.ca,i.da,i.$,i.ia],e)||(t.remove(o),t.Ca(e,o))}function fp(t){return t.a.all().map(function(t){return t.value})}function yp(t,e){return t.a.search({ca:e[0],da:e[1],$:e[2],ia:e[3]}).map(function(t){return t.value})}function gp(t,e,o,i){return dp(yp(t,e),o,i)}function dp(t,e,o){for(var i,r=0,n=t.length;r<n&&!(i=e.call(o,t[r]));r++);return i}function vp(t,e){Gs.call(this,0,e),this.g=new ma(0,e),this.v=null,this.u=[],this.c=[],this.j={fillColor:null,s:!1}}function bp(t,e,o,i){var r=new Ba,n=new up;if(e=mp(t,e,i,r,n,!0),o.length){for(var s=[],a=0,p=o.length;a<p;++a){var h={list:new Ba,$:void 0,Mg:new up};s.push(h),h.$=mp(t,o[a],i,h.list,h.Mg,!1)}for(s.sort(function(t,e){return e.$[0]===t.$[0]?t.$[1]-e.$[1]:e.$[0]-t.$[0]}),a=0;a<s.length;++a){p=i=Va(o=s[a].list);do{if(jp(p,n).length){var l=!0;break}p=Wa(o)}while(i!==p);l||(wp(o,s[a].Mg,!0),function(t,e,o,i,r){for(var n=Va(t);n.W.x!==e;)n=Wa(t);e=n.W,i={x:i,y:e.y,hb:-1};var s,a=1/0,p=jp({aa:e,W:i},r,!0),h=0;for(s=p.length;h<s;++h){var l,u=p[h],c=Cp(e,i,u.aa,u.W,!0),f=Math.abs(e.x-c[0]);f<a&&void 0!==Zs(e.x,e.y,u.aa.x,u.aa.y,u.W.x,u.W.y)&&(a=f,l={x:c[0],y:c[1],hb:-1},n=u)}if(1/0===a)return!1;if(p=n.W,0<a&&(n=Tp(e,l,n.W,r)).length)for(l=1/0,h=0,s=n.length;h<s;++h)a=n[h],((u=Math.atan2(e.y-a.y,i.x-a.x))<l||u===l&&a.x<p.x)&&(l=u,p=a);for(n=Va(o);n.W.x!==p.x||n.W.y!==p.y;)n=Wa(o);return i={x:e.x,y:e.y,hb:e.hb,Fb:void 0},h={x:n.W.x,y:n.W.y,hb:n.W.hb,Fb:void 0},Za(t).aa=i,Ap(e,n.W,t,r),Ap(h,i,t,r),n.W=h,t.f&&t.b&&(t.i=t.b,t.a=t.b.ub),o.concat(t),!0}(o,s[a].$[0],r,e[0],n)&&(n.concat(s[a].Mg),wp(r,n,!1)))}}else wp(r,n,!1);!function t(e,o,i){for(var r=!1,n=Mp(o,i);3<o.c;)if(n){if(!xp(e,o,i,n,r)&&!wp(o,i,r)&&!Sp(e,o,i,!0))break}else if(!xp(e,o,i,n,r)&&!wp(o,i,r)&&!Sp(e,o,i)){if(!(n=Mp(o,i))){n=e,s=a=Va(r=o);do{if((p=jp(s,i)).length){for(a=p[0],p=Cp(s.aa,s.W,a.aa,a.W),p=Pp(n,p[0],p[1],n.a.length/2),h=new Ba,l=new up,Ap(p,s.W,h,l),s.W=p,cp(i,[Math.min(s.aa.x,p.x),Math.min(s.aa.y,p.y),Math.max(s.aa.x,p.x),Math.max(s.aa.y,p.y)],s),s=Wa(r);s!==a;)Ap(s.aa,s.W,h,l),i.remove(s),Xa(r),s=Ya(r);Ap(a.aa,p,h,l),a.aa=p,cp(i,[Math.min(a.W.x,p.x),Math.min(a.W.y,p.y),Math.max(a.W.x,p.x),Math.max(a.W.y,p.y)],a),wp(r,i,!1),t(n,r,i),wp(h,l,!1),t(n,h,l);break}s=Wa(r)}while(s!==a);break}for(var r=o,s=2*r.c,a=Array(s),p=Va(r),h=p,l=0;a[l++]=h.aa.x,a[l++]=h.aa.y,(h=Wa(r))!==p;);r=!dr(a,0,s,2),wp(o,i,r)}3===o.c&&(n=e.b.length,e.b[n++]=za(o).aa.hb,e.b[n++]=Ya(o).aa.hb,e.b[n++]=Za(o).aa.hb)}(t,r,n)}function mp(t,e,o,i,r,n){var s,a=t.a.length/2,p=[],h=[];if(n===dr(e,0,e.length,o)){var l=s=Pp(t,e[0],e[1],a++);n=e[0];for(var u=e[1],c=o,f=e.length;c<f;c+=o){var y=Pp(t,e[c],e[c+1],a++);h.push(Ap(l,y,i)),p.push([Math.min(l.x,y.x),Math.min(l.y,y.y),Math.max(l.x,y.x),Math.max(l.y,y.y)]),e[c]>n&&(n=e[c],u=e[c+1]),l=y}}else for(l=s=Pp(t,e[c=e.length-o],e[c+1],a++),n=e[c],u=e[c+1],c-=o,f=0;f<=c;c-=o)y=Pp(t,e[c],e[c+1],a++),h.push(Ap(l,y,i)),p.push([Math.min(l.x,y.x),Math.min(l.y,y.y),Math.max(l.x,y.x),Math.max(l.y,y.y)]),e[c]>n&&(n=e[c],u=e[c+1]),l=y;return h.push(Ap(y,s,i)),p.push([Math.min(l.x,y.x),Math.min(l.y,y.y),Math.max(l.x,y.x),Math.max(l.y,y.y)]),r.load(p,h),[n,u]}function wp(t,e,o){var i=Va(t),r=i,n=Wa(t),s=!1;do{var a=o?Zs(n.W.x,n.W.y,r.W.x,r.W.y,r.aa.x,r.aa.y):Zs(r.aa.x,r.aa.y,r.W.x,r.W.y,n.W.x,n.W.y);void 0===a?(Ep(r,n,t,e),s=!0,n===i&&(i=Za(t)),n=r,Ka(t)):r.W.Fb!==a&&(r.W.Fb=a,s=!0),r=n,n=Wa(t)}while(r!==i);return s}function xp(t,e,o,i,r){var n=t.b.length,s=Va(e),a=za(e),p=s,h=Wa(e),l=Za(e),u=!1;do{var c,f=p.aa,y=p.W,g=h.W;!1===y.Fb&&(c=r?Lp(l.W,g,y,f,a.aa):Lp(a.aa,f,y,g,l.W),!i&&jp({aa:f,W:g},o).length||!c||Tp(f,y,g,o,!0).length||!i&&!1!==f.Fb&&!1!==g.Fb&&dr([a.aa.x,a.aa.y,f.x,f.y,y.x,y.y,g.x,g.y,l.W.x,l.W.y],0,10,2)!==!r||(t.b[n++]=f.hb,t.b[n++]=y.hb,t.b[n++]=g.hb,Ep(p,h,e,o),h===s&&(s=l),u=!0)),a=za(e),p=Ya(e),h=Wa(e),l=Za(e)}while(p!==s&&3<e.c);return u}function Sp(t,e,o,i){var r=Va(e);Wa(e);var n=r,s=Wa(e),a=!1;do{var p=Cp(n.aa,n.W,s.aa,s.W,i);if(p){var a=t.b.length,h=t.a.length/2,l=Ka(e);Xa(e),o.remove(l);var u=l===r;if(i?(u=p[0]===n.aa.x&&p[1]===n.aa.y?(Ka(e),p=n.aa,s.aa=p,o.remove(n),u||n===r):(p=s.W,n.W=p,o.remove(s),u||s===r),Xa(e)):(p=Pp(t,p[0],p[1],h),n.W=p,s.aa=p,cp(o,[Math.min(n.aa.x,n.W.x),Math.min(n.aa.y,n.W.y),Math.max(n.aa.x,n.W.x),Math.max(n.aa.y,n.W.y)],n),cp(o,[Math.min(s.aa.x,s.W.x),Math.min(s.aa.y,s.W.y),Math.max(s.aa.x,s.W.x),Math.max(s.aa.y,s.W.y)],s)),t.b[a++]=l.aa.hb,t.b[a++]=l.W.hb,t.b[a++]=p.hb,a=!0,u)break}n=za(e),s=Wa(e)}while(n!==r);return a}function Mp(t,e){var o=Va(t),i=o;do{if(jp(i,e).length)return!1;i=Wa(t)}while(i!==o);return!0}function Pp(t,e,o,i){var r=t.a.length;return{x:t.a[r++]=e,y:t.a[r++]=o,hb:i,Fb:void 0}}function Ap(t,e,o,i){var r,n={aa:t,W:e},s={ub:void 0,next:void 0,data:n},a=o.b;return a?(r=a.next,s.ub=a,s.next=r,a.next=s,r&&(r.ub=s),a===o.a&&(o.a=s)):(o.i=s,o.a=s,o.f&&((s.next=s).ub=s)),o.b=s,o.c++,i&&i.Ca([Math.min(t.x,e.x),Math.min(t.y,e.y),Math.max(t.x,e.x),Math.max(t.y,e.y)],n),n}function Ep(t,e,o,i){Ya(o)===e&&(Xa(o),t.W=e.W,i.remove(e),cp(i,[Math.min(t.aa.x,t.W.x),Math.min(t.aa.y,t.W.y),Math.max(t.aa.x,t.W.x),Math.max(t.aa.y,t.W.y)],t))}function Tp(t,e,o,i,r){var n,s,a=[],p=yp(i,[Math.min(t.x,e.x,o.x),Math.min(t.y,e.y,o.y),Math.max(t.x,e.x,o.x),Math.max(t.y,e.y,o.y)]);for(i=0,n=p.length;i<n;++i)for(s in p[i]){var h=p[i][s];"object"!=typeof h||r&&!h.Fb||h.x===t.x&&h.y===t.y||h.x===e.x&&h.y===e.y||h.x===o.x&&h.y===o.y||-1!==a.indexOf(h)||!lr([t.x,t.y,e.x,e.y,o.x,o.y],0,6,2,h.x,h.y)||a.push(h)}return a}function jp(t,e,o){for(var i=t.aa,r=t.W,n=[],s=0,a=(e=yp(e,[Math.min(i.x,r.x),Math.min(i.y,r.y),Math.max(i.x,r.x),Math.max(i.y,r.y)])).length;s<a;++s){var p=e[s];t!==p&&(o||p.aa!==r||p.W!==i)&&Cp(i,r,p.aa,p.W,o)&&n.push(p)}return n}function Cp(t,e,o,i,r){var n=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(n&&(i=((i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x))/n,o=((e.x-t.x)*(t.y-o.y)-(e.y-t.y)*(t.x-o.x))/n,!r&&Ks<i&&i<1-Ks&&Ks<o&&o<1-Ks||r&&0<=i&&i<=1&&0<=o&&o<=1))return[t.x+i*(e.x-t.x),t.y+i*(e.y-t.y)]}function Lp(t,e,o,i,r){if(void 0===e.Fb||void 0===i.Fb)return!1;var n=(o.x-i.x)*(e.y-i.y)>(o.y-i.y)*(e.x-i.x);return r=(r.x-i.x)*(e.y-i.y)<(r.y-i.y)*(e.x-i.x),t=(t.x-e.x)*(i.y-e.y)>(t.y-e.y)*(i.x-e.x),o=(o.x-e.x)*(i.y-e.y)<(o.y-e.y)*(i.x-e.x),e=e.Fb?o||t:o&&t,(i.Fb?r||n:r&&n)&&e}function Rp(){}function Ip(t,e,o){this.f=e,this.g=t,this.c=o,this.a={}}function Np(t,e){var o,i=[];for(o in t.a){var r,n=t.a[o];for(r in n)i.push(n[r].Eb(e))}return function(){for(var t,e=i.length,o=0;o<e;o++)t=i[o].apply(this,arguments);return t}}function Fp(t,e,o,i,r,n,s,a,p,h,l){var u=kp,c=Object.keys(t.a).map(Number);c.sort(function(t,e){return e-t});for(var f=0,y=c.length;f<y;++f)for(var g=t.a[c[f].toString()],d=Ts.length-1;0<=d;--d){var v=g[Ts[d]];if(void 0!==v&&(v=v.La(e,o,i,r,u,n,s,a,p,h,l)))return v}}Ha=Ja.$d=Ja.$d||{},qa=function t(e,o,i,r,n){for(i=i||0,r=r||e.length-1,n=n||$a;i<r;){var s,a,p,h;for(600<r-i&&(s=r-i+1,a=o-i+1,h=Math.log(s),p=.5*Math.exp(2*h/3),h=.5*Math.sqrt(h*p*(s-p)/s)*(a-s/2<0?-1:1),t(e,o,Math.max(i,Math.floor(o-a*p/s+h)),Math.min(r,Math.floor(o+(s-a)*p/s+h)),n)),s=e[o],p=r,_a(e,a=i,o),0<n(e[r],s)&&_a(e,i,r);a<p;){for(_a(e,a,p),a++,p--;n(e[a],s)<0;)a++;for(;0<n(e[p],s);)p--}0===n(e[i],s)?_a(e,i,p):_a(e,++p,r),p<=o&&(i=p+1),o<=p&&(r=p-1)}},Qa.prototype={all:function(){return this.$g(this.data,[])},search:function(t){var e=this.data,o=[],i=this.wb;if(!pp(t,e))return o;for(var r,n,s,a,p=[];e;){for(r=0,n=e.children.length;r<n;r++)s=e.children[r],pp(t,a=e.ib?i(s):s)&&(e.ib?o.push(s):ap(t,a)?this.$g(s,o):p.push(s));e=p.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.fh){for(var e=0,o=t.length;e<o;e++)this.Ca(t[e]);return this}return t=this.bh(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.hh(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.eh(t,this.data.height-t.height-1,!0)):this.data=t,this},Ca:function(t){return t&&this.eh(t,this.data.height-1),this},clear:function(){return this.data=hp([]),this},remove:function(t,e){if(!t)return this;for(var o,i,r,n,s=this.data,a=this.wb(t),p=[],h=[];s||p.length;){if(s||(s=p.pop(),i=p[p.length-1],o=h.pop(),n=!0),s.ib){t:{r=t;var l=s.children,u=e;if(u){for(var c=0;c<l.length;c++)if(u(r,l[c])){r=c;break t}r=-1}else r=l.indexOf(r)}if(-1!==r){s.children.splice(r,1),p.push(s),this.ck(p);break}}n||s.ib||!ap(s,a)?i?(o++,s=i.children[o],n=!1):s=null:(p.push(s),h.push(o),o=0,s=(i=s).children[0])}return this},wb:function(t){return t},Lf:ip,Mf:rp,toJSON:function(){return this.data},$g:function(t,e){for(var o=[];t;)t.ib?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},bh:function(t,e,o,i){var r,n=o-e+1,s=this.Hf;if(n<=s){var a=hp(t.slice(e,o+1));return tp(a,this.wb),a}for(i||(i=Math.ceil(Math.log(n)/Math.log(s)),s=Math.ceil(n/Math.pow(s,i-1))),(a=hp([])).ib=!1,a.height=i,lp(t,e,o,s=(n=Math.ceil(n/s))*Math.ceil(Math.sqrt(s)),this.Lf);e<=o;e+=s){var p=Math.min(e+s-1,o);for(lp(t,e,p,n,this.Mf),r=e;r<=p;r+=n){var h=Math.min(r+n-1,p);a.children.push(this.bh(t,r,h,i-1))}}return tp(a,this.wb),a},bk:function(t,e,o,i){for(var r,n,s,a,p,h,l,u;i.push(e),!e.ib&&i.length-1!==o;){for(l=u=1/0,r=0,n=e.children.length;r<n;r++)p=np(s=e.children[r]),(h=(Math.max(s.$,t.$)-Math.min(s.ca,t.ca))*(Math.max(s.ia,t.ia)-Math.min(s.da,t.da))-p)<u?(u=h,l=p<l?p:l,a=s):h===u&&p<l&&(l=p,a=s);e=a||e.children[0]}return e},eh:function(t,e,o){var i=this.wb;o=o?t:i(t);var i=[],r=this.bk(o,this.data,e,i);for(r.children.push(t),op(r,o);0<=e&&i[e].children.length>this.Hf;)this.jk(i,e),e--;this.Zj(o,i,e)},jk:function(t,e){var o=t[e],i=o.children.length,r=this.fh;this.$j(o,r,i),i=this.ak(o,r,i),(i=hp(o.children.splice(i,o.children.length-i))).height=o.height,i.ib=o.ib,tp(o,this.wb),tp(i,this.wb),e?t[e-1].children.push(i):this.hh(o,i)},hh:function(t,e){this.data=hp([t,e]),this.data.height=t.height+1,this.data.ib=!1,tp(this.data,this.wb)},ak:function(t,e,o){for(var i=s=1/0,r=e;r<=o-e;r++){var n,s,a=ep(t,0,r,this.wb),p=ep(t,r,o,this.wb),h=Math.max(0,Math.min(a.$,p.$)-Math.max(a.ca,p.ca))*Math.max(0,Math.min(a.ia,p.ia)-Math.max(a.da,p.da)),a=np(a)+np(p);h<i?(i=h,n=r,s=a<s?a:s):h===i&&a<s&&(s=a,n=r)}return n},$j:function(t,e,o){var i=t.ib?this.Lf:ip,r=t.ib?this.Mf:rp;this.ah(t,e,o,i)<(e=this.ah(t,e,o,r))&&t.children.sort(i)},ah:function(t,e,o,i){t.children.sort(i);for(var r=ep(t,0,e,i=this.wb),n=ep(t,o-e,o,i),s=sp(r)+sp(n),a=e;a<o-e;a++){var p=t.children[a];op(r,t.ib?i(p):p),s+=sp(r)}for(a=o-e-1;e<=a;a--)p=t.children[a],op(n,t.ib?i(p):p),s+=sp(n);return s},Zj:function(t,e,o){for(;0<=o;o--)op(e[o],t)},ck:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():tp(t[o],this.wb)},ek:function(t){var e=["return a"," - b",";"];this.Lf=new Function("a","b",e.join(t[0])),this.Mf=new Function("a","b",e.join(t[1])),this.wb=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}},Ha.default=Qa,Ja.$d=Ja.$d.default,(Eu=up.prototype).Ca=function(t,e){t={ca:t[0],da:t[1],$:t[2],ia:t[3],value:e},this.a.Ca(t),this.b[B(e)]=t},Eu.load=function(t,e){for(var o=Array(e.length),i=0,r=e.length;i<r;i++){var n=t[i],s=e[i],n={ca:n[0],da:n[1],$:n[2],ia:n[3],value:s};o[i]=n,this.b[B(s)]=n}this.a.load(o)},Eu.remove=function(t){t=B(t);var e=this.b[t];return delete this.b[t],null!==this.a.remove(e)},Eu.forEach=function(t,e){return dp(fp(this),t,e)},Eu.clear=function(){this.a.clear(),this.b={}},Eu.G=function(t){var e=this.a.data;return k(e.ca,e.da,e.$,e.ia,t)},Eu.concat=function(t){for(var e in this.a.load(t.a.all()),t.b)this.b[0|e]=t.b[0|e]},i(vp,Gs),(Eu=vp.prototype).pc=function(t,e){var o=t.c,i=t.qa(),r=this.b.length,n=this.g.b.length;t=t.ga();for(var s=c=0,a=o.length;s<a;++s){var p=o[s];if(0<p.length){var h=Vi(t,c,p[0],i,-this.origin[0],-this.origin[1]);if(h.length){for(var l,u=[],c=1,f=p.length;c<f;++c){p[c]!==p[c-1]&&(l=Vi(t,p[c-1],p[c],i,-this.origin[0],-this.origin[1]),u.push(l))}Ma(this.g,h,u,i),bp(this,h,u,i)}}c=p[p.length-1]}this.b.length>r&&(this.i.push(r),this.f.push(e),this.j.s&&(this.c.push(r),this.j.s=!1)),this.g.b.length>n&&Pa(this.g,e,n)},Eu.rc=function(t,e){var o=t.Bb(),i=t.qa();if(0<o.length){var r=Vi(t=t.ga().map(Number),0,o[0],i,-this.origin[0],-this.origin[1]);if(r.length){for(var n,s=[],a=1,p=o.length;a<p;++a){o[a]!==o[a-1]&&(n=Vi(t,o[a-1],o[a],i,-this.origin[0],-this.origin[1]),s.push(n))}this.i.push(this.b.length),this.f.push(e),this.j.s&&(this.c.push(this.b.length),this.j.s=!1),Pa(this.g,e),Ma(this.g,r,s,i),bp(this,r,s,i)}}},Eu.Db=function(t){this.l=new zs(this.a),this.o=new zs(this.b),this.i.push(this.b.length),this.g.Db(t),!this.c.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},Eu.Eb=function(t){var e=this.l,o=this.o,i=this.g.Eb(t);return function(){ia(t,e),ia(t,o),i()}},Eu.rf=function(t,e){var o,i=sa(e,ka,Oa);return this.v?o=this.v:this.v=o=new Ua(t,i),e.Qc(i),t.enableVertexAttribArray(o.b),t.vertexAttribPointer(o.b,2,5126,!1,8,0),o},Eu.sf=function(t,e){t.disableVertexAttribArray(e.b)},Eu.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),yt(o)){var s=this.i[this.i.length-1];for(o=this.c.length-1;0<=o;--o){var a=this.c[o],p=this.u[o];t.uniform4fv(this.v.B,p),Bs(t,e,a,s),s=a}}else for(var h=this.i.length-2,p=s=this.i[h+1],a=this.c.length-1;0<=a;--a){var l=this.u[a];for(t.uniform4fv(this.v.B,l),l=this.c[a];0<=h&&this.i[h]>=l;){var u=this.i[h];o[B(this.f[h]).toString()]&&(s!==p&&(Bs(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT)),p=u),h--,s=u}s!==p&&(Bs(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT)),s=p=l}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},Eu.ve=function(t,e,o,i,r){for(var n,s=this.i.length-2,a=this.i[s+1],p=this.c.length-1;0<=p;--p){var h=this.u[p];for(t.uniform4fv(this.v.B,h),n=this.c[p];0<=s&&this.i[s]>=n;){h=this.i[s];var l=this.f[s];if(void 0===o[B(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bs(t,e,h,a),a=i(l)))return a;s--,a=h}}},Eu.Ma=function(t,e){t=!((t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern)&&Ve(t).map(function(t,e){return 3!=e?t/255:t})||Xs,this.j.fillColor&&U(t,this.j.fillColor)||(this.j.fillColor=t,this.j.s=!0,this.u.push(t)),e?this.g.Ma(null,e):this.g.Ma(null,new Ga({color:[0,0,0,0],lineWidth:0}))},Rp.prototype.La=function(){},i(Ip,js),Ip.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Dp[e](this.g,this.f),t[e]=o),o},Ip.prototype.i=function(){return yt(this.a)},Ip.prototype.La=function(t,e,o,i,r,n,s,a){var p=Object.keys(this.a).map(Number);p.sort(G);for(var h=0,l=p.length;h<l;++h)for(var u=this.a[p[h].toString()],c=0,f=Ts.length;c<f;++c){var y=u[Ts[c]];void 0!==y&&y.La(t,e,o,i,r,n,s,a,void 0,!1)}},Ip.prototype.Ea=function(t,e,o,i,r,n,s,a,p,h){var l,u=e.b;return u.bindFramebuffer(u.FRAMEBUFFER,ra(e)),void 0!==this.c&&(l=E(O(t),i*this.c)),Fp(this,e,t,i,r,s,a,p,function(t){var e=new Uint8Array(4);if(u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,e),0<e[3]&&(t=h(t)))return t},!0,l)};var kp=[1,1],Dp={Circle:Hs,Image:la,LineString:ma,Polygon:vp,Text:Rp};function Op(t,e,o,i,r,n,s){this.b=t,this.i=e,this.a=n,this.c=s,this.j=r,this.g=i,this.f=o,this.o=this.l=this.v=null}function Up(){this.c=0,this.b={},this.i=this.a=null}function Gp(t,e){ss.call(this,0,e),this.b=document.createElement("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.S=this.D=0,this.C=qe(),this.l=!0,this.i=Ao(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.f=new ea(this.b,this.i),be(this.b,"webglcontextlost",this.Yn,this),be(this.b,"webglcontextrestored",this.Zn,this),this.a=new Up,this.u=null,this.j=new di(function(t){var e=t[1];t=t[2];var o=e[0]-this.u[0],e=e[1]-this.u[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t}.bind(this),function(t){return t[0].bb()}),this.B=function(){var t;return this.j.b.length&&(wi(this.j),Bp(this,(t=vi(this.j))[0],t[3],t[4])),!1}.bind(this),this.g=0,Vp(this)}function Bp(t,e,o,i){var r,n,s,a=t.i,p=e.bb();t.a.b.hasOwnProperty(p)?(t=t.a.get(p),a.bindTexture(3553,t.Ib),9729!=t.Ph&&(a.texParameteri(3553,10240,9729),t.Ph=9729),9729!=t.Rh&&(a.texParameteri(3553,10241,9729),t.Rh=9729)):(r=a.createTexture(),a.bindTexture(3553,r),0<i?(n=t.C.canvas,s=t.C,t.D!==o[0]||t.S!==o[1]?(n.width=o[0],n.height=o[1],t.D=o[0],t.S=o[1]):s.clearRect(0,0,o[0],o[1]),s.drawImage(e.Y(),i,i,o[0],o[1],0,0,o[0],o[1]),a.texImage2D(3553,0,6408,6408,5121,n)):a.texImage2D(3553,0,6408,6408,5121,e.Y()),a.texParameteri(3553,10240,9729),a.texParameteri(3553,10241,9729),a.texParameteri(3553,10242,33071),a.texParameteri(3553,10243,33071),t.a.set(p,{Ib:r,Ph:9729,Rh:9729}))}function Xp(t,e,o){var i,r=t.o;je(r,e)&&(t=t.f,i=o.viewState,r.b(new cs(e,new Op(t,i.center,i.resolution,i.rotation,o.size,o.extent,o.pixelRatio),o,null,t)))}function Vp(t){(t=t.i).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}i(Op,vs),(Eu=Op.prototype).rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y())},Eu.zb=function(t){switch(t.U()){case"Point":this.qc(t,null);break;case"LineString":this.mc(t,null);break;case"Polygon":this.rc(t,null);break;case"MultiPoint":this.oc(t,null);break;case"MultiLineString":this.nc(t,null);break;case"MultiPolygon":this.pc(t,null);break;case"GeometryCollection":this.ue(t,null);break;case"Circle":this.Zb(t,null)}},Eu.te=function(t,e){(t=(0,e.Za)(t))&&at(this.a,t.G())&&(this.rd(e),this.zb(t))},Eu.ue=function(t){for(var e=0,o=(t=t.a).length;e<o;++e)this.zb(t[e])},Eu.qc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"Image");i.Ub(this.v),i.qc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.oc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"Image");i.Ub(this.v),i.oc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.mc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.mc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.nc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.nc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.rc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.rc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.pc=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.pc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.Zb=function(t,e){var o=this.b,i=new Ip(1,this.a).b(0,"Circle");i.Ma(this.l,this.o),i.Zb(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},Eu.Ub=function(t){this.v=t},Eu.Ma=function(t,e){this.l=t,this.o=e},(Eu=Up.prototype).clear=function(){this.c=0,this.b={},this.i=this.a=null},Eu.forEach=function(t,e){for(var o=this.a;o;)t.call(e,o.Yc,o.uc,this),o=o.Nb},Eu.get=function(t){return X(!!(t=this.b[t]),15),t===this.i?t.Yc:(t===this.a?(this.a=this.a.Nb,this.a.vd=null):(t.Nb.vd=t.vd,t.vd.Nb=t.Nb),t.Nb=null,t.vd=this.i,(this.i=this.i.Nb=t).Yc)},Eu.pop=function(){var t=this.a;return delete this.b[t.uc],t.Nb&&(t.Nb.vd=null),this.a=t.Nb,this.a||(this.i=null),--this.c,t.Yc},Eu.replace=function(t,e){this.get(t),this.b[t].Yc=e},Eu.set=function(t,e){X(!(t in this.b),16),e={uc:t,Nb:null,vd:this.i,Yc:e},this.i?this.i.Nb=e:this.a=e,this.i=e,this.b[t]=e,++this.c},i(Gp,ss),(Eu=Gp.prototype).ka=function(){var e=this.i;e.isContextLost()||this.a.forEach(function(t){t&&e.deleteTexture(t.Ib)}),Pe(this.f),ss.prototype.ka.call(this)},Eu.xk=function(t,e){t=this.i;for(var o;1024<this.a.c-this.g;){if(o=this.a.a.Yc)t.deleteTexture(o.Ib);else{if(+this.a.a.uc==e.index)break;--this.g}this.a.pop()}},Eu.U=function(){return"webgl"},Eu.Yn=function(t){for(var e in t.preventDefault(),this.a.clear(),this.g=0,t=this.c)t[e].mg()},Eu.Zn=function(){Vp(this),this.o.render()},Eu.Jg=function(t){var e=this.f,o=this.i;if(o.isContextLost())return!1;if(!t)return this.l&&(this.b.style.display="none",this.l=!1),!1;this.u=t.focus,this.a.set((-t.index).toString(),null),++this.g,Xp(this,"precompose",t);var i=[],r=t.layerStatesArray;h(r);for(var n=t.viewState.resolution,s=0,a=r.length;s<a;++s){var p=r[s];!Kn(p,n)||"ready"!=p.yj||hs(this,p.layer).ng(t,p,e)&&i.push(p)}for(r=t.size[0]*t.pixelRatio,n=t.size[1]*t.pixelRatio,this.b.width==r&&this.b.height==n||(this.b.width=r,this.b.height=n),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),s=0,a=i.length;s<a;++s)hs(this,(p=i[s]).layer).Gi(t,p,e);this.l||(this.b.style.display="",this.l=!0),as(t),1024<this.a.c-this.g&&t.postRenderFunctions.push(this.xk.bind(this)),this.j.b.length&&(t.postRenderFunctions.push(this.B),t.animate=!0),Xp(this,"postcompose",t),ls(this,t),t.postRenderFunctions.push(ps)},Eu.Ea=function(t,e,o,i,r,n,s){if(this.i.isContextLost())return!1;for(var a=e.viewState,p=e.layerStatesArray,h=p.length-1;0<=h;--h){var l=p[h],u=l.layer;if(Kn(l,a.resolution)&&n.call(s,u)&&(l=hs(this,u).Ea(t,e,o,i,r)))return l}},Eu.Ei=function(t,e,o,i,r){if(o=!1,this.i.isContextLost())return!1;for(var n=e.viewState,s=e.layerStatesArray,a=s.length-1;0<=a;--a){var p=s[a],h=p.layer;if(Kn(p,n.resolution)&&i.call(r,h)&&(o=hs(this,h).Ue(t,e)))return!0}return o},Eu.Di=function(t,e,o,i,r){if(this.i.isContextLost())return!1;for(var n=e.viewState,s=e.layerStatesArray,a=s.length-1;0<=a;--a){var p=s[a],h=p.layer;if(Kn(p,n.resolution)&&r.call(i,h)&&(p=hs(this,h).lg(t,e,o,i)))return p}};var Wp=["canvas","webgl"];function Zp(t){Le.call(this);var e=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o={},i={};{void 0===t.logo||"boolean"==typeof t.logo&&t.logo?i["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="https://openlayers.org/":"string"==typeof(s=t.logo)?i[s]="":s instanceof HTMLElement?i[B(s).toString()]=s:s&&(X("string"==typeof s.href,44),X("string"==typeof s.src,45),i[s.src]=s.href)}s=t.layers instanceof Vn?t.layers:new Vn({layers:t.layers}),o.layergroup=s,o.target=t.target,o.view=void 0!==t.view?t.view:new Er;var r,n,s=ss;void 0!==t.renderer?(Array.isArray(t.renderer)?r=t.renderer:"string"==typeof t.renderer?r=[t.renderer]:X(!1,46),0<=r.indexOf("dom")&&(r=r.concat(Wp))):r=Wp;var a=0;for(n=r.length;a<n;++a){var p=r[a];if("canvas"==p){if(ko){s=As;break}}else if("webgl"==p&&Eo){s=Gp;break}}return r=void 0!==t.controls?Array.isArray(t.controls)?new ke(t.controls.slice()):(X(t.controls instanceof ke,47),t.controls):ho(),a=void 0!==t.interactions?Array.isArray(t.interactions)?new ke(t.interactions.slice()):(X(t.interactions instanceof ke,48),t.interactions):Gn(),t=void 0!==t.overlays?Array.isArray(t.overlays)?new ke(t.overlays.slice()):(X(t.overlays instanceof ke,49),t.overlays):new ke,{controls:r,interactions:a,keyboardEventTarget:e,logos:i,overlays:t,Up:s,values:o}}(t);this.Cf=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.Df=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.If=void 0!==t.pixelRatio?t.pixelRatio:No,this.yf=e.logos,this.pa=function(){this.j=void 0,this.Sp.call(this,Date.now())}.bind(this),this.Yb=qn(),this.Jf=qn(),this.ad=0,this.I=this.R=this.T=this.g=this.c=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport"+(Uo?" ol-touch":""),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",this.a.style.touchAction="none",this.C=document.createElement("DIV"),this.C.className="ol-overlaycontainer",this.a.appendChild(this.C),this.D=document.createElement("DIV"),this.D.className="ol-overlaycontainer-stopevent";for(var o,i="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),r=0,n=i.length;r<n;++r)be(this.D,i[r],Ee);for(o in this.a.appendChild(this.D),this.Sa=new fi(this,t.moveTolerance),Zo)be(this.Sa,Zo[o],this.Ih,this);this.va=e.keyboardEventTarget,this.u=null,be(this.a,"wheel",this.ld,this),be(this.a,"mousewheel",this.ld,this),this.l=e.controls,this.o=e.interactions,this.v=e.overlays,this.rg={},this.B=new e.Up(this.a,this),this.na=null,this.xb=[],this.$a=new xi(this.ql.bind(this),this.Wl.bind(this)),this.fa={},be(this,Ie("layergroup"),this.El,this),be(this,Ie("view"),this.Xl,this),be(this,Ie("size"),this.Tl,this),be(this,Ie("target"),this.Vl,this),this.H(e.values),this.l.forEach(function(t){t.setMap(this)},this),be(this.l,"add",function(t){t.element.setMap(this)},this),be(this.l,"remove",function(t){t.element.setMap(null)},this),this.o.forEach(function(t){t.setMap(this)},this),be(this.o,"add",function(t){t.element.setMap(this)},this),be(this.o,"remove",function(t){t.element.setMap(null)},this),this.v.forEach(this.kh,this),be(this.v,"add",function(t){this.kh(t.element)},this),be(this.v,"remove",function(t){var e=t.element.g;void 0!==e&&delete this.rg[e.toString()],t.element.setMap(null)},this)}function Kp(t){Le.call(this),this.g=t.id,this.l=void 0===t.insertFirst||t.insertFirst,this.v=void 0===t.stopEvent||t.stopEvent,this.c=document.createElement("DIV"),this.c.className="ol-overlay-container ol-selectable",this.c.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.j=t.autoPanAnimation||{},this.o=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={re:"",Ie:"",nf:"",vf:"",visible:!0},this.f=null,be(this,Ie(qp),this.zl,this),be(this,Ie(Jp),this.Jl,this),be(this,Ie(_p),this.Nl,this),be(this,Ie($p),this.Pl,this),be(this,Ie(Qp),this.Ql,this),void 0!==t.element&&this.lj(t.element),this.rj(void 0!==t.offset?t.offset:[0,0]),this.uj(void 0!==t.positioning?t.positioning:"top-left"),void 0!==t.position&&this.Ne(t.position)}function zp(t,e){var o=t.getBoundingClientRect();return[t=o.left+window.pageXOffset,o=o.top+window.pageYOffset,t+e[0],o+e[1]]}function Yp(t,e){t.a.visible!==e&&(t.c.style.display=e?"":"none",t.a.visible=e)}function Hp(t){var e,o,i,r,n=t.Me(),s=t.Yh();n&&n.c&&s?(s=n.Ja(s),e=n.Ob(),n=t.c.style,r=t.Dh(),o=t.Eh(),Yp(t,!0),i=r[0],r=r[1],"bottom-right"==o||"center-right"==o||"top-right"==o?(""!==t.a.Ie&&(t.a.Ie=n.left=""),i=Math.round(e[0]-s[0]-i)+"px",t.a.nf!=i&&(t.a.nf=n.right=i)):(""!==t.a.nf&&(t.a.nf=n.right=""),"bottom-center"!=o&&"center-center"!=o&&"top-center"!=o||(i-=t.c.offsetWidth/2),i=Math.round(s[0]+i)+"px",t.a.Ie!=i&&(t.a.Ie=n.left=i)),"bottom-left"==o||"bottom-center"==o||"bottom-right"==o?(""!==t.a.vf&&(t.a.vf=n.top=""),s=Math.round(e[1]-s[1]-r)+"px",t.a.re!=s&&(t.a.re=n.bottom=s)):(""!==t.a.re&&(t.a.re=n.bottom=""),"center-left"!=o&&"center-center"!=o&&"center-right"!=o||(r-=t.c.offsetHeight/2),s=Math.round(s[1]+r)+"px",t.a.vf!=s&&(t.a.vf=n.top=s))):Yp(t,!1)}i(Zp,Le),(Eu=Zp.prototype).kk=function(t){this.l.push(t)},Eu.lk=function(t){this.o.push(t)},Eu.ih=function(t){this.Kc().qd().push(t)},Eu.jh=function(t){this.v.push(t)},Eu.kh=function(t){var e=t.g;void 0!==e&&(this.rg[e.toString()]=t),t.setMap(this)},Eu.ka=function(){Pe(this.Sa),Pe(this.B),we(this.a,"wheel",this.ld,this),we(this.a,"mousewheel",this.ld,this),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0),this.j&&(cancelAnimationFrame(this.j),this.j=void 0),this.Le(null),Le.prototype.ka.call(this)},Eu.we=function(t,e,o){if(this.c)return t=this.Wa(t),o=o||{},this.B.Ea(t,this.c,void 0!==o.hitTolerance?o.hitTolerance*this.c.pixelRatio:0,e,null,o.layerFilter?o.layerFilter:Ui,null)},Eu.Im=function(t,e,o,i,r){if(this.c)return this.B.Di(t,this.c,e,void 0!==o?o:null,i||Ui,void 0!==r?r:null)},Eu.Yl=function(t,e){return!!this.c&&(t=this.Wa(t),e=e||{},this.B.Ei(t,this.c,void 0!==e.hitTolerance?e.hitTolerance*this.c.pixelRatio:0,e.layerFilter?e.layerFilter:Ui,null))},Eu.Tf=function(t){return this.Wa(this.xe(t))},Eu.xe=function(t){var e=this.a.getBoundingClientRect();return[(t=t.changedTouches?t.changedTouches[0]:t).clientX-e.left,t.clientY-e.top]},Eu.ag=function(){return this.get("target")},Eu.jd=function(){var t=this.ag();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},Eu.Wa=function(t){var e=this.c;return e?ts(e.pixelToCoordinateTransform,t.slice()):null},Eu.Lk=function(){return this.l},Eu.fl=function(){return this.v},Eu.el=function(t){return void 0!==(t=this.rg[t.toString()])?t:null},Eu.Sk=function(){return this.o},Eu.Kc=function(){return this.get("layergroup")},Eu.Xh=function(){return this.Kc().qd()},Eu.Ja=function(t){var e=this.c;return e?ts(e.coordinateToPixelTransform,t.slice(0,2)):null},Eu.Ob=function(){return this.get("size")},Eu.Z=function(){return this.get("view")},Eu.sl=function(){return this.a},Eu.ql=function(t,e,o,i){var r=this.c;return r&&e in r.wantedTiles&&r.wantedTiles[e][t.bb()]?(t=o[0]-r.focus[0],o=o[1]-r.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},Eu.ld=function(t,e){t=new Mo(e||t.type,this,t),this.Ih(t)},Eu.Ih=function(t){if(this.c){this.na=t.coordinate,t.frameState=this.c;var e,o=this.o.a;if(!1!==this.b(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.c()&&!i.handleEvent(t))break}}},Eu.Rl=function(){var t,e,o,i=this.c,r=this.$a;for(r.b.length&&(e=t=16,i&&((o=i.viewHints)[0]&&(t=this.Cf?8:0,e=2),o[1]&&(t=this.Df?8:0,e=2)),r.j<t&&(wi(r),Si(r,t,e))),t=0,e=(r=this.xb).length;t<e;++t)r[t](this,i);r.length=0},Eu.Tl=function(){this.render()},Eu.Vl=function(){var t;if(this.ag()&&(t=this.jd()),this.u){for(var e=0,o=this.u.length;e<o;++e)xe(this.u[e]);this.u=null}t?(t.appendChild(this.a),t=this.va?this.va:t,this.u=[be(t,"keydown",this.ld,this),be(t,"keypress",this.ld,this)],this.f||(this.f=this.Ad.bind(this),window.addEventListener("resize",this.f,!1))):(_e(this.a),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0)),this.Ad()},Eu.Wl=function(){this.render()},Eu.Lh=function(){this.render()},Eu.Xl=function(){this.T&&(xe(this.T),this.T=null),this.R&&(xe(this.R),this.R=null);var t=this.Z();t&&(this.a.setAttribute("data-view",B(t)),this.T=be(t,"propertychange",this.Lh,this),this.R=be(t,"change",this.Lh,this)),this.render()},Eu.El=function(){this.I&&(this.I.forEach(xe),this.I=null);var t=this.Kc();t&&(this.I=[be(t,"propertychange",this.render,this),be(t,"change",this.render,this)]),this.render()},Eu.Tp=function(){this.j&&cancelAnimationFrame(this.j),this.pa()},Eu.render=function(){void 0===this.j&&(this.j=requestAnimationFrame(this.pa))},Eu.Mp=function(t){return this.l.remove(t)},Eu.Np=function(t){return this.o.remove(t)},Eu.Pp=function(t){return this.Kc().qd().remove(t)},Eu.Qp=function(t){return this.v.remove(t)},Eu.Sp=function(t){var e=this.Ob(),o=this.Z(),i=Z(),r=this.c,n=null;if(void 0!==e&&0<e[0]&&0<e[1]&&o&&Nr(o)){for(var n=Ir(o,this.c?this.c.viewHints:void 0),s=this.Kc().Yf(),a={},p=0,h=s.length;p<h;++p)a[B(s[p].layer)]=s[p];p=o.getState(),n={animate:!1,attributions:{},coordinateToPixelTransform:this.Yb,extent:i,focus:this.na?this.na:p.center,index:this.ad++,layerStates:a,layerStatesArray:s,logos:ut({},this.yf),pixelRatio:this.If,pixelToCoordinateTransform:this.Jf,postRenderFunctions:[],size:e,skippedFeatureUids:this.fa,tileQueue:this.$a,time:t,usedTiles:{},viewState:p,viewHints:n,wantedTiles:{}}}n&&(n.extent=et(p.center,p.resolution,p.rotation,n.size,i)),this.c=n,this.B.Jg(n),n&&(n.animate&&this.render(),Array.prototype.push.apply(this.xb,n.postRenderFunctions),!r||this.g&&(pt(this.g)||z(n.extent,this.g))||(this.b(new So("movestart",this,r)),this.g=D(this.g)),!this.g||n.viewHints[0]||n.viewHints[1]||z(n.extent,this.g)||(this.b(new So("moveend",this,n)),T(n.extent,this.g))),this.b(new So("postrender",this,n)),setTimeout(this.Rl.bind(this),0)},Eu.qj=function(t){this.set("layergroup",t)},Eu.Qg=function(t){this.set("size",t)},Eu.Le=function(t){this.set("target",t)},Eu.iq=function(t){this.set("view",t)},Eu.xj=function(t){t=B(t).toString(),this.fa[t]=!0,this.render()},Eu.Ad=function(){var t,e=this.jd();e?(t=getComputedStyle(e),this.Qg([e.offsetWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)-parseFloat(t.borderRightWidth),e.offsetHeight-parseFloat(t.borderTopWidth)-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)-parseFloat(t.borderBottomWidth)])):this.Qg(void 0)},Eu.Cj=function(t){t=B(t).toString(),delete this.fa[t],this.render()},i(Kp,Le),(Eu=Kp.prototype).Rd=function(){return this.get(qp)},Eu.Jm=function(){return this.g},Eu.Me=function(){return this.get(Jp)},Eu.Dh=function(){return this.get(_p)},Eu.Yh=function(){return this.get($p)},Eu.Eh=function(){return this.get(Qp)},Eu.zl=function(){for(var t=this.c;t.lastChild;)t.removeChild(t.lastChild);(t=this.Rd())&&this.c.appendChild(t)},Eu.Jl=function(){this.f&&(_e(this.c),xe(this.f),this.f=null);var t=this.Me();t&&(this.f=be(t,"postrender",this.render,this),Hp(this),t=this.v?t.D:t.C,this.l?t.insertBefore(this.c,t.childNodes[0]||null):t.appendChild(this.c))},Eu.render=function(){Hp(this)},Eu.Nl=function(){Hp(this)},Eu.Pl=function(){var t,e,o,i,r,n,s;Hp(this),this.get($p)&&this.autoPan&&((t=this.Me())&&t.jd()&&(e=zp(t.jd(),t.Ob()),o=(s=this.Rd()).offsetWidth,r=getComputedStyle(s),o+=parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),r=s.offsetHeight,i=getComputedStyle(s),n=zp(s,[o,r=r+(parseInt(i.marginTop,10)+parseInt(i.marginBottom,10))]),s=this.o,N(e,n)||(o=n[0]-e[0],r=e[2]-n[2],i=n[1]-e[1],n=e[3]-n[3],e=[0,0],o<0?e[0]=o-s:r<0&&(e[0]=Math.abs(r)+s),i<0?e[1]=i-s:n<0&&(e[1]=Math.abs(n)+s),0===e[0]&&0===e[1])||(s=t.Z().wa(),e=[(s=t.Ja(s))[0]+e[0],s[1]+e[1]],t.Z().animate({center:t.Wa(e),duration:this.j.duration,easing:this.j.easing}))))},Eu.Ql=function(){Hp(this)},Eu.lj=function(t){this.set(qp,t)},Eu.setMap=function(t){this.set(Jp,t)},Eu.rj=function(t){this.set(_p,t)},Eu.Ne=function(t){this.set($p,t)},Eu.uj=function(t){this.set(Qp,t)};var qp="element",Jp="map",_p="offset",$p="position",Qp="positioning";function th(t){function e(t){t=a.Tf(t),p.a.Z().ob(t),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",e)}function o(t){t=a.Tf({clientX:t.clientX-l.offsetWidth/2,clientY:t.clientY+l.offsetHeight/2}),h.Ne(t)}t=t||{},this.j=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.j=!1);var i=void 0!==t.className?t.className:"ol-overviewmap",r=void 0!==t.tipLabel?t.tipLabel:"Overview map",n=void 0!==t.collapseLabel?t.collapseLabel:"«";"string"==typeof n?(this.u=document.createElement("span"),this.u.textContent=n):this.u=n,"string"==typeof(n=void 0!==t.label?t.label:"»")?(this.D=document.createElement("span"),this.D.textContent=n):this.D=n;var s=this.o&&!this.j?this.u:this.D;(n=document.createElement("button")).setAttribute("type","button"),n.title=r,n.appendChild(s),be(n,"click",this.an,this),this.C=document.createElement("DIV"),this.C.className="ol-overviewmap-map";var a=this.c=new Zp({controls:new ke,interactions:new ke,view:t.view});t.layers&&t.layers.forEach(function(t){a.ih(t)},this),(r=document.createElement("DIV")).className="ol-overviewmap-box",r.style.boxSizing="border-box",this.l=new Kp({position:[0,0],positioning:"bottom-left",element:r}),this.c.jh(this.l),(r=document.createElement("div")).className=i+" ol-unselectable ol-control"+(this.j&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),r.appendChild(this.C),r.appendChild(n),$e.call(this,{element:r,render:t.render?t.render:eh,target:t.target});var p=this,h=this.l,l=this.l.Rd();l.addEventListener("mousedown",function(){window.addEventListener("mousemove",o),window.addEventListener("mouseup",e)})}function eh(){var t,e,o,i,r=this.a,n=this.c;r.c&&n.c&&(t=r.Ob(),r=r.Z().dd(t),i=n.Ob(),t=n.Z().dd(i),e=n.Ja(rt(r)),o=n.Ja(Q(r)),n=Math.abs(e[0]-o[0]),e=Math.abs(e[1]-o[1]),o=i[0],i=i[1],n<.1*o||e<.1*i||.75*o<n||.75*i<e?oh(this):N(t,r)||(r=this.c,t=this.a.Z(),r.Z().ob(t.wa()))),ih(this)}function oh(t){var e=t.a;t=t.c;var o=e.Ob(),e=e.Z().dd(o);t=t.Z(),ht(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.Qf(e)}function ih(t){var e,o,i,r,n,s,a=t.a,p=t.c;a.c&&p.c&&(i=a.Ob(),r=a.Z(),n=p.Z(),p=r.Qa(),a=t.l,e=t.l.Rd(),o=r.dd(i),i=n.Pa(),r=$(o),n=nt(o),(t=t.a.Z().wa())&&(Ii(s=[r[0]-t[0],r[1]-t[1]],p),Ti(s,t)),a.Ne(s),e&&(e.style.width=Math.abs((r[0]-n[0])/i)+"px",e.style.height=Math.abs((n[1]-r[1])/i)+"px"))}function rh(t){t.element.classList.toggle("ol-collapsed"),t.j?Je(t.u,t.D):Je(t.D,t.u),t.j=!t.j;var e=t.c;t.j||e.c||(e.Ad(),oh(t),me(e,"postrender",function(){ih(this)},t))}function nh(t){var e=void 0!==(t=t||{}).className?t.className:"ol-scale-line";this.o=document.createElement("DIV"),this.o.className=e+"-inner",this.c=document.createElement("DIV"),this.c.className=e+" ol-unselectable",this.c.appendChild(this.o),this.u=null,this.l=void 0!==t.minWidth?t.minWidth:64,this.j=!1,this.B=void 0,this.D="",$e.call(this,{element:this.c,render:t.render?t.render:ah,target:t.target}),be(this,Ie(hh),this.T,this),this.I(t.units||"metric")}i(th,$e),(Eu=th.prototype).setMap=function(t){var e=this.a;t!==e&&(e&&((e=e.Z())&&we(e,Ie("rotation"),this.Ge,this),this.c.Le(null)),$e.prototype.setMap.call(this,t),t&&(this.c.Le(this.C),this.v.push(be(t,"propertychange",this.Kl,this)),this.c.Xh().dc()||this.c.qj(t.Kc()),t=t.Z()))&&(be(t,Ie("rotation"),this.Ge,this),Nr(t)&&(this.c.Ad(),oh(this)))},Eu.Kl=function(t){"view"===t.key&&((t=t.oldValue)&&we(t,Ie("rotation"),this.Ge,this),be(t=this.a.Z(),Ie("rotation"),this.Ge,this))},Eu.Ge=function(){this.c.Z().Oe(this.a.Z().Qa())},Eu.an=function(t){t.preventDefault(),rh(this)},Eu.$m=function(){return this.o},Eu.cn=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.j&&rh(this))},Eu.bn=function(t){this.o&&this.j!==t&&rh(this)},Eu.Zm=function(){return this.j},Eu.gl=function(){return this.c},i(nh,$e);var sh=[1,2,5];function ah(t){(t=t.frameState)?this.u=t.viewState:this.u=null,ph(this)}function ph(t){if(o=t.u){var e=(i=o.projection).sc(),o=Dt(i,o.resolution,o.center)*e,e=t.l*o,i="";"degrees"==(n=t.C())?(o/=i=vt.degrees,e<i/60?(i="″",o*=3600):e<i?(i="′",o*=60):i="°"):"imperial"==n?e<.9144?(i="in",o/=.0254):e<1609.344?(i="ft",o/=.3048):(i="mi",o/=1609.344):"nautical"==n?(o/=1852,i="nm"):"metric"==n?e<.001?(i="μm",o*=1e6):e<1?(i="mm",o*=1e3):e<1e3?i="m":(i="km",o/=1e3):"us"==n?e<.9144?(i="in",o*=39.37):e<1609.344?(i="ft",o/=.30480061):(i="mi",o/=1609.3472):X(!1,33);for(var r,n=3*Math.floor(Math.log(t.l*o)/Math.log(10));;){if(r=sh[(n%3+3)%3]*Math.pow(10,Math.floor(n/3)),e=Math.round(r/o),isNaN(e))return t.c.style.display="none",void(t.j=!1);if(e>=t.l)break;++n}o=r+" "+i,t.D!=o&&(t.o.innerHTML=o,t.D=o),t.B!=e&&(t.o.style.width=e+"px",t.B=e),t.j||(t.c.style.display="",t.j=!0)}else t.j&&(t.c.style.display="none",t.j=!1)}nh.prototype.C=function(){return this.get(hh)},nh.prototype.T=function(){ph(this)},nh.prototype.I=function(t){this.set(hh,t)};var hh="units";function lh(t){t=t||{},this.c=void 0,this.j=uh,this.D=this.l=0,this.I=null,this.na=!1,this.T=void 0!==t.duration?t.duration:200;var e=void 0!==t.className?t.className:"ol-zoomslider",o=document.createElement("button");o.setAttribute("type","button"),o.className=e+"-thumb ol-unselectable";var i=document.createElement("div");i.className=e+" ol-unselectable ol-control",i.appendChild(o),this.o=new ri(i),be(this.o,"pointerdown",this.yl,this),be(this.o,"pointermove",this.wl,this),be(this.o,"pointerup",this.xl,this),be(i,"click",this.vl,this),be(o,"click",Ee),$e.call(this,{element:i,render:t.render?t.render:ch})}i(lh,$e),lh.prototype.ka=function(){Pe(this.o),$e.prototype.ka.call(this)};var uh=0;function ch(t){var e,o,i,r,n;t.frameState&&(this.na||(e=(r=this.element).offsetWidth,o=r.offsetHeight,n=r.firstElementChild,i=getComputedStyle(n),r=n.offsetWidth+parseFloat(i.marginRight)+parseFloat(i.marginLeft),n=n.offsetHeight+parseFloat(i.marginTop)+parseFloat(i.marginBottom),this.I=[r,n],o<e?(this.j=1,this.D=e-r):(this.j=uh,this.l=o-n),this.na=!0),(t=t.frameState.viewState.resolution)!==this.c&&(this.c=t,fh(this,t)))}function fh(t,e){var o,i,r;e=1-(o=t.a.Z(),i=o.a,r=Math.log(i/o.f)/Math.log(2),function(t){return Math.log(i/t)/Math.log(2)/r}(e));var n=t.element.firstElementChild;1==t.j?n.style.left=t.D*e+"px":n.style.top=t.l*e+"px"}function yh(t,e){return o=t.a.Z(),i=o.a,r=Math.log(i/o.f)/Math.log(2),function(t){return i/Math.pow(2,t*r)}(1-e);var o,i,r}function gh(t){t=t||{},this.c=t.extent?t.extent:null;var e=void 0!==t.className?t.className:"ol-zoom-extent",o=void 0!==t.label?t.label:"E",i=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",r=document.createElement("button");r.setAttribute("type","button"),r.title=i,r.appendChild("string"==typeof o?document.createTextNode(o):o),be(r,"click",this.j,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(r),$e.call(this,{element:o,target:t.target})}function dh(t){Le.call(this),t=t||{},this.a=null,be(this,Ie(xh),this.vm,this),this.gg(void 0!==t.tracking&&t.tracking)}(Eu=lh.prototype).setMap=function(t){$e.prototype.setMap.call(this,t),t&&t.render()},Eu.vl=function(t){var e=this.a.Z();t=yh(this,x(1===this.j?(t.offsetX-this.I[0]/2)/this.D:(t.offsetY-this.I[1]/2)/this.l,0,1)),e.animate({resolution:e.constrainResolution(t),duration:this.T,easing:io})},Eu.yl=function(t){this.u||t.b.target!==this.element.firstElementChild||(Fr(this.a.Z(),1,1),this.C=t.clientX,this.B=t.clientY,this.u=!0)},Eu.wl=function(t){var e;this.u&&(e=this.element.firstElementChild,this.c=yh(this,x(1===this.j?(t.clientX-this.C+parseInt(e.style.left,10))/this.D:(t.clientY-this.B+parseInt(e.style.top,10))/this.l,0,1)),this.a.Z().Vc(this.c),fh(this,this.c),this.C=t.clientX,this.B=t.clientY)},Eu.xl=function(){var t;this.u&&(Fr(t=this.a.Z(),1,-1),t.animate({resolution:t.constrainResolution(this.c),duration:this.T,easing:io}),this.u=!1,this.B=this.C=void 0)},i(gh,$e),gh.prototype.j=function(t){t.preventDefault(),t=this.a.Z();var e=this.c?this.c:t.v.G();t.Qf(e)},i(dh,Le),(Eu=dh.prototype).ka=function(){this.gg(!1),Le.prototype.ka.call(this)},Eu.ap=function(t){var e;null!==t.alpha&&(e=M(t.alpha),this.set(vh,e),"boolean"==typeof t.absolute&&t.absolute?this.set(wh,e):"number"==typeof t.webkitCompassHeading&&-1!=t.webkitCompassAccuracy&&this.set(wh,M(t.webkitCompassHeading))),null!==t.beta&&this.set(bh,M(t.beta)),null!==t.gamma&&this.set(mh,M(t.gamma)),this.s()},Eu.Fk=function(){return this.get(vh)},Eu.Ik=function(){return this.get(bh)},Eu.Ok=function(){return this.get(mh)},Eu.um=function(){return this.get(wh)},Eu.Th=function(){return this.get(xh)},Eu.vm=function(){var t;Do&&((t=this.Th())&&!this.a?this.a=be(window,"deviceorientation",this.ap,this):t||null===this.a||(xe(this.a),this.a=null))},Eu.gg=function(t){this.set(xh,t)};var vh="alpha",bh="beta",mh="gamma",wh="heading",xh="tracking";function Sh(t){this.f=t.opacity,this.l=t.rotateWithView,this.g=t.rotation,this.a=t.scale,this.v=t.snapToPixel}function Mh(t){this.D=this.u=this.c=null,this.Va=void 0!==t.fill?t.fill:null,this.oa=[0,0],this.o=t.points,this.b=void 0!==t.radius?t.radius:t.radius1,this.i=t.radius2,this.j=void 0!==t.angle?t.angle:0,this.Ya=void 0!==t.stroke?t.stroke:null,this.B=this.ra=this.C=null,this.S=t.atlasManager,Ph(this,this.S),Sh.call(this,{opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function Ph(t,e){var o,i="",r="",n=0,s=null,a=0;t.Ya&&(null===(o=t.Ya.a)&&(o=gs),o=He(o),void 0===(a=t.Ya.c)&&(a=1),s=t.Ya.i,Fo||(s=null),void 0===(r=t.Ya.j)&&(r="round"),void 0===(i=t.Ya.f)&&(i="round"),void 0===(n=t.Ya.o)&&(n=10));var p,h=2*(t.b+a)+1,i={strokeStyle:o,zj:a,size:h,lineCap:i,lineDash:s,lineJoin:r,miterLimit:n};void 0===e?(p=qe(h,h),t.u=p.canvas,e=h=t.u.width,t.rh(i,p,0,0),t.Va?t.D=t.u:(p=qe(i.size,i.size),t.D=p.canvas,t.qh(i,p,0,0))):(h=Math.round(h),(r=!t.Va)&&(p=t.qh.bind(t,i)),n=t.Ya?(void 0===(n=t.Ya).b&&(n.b="s",n.b=n.a?"string"==typeof n.a?n.b+n.a:n.b+B(n.a).toString():n.b+"-",n.b+=","+(void 0!==n.f?n.f.toString():"-")+","+(n.i?n.i.toString():"-")+","+(void 0!==n.g?n.g:"-")+","+(void 0!==n.j?n.j:"-")+","+(void 0!==n.o?n.o.toString():"-")+","+(void 0!==n.c?n.c.toString():"-")),n.b):"-",s=t.Va?(void 0===(s=t.Va).a&&(s.a=s.b instanceof CanvasPattern||s.b instanceof CanvasGradient?B(s.b).toString():"f"+(s.b?We(s.b):"-")),s.a):"-",t.c&&n==t.c[1]&&s==t.c[2]&&t.b==t.c[3]&&t.i==t.c[4]&&t.j==t.c[5]&&t.o==t.c[6]||(t.c=["r"+n+s+(void 0!==t.b?t.b.toString():"-")+(void 0!==t.i?t.i.toString():"-")+(void 0!==t.j?t.j.toString():"-")+(void 0!==t.o?t.o.toString():"-"),n,s,t.b,t.i,t.j,t.o]),p=e.add(t.c[0],h,h,t.rh.bind(t,i),p),t.u=p.image,t.oa=[p.offsetX,p.offsetY],e=p.image.width,t.D=r?p.Zl:t.u),t.C=[h/2,h/2],t.ra=[h,h],t.B=[e,e]}function Ah(t){Mh.call(this,{points:1/0,fill:(t=t||{}).fill,radius:t.radius,snapToPixel:t.snapToPixel,stroke:t.stroke,atlasManager:t.atlasManager})}function Eh(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.a=void 0}function Th(t){t=t||{},this.Gc=null,this.Za=Ih,void 0!==t.geometry&&this.Ra(t.geometry),this.Va=void 0!==t.fill?t.fill:null,this.M=void 0!==t.image?t.image:null,this.Ya=void 0!==t.stroke?t.stroke:null,this.Ia=void 0!==t.text?t.text:null,this.Fj=t.zIndex}function jh(t){var e;return"function"!=typeof t&&(e=Array.isArray(t)?t:(X(t instanceof Th,41),[t]),t=function(){return e}),t}(Eu=Sh.prototype).Ze=function(){return this.f},Eu.$e=function(){return this.l},Eu.af=function(){return this.g},Eu.bf=function(){return this.a},Eu.Ae=function(){return this.v},Eu.td=function(t){this.f=t},Eu.cf=function(t){this.g=t},Eu.ud=function(t){this.a=t},i(Mh,Sh),(Eu=Mh.prototype).clone=function(){var t=new Mh({fill:this.Fa()?this.Fa().clone():void 0,points:this.o,radius:this.b,radius2:this.i,angle:this.j,snapToPixel:this.v,stroke:this.Ga()?this.Ga().clone():void 0,rotation:this.g,rotateWithView:this.l,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},Eu.Hc=function(){return this.C},Eu.Pi=function(){return this.j},Eu.Fa=function(){return this.Va},Eu.qg=function(){return this.D},Eu.Y=function(){return this.u},Eu.ye=function(){return this.B},Eu.Ye=function(){return 2},Eu.Oc=function(){return this.oa},Eu.Qi=function(){return this.o},Eu.Ri=function(){return this.b},Eu.Fh=function(){return this.i},Eu.ic=function(){return this.ra},Eu.Ga=function(){return this.Ya},Eu.Nh=function(){},Eu.load=function(){},Eu.Bj=function(){},Eu.rh=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath();var r=this.o;if(1/0===r)e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else{var n=void 0!==this.i?this.i:this.b;for(n!==this.b&&(r*=2),o=0;o<=r;o++){i=2*o*Math.PI/r-Math.PI/2+this.j;var s=o%2?n:this.b;e.lineTo(t.size/2+s*Math.cos(i),t.size/2+s*Math.sin(i))}}this.Va&&(null===(o=this.Va.b)&&(o=fs),e.fillStyle=He(o),e.fill()),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},Eu.qh=function(t,e,o,i){var r;if(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),1/0===(o=this.o))e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else for((i=void 0!==this.i?this.i:this.b)!==this.b&&(o*=2),r=0;r<=o;r++){var n=2*r*Math.PI/o-Math.PI/2+this.j,s=r%2?i:this.b;e.lineTo(t.size/2+s*Math.cos(n),t.size/2+s*Math.sin(n))}e.fillStyle=fs,e.fill(),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},i(Ah,Mh),Ah.prototype.clone=function(){var t=new Ah({fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,radius:this.b,snapToPixel:this.v,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},Ah.prototype.Uc=function(t){this.b=t,Ph(this,this.S)},Eh.prototype.clone=function(){var t=this.b;return new Eh({color:t&&t.slice?t.slice():t||void 0})},Eh.prototype.i=function(){return this.b},Eh.prototype.c=function(t){this.b=t,this.a=void 0},(Eu=Th.prototype).clone=function(){var t=this.V();return t&&t.clone&&(t=t.clone()),new Th({geometry:t,fill:this.Fa()?this.Fa().clone():void 0,image:this.Y()?this.Y().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,text:this.Na()?this.Na().clone():void 0,zIndex:this.Ba()})},Eu.V=function(){return this.Gc},Eu.Pk=function(){return this.Za},Eu.Fa=function(){return this.Va},Eu.pf=function(t){this.Va=t},Eu.Y=function(){return this.M},Eu.Og=function(t){this.M=t},Eu.Ga=function(){return this.Ya},Eu.qf=function(t){this.Ya=t},Eu.Na=function(){return this.Ia},Eu.xd=function(t){this.Ia=t},Eu.Ba=function(){return this.Fj},Eu.Ra=function(e){"function"==typeof e?this.Za=e:"string"==typeof e?this.Za=function(t){return t.get(e)}:e?e&&(this.Za=function(){return e}):this.Za=Ih,this.Gc=e},Eu.Vb=function(t){this.Fj=t};var Ch=null;function Lh(){var t,e;return Ch||(t=new Eh({color:"rgba(255,255,255,0.4)"}),e=new Ga({color:"#3399CC",width:1.25}),Ch=[new Th({image:new Ah({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]),Ch}function Rh(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new Th({fill:new Eh({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new Th({stroke:new Ga({color:e,width:5})}),new Th({stroke:new Ga({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new Th({image:new Ah({radius:6,fill:new Eh({color:o}),stroke:new Ga({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Ih(t){return t.V()}function Nh(t){Le.call(this),this.a=void 0,this.c="geometry",this.g=null,this.j=void 0,this.f=null,be(this,Ie(this.c),this.Ee,this),void 0!==t&&(t instanceof Bi||!t?this.Ra(t):this.H(t))}i(Nh,Le),(Eu=Nh.prototype).clone=function(){var t=new Nh(this.N());t.Tc(this.c);var e=this.V();return e&&t.Ra(e.clone()),(e=this.g)&&t.hg(e),t},Eu.V=function(){return this.get(this.c)},Eu.wm=function(){return this.a},Eu.Qk=function(){return this.c},Eu.xm=function(){return this.g},Eu.Lc=function(){return this.j},Eu.Al=function(){this.s()},Eu.Ee=function(){this.f&&(xe(this.f),this.f=null);var t=this.V();t&&(this.f=be(t,"change",this.Al,this)),this.s()},Eu.Ra=function(t){this.set(this.c,t)},Eu.hg=function(t){this.j=(this.g=t)?function(e){var t;{var o;t="function"==typeof e?2==e.length?function(t){return e(this,t)}:e:(o=Array.isArray(e)?e:(X(e instanceof Th,41),[e]),function(){return o})}return t}(t):void 0,this.s()},Eu.jc=function(t){this.a=t,this.s()},Eu.Tc=function(t){we(this,Ie(this.c),this.Ee,this),this.c=t,be(this,Ie(this.c),this.Ee,this),this.Ee()};var Fh=document.implementation.createDocument("","",null);function kh(t,e){return Fh.createElementNS(t,e)}function Dh(t,e){return function t(e,o,i){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)o?i.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(e.nodeValue);else for(e=e.firstChild;e;e=e.nextSibling)t(e,o,i);return i}(t,e,[]).join("")}function Oh(t){return t instanceof Document}function Uh(t){return t instanceof Node}function Gh(t){return(new DOMParser).parseFromString(t,"application/xml")}function Bh(o,i){return function(t,e){void 0!==(t=o.call(i,t,e))&&c(e[e.length-1],t)}}function Xh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&e[e.length-1].push(t)}}function Vh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&(e[e.length-1]=t)}}function Wh(i){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e=e[e.length-1],((t=t.localName)in e?e[t]:e[t]=[]).push(o))}}function Zh(i,r){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e[e.length-1][void 0!==r?r:t.localName]=o)}}function Kh(i,r){return function(t,e,o){i.call(void 0!==r?r:this,t,e,o),o[o.length-1].node.appendChild(t)}}function zh(r){var n,s;return function(t,e,o){var i;n||(n={},(i={})[t.localName]=r,n[t.namespaceURI]=i,s=Yh(t.localName)),Qh(n,s,e,o)}}function Yh(i,r){return function(t,e,o){return t=e[e.length-1].node,void 0===(e=i)&&(e=o),void 0===(o=r)&&(o=t.namespaceURI),kh(o,e)}}var Hh=Yh();function qh(t,e){for(var o=e.length,i=Array(o),r=0;r<o;++r)i[r]=t[e[r]];return i}function Jh(t,e,o){o=void 0!==o?o:{};for(var i=0,r=t.length;i<r;++i)o[t[i]]=e;return o}function _h(t,e,o,i){for(e=e.firstElementChild;e;e=e.nextElementSibling){var r=t[e.namespaceURI];void 0!==r&&(r=r[e.localName])&&r.call(i,e,o)}}function $h(t,e,o,i,r){return i.push(t),_h(e,o,i,r),i.pop()}function Qh(t,e,o,i,r,n){for(var s,a,p=(void 0!==r?r:o).length,h=0;h<p;++h)void 0!==(s=o[h])&&(void 0!==(a=e.call(n,s,i,void 0!==r?r[h]:void 0))&&t[a.namespaceURI][a.localName].call(n,a,s,i))}function tl(t,e,o,i,r,n,s){r.push(t),Qh(e,o,i,r,n,s),r.pop()}function el(r,n,s,a){return function(t,e,o){var i=new XMLHttpRequest;i.open("GET","function"==typeof r?r(t,e,o):r,!0),"arraybuffer"==n.U()&&(i.responseType="arraybuffer"),i.onload=function(){var t,e;!i.status||200<=i.status&&i.status<300?("json"==(t=n.U())||"text"==t?e=i.responseText:"xml"==t?(e=i.responseXML)||(e=Gh(i.responseText)):"arraybuffer"==t&&(e=i.response),e?s.call(this,n.Oa(e,{featureProjection:o}),n.kb(e)):a.call(this)):a.call(this)}.bind(this),i.onerror=function(){a.call(this)}.bind(this),i.send()}}function ol(t,e){return el(t,e,function(t){this.cd(t)},w)}function il(){this.f=this.defaultDataProjection=null}function rl(t,e,o){var i;return o&&(i={dataProjection:o.dataProjection?o.dataProjection:t.kb(e),featureProjection:o.featureProjection}),nl(t,i)}function nl(t,e){return ut({dataProjection:t.defaultDataProjection,featureProjection:t.f},e)}function sl(t,e,o){var i,r=o?Vt(o.featureProjection):null,n=o?Vt(o.dataProjection):null,s=r&&n&&!Wt(r,n)?t instanceof Bi?(e?t.clone():t).tb(e?r:n,e?n:r):qt(t,n,r):t;return e&&o&&void 0!==o.decimals&&(i=Math.pow(10,o.decimals),s===t&&(s=s.clone()),s.Dc(function(t){for(var e=0,o=t.length;e<o;++e)t[e]=Math.round(t[e]*i)/i;return t})),s}function al(){il.call(this)}function pl(t){return"string"==typeof t?(t=JSON.parse(t))?t:null:null!==t?t:null}function hl(t,e,o,i,r,n){var s=NaN,a=NaN;if(1===(p=(o-e)/i))s=t[e],a=t[e+1];else if(2==p)s=(1-r)*t[e]+r*t[e+i],a=(1-r)*t[e+1]+r*t[e+i+1];else if(p){for(var a=t[e],p=t[e+1],h=0,s=[0],l=e+i;l<o;l+=i){var u=t[l],c=t[l+1],h=h+Math.sqrt((u-a)*(u-a)+(c-p)*(c-p));s.push(h),a=u,p=c}for(o=r*h,p=0,h=s.length,l=!1;p<h;)(a=+G(s[r=p+(h-p>>1)],o))<0?p=r+1:(h=r,l=!a);a=(r=l?p:~p)<0?(o=(o-s[-r-2])/(s[-r-1]-s[-r-2]),s=f(t[e+=(-r-2)*i],t[e+i],o),f(t[e+1],t[e+i+1],o)):(s=t[e+r*i],t[e+r*i+1])}return n?(n[0]=s,n[1]=a,n):[s,a]}function ll(t,e,o,i,r,n){if(o==e)return null;if(r<t[e+i-1])return n?((o=t.slice(e,e+i))[i-1]=r,o):null;if(t[o-1]<r)return n?((o=t.slice(o-i,o))[i-1]=r,o):null;if(r==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r<t[((n=e+o>>1)+1)*i-1]?o=n:e=n+1;if(r==(o=t[e*i-1]))return t.slice((e-1)*i,(e-1)*i+i);var s;for(n=(r-o)/(t[(e+1)*i-1]-o),o=[],s=0;s<i-1;++s)o.push(f(t[(e-1)*i+s],t[e*i+s],n));return o.push(r),o}function ul(t,e){Wi.call(this),this.c=null,this.u=this.D=this.j=-1,this.ma(t,e)}function cl(t){return t.j!=t.i&&(t.c=t.wh(.5,t.c),t.j=t.i),t.c}function fl(t,e){Wi.call(this),this.c=[],this.j=this.u=-1,this.ma(t,e)}function yl(t){var e=[],o=t.A,i=0,r=t.c;t=t.a;for(var n=0,s=r.length;n<s;++n){var a=r[n];c(e,i=hl(o,i,a,t,.5)),i=a}return e}function gl(t,e){for(var o=t.ja,i=[],r=[],n=0,s=e.length;n<s;++n){var a=e[n];n||(o=a.ja),c(i,a.ga()),r.push(i.length)}t.ba(o,i,r)}function dl(t,e){Wi.call(this),this.ma(t,e)}function vl(t,e){Wi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function bl(t){if(t.u!=t.i){var e=t.A,o=t.c,i=t.a,r=0,n=[],s=0;for(h=o.length;s<h;++s){var a=o[s],r=K(e,r,a[0],i);n.push((r[0]+r[2])/2,(r[1]+r[3])/2),r=a[a.length-1]}for(e=ml(t),o=t.c,i=t.a,h=[],a=s=0,r=o.length;a<r;++a)var p=o[a],h=cr(e,s,p,i,n,2*a,h),s=p[p.length-1];t.D=h,t.u=t.i}return t.D}function ml(t){if(t.I!=t.i){var e=t.A;t:{for(var o=t.c,i=0,r=o.length;i<r;++i)if(!vr(e,o[i],t.a,void 0)){o=!1;break t}o=!0}o?t.j=e:(t.j=e.slice(),t.j.length=mr(t.j,t.c,t.a)),t.I=t.i}return t.j}function wl(t,e,o,i){Ki(t,e,o),t.c=i,t.s()}function xl(t,e){for(var o=t.ja,i=[],r=[],n=0,s=e.length;n<s;++n){var a=e[n];n||(o=a.ja);for(var p=i.length,h=a.Bb(),l=0,u=h.length;l<u;++l)h[l]+=p;c(i,a.ga()),r.push(h)}wl(t,o,i,r)}function Sl(t){t=t||{},il.call(this),this.b=t.geometryName}function Ml(t,e){if(!t)return null;if("number"==typeof t.x&&"number"==typeof t.y)var o="Point";else if(t.points)o="MultiPoint";else if(t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){for(var i=t.rings,r=Pl(t),n=[],s=[],o=[],a=0,p=i.length;a<p;++a)n.length=0,er(n,0,i[a],r.length),dr(n,0,n.length,r.length)?s.push([i[a]]):o.push(i[a]);for(;o.length;){for(i=o.shift(),r=!1,a=s.length-1;0<=a;a--)if(N(new ar(s[a][0]).G(),new ar(i).G())){s[a].push(i),r=!0;break}r||s.push([i.reverse()])}t=ut({},t),1===s.length?(o="Polygon",t.rings=s[0]):(o="MultiPolygon",t.rings=s)}return sl((0,El[o])(t),!1,e)}function Pl(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function Al(t){return{hasZ:"XYZ"===(t=t.ja)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}i(al,il),(Eu=al.prototype).U=function(){return"json"},Eu.Tb=function(t,e){return this.Rc(pl(t),rl(this,t,e))},Eu.Oa=function(t,e){return this.yg(pl(t),rl(this,t,e))},Eu.Sc=function(t,e){return this.Cg(pl(t),rl(this,t,e))},Eu.kb=function(t){return this.Fg(pl(t))},Eu.Bd=function(t,e){return JSON.stringify(this.Zc(t,e))},Eu.Wb=function(t,e){return JSON.stringify(this.he(t,e))},Eu.$c=function(t,e){return JSON.stringify(this.je(t,e))},i(ul,Wi),(Eu=ul.prototype).mk=function(t){this.A?c(this.A,t):this.A=t.slice(),this.s()},Eu.clone=function(){var t=new ul(null);return t.ba(this.ja,this.A.slice()),t},Eu.Kb=function(t,e,o,i){return i<j(this.G(),t,e)?i:(this.u!=this.i&&(this.D=Math.sqrt(Ji(this.A,0,this.A.length,this.a,0)),this.u=this.i),$i(this.A,0,this.A.length,this.a,this.D,!1,t,e,o,i))},Eu.Ck=function(t,e){return fr(this.A,0,this.A.length,this.a,t,e)},Eu.nn=function(t,e){return"XYM"!=this.ja&&"XYZM"!=this.ja?null:ll(this.A,0,this.A.length,this.a,t,void 0!==e&&e)},Eu.X=function(){return ir(this.A,0,this.A.length,this.a)},Eu.wh=function(t,e){return hl(this.A,0,this.A.length,this.a,t,e)},Eu.pn=function(){for(var t=this.A,e=this.a,o=t[0],i=t[1],r=0,n=0+e;n<this.A.length;n+=e)var s=t[n],a=t[n+1],r=r+Math.sqrt((s-o)*(s-o)+(a-i)*(a-i)),o=s,i=a;return r},Eu.hd=function(t){var e=[];return e.length=nr(this.A,0,this.A.length,this.a,t,e,0),(t=new ul(null)).ba("XY",e),t},Eu.U=function(){return"LineString"},Eu.Xa=function(t){return yr(this.A,0,this.A.length,this.a,t)},Eu.ma=function(t,e){t?(zi(this,e,t,1),this.A||(this.A=[]),this.A.length=er(this.A,0,t,this.a),this.s()):this.ba("XY",null)},Eu.ba=function(t,e){Ki(this,t,e),this.s()},i(fl,Wi),(Eu=fl.prototype).nk=function(t){this.A?c(this.A,t.ga().slice()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},Eu.clone=function(){var t=new fl(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},Eu.Kb=function(t,e,o,i){return i<j(this.G(),t,e)?i:(this.j!=this.i&&(this.u=Math.sqrt(_i(this.A,0,this.c,this.a,0)),this.j=this.i),Qi(this.A,0,this.c,this.a,this.u,!1,t,e,o,i))},Eu.rn=function(t,e,o){return"XYM"!=this.ja&&"XYZM"!=this.ja||!this.A.length?null:function(t,e,o,i,r,n){var s=0;if(n)return ll(t,s,e[e.length-1],o,i,r);if(i<t[o-1])return r?((t=t.slice(0,o))[o-1]=i,t):null;if(t[t.length-1]<i)return r?((t=t.slice(t.length-o))[o-1]=i,t):null;for(r=0,n=e.length;r<n;++r){var a=e[r];if(s!=a){if(i<t[s+o-1])break;if(i<=t[a-1])return ll(t,s,a,o,i,!1);s=a}}return null}(this.A,this.c,this.a,t,void 0!==e&&e,void 0!==o&&o)},Eu.X=function(){return rr(this.A,0,this.c,this.a)},Eu.Bb=function(){return this.c},Eu.Yk=function(t){if(t<0||this.c.length<=t)return null;var e=new ul(null);return e.ba(this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},Eu.gd=function(){for(var t=this.A,e=this.c,o=this.ja,i=[],r=0,n=0,s=e.length;n<s;++n){var a=e[n],p=new ul(null);p.ba(o,t.slice(r,a)),i.push(p),r=a}return i},Eu.hd=function(t){for(var e=[],o=[],i=this.A,r=this.c,n=this.a,s=0,a=0,p=0,h=r.length;p<h;++p){var l=r[p],a=nr(i,s,l,n,t,e,a);o.push(a),s=l}return e.length=a,(t=new fl(null)).ba("XY",e,o),t},Eu.U=function(){return"MultiLineString"},Eu.Xa=function(t){t:{for(var e=this.A,o=this.c,i=this.a,r=0,n=0,s=o.length;n<s;++n){if(yr(e,r,o[n],i,t)){t=!0;break t}r=o[n]}t=!1}return t},Eu.ma=function(t,e){t?(zi(this,e,t,2),this.A||(this.A=[]),t=or(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},Eu.ba=function(t,e,o){Ki(this,t,e),this.c=o,this.s()},i(dl,Wi),(Eu=dl.prototype).qk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.s()},Eu.clone=function(){var t=new dl(null);return t.ba(this.ja,this.A.slice()),t},Eu.Kb=function(t,e,o,i){if(i<j(this.G(),t,e))return i;for(var r=this.A,n=this.a,s=0,a=r.length;s<a;s+=n){var p=y(t,e,r[s],r[s+1]);if(p<i){for(i=p,p=0;p<n;++p)o[p]=r[s+p];o.length=n}}return i},Eu.X=function(){return ir(this.A,0,this.A.length,this.a)},Eu.il=function(t){var e=this.A?this.A.length/this.a:0;return t<0||e<=t?null:((e=new hr(null)).ba(this.ja,this.A.slice(t*this.a,(t+1)*this.a)),e)},Eu.Zd=function(){for(var t=this.A,e=this.ja,o=this.a,i=[],r=0,n=t.length;r<n;r+=o){var s=new hr(null);s.ba(e,t.slice(r,r+o)),i.push(s)}return i},Eu.U=function(){return"MultiPoint"},Eu.Xa=function(t){for(var e=this.A,o=this.a,i=0,r=e.length;i<r;i+=o){if(I(t,e[i],e[i+1]))return!0}return!1},Eu.ma=function(t,e){t?(zi(this,e,t,1),this.A||(this.A=[]),this.A.length=er(this.A,0,t,this.a),this.s()):this.ba("XY",null)},Eu.ba=function(t,e){Ki(this,t,e),this.s()},i(vl,Wi),(Eu=vl.prototype).rk=function(t){if(this.A){var e=this.A.length;c(this.A,t.ga());for(var o=0,i=(t=t.Bb().slice()).length;o<i;++o)t[o]+=e}else this.A=t.ga().slice(),t=t.Bb().slice(),this.c.push();this.c.push(t),this.s()},Eu.clone=function(){for(var t=new vl(null),e=this.c.length,o=Array(e),i=0;i<e;++i)o[i]=this.c[i].slice();return wl(t,this.ja,this.A.slice(),o),t},Eu.Kb=function(t,e,o,i){if(i<j(this.G(),t,e))return i;if(this.C!=this.i){for(var r=this.c,n=0,s=0,a=0,p=r.length;a<p;++a)var h=r[a],s=_i(this.A,n,h,this.a,s),n=h[h.length-1];this.B=Math.sqrt(s),this.C=this.i}r=ml(this),n=this.c,s=this.a,a=this.B;for(var h=[NaN,NaN],l=p=0,u=n.length;l<u;++l){var c=n[l];i=Qi(r,p,c,s,a,!0,t,e,o,i,h),p=c[c.length-1]}return i},Eu.Mc=function(t,e){t:{var o=ml(this),i=this.c,r=0;if(i.length)for(var n=0,s=i.length;n<s;++n){var a=i[n];if(ur(o,r,a,this.a,t,e)){t=!0;break t}r=a[a.length-1]}t=!1}return t},Eu.sn=function(){for(var t=ml(this),e=this.c,o=0,i=0,r=0,n=e.length;r<n;++r)var s=e[r],i=i+Hi(t,o,s,this.a),o=s[s.length-1];return i},Eu.X=function(t){var e;void 0!==t?mr(e=ml(this).slice(),this.c,this.a,t):e=this.A,t=e,e=this.c;for(var o=this.a,i=0,r=[],n=0,s=0,a=e.length;s<a;++s){var p=e[s];r[n++]=rr(t,i,p,o,r[n]),i=p[p.length-1]}return r.length=n,r},Eu.Uk=function(){var t=new dl(null);return t.ba("XY",bl(this).slice()),t},Eu.hd=function(t){var e=[],o=[],i=this.A,r=this.c,n=this.a;t=Math.sqrt(t);for(var s=0,a=0,p=0,h=r.length;p<h;++p){var l=r[p],u=[],a=sr(i,s,l,n,t,e,a,u);o.push(u),s=l[l.length-1]}return e.length=a,wl(i=new vl(null),"XY",e,o),i},Eu.jl=function(t){if(t<0||this.c.length<=t)return null;var e;e=t?(e=this.c[t-1])[e.length-1]:0;var o=(t=this.c[t].slice())[t.length-1];if(e)for(var i=0,r=t.length;i<r;++i)t[i]-=e;return(i=new wr(null)).ba(this.ja,this.A.slice(e,o),t),i},Eu.Td=function(){for(var t=this.ja,e=this.A,o=this.c,i=[],r=0,n=0,s=o.length;n<s;++n){var a=o[n].slice(),p=a[a.length-1];if(r)for(var h=0,l=a.length;h<l;++h)a[h]-=r;(h=new wr(null)).ba(t,e.slice(r,p),a),i.push(h),r=p}return i},Eu.U=function(){return"MultiPolygon"},Eu.Xa=function(t){t:{for(var e=ml(this),o=this.c,i=this.a,r=0,n=0,s=o.length;n<s;++n){var a=o[n];if(gr(e,r,a,i,t)){t=!0;break t}r=a[a.length-1]}t=!1}return t},Eu.ma=function(t,e){if(t){zi(this,e,t,3),this.A||(this.A=[]),e=this.A;for(var o=this.a,i=0,r=(r=this.c)||[],n=0,s=0,a=t.length;s<a;++s)i=or(e,i,t[s],o,r[n]),i=(r[n++]=i)[i.length-1];r.length=n,r.length?(t=r[r.length-1],this.A.length=t.length?t[t.length-1]:0):this.A.length=0,this.s()}else wl(this,"XY",null,this.c)},i(Sl,al);var El={Point:function(t){return void 0!==t.m&&void 0!==t.z?new hr([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new hr([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new hr([t.x,t.y,t.m],"XYM"):new hr([t.x,t.y])},LineString:function(t){return new ul(t.paths[0],Pl(t))},Polygon:function(t){return new wr(t.rings,Pl(t))},MultiPoint:function(t){return new dl(t.points,Pl(t))},MultiLineString:function(t){return new fl(t.paths,Pl(t))},MultiPolygon:function(t){return new vl(t.rings,Pl(t))}},Tl={Point:function(t){var e,o=t.X();return"XYZ"===(t=t.ja)?e={x:o[0],y:o[1],z:o[2]}:"XYM"===t?e={x:o[0],y:o[1],m:o[2]}:"XYZM"===t?e={x:o[0],y:o[1],z:o[2],m:o[3]}:"XY"===t?e={x:o[0],y:o[1]}:X(!1,34),e},LineString:function(t){var e=Al(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.X()]}},Polygon:function(t){var e=Al(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.X(!1)}},MultiPoint:function(t){var e=Al(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.X()}},MultiLineString:function(t){var e=Al(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.X()}},MultiPolygon:function(t){var e=Al(t);t=t.X(!1);for(var o=[],i=0;i<t.length;i++)for(var r=t[i].length-1;0<=r;r--)o.push(t[i][r]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};function jl(t,e){return(0,Tl[t.U()])(sl(t,!0,e),e)}function Cl(t){this.kc=t}function Ll(t,e){this.kc=t,this.b=Array.prototype.slice.call(arguments,1),X(2<=this.b.length,57)}function Rl(t){var e=["And"].concat(Array.prototype.slice.call(arguments));Ll.apply(this,e)}function Il(t,e,o){this.kc="BBOX",this.geometryName=t,this.extent=e,this.srsName=o}function Nl(t,e){this.kc=t,this.b=e}function Fl(t,e,o){Nl.call(this,"During",t),this.a=e,this.i=o}function kl(t,e,o,i){Nl.call(this,t,e),this.i=o,this.a=i}function Dl(t,e,o){kl.call(this,"PropertyIsEqualTo",t,e,o)}function Ol(t,e){kl.call(this,"PropertyIsGreaterThan",t,e)}function Ul(t,e){kl.call(this,"PropertyIsGreaterThanOrEqualTo",t,e)}function Gl(t,e,o,i){this.kc=t,this.geometryName=e||"the_geom",this.geometry=o,this.srsName=i}function Bl(t,e,o){Gl.call(this,"Intersects",t,e,o)}function Xl(t,e,o){Nl.call(this,"PropertyIsBetween",t),this.a=e,this.i=o}function Vl(t,e,o,i,r,n){Nl.call(this,"PropertyIsLike",t),this.c=e,this.g=void 0!==o?o:"*",this.f=void 0!==i?i:".",this.i=void 0!==r?r:"!",this.a=n}function Wl(t){Nl.call(this,"PropertyIsNull",t)}function Zl(t,e){kl.call(this,"PropertyIsLessThan",t,e)}function Kl(t,e){kl.call(this,"PropertyIsLessThanOrEqualTo",t,e)}function zl(t){this.kc="Not",this.condition=t}function Yl(t,e,o){kl.call(this,"PropertyIsNotEqualTo",t,e,o)}function Hl(t){var e=["Or"].concat(Array.prototype.slice.call(arguments));Ll.apply(this,e)}function ql(t,e,o){Gl.call(this,"Within",t,e,o)}function Jl(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(Rl,e))}function _l(t,e,o){return new Il(t,e,o)}function $l(t){Bi.call(this),this.a=t||null,eu(this)}function Ql(t){for(var e=[],o=0,i=t.length;o<i;++o)e.push(t[o].clone());return e}function tu(t){if(t.a)for(var e=0,o=t.a.length;e<o;++e)we(t.a[e],"change",t.s,t)}function eu(t){if(t.a)for(var e=0,o=t.a.length;e<o;++e)be(t.a[e],"change",t.s,t)}function ou(t){t=t||{},il.call(this),this.defaultDataProjection=Vt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326"),t.featureProjection&&(this.f=Vt(t.featureProjection)),this.b=t.geometryName}function iu(t,e){return t?sl((0,nu[t.type])(t),!1,e):null}function ru(t,e){return(0,su[t.U()])(sl(t,!0,e),e)}(Eu=Sl.prototype).Rc=function(t,e){var o=Ml(t.geometry,e),i=new Nh;return this.b&&i.Tc(this.b),i.Ra(o),e&&e.dg&&t.attributes[e.dg]&&i.jc(t.attributes[e.dg]),t.attributes&&i.H(t.attributes),i},Eu.yg=function(t,e){if(e=e||{},t.features){var o,i=[],r=t.features;for(e.dg=t.objectIdFieldName,t=0,o=r.length;t<o;++t)i.push(this.Rc(r[t],e));return i}return[this.Rc(t,e)]},Eu.Cg=Ml,Eu.Fg=function(t){return t.spatialReference&&t.spatialReference.wkid?Vt("EPSG:"+t.spatialReference.wkid):null},Eu.je=function(t,e){return jl(t,nl(this,e))},Eu.Zc=function(t,e){e=nl(this,e);var o={},i=t.V();return i&&(o.geometry=jl(i,e)),delete(i=t.N())[t.c],o.attributes=yt(i)?{}:i,e&&e.featureProjection&&(o.spatialReference={wkid:Vt(e.featureProjection).mb.split(":").pop()}),o},Eu.he=function(t,e){e=nl(this,e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(this.Zc(t[i],e));return{features:o}},i(Ll,Cl),i(Rl,Ll),i(Il,Cl),i(Nl,Cl),i(Fl,Nl),i(kl,Nl),i(Dl,kl),i(Ol,kl),i(Ul,kl),i(Gl,Cl),i(Bl,Gl),i(Xl,Nl),i(Vl,Nl),i(Wl,Nl),i(Zl,kl),i(Kl,kl),i(zl,Cl),i(Yl,kl),i(Hl,Ll),i(ql,Gl),i($l,Bi),(Eu=$l.prototype).clone=function(){var t=new $l(null);return t.oj(this.a),t},Eu.Kb=function(t,e,o,i){if(i<j(this.G(),t,e))return i;for(var r=this.a,n=0,s=r.length;n<s;++n)i=r[n].Kb(t,e,o,i);return i},Eu.Mc=function(t,e){for(var o=this.a,i=0,r=o.length;i<r;++i)if(o[i].Mc(t,e))return!0;return!1},Eu.se=function(t){D(t);for(var e=this.a,o=0,i=e.length;o<i;++o)Y(t,e[o].G());return t},Eu.Vf=function(){return Ql(this.a)},Eu.Vd=function(t){if(this.o!=this.i&&(ct(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];for(var o=[],i=this.a,r=!1,n=0,s=i.length;n<s;++n){var a=i[n],p=a.Vd(t);o.push(p),p!==a&&(r=!0)}return r?(tu(t=new $l(null)),t.a=o,eu(t),t.s(),this.f[e]=t):(this.g=t,this)},Eu.U=function(){return"GeometryCollection"},Eu.Xa=function(t){for(var e=this.a,o=0,i=e.length;o<i;++o)if(e[o].Xa(t))return!0;return!1},Eu.rotate=function(t,e){for(var o=this.a,i=0,r=o.length;i<r;++i)o[i].rotate(t,e);this.s()},Eu.scale=function(t,e,o){o=o||tt(this.G());for(var i=this.a,r=0,n=i.length;r<n;++r)i[r].scale(t,e,o);this.s()},Eu.oj=function(t){t=Ql(t),tu(this),this.a=t,eu(this),this.s()},Eu.Dc=function(t){for(var e=this.a,o=0,i=e.length;o<i;++o)e[o].Dc(t);this.s()},Eu.translate=function(t,e){for(var o=this.a,i=0,r=o.length;i<r;++i)o[i].translate(t,e);this.s()},Eu.ka=function(){tu(this),Bi.prototype.ka.call(this)},i(ou,al);var nu={Point:function(t){return new hr(t.coordinates)},LineString:function(t){return new ul(t.coordinates)},Polygon:function(t){return new wr(t.coordinates)},MultiPoint:function(t){return new dl(t.coordinates)},MultiLineString:function(t){return new fl(t.coordinates)},MultiPolygon:function(t){return new vl(t.coordinates)},GeometryCollection:function(t,e){return new $l(t=t.geometries.map(function(t){return iu(t,e)}))}},su={Point:function(t){return{type:"Point",coordinates:t.X()}},LineString:function(t){return{type:"LineString",coordinates:t.X()}},Polygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"Polygon",coordinates:t.X(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.X()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.X()}},MultiPolygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"MultiPolygon",coordinates:t.X(o)}},GeometryCollection:function(t,o){return{type:"GeometryCollection",geometries:t.a.map(function(t){var e=ut({},o);return delete e.featureProjection,ru(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};function au(){this.i=new XMLSerializer,il.call(this)}function pu(t,e,o){return 0<(t=hu(t,e,o)).length?t[0]:null}function hu(t,e,o){var i=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(i,t.zc(e,o));return i}function lu(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Vh(lu.prototype.be),featureMembers:Vh(lu.prototype.be)},au.call(this)}(Eu=ou.prototype).Rc=function(t,e){e=iu((t="Feature"===t.type?t:{type:"Feature",geometry:t}).geometry,e);var o=new Nh;return this.b&&o.Tc(this.b),o.Ra(e),void 0!==t.id&&o.jc(t.id),t.properties&&o.H(t.properties),o},Eu.yg=function(t,e){if("FeatureCollection"===t.type)for(var o=[],i=0,r=(t=t.features).length;i<r;++i)o.push(this.Rc(t[i],e));else o=[this.Rc(t,e)];return o},Eu.Cg=iu,Eu.Fg=function(t){var e;return(t=t.crs)?"name"==t.type?e=Vt(t.properties.name):"EPSG"==t.type?e=Vt("EPSG:"+t.properties.code):X(!1,36):e=this.defaultDataProjection,e},Eu.Zc=function(t,e){e=nl(this,e);var o={type:"Feature"},i=t.a;return void 0!==i&&(o.id=i),(i=t.V())?o.geometry=ru(i,e):o.geometry=null,delete(e=t.N())[t.c],yt(e)?o.properties=null:o.properties=e,o},Eu.he=function(t,e){e=nl(this,e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(this.Zc(t[i],e));return{type:"FeatureCollection",features:o}},Eu.je=function(t,e){return ru(t,nl(this,e))},i(au,il),(Eu=au.prototype).U=function(){return"xml"},Eu.Tb=function(t,e){return Oh(t)?pu(this,t,e):Uh(t)?this.xg(t,e):"string"==typeof t?pu(this,t=Gh(t),e):null},Eu.xg=function(){return null},Eu.Oa=function(t,e){return Oh(t)?hu(this,t,e):Uh(t)?this.zc(t,e):"string"==typeof t?hu(this,t=Gh(t),e):[]},Eu.Sc=function(t,e){return Oh(t)?null:Uh(t)?this.aj(t,e):("string"==typeof t&&Gh(t),null)},Eu.aj=function(){return null},Eu.kb=function(t){return Oh(t)?this.Eg(t):Uh(t)?this.kf(t):"string"==typeof t?(t=Gh(t),this.Eg(t)):null},Eu.Eg=function(){return this.defaultDataProjection},Eu.kf=function(){return this.defaultDataProjection},Eu.Bd=function(t,e){return this.i.serializeToString(this.Vg(t,e))},Eu.Vg=function(){return null},Eu.Wb=function(t,e){return t=this.Xb(t,e),this.i.serializeToString(t)},Eu.Xb=function(){return null},Eu.$c=function(t,e){return t=this.ie(t,e),this.i.serializeToString(t)},Eu.ie=function(){return null},i(lu,au);var uu=/^[\s\xa0]*$/;function cu(t){return fu(t=Dh(t,!1))}function fu(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function yu(t){return t=Dh(t,!1),t=Date.parse(t),isNaN(t)?void 0:t/1e3}function gu(t){return du(t=Dh(t,!1))}function du(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function vu(t){return bu(t=Dh(t,!1))}function bu(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function mu(t){return Dh(t,!1).trim()}function wu(t,e){Mu(t,e?"1":"0")}function xu(t,e){t.appendChild(Fh.createTextNode(e.toPrecision()))}function Su(t,e){t.appendChild(Fh.createTextNode(e.toString()))}function Mu(t,e){t.appendChild(Fh.createTextNode(e))}function Pu(t){lu.call(this,t=t||{}),this.l=void 0!==t.surface&&t.surface,this.c=void 0!==t.curve&&t.curve,this.g=void 0===t.multiCurve||t.multiCurve,this.j=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function Au(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,s=Array(n),a=0;a<n;++a){r=e[a];var p=a,h=o,l="enu";i&&(l=Vt(i).b),l="en"===l.substr(0,2)?r[0]+" "+r[1]:r[1]+" "+r[0],h&&(l+=" "+(r[2]||0)),s[p]=l}Mu(t,s.join(" "))}(Eu=lu.prototype).be=function(t,e){var o=t.localName,i=null;if("FeatureCollection"==o)i="http://www.opengis.net/wfs"===t.namespaceURI?$h([],this.b,t,e,this):$h(null,this.b,t,e,this);else if("featureMembers"==o||"featureMember"==o){var r=(y=e[0]).featureType,n=y.featureNS;if(!r&&t.childNodes){r=[],n={};for(var s=0,a=t.childNodes.length;s<a;++s){if(1===(c=t.childNodes[s]).nodeType){var p=c.nodeName.split(":").pop();if(-1===r.indexOf(p)){var h,l="",u=0,c=c.namespaceURI;for(h in n){if(n[h]===c){l=h;break}++u}l||(n[l="p"+u]=c),r.push(l+":"+p)}}}"featureMember"!=o&&(y.featureType=r,y.featureNS=n)}"string"==typeof n&&(s=n,(n={}).p0=s);var f,y={},r=Array.isArray(r)?r:[r];for(f in n){for(p={},s=0,a=r.length;s<a;++s)(-1===r[s].indexOf(":")?"p0":r[s].split(":")[0])===f&&(p[r[s].split(":").pop()]=("featureMembers"==o?Xh:Vh)(this.wg,this));y[n[f]]=p}i=$h("featureMember"==o?void 0:[],y,t,e)}return null===i&&(i=[]),i},Eu.gf=function(t,e){var o=e[0];if(o.srsName=t.firstElementChild.getAttribute("srsName"),t=$h(null,this.Zg,t,e,this))return sl(t,!1,o)},Eu.wg=function(t,e){var o;(o=t.getAttribute("fid"))||(o=t.getAttributeNS("http://www.opengis.net/gml","id")||"");var i,r={};for(t=t.firstElementChild;t;t=t.nextElementSibling){var n,s=t.localName;0===t.childNodes.length||1===t.childNodes.length&&(3===t.firstChild.nodeType||4===t.firstChild.nodeType)?(n=Dh(t,!1),uu.test(n)&&(n=void 0),r[s]=n):("boundedBy"!==s&&(i=s),r[s]=this.gf(t,e))}return e=new Nh(r),i&&e.Tc(i),o&&e.jc(o),e},Eu.fj=function(t,e){if(t=this.ff(t,e))return(e=new hr(null)).ba("XYZ",t),e},Eu.dj=function(t,e){if(t=$h([],this.Nj,t,e,this))return new dl(t)},Eu.cj=function(t,e){if(t=$h([],this.Mj,t,e,this))return gl(e=new fl(null),t),e},Eu.ej=function(t,e){if(t=$h([],this.Oj,t,e,this))return xl(e=new vl(null),t),e},Eu.Xi=function(t,e){_h(this.Rj,t,e,this)},Eu.Mh=function(t,e){_h(this.Kj,t,e,this)},Eu.Yi=function(t,e){_h(this.Sj,t,e,this)},Eu.hf=function(t,e){if(t=this.ff(t,e))return(e=new ul(null)).ba("XYZ",t),e},Eu.wp=function(t,e){if(t=$h(null,this.ke,t,e,this))return t},Eu.bj=function(t,e){if(t=this.ff(t,e))return pr(e=new ar(null),"XYZ",t),e},Eu.jf=function(t,e){if((t=$h([null],this.zf,t,e,this))&&t[0]){e=new wr(null);for(var o=t[0],i=[o.length],r=1,n=t.length;r<n;++r)c(o,t[r]),i.push(o.length);return e.ba("XYZ",o,i),e}},Eu.ff=function(t,e){return $h(null,this.ke,t,e,this)},Eu.Nj={"http://www.opengis.net/gml":{pointMember:Xh(lu.prototype.Xi),pointMembers:Xh(lu.prototype.Xi)}},Eu.Mj={"http://www.opengis.net/gml":{lineStringMember:Xh(lu.prototype.Mh),lineStringMembers:Xh(lu.prototype.Mh)}},Eu.Oj={"http://www.opengis.net/gml":{polygonMember:Xh(lu.prototype.Yi),polygonMembers:Xh(lu.prototype.Yi)}},Eu.Rj={"http://www.opengis.net/gml":{Point:Xh(lu.prototype.ff)}},Eu.Kj={"http://www.opengis.net/gml":{LineString:Xh(lu.prototype.hf)}},Eu.Sj={"http://www.opengis.net/gml":{Polygon:Xh(lu.prototype.jf)}},Eu.le={"http://www.opengis.net/gml":{LinearRing:Vh(lu.prototype.wp)}},Eu.aj=function(t,e){return(t=this.gf(t,[rl(this,t,e||{})]))?t:null},Eu.zc=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&ut(o,rl(this,t,e)),this.be(t,[o])||[]},Eu.kf=function(t){return Vt(this.srsName?this.srsName:t.firstElementChild.getAttribute("srsName"))},i(Pu,lu),(Eu=Pu.prototype).Ap=function(t,e){if(t=$h([],this.Lj,t,e,this))return gl(e=new fl(null),t),e},Eu.Bp=function(t,e){if(t=$h([],this.Pj,t,e,this))return xl(e=new vl(null),t),e},Eu.ph=function(t,e){_h(this.Hj,t,e,this)},Eu.Aj=function(t,e){_h(this.Uj,t,e,this)},Eu.Ep=function(t,e){return $h([null],this.Qj,t,e,this)},Eu.Hp=function(t,e){return $h([null],this.Tj,t,e,this)},Eu.Fp=function(t,e){return $h([null],this.zf,t,e,this)},Eu.zp=function(t,e){return $h([null],this.ke,t,e,this)},Eu.cm=function(t,e){(t=$h(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},Eu.yk=function(t,e){(t=$h(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},Eu.gj=function(t,e){if((t=$h([null],this.Vj,t,e,this))&&t[0]){e=new wr(null);for(var o=t[0],i=[o.length],r=1,n=t.length;r<n;++r)c(o,t[r]),i.push(o.length);return e.ba("XYZ",o,i),e}},Eu.Zi=function(t,e){if(t=$h([null],this.Ij,t,e,this))return(e=new ul(null)).ba("XYZ",t),e},Eu.vp=function(t,e){return k((t=$h([null],this.Jj,t,e,this))[1][0],t[1][1],t[2][0],t[2][1])},Eu.xp=function(t,e){var o,i=Dh(t,!1),r=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;for(t=[];o=r.exec(i);)t.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(i="enu",(e=e[0].srsName)&&(i=Vt(e).b),"neu"===i)for(e=0,i=t.length;e<i;e+=3)r=t[e],t[e]=t[e+1],t[e+1]=r;if(2==(e=t.length)&&t.push(0),e)return t}},Eu.Bg=function(t,e){var o=Dh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension");e="enu",i&&(e=Vt(i).b),o=o.split(/\s+/),i=2,t.getAttribute("srsDimension")?i=bu(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=bu(t.getAttribute("dimension")):r&&(i=bu(r));for(var n,s=[],a=0,p=o.length;a<p;a+=i)t=parseFloat(o[a]),r=parseFloat(o[a+1]),n=3===i?parseFloat(o[a+2]):0,"en"===e.substr(0,2)?s.push(t,r,n):s.push(r,t,n);return s},Eu.ke={"http://www.opengis.net/gml":{pos:Vh(Pu.prototype.xp),posList:Vh(Pu.prototype.Bg)}},Eu.zf={"http://www.opengis.net/gml":{interior:Pu.prototype.cm,exterior:Pu.prototype.yk}},Eu.Zg={"http://www.opengis.net/gml":{Point:Vh(lu.prototype.fj),MultiPoint:Vh(lu.prototype.dj),LineString:Vh(lu.prototype.hf),MultiLineString:Vh(lu.prototype.cj),LinearRing:Vh(lu.prototype.bj),Polygon:Vh(lu.prototype.jf),MultiPolygon:Vh(lu.prototype.ej),Surface:Vh(Pu.prototype.gj),MultiSurface:Vh(Pu.prototype.Bp),Curve:Vh(Pu.prototype.Zi),MultiCurve:Vh(Pu.prototype.Ap),Envelope:Vh(Pu.prototype.vp)}},Eu.Lj={"http://www.opengis.net/gml":{curveMember:Xh(Pu.prototype.ph),curveMembers:Xh(Pu.prototype.ph)}},Eu.Pj={"http://www.opengis.net/gml":{surfaceMember:Xh(Pu.prototype.Aj),surfaceMembers:Xh(Pu.prototype.Aj)}},Eu.Hj={"http://www.opengis.net/gml":{LineString:Xh(lu.prototype.hf),Curve:Xh(Pu.prototype.Zi)}},Eu.Uj={"http://www.opengis.net/gml":{Polygon:Xh(lu.prototype.jf),Surface:Xh(Pu.prototype.gj)}},Eu.Vj={"http://www.opengis.net/gml":{patches:Vh(Pu.prototype.Ep)}},Eu.Ij={"http://www.opengis.net/gml":{segments:Vh(Pu.prototype.Hp)}},Eu.Jj={"http://www.opengis.net/gml":{lowerCorner:Xh(Pu.prototype.Bg),upperCorner:Xh(Pu.prototype.Bg)}},Eu.Qj={"http://www.opengis.net/gml":{PolygonPatch:Vh(Pu.prototype.Fp)}},Eu.Tj={"http://www.opengis.net/gml":{LineStringSegment:Vh(Pu.prototype.zp)}},Eu.ni=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=kh(t.namespaceURI,"pos"),t.appendChild(i),t=(o=o[o.length-1]).hasZ;var r=o.srsName;o="enu",r&&(o=Vt(r).b),e=e.X(),o="en"===o.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0],t&&(o+=" "+(e[2]||0)),Mu(i,o)};var Eu,Tu={"http://www.opengis.net/gml":{lowerCorner:Kh(Mu),upperCorner:Kh(Mu)}};(Eu=Pu.prototype).jn=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),tl({node:t},Tu,Hh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},Eu.ki=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=kh(t.namespaceURI,"posList"),t.appendChild(i),Au(i,e,o)},Eu.hn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),kh(e.namespaceURI,void 0!==o?"interior":"exterior")},Eu.Se=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),tl({node:t,hasZ:i,srsName:r},Ru,this.hn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=kh(t.namespaceURI,"patches"),t.appendChild(i),t=kh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Se(t,e,o))},Eu.Re=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=kh(t.namespaceURI,"posList"),t.appendChild(i),Au(i,e,o)):"Curve"===t.nodeName&&(i=kh(t.namespaceURI,"segments"),t.appendChild(i),t=kh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Re(t,e,o))},Eu.mi=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),tl({node:t,hasZ:i,srsName:r,surface:n},ju,this.o,e,o,void 0,this)},Eu.kn=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.hasZ;i&&t.setAttribute("srsName",i),e=e.Zd(),tl({node:t,hasZ:r,srsName:i},Cu,Yh("pointMember"),e,o,void 0,this)},Eu.li=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),tl({node:t,hasZ:i,srsName:r,curve:n},Lu,this.o,e,o,void 0,this)},Eu.oi=function(t,e,o){var i=kh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ki(i,e,o)},Eu.pi=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Se(i,e,o))},Eu.ln=function(t,e,o){var i=kh(t.namespaceURI,"Point");t.appendChild(i),this.ni(i,e,o)},Eu.ji=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Re(i,e,o))},Eu.od=function(t,e,o){var i,r=o[o.length-1],n=ut({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?qt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),tl(n,Iu,this.a,[i],o,void 0,this)},Eu.ii=function(t,e,o){var i=e.a;i&&t.setAttribute("fid",i);var r=(i=o[o.length-1]).featureNS,n=e.c;i.lb||(i.lb={},i.lb[r]={});var s=e.N();e=[];var a=[];for(h in s){var p=s[h];null!==p&&(e.push(h),a.push(p),h==n||p instanceof Bi?h in i.lb[r]||(i.lb[r][h]=Kh(this.od,this)):h in i.lb[r]||(i.lb[r][h]=Kh(Mu)))}var h=ut({},i);h.node=t,tl(h,i.lb,Yh(void 0,r),a,o,e)};var ju={"http://www.opengis.net/gml":{surfaceMember:Kh(Pu.prototype.pi),polygonMember:Kh(Pu.prototype.pi)}},Cu={"http://www.opengis.net/gml":{pointMember:Kh(Pu.prototype.ln)}},Lu={"http://www.opengis.net/gml":{lineStringMember:Kh(Pu.prototype.ji),curveMember:Kh(Pu.prototype.ji)}},Ru={"http://www.opengis.net/gml":{exterior:Kh(Pu.prototype.oi),interior:Kh(Pu.prototype.oi)}},Iu={"http://www.opengis.net/gml":{Curve:Kh(Pu.prototype.Re),MultiCurve:Kh(Pu.prototype.li),Point:Kh(Pu.prototype.ni),MultiPoint:Kh(Pu.prototype.kn),LineString:Kh(Pu.prototype.Re),MultiLineString:Kh(Pu.prototype.li),LinearRing:Kh(Pu.prototype.ki),Polygon:Kh(Pu.prototype.Se),MultiPolygon:Kh(Pu.prototype.mi),Surface:Kh(Pu.prototype.Se),MultiSurface:Kh(Pu.prototype.mi),Envelope:Kh(Pu.prototype.jn)}},Nu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};function Fu(t){lu.call(this,t=t||{}),this.b["http://www.opengis.net/gml"].featureMember=Xh(lu.prototype.be),this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function ku(t){return(t=kh(t,"coordinates")).setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t}function Du(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,s=Array(n),a=0;a<n;++a)r=e[a],s[a]=Ou(r,i,o);Mu(t,s.join(" "))}function Ou(t,e,o){var i="enu";return e&&(i=Vt(e).b),e="en"===i.substr(0,2)?t[0]+","+t[1]:t[1]+","+t[0],o&&(e+=","+(t[2]||0)),e}Pu.prototype.o=function(t,e){return kh("http://www.opengis.net/gml",Nu[e[e.length-1].node.nodeName])},Pu.prototype.a=function(t,e){e=(r=e[e.length-1]).multiSurface;var o=r.surface,i=r.curve,r=r.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"LineString"===t&&!0===i?t="Curve":"MultiLineString"===t&&!0===r&&(t="MultiCurve"),kh("http://www.opengis.net/gml",t)},Pu.prototype.ie=function(t,e){e=nl(this,e);var o=kh("http://www.opengis.net/gml","geom"),i={node:o,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g};return e&&ut(i,e),this.od(o,t,[i]),o},Pu.prototype.Xb=function(t,e){e=nl(this,e);var o=kh("http://www.opengis.net/gml","featureMembers");o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var i={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g,featureNS:this.featureNS,featureType:this.featureType};e&&ut(i,e);var r=(e=[i])[e.length-1],i=r.featureType,n=r.featureNS,s={};return s[n]={},s[n][i]=Kh(this.ii,this),(r=ut({},r)).node=o,tl(r,s,Yh(i,n),t,e),o},i(Fu,lu),(Eu=Fu.prototype).$i=function(t,e){t=Dh(t,!1).replace(/^\s*|\s*$/g,"");var o=e[0].srsName;e="enu",(o=o&&Vt(o))&&(e=o.b);for(var i,r,n=[],s=0,a=(t=t.trim().split(/\s+/)).length;s<a;s++)r=t[s].split(/,+/),o=parseFloat(r[0]),i=parseFloat(r[1]),r=3===r.length?parseFloat(r[2]):0,"en"===e.substr(0,2)?n.push(o,i,r):n.push(i,o,r);return n},Eu.tp=function(t,e){return k((t=$h([null],this.Gj,t,e,this))[1][0],t[1][1],t[1][3],t[1][4])},Eu.am=function(t,e){(t=$h(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},Eu.bp=function(t,e){(t=$h(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},Eu.ke={"http://www.opengis.net/gml":{coordinates:Vh(Fu.prototype.$i)}},Eu.zf={"http://www.opengis.net/gml":{innerBoundaryIs:Fu.prototype.am,outerBoundaryIs:Fu.prototype.bp}},Eu.Gj={"http://www.opengis.net/gml":{coordinates:Xh(Fu.prototype.$i)}},Eu.Zg={"http://www.opengis.net/gml":{Point:Vh(lu.prototype.fj),MultiPoint:Vh(lu.prototype.dj),LineString:Vh(lu.prototype.hf),MultiLineString:Vh(lu.prototype.cj),LinearRing:Vh(lu.prototype.bj),Polygon:Vh(lu.prototype.jf),MultiPolygon:Vh(lu.prototype.ej),Box:Vh(Fu.prototype.tp)}},Eu.jg=function(t,e){e=(i=e[e.length-1]).multiSurface;var o=i.surface,i=i.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"MultiLineString"===t&&!0===i&&(t="MultiCurve"),kh("http://www.opengis.net/gml",t)},Eu.ai=function(t,e,o){var i,r=o[o.length-1],n=ut({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?qt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),tl(n,Uu,this.jg,[i],o,void 0,this)},Eu.Pe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)):"Curve"===t.nodeName&&(i=kh(t.namespaceURI,"segments"),t.appendChild(i),t=kh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Pe(t,e,o))},Eu.Qe=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),tl({node:t,hasZ:i,srsName:r},Gu,this.dn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=kh(t.namespaceURI,"patches"),t.appendChild(i),t=kh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Qe(t,e,o))},Eu.dn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),kh(e.namespaceURI,void 0!==o?"innerBoundaryIs":"outerBoundaryIs")},Eu.gi=function(t,e,o){var i=kh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ci(i,e,o)},Eu.di=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),tl({node:t,hasZ:i,srsName:r,curve:n},Xu,this.a,e,o,void 0,this)},Eu.fi=function(t,e,o){var i=o[o.length-1];o=i.hasZ;var r=i.srsName;r&&t.setAttribute("srsName",r),i=ku(t.namespaceURI),t.appendChild(i),Mu(i,t=Ou(t=e.X(),r,o))},Eu.fn=function(t,e,o){var i=o[o.length-1],r=i.hasZ;(i=i.srsName)&&t.setAttribute("srsName",i),e=e.Zd(),tl({node:t,hasZ:r,srsName:i},Bu,Yh("pointMember"),e,o,void 0,this)},Eu.gn=function(t,e,o){var i=kh(t.namespaceURI,"Point");t.appendChild(i),this.fi(i,e,o)},Eu.bi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Pe(i,e,o))},Eu.ci=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)},Eu.ei=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),tl({node:t,hasZ:i,srsName:r,surface:n},Wu,this.a,e,o,void 0,this)},Eu.hi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Qe(i,e,o))},Eu.en=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),tl({node:t},Zu,Hh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)};var Uu={"http://www.opengis.net/gml":{Curve:Kh(Fu.prototype.Pe),MultiCurve:Kh(Fu.prototype.di),Point:Kh(Fu.prototype.fi),MultiPoint:Kh(Fu.prototype.fn),LineString:Kh(Fu.prototype.Pe),MultiLineString:Kh(Fu.prototype.di),LinearRing:Kh(Fu.prototype.ci),Polygon:Kh(Fu.prototype.Qe),MultiPolygon:Kh(Fu.prototype.ei),Surface:Kh(Fu.prototype.Qe),MultiSurface:Kh(Fu.prototype.ei),Envelope:Kh(Fu.prototype.en)}},Gu={"http://www.opengis.net/gml":{outerBoundaryIs:Kh(Fu.prototype.gi),innerBoundaryIs:Kh(Fu.prototype.gi)}},Bu={"http://www.opengis.net/gml":{pointMember:Kh(Fu.prototype.gn)}},Xu={"http://www.opengis.net/gml":{lineStringMember:Kh(Fu.prototype.bi),curveMember:Kh(Fu.prototype.bi)}};Fu.prototype.a=function(t,e){return kh("http://www.opengis.net/gml",Vu[e[e.length-1].node.nodeName])};var Vu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},Wu={"http://www.opengis.net/gml":{surfaceMember:Kh(Fu.prototype.hi),polygonMember:Kh(Fu.prototype.hi)}},Zu={"http://www.opengis.net/gml":{lowerCorner:Kh(Mu),upperCorner:Kh(Mu)}};function Ku(t){t=t||{},au.call(this),this.defaultDataProjection=Vt("EPSG:4326"),this.b=t.readExtensions}i(Ku,au);var zu=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Yu(t,e,o,i){return t.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in i?(t.push(i.ele),delete i.ele,e.hasZ=!0):t.push(0),"time"in i?(t.push(i.time),delete i.time,e.hasM=!0):t.push(0),t}function Hu(t,e,o){var i="XY",r=2;if(t.hasZ&&t.hasM?(i="XYZM",r=4):t.hasZ?(i="XYZ",r=3):t.hasM&&(i="XYM",r=3),4!==r){for(var n=0,s=e.length/4;n<s;n++)e[n*r]=e[4*n],e[n*r+1]=e[4*n+1],t.hasZ&&(e[n*r+2]=e[4*n+2]),t.hasM&&(e[n*r+2]=e[4*n+3]);if(e.length=e.length/4*r,o)for(n=0,s=o.length;n<s;n++)o[n]=o[n]/4*r}return i}function qu(t,e){var o=e[e.length-1],i=t.getAttribute("href");null!==i&&(o.link=i),_h(oc,t,e)}function Ju(t,e){e[e.length-1].extensionsNode_=t}function _u(t,e){var o=e[0];if(t=$h({flatCoordinates:[],layoutOptions:{}},ic,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.layoutOptions;delete t.layoutOptions;var i=Hu(i,e),r=new ul(null);return r.ba(i,e),sl(r,!1,o),(o=new Nh(r)).H(t),o}}function $u(t,e){var o=e[0];if(t=$h({flatCoordinates:[],ends:[],layoutOptions:{}},nc,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.ends;delete t.ends;var r=t.layoutOptions;delete t.layoutOptions;var r=Hu(r,e,i),n=new fl(null);return n.ba(r,e,i),sl(n,!1,o),(o=new Nh(n)).H(t),o}}function Qu(t,e){var o=e[0];if(e=$h({},pc,t,e)){var i={};return sl(t=new hr(t=Yu([],i,t,e),Hu(i,t)),!1,o),(o=new Nh(t)).H(e),o}}var tc={rte:_u,trk:$u,wpt:Qu},ec=Jh(zu,{rte:Xh(_u),trk:Xh($u),wpt:Xh(Qu)}),oc=Jh(zu,{text:Zh(mu,"linkText"),type:Zh(mu,"linkType")}),ic=Jh(zu,{name:Zh(mu),cmt:Zh(mu),desc:Zh(mu),src:Zh(mu),link:qu,number:Zh(vu),extensions:Ju,type:Zh(mu),rtept:function(t,e){var o=$h({},rc,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),rc=Jh(zu,{ele:Zh(gu),time:Zh(yu)}),nc=Jh(zu,{name:Zh(mu),cmt:Zh(mu),desc:Zh(mu),src:Zh(mu),link:qu,number:Zh(vu),type:Zh(mu),extensions:Ju,trkseg:function(t,e){var o=e[e.length-1];_h(sc,t,e),o.ends.push(o.flatCoordinates.length)}}),sc=Jh(zu,{trkpt:function(t,e){var o=$h({},ac,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),ac=Jh(zu,{ele:Zh(gu),time:Zh(yu)}),pc=Jh(zu,{ele:Zh(gu),time:Zh(yu),magvar:Zh(gu),geoidheight:Zh(gu),name:Zh(mu),cmt:Zh(mu),desc:Zh(mu),src:Zh(mu),link:qu,sym:Zh(mu),type:Zh(mu),fix:Zh(mu),sat:Zh(vu),hdop:Zh(gu),vdop:Zh(gu),pdop:Zh(gu),ageofdgpsdata:Zh(gu),dgpsid:Zh(vu),extensions:Ju});function hc(t,e){for(var o=0,i=(e=e||[]).length;o<i;++o){var r,n=e[o];t.b&&(r=n.get("extensionsNode_")||null,t.b(n,r)),n.set("extensionsNode_",void 0)}}function lc(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,tl({node:t},fc,Hh,[e.linkText,e.linkType],o,cc)}function uc(t,e,o){var i=o[o.length-1],r=i.node.namespaceURI,n=i.properties;switch(t.setAttributeNS(null,"lat",e[1]),t.setAttributeNS(null,"lon",e[0]),i.geometryLayout){case"XYZM":e[3]&&(n.time=e[3]);case"XYZ":e[2]&&(n.ele=e[2]);break;case"XYM":e[2]&&(n.time=e[2])}i=qh(n,e="rtept"==t.nodeName?dc[r]:xc[r]),tl({node:t,properties:n},Sc,Hh,i,o,e)}Ku.prototype.xg=function(t,e){if(!d(zu,t.namespaceURI))return null;var o=tc[t.localName];return o&&(t=o(t,[rl(this,t,e)]))?(hc(this,[t]),t):null},Ku.prototype.zc=function(t,e){return d(zu,t.namespaceURI)&&"gpx"==t.localName&&(t=$h([],ec,t,[rl(this,t,e)]))?(hc(this,t),t):[]};var cc=["text","type"],fc=Jh(zu,{text:Kh(Mu),type:Kh(Mu)}),yc=Jh(zu,"name cmt desc src link number type rtept".split(" ")),gc=Jh(zu,{name:Kh(Mu),cmt:Kh(Mu),desc:Kh(Mu),src:Kh(Mu),link:Kh(lc),number:Kh(Su),type:Kh(Mu),rtept:zh(Kh(uc))}),dc=Jh(zu,["ele","time"]),vc=Jh(zu,"name cmt desc src link number type trkseg".split(" ")),bc=Jh(zu,{name:Kh(Mu),cmt:Kh(Mu),desc:Kh(Mu),src:Kh(Mu),link:Kh(lc),number:Kh(Su),type:Kh(Mu),trkseg:zh(Kh(function(t,e,o){tl({node:t,geometryLayout:e.ja,properties:{}},wc,mc,e.X(),o)}))}),mc=Yh("trkpt"),wc=Jh(zu,{trkpt:Kh(uc)}),xc=Jh(zu,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Sc=Jh(zu,{ele:Kh(xu),time:Kh(function(t,e){e=new Date(1e3*e),t.appendChild(Fh.createTextNode(e.getUTCFullYear()+"-"+Ai(e.getUTCMonth()+1)+"-"+Ai(e.getUTCDate())+"T"+Ai(e.getUTCHours())+":"+Ai(e.getUTCMinutes())+":"+Ai(e.getUTCSeconds())+"Z"))}),magvar:Kh(xu),geoidheight:Kh(xu),name:Kh(Mu),cmt:Kh(Mu),desc:Kh(Mu),src:Kh(Mu),link:Kh(lc),sym:Kh(Mu),type:Kh(Mu),fix:Kh(Mu),sat:Kh(Su),hdop:Kh(xu),vdop:Kh(xu),pdop:Kh(xu),ageofdgpsdata:Kh(xu),dgpsid:Kh(Su)}),Mc={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Pc(t,e){if((t=t.V())&&(t=Mc[t.U()]))return kh(e[e.length-1].node.namespaceURI,t)}var Ac=Jh(zu,{rte:Kh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),t.geometryLayout=e.ja,r.rtept=e.X()),r=qh(r,i=yc[o[o.length-1].node.namespaceURI]),tl(t,gc,Hh,r,o,i)}),trk:Kh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),r.trkseg=e.gd()),r=qh(r,i=vc[o[o.length-1].node.namespaceURI]),tl(t,bc,Hh,r,o,i)}),wpt:Kh(function(t,e,o){var i=o[0],r=o[o.length-1];r.properties=e.N(),(e=e.V())&&(e=sl(e,!0,i),r.geometryLayout=e.ja,uc(t,e.X(),o))})});function Ec(){il.call(this)}function Tc(t){return"string"==typeof t?t:""}function jc(t){t=t||{},il.call(this),this.defaultDataProjection=Vt("EPSG:4326"),this.b=t.altitudeMode?t.altitudeMode:"none"}Ku.prototype.Xb=function(t,e){e=nl(this,e);var o=kh("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers"),tl({node:o},Ac,Pc,t,[e]),o},i(Ec,il),(Eu=Ec.prototype).U=function(){return"text"},Eu.Tb=function(t,e){return this.ae(Tc(t),nl(this,e))},Eu.Oa=function(t,e){return this.zg(Tc(t),nl(this,e))},Eu.Sc=function(t,e){return this.wd(Tc(t),nl(this,e))},Eu.kb=function(){return this.defaultDataProjection},Eu.Bd=function(t,e){return this.ge(t,nl(this,e))},Eu.Wb=function(t,e){return this.Wg(t,nl(this,e))},Eu.$c=function(t,e){return this.Cd(t,nl(this,e))},i(jc,Ec);var Cc,Lc,Rc,Ic,Nc,Fc,kc,Dc,Oc,Uc,Gc,Bc,Xc,Vc,Wc,Zc=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Kc=/^H.([A-Z]{3}).*?:(.*)/,zc=/^HFDTE(\d{2})(\d{2})(\d{2})/,Yc=/\r\n|\r|\n/;function Hc(t,e,o,i,r,n){Te.call(this),this.j=null,this.M=t||new Image,null!==i&&(this.M.crossOrigin=i),this.c=n?document.createElement("CANVAS"):null,this.g=n,this.f=null,this.i=r,this.a=o,this.o=e,this.l=!1,2==this.i&&qc(this)}function qc(e){var t=qe(1,1);try{t.drawImage(e.M,0,0),t.getImageData(0,0,1,1)}catch(t){e.l=!0}}function Jc(t){t=t||{},this.o=void 0!==t.anchor?t.anchor:[.5,.5],this.u=null,this.i=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.C=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.B=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.ra=void 0!==t.crossOrigin?t.crossOrigin:null;var e=void 0!==t.img?t.img:null,o=void 0!==t.imgSize?t.imgSize:null,i=t.src;X(!(void 0!==i&&e),4),X(!e||e&&o,5),void 0!==i&&i.length||!e||(i=e.src||B(e).toString()),X(void 0!==i&&0<i.length,6);var r=void 0!==t.src?0:2;this.j=void 0!==t.color?Ve(t.color):null;var n=this.ra,s=this.j,a=Yn.get(i,n,s);a||(a=new Hc(e,i,o,n,r,s),Yn.set(i,n,s,a)),this.b=a,this.oa=void 0!==t.offset?t.offset:[0,0],this.c=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.S=null,this.D=void 0!==t.size?t.size:null,Sh.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}function _c(t){t=t||{},this.a=t.font,this.f=t.rotation,this.o=t.rotateWithView,this.b=t.scale,this.Ia=t.text,this.g=t.textAlign,this.j=t.textBaseline,this.Va=void 0!==t.fill?t.fill:new Eh({color:"#333"}),this.Ya=void 0!==t.stroke?t.stroke:null,this.i=void 0!==t.offsetX?t.offsetX:0,this.c=void 0!==t.offsetY?t.offsetY:0}function $c(t){t=t||{},au.call(this),Cc||(Rc=new Eh({color:Lc=[255,255,255,1]}),Fc=Nc="pixels",Uc=new Jc({anchor:Ic=[20,2],anchorOrigin:"bottom-left",anchorXUnits:Nc,anchorYUnits:Fc,crossOrigin:"anonymous",rotation:0,scale:Oc=.5,size:kc=[64,64],src:Dc="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Gc="NO_IMAGE",Bc=new Ga({color:Lc,width:1}),Xc=new Ga({color:[51,51,51,1],width:2}),Vc=new _c({font:"bold 16px Helvetica",fill:Rc,stroke:Xc,scale:.8}),Wc=new Th({fill:Rc,image:Uc,text:Vc,stroke:Bc,zIndex:0}),Cc=[Wc]),this.defaultDataProjection=Vt("EPSG:4326"),this.a=t.defaultStyle?t.defaultStyle:Cc,this.c=void 0===t.extractStyles||t.extractStyles,this.j=void 0===t.writeStyles||t.writeStyles,this.b={},this.g=void 0===t.showPointNames||t.showPointNames}(Eu=jc.prototype).ae=function(t,e){var o=this.b,i=t.split(Yc);t={};for(var r=[],n=2e3,s=0,a=1,p=-1,h=0,l=i.length;h<l;++h){var u,c,f,y,g,d=i[h];"B"==d.charAt(0)?(u=Zc.exec(d))&&(d=parseInt(u[1],10),c=parseInt(u[2],10),f=parseInt(u[3],10),y=parseInt(u[4],10)+parseInt(u[5],10)/6e4,"S"==u[6]&&(y=-y),g=parseInt(u[7],10)+parseInt(u[8],10)/6e4,"W"==u[9]&&(g=-g),r.push(g,y),"none"!=o&&r.push("gps"==o?parseInt(u[11],10):"barometric"==o?parseInt(u[12],10):0),(u=Date.UTC(n,s,a,d,c,f))<p&&(u=Date.UTC(n,s,a+1,d,c,f)),r.push(u/1e3),p=u):"H"==d.charAt(0)&&((u=zc.exec(d))?(a=parseInt(u[1],10),s=parseInt(u[2],10)-1,n=2e3+parseInt(u[3],10)):(u=Kc.exec(d))&&(t[u[1]]=u[2].trim()))}return r.length?((i=new ul(null)).ba("none"==o?"XYM":"XYZM",r),(e=new Nh(sl(i,!1,e))).H(t),e):null},Eu.zg=function(t,e){return(t=this.ae(t,e))?[t]:[]},Eu.ge=function(){},Eu.Wg=function(){},Eu.Cd=function(){},Eu.wd=function(){},i(Hc,Te),Hc.prototype.v=function(){this.i=3,this.f.forEach(xe),this.f=null,this.b("change")},Hc.prototype.u=function(){if(this.i=2,this.a&&(this.M.width=this.a[0],this.M.height=this.a[1]),this.a=[this.M.width,this.M.height],this.f.forEach(xe),this.f=null,qc(this),!this.l&&null!==this.g){this.c.width=this.M.width,this.c.height=this.M.height;var t=this.c.getContext("2d");t.drawImage(this.M,0,0);for(var e=t.getImageData(0,0,this.M.width,this.M.height),o=e.data,i=this.g[0]/255,r=this.g[1]/255,n=this.g[2]/255,s=0,a=o.length;s<a;s+=4)o[s]*=i,o[s+1]*=r,o[s+2]*=n;t.putImageData(e,0,0)}this.b("change")},Hc.prototype.Y=function(){return this.c?this.c:this.M},Hc.prototype.load=function(){if(0==this.i){this.i=1,this.f=[me(this.M,"error",this.v,this),me(this.M,"load",this.u,this)];try{this.M.src=this.o}catch(t){this.v()}}},i(Jc,Sh),(Eu=Jc.prototype).clone=function(){var t,e,o=this.Y(1);return 2===this.b.i&&("IMG"===o.tagName.toUpperCase()?t=o.cloneNode(!0):(e=(t=document.createElement("canvas")).getContext("2d"),t.width=o.width,t.height=o.height,e.drawImage(o,0,0))),new Jc({anchor:this.o.slice(),anchorOrigin:this.i,anchorXUnits:this.C,anchorYUnits:this.B,crossOrigin:this.ra,color:this.j&&this.j.slice?this.j.slice():this.j||void 0,img:t||void 0,imgSize:t?this.b.a.slice():void 0,src:t?void 0:this.b.o,offset:this.oa.slice(),offsetOrigin:this.c,size:null!==this.D?this.D.slice():void 0,opacity:this.f,scale:this.a,snapToPixel:this.v,rotation:this.g,rotateWithView:this.l})},Eu.Hc=function(){if(this.u)return this.u;var t=this.o,e=this.ic();if("fraction"==this.C||"fraction"==this.B){if(!e)return null;t=this.o.slice(),"fraction"==this.C&&(t[0]*=e[0]),"fraction"==this.B&&(t[1]*=e[1])}if("top-left"!=this.i){if(!e)return null;t===this.o&&(t=this.o.slice()),"top-right"!=this.i&&"bottom-right"!=this.i||(t[0]=-t[0]+e[0]),"bottom-left"!=this.i&&"bottom-right"!=this.i||(t[1]=-t[1]+e[1])}return this.u=t},Eu.Lo=function(){return this.j},Eu.Y=function(t){return this.b.Y(t)},Eu.ye=function(){return this.b.a},Eu.Ye=function(){return this.b.i},Eu.qg=function(){var t,e,o,i=this.b;return i.j||(i.l?((o=qe(t=i.a[0],e=i.a[1])).fillRect(0,0,t,e),i.j=o.canvas):i.j=i.M),i.j},Eu.Oc=function(){if(this.S)return this.S;var t=this.oa;if("top-left"!=this.c){var e=this.ic(),o=this.b.a;if(!e||!o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.S=t},Eu.Mo=function(){return this.b.o},Eu.ic=function(){return this.D?this.D:this.b.a},Eu.Nh=function(t,e){return be(this.b,"change",t,e)},Eu.load=function(){this.b.load()},Eu.Bj=function(t,e){we(this.b,"change",t,e)},(Eu=_c.prototype).clone=function(){return new _c({font:this.a,rotation:this.f,rotateWithView:this.o,scale:this.b,text:this.Na(),textAlign:this.g,textBaseline:this.j,fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,offsetX:this.i,offsetY:this.c})},Eu.Nk=function(){return this.a},Eu.cl=function(){return this.i},Eu.dl=function(){return this.c},Eu.Fa=function(){return this.Va},Eu.Ro=function(){return this.o},Eu.So=function(){return this.f},Eu.To=function(){return this.b},Eu.Ga=function(){return this.Ya},Eu.Na=function(){return this.Ia},Eu.nl=function(){return this.g},Eu.ol=function(){return this.j},Eu.nj=function(t){this.a=t},Eu.sj=function(t){this.i=t},Eu.tj=function(t){this.c=t},Eu.pf=function(t){this.Va=t},Eu.Uo=function(t){this.f=t},Eu.Si=function(t){this.b=t},Eu.qf=function(t){this.Ya=t},Eu.xd=function(t){this.Ia=t},Eu.vj=function(t){this.g=t},Eu.hq=function(t){this.j=t},i($c,au);var Qc=["http://www.google.com/kml/ext/2.2"],tf=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],ef={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"};function of(t,e){var o,i=[0,0],r="start";return t.Y()&&(null===(o=t.Y().ye())&&(o=kc),2==o.length&&(r=t.Y().a,i[0]=r*o[0]/2,i[1]=-r*o[1]/2,r="left")),null!==t.Na()?((t=(o=t.Na()).clone()).nj(o.a||Vc.a),t.Si(o.b||Vc.b),t.pf(o.Fa()||Vc.Fa()),t.qf(o.Ga()||Xc)):t=Vc.clone(),t.xd(e),t.sj(i[0]),t.tj(i[1]),t.vj(r),new Th({text:t})}function rf(i,r,n,s,a){return function(){var t=a,e="";if(t&&this.V()&&(t="Point"===this.V().U()),t&&(e=this.get("name"),t=t&&e),i)return t?(t=of(i[0],e),i.concat(t)):i;if(r){var o=function t(e,o,i){return Array.isArray(e)?e:"string"==typeof e?(!(e in i)&&"#"+e in i&&(e="#"+e),t(i[e],o,i)):o}(r,n,s);return t?(t=of(o[0],e),o.concat(t)):o}return t?(t=of(n[0],e),n.concat(t)):n}}function nf(t){if(t=Dh(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function sf(t){t=Dh(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);if(""===t)return o}function af(t){var e=Dh(t,!1).trim();return t.baseURI&&"about:blank"!==t.baseURI?new URL(e,t.baseURI).href:e}function pf(t){return gu(t)}function hf(t,e){return $h(null,Ef,t,e)}function lf(t,e){if(e=$h({A:[],Ej:[]},jf,t,e)){t=e.A,e=e.Ej;for(var o=0,i=Math.min(t.length,e.length);o<i;++o)t[4*o+3]=e[o];return(e=new ul(null)).ba("XYZM",t),e}}function uf(t,e){var o=$h({},Af,t,e);if(t=$h(null,Cf,t,e))return(e=new ul(null)).ba("XYZ",t),e.H(o),e}function cf(t,e){var o=$h({},Af,t,e);if(t=$h(null,Cf,t,e))return(e=new wr(null)).ba("XYZ",t,[t.length]),e.H(o),e}function ff(t,e){if(!(t=$h([],kf,t,e)))return null;if(!t.length)return new $l(t);var o=!0,i=t[0].U(),r=1;for(s=t.length;r<s;++r)if((e=t[r]).U()!=i){o=!1;break}if(o)if("Point"==i){for(var n=t[0],o=n.ja,i=n.ga(),r=1,s=t.length;r<s;++r)c(i,(e=t[r]).ga());(n=new dl(null)).ba(o,i),vf(n,t)}else"LineString"==i?(gl(n=new fl(null),t),vf(n,t)):"Polygon"==i?(xl(n=new vl(null),t),vf(n,t)):"GeometryCollection"==i?n=new $l(t):X(!1,37);else n=new $l(t);return n}function yf(t,e){var o=$h({},Af,t,e);if(t=$h(null,Cf,t,e))return(e=new hr(null)).ba("XYZ",t),e.H(o),e}function gf(t,e){var o=$h({},Af,t,e);if((t=$h([null],Tf,t,e))&&t[0]){e=new wr(null);for(var i=t[0],r=[i.length],n=1,s=t.length;n<s;++n)c(i,t[n]),r.push(i.length);return e.ba("XYZ",i,r),e.H(o),e}}function df(t,e){if(!(e=$h({},Zf,t,e)))return null;t="fillStyle"in e?e.fillStyle:Rc;var o=e.fill;void 0===o||o||(t=null),(o="imageStyle"in e?e.imageStyle:Uc)==Gc&&(o=void 0);var i="textStyle"in e?e.textStyle:Vc,r="strokeStyle"in e?e.strokeStyle:Bc;return void 0===(e=e.outline)||e||(r=null),[new Th({fill:t,image:o,stroke:r,text:i,zIndex:void 0})]}function vf(t,e){for(var o,i=e.length,r=Array(e.length),n=Array(e.length),s=o=!1,a=0;a<i;++a){var p=e[a];r[a]=p.get("extrude"),n[a]=p.get("altitudeMode"),s=s||void 0!==r[a],o=o||n[a]}s&&t.set("extrude",r),o&&t.set("altitudeMode",n)}function bf(t,e){_h(xf,t,e)}function mf(t,e){_h(Sf,t,e)}var wf=Jh(tf,{displayName:Zh(mu),value:Zh(mu)}),xf=Jh(tf,{Data:function(t,e){var o=t.getAttribute("name");_h(wf,t,e),t=e[e.length-1],null!==o?t[o]=t.value:null!==t.displayName&&(t[t.displayName]=t.value)},SchemaData:function(t,e){_h(Wf,t,e)}}),Sf=Jh(tf,{LatLonAltBox:function(t,e){(t=$h({},Mf,t,e))&&((e=e[e.length-1]).extent=[parseFloat(t.west),parseFloat(t.south),parseFloat(t.east),parseFloat(t.north)],e.altitudeMode=t.altitudeMode,e.minAltitude=parseFloat(t.minAltitude),e.maxAltitude=parseFloat(t.maxAltitude))},Lod:function(t,e){(t=$h({},Pf,t,e))&&((e=e[e.length-1]).minLodPixels=parseFloat(t.minLodPixels),e.maxLodPixels=parseFloat(t.maxLodPixels),e.minFadeExtent=parseFloat(t.minFadeExtent),e.maxFadeExtent=parseFloat(t.maxFadeExtent))}}),Mf=Jh(tf,{altitudeMode:Zh(mu),minAltitude:Zh(gu),maxAltitude:Zh(gu),north:Zh(gu),south:Zh(gu),east:Zh(gu),west:Zh(gu)}),Pf=Jh(tf,{minLodPixels:Zh(gu),maxLodPixels:Zh(gu),minFadeExtent:Zh(gu),maxFadeExtent:Zh(gu)}),Af=Jh(tf,{extrude:Zh(cu),altitudeMode:Zh(mu)}),Ef=Jh(tf,{coordinates:Vh(sf)}),Tf=Jh(tf,{innerBoundaryIs:function(t,e){(t=$h(void 0,If,t,e))&&e[e.length-1].push(t)},outerBoundaryIs:function(t,e){(t=$h(void 0,Gf,t,e))&&(e[e.length-1][0]=t)}}),jf=Jh(tf,{when:function(t,e){e=e[e.length-1].Ej,t=Dh(t,!1),t=Date.parse(t),e.push(isNaN(t)?0:t)}},Jh(Qc,{coord:function(t,e){e=e[e.length-1].A,t=Dh(t,!1),(t=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(t))?e.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),0):e.push(0,0,0,0)}})),Cf=Jh(tf,{coordinates:Vh(sf)}),Lf=Jh(tf,{href:Zh(af)},Jh(Qc,{x:Zh(gu),y:Zh(gu),w:Zh(gu),h:Zh(gu)})),Rf=Jh(tf,{Icon:Zh(function(t,e){return(t=$h({},Lf,t,e))?t:null}),heading:Zh(gu),hotSpot:Zh(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits"),i="insetPixels"!==e?"insetPixels"!==o?"bottom-left":"top-left":"insetPixels"!==o?"bottom-right":"top-right";return{x:parseFloat(t.getAttribute("x")),Xg:ef[e],y:parseFloat(t.getAttribute("y")),Yg:ef[o],origin:i}}),scale:Zh(pf)}),If=Jh(tf,{LinearRing:Vh(hf)}),Nf=Jh(tf,{color:Zh(nf),scale:Zh(pf)}),Ff=Jh(tf,{color:Zh(nf),width:Zh(gu)}),kf=Jh(tf,{LineString:Xh(uf),LinearRing:Xh(cf),MultiGeometry:Xh(ff),Point:Xh(yf),Polygon:Xh(gf)}),Df=Jh(Qc,{Track:Xh(lf)}),Of=Jh(tf,{ExtendedData:bf,Region:mf,Link:function(t,e){_h(Uf,t,e)},address:Zh(mu),description:Zh(mu),name:Zh(mu),open:Zh(cu),phoneNumber:Zh(mu),visibility:Zh(cu)}),Uf=Jh(tf,{href:Zh(af)}),Gf=Jh(tf,{LinearRing:Vh(hf)}),Bf=Jh(tf,{Style:Zh(df),key:Zh(mu),styleUrl:Zh(af)}),Xf=Jh(tf,{ExtendedData:bf,Region:mf,MultiGeometry:Zh(ff,"geometry"),LineString:Zh(uf,"geometry"),LinearRing:Zh(cf,"geometry"),Point:Zh(yf,"geometry"),Polygon:Zh(gf,"geometry"),Style:Zh(df),StyleMap:function(t,e){(t=$h(void 0,Kf,t,e))&&(e=e[e.length-1],Array.isArray(t)?e.Style=t:"string"==typeof t?e.styleUrl=t:X(!1,38))},address:Zh(mu),description:Zh(mu),name:Zh(mu),open:Zh(cu),phoneNumber:Zh(mu),styleUrl:Zh(af),visibility:Zh(cu)},Jh(Qc,{MultiTrack:Zh(function(t,e){if(t=$h([],Df,t,e))return gl(e=new fl(null),t),e},"geometry"),Track:Zh(lf,"geometry")})),Vf=Jh(tf,{color:Zh(nf),fill:Zh(cu),outline:Zh(cu)}),Wf=Jh(tf,{SimpleData:function(t,e){var o=t.getAttribute("name");null!==o&&(t=mu(t),e[e.length-1][o]=t)}}),Zf=Jh(tf,{IconStyle:function(t,e){var o,i,r,n,s,a,p,h,l,u,c,f;(t=$h({},Rf,t,e))&&(e=e[e.length-1],f="Icon"in t?t.Icon:{},o=!("Icon"in t)||0<Object.keys(f).length,(r=f.href)?i=r:o&&(i=Dc),r="bottom-left",(u=t.hotSpot)?(n=[u.x,u.y],s=u.Xg,a=u.Yg,r=u.origin):i===Dc?(n=Ic,s=Nc,a=Fc):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(i)&&(n=[.5,0],a=s="fraction"),u=f.x,h=f.y,void 0!==u&&void 0!==h&&(p=[u,h]),u=f.w,f=f.h,void 0!==u&&void 0!==f&&(l=[u,f]),void 0!==(f=t.heading)&&(c=M(f)),t=t.scale,o?(i==Dc&&(l=kc,void 0===t&&(t=Oc)),i=new Jc({anchor:n,anchorOrigin:r,anchorXUnits:s,anchorYUnits:a,crossOrigin:"anonymous",offset:p,offsetOrigin:"bottom-left",rotation:c,scale:t,size:l,src:i}),e.imageStyle=i):e.imageStyle=Gc)},LabelStyle:function(t,e){(t=$h({},Nf,t,e))&&(e[e.length-1].textStyle=new _c({fill:new Eh({color:"color"in t?t.color:Lc}),scale:t.scale}))},LineStyle:function(t,e){(t=$h({},Ff,t,e))&&(e[e.length-1].strokeStyle=new Ga({color:"color"in t?t.color:Lc,width:"width"in t?t.width:1}))},PolyStyle:function(t,e){var o;(t=$h({},Vf,t,e))&&((e=e[e.length-1]).fillStyle=new Eh({color:"color"in t?t.color:Lc}),void 0!==(o=t.fill)&&(e.fill=o),void 0!==(t=t.outline)&&(e.outline=t))}}),Kf=Jh(tf,{Pair:function(t,e){var o;!(t=$h({},Bf,t,e))||(o=t.key)&&"normal"==o&&((o=t.styleUrl)&&(e[e.length-1]=o),(t=t.Style)&&(e[e.length-1]=t))}});function zf(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE){var o=Yf(t,e);if(o)return o}}function Yf(t,e){for(var o=e.firstElementChild;o;o=o.nextElementSibling)if(d(tf,o.namespaceURI)&&"name"==o.localName)return mu(o);for(o=e.firstElementChild;o;o=o.nextElementSibling)if(e=o.localName,d(tf,o.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=Yf(t,o)))return e}function Hf(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,qf(t,e));return o}function qf(t,e){for(var o,i=[],r=e.firstElementChild;r;r=r.nextElementSibling){d(tf,r.namespaceURI)&&"NetworkLink"==r.localName&&(o=$h({},Of,r,[]),i.push(o))}for(r=e.firstElementChild;r;r=r.nextElementSibling)e=r.localName,!d(tf,r.namespaceURI)||"Document"!=e&&"Folder"!=e&&"kml"!=e||c(i,qf(t,r));return i}function Jf(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,t.lf(e));return o}function _f(t,e){var o;for(e=[255*(4==(e=Ve(e)).length?e[3]:1),e[2],e[1],e[0]],o=0;o<4;++o){var i=parseInt(e[o],10).toString(16);e[o]=1==i.length?"0"+i:i}Mu(t,e.join(""))}function $f(t,e,o){t={node:t};var i,r,n=e.U();"GeometryCollection"==n?(i=e.Vf(),r=jy):"MultiPoint"==n?(i=e.Zd(),r=Dy):"MultiLineString"==n?(i=e.gd(),r=Oy):"MultiPolygon"==n?(i=e.Td(),r=Gy):X(!1,39),tl(t,by,r,i,o)}function Qf(t,e,o){tl({node:t},vy,Uy,[e],o)}function ty(t,e,o){var i={node:t};e.a&&t.setAttribute("id",e.a),t=e.N();var r={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};r[e.c]=1;var n,s=Object.keys(t||{}).sort().filter(function(t){return!r[t]});0<s.length&&(n=qh(t,s),tl(i,wy,Fy,[{names:s,values:n}],o)),(s=e.Lc())&&(s=s.call(e,0))&&(s=Array.isArray(s)?s[0]:s,this.j&&(t.Style=s),(s=s.Na())&&(t.name=s.Na())),t=qh(t,s=my[o[o.length-1].node.namespaceURI]),tl(i,wy,Hh,t,o,s),t=o[0],(e=e.V())&&(e=sl(e,!0,t)),tl(i,wy,jy,[e],o)}function ey(t,e,o){var i=e.ga();(t={node:t}).layout=e.ja,t.stride=e.qa(),tl(t,xy,Iy,[i],o)}function oy(t,e,o){var i=(e=e.Sd()).shift();tl(t={node:t},Sy,ky,e,o),tl(t,Sy,By,[i],o)}function iy(t,e){xu(t,Math.round(1e6*e)/1e6)}(Eu=$c.prototype).vg=function(t,e){if(t=$h([],Jh(tf,{Document:Bh(this.vg,this),Folder:Bh(this.vg,this),Placemark:Xh(this.Dg,this),Style:this.Jp.bind(this),StyleMap:this.Ip.bind(this)}),t,e,this))return t},Eu.Dg=function(t,e){var o=$h({geometry:null},Xf,t,e);if(o){var i=new Nh;return null!==(t=t.getAttribute("id"))&&i.jc(t),e=e[0],(t=o.geometry)&&sl(t,!1,e),i.Ra(t),delete o.geometry,this.c&&i.hg(rf(o.Style,o.styleUrl,this.a,this.b,this.g)),delete o.Style,i.H(o),i}},Eu.Jp=function(t,e){var o=t.getAttribute("id");null!==o&&(e=df(t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},Eu.Ip=function(t,e){var o=t.getAttribute("id");null!==o&&(e=$h(void 0,Kf,t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},Eu.xg=function(t,e){return d(tf,t.namespaceURI)&&(t=this.Dg(t,[rl(this,t,e)]))?t:null},Eu.zc=function(t,e){if(!d(tf,t.namespaceURI))return[];var o=t.localName;if("Document"==o||"Folder"==o)return(o=this.vg(t,[rl(this,t,e)]))?o:[];if("Placemark"==o)return(e=this.Dg(t,[rl(this,t,e)]))?[e]:[];if("kml"!=o)return[];for(o=[],t=t.firstElementChild;t;t=t.nextElementSibling){var i=this.zc(t,e);i&&c(o,i)}return o},Eu.Cp=function(t){return Oh(t)?zf(this,t):Uh(t)?Yf(this,t):"string"==typeof t?zf(this,t=Gh(t)):void 0},Eu.Dp=function(t){var e=[];return Oh(t)?c(e,Hf(this,t)):Uh(t)?c(e,qf(this,t)):"string"==typeof t&&c(e,Hf(this,t=Gh(t))),e},Eu.Gp=function(t){var e=[];return Oh(t)?c(e,Jf(this,t)):Uh(t)?c(e,this.lf(t)):"string"==typeof t&&c(e,Jf(this,t=Gh(t))),e},Eu.lf=function(t){for(var e,o=[],i=t.firstElementChild;i;i=i.nextElementSibling){d(tf,i.namespaceURI)&&"Region"==i.localName&&(e=$h({},Sf,i,[]),o.push(e))}for(i=t.firstElementChild;i;i=i.nextElementSibling)t=i.localName,!d(tf,i.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||c(o,this.lf(i));return o};var ry=Jh(tf,["Document","Placemark"]),ny=Jh(tf,{Document:Kh(function(t,e,o){tl({node:t},sy,Ty,e,o,void 0,this)}),Placemark:Kh(ty)}),sy=Jh(tf,{Placemark:Kh(ty)}),ay=Jh(tf,{Data:Kh(function(t,e,o){t.setAttribute("name",e.name),t={node:t},"object"==typeof(e=e.value)?(null!==e&&e.displayName&&tl(t,ay,Hh,[e.displayName],o,["displayName"]),null!==e&&e.value&&tl(t,ay,Hh,[e.value],o,["value"])):tl(t,ay,Hh,[e],o,["value"])}),value:Kh(function(t,e){Mu(t,e)}),displayName:Kh(function(t,e){t.appendChild(Fh.createCDATASection(e))})}),py={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},hy=Jh(tf,["href"],Jh(Qc,["x","y","w","h"])),ly=Jh(tf,{href:Kh(Mu)},Jh(Qc,{x:Kh(xu),y:Kh(xu),w:Kh(xu),h:Kh(xu)})),uy=Jh(tf,["scale","heading","Icon","hotSpot"]),cy=Jh(tf,{Icon:Kh(function(t,e,o){t={node:t};var i=hy[o[o.length-1].node.namespaceURI],r=qh(e,i);tl(t,ly,Hh,r,o,i),r=qh(e,i=hy[Qc[0]]),tl(t,ly,Ey,r,o,i)}),heading:Kh(xu),hotSpot:Kh(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.Xg),t.setAttribute("yunits",e.Yg)}),scale:Kh(iy)}),fy=Jh(tf,["color","scale"]),yy=Jh(tf,{color:Kh(_f),scale:Kh(iy)}),gy=Jh(tf,["color","width"]),dy=Jh(tf,{color:Kh(_f),width:Kh(xu)}),vy=Jh(tf,{LinearRing:Kh(ey)}),by=Jh(tf,{LineString:Kh(ey),Point:Kh(ey),Polygon:Kh(oy),GeometryCollection:Kh($f)}),my=Jh(tf,"name open visibility address phoneNumber description styleUrl Style".split(" ")),wy=Jh(tf,{ExtendedData:Kh(function(t,e,o){t={node:t};var i=e.names;e=e.values;for(var r=i.length,n=0;n<r;n++)tl(t,ay,Ny,[{name:i[n],value:e[n]}],o)}),MultiGeometry:Kh($f),LineString:Kh(ey),LinearRing:Kh(ey),Point:Kh(ey),Polygon:Kh(oy),Style:Kh(function(t,e,o){t={node:t};var i={},r=e.Fa(),n=e.Ga(),s=e.Y();e=e.Na(),s instanceof Jc&&(i.IconStyle=s),e&&(i.LabelStyle=e),n&&(i.LineStyle=n),r&&(i.PolyStyle=r),i=qh(i,e=Py[o[o.length-1].node.namespaceURI]),tl(t,Ay,Hh,i,o,e)}),address:Kh(Mu),description:Kh(Mu),name:Kh(Mu),open:Kh(wu),phoneNumber:Kh(Mu),styleUrl:Kh(Mu),visibility:Kh(wu)}),xy=Jh(tf,{coordinates:Kh(function(t,e,o){var i,r=(o=o[o.length-1]).layout;o=o.stride,"XY"==r||"XYM"==r?i=2:"XYZ"==r||"XYZM"==r?i=3:X(!1,34);var n,s=e.length,a="";if(0<s){for(a+=e[0],r=1;r<i;++r)a+=","+e[r];for(n=o;n<s;n+=o)for(a+=" "+e[n],r=1;r<i;++r)a+=","+e[n+r]}Mu(t,a)})}),Sy=Jh(tf,{outerBoundaryIs:Kh(Qf),innerBoundaryIs:Kh(Qf)}),My=Jh(tf,{color:Kh(_f)}),Py=Jh(tf,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Ay=Jh(tf,{IconStyle:Kh(function(t,e,o){t={node:t};var i,r,n={},s=e.ic(),a=e.ye(),p={href:e.b.o};s&&(p.w=s[0],p.h=s[1],i=e.Hc(),(r=e.Oc())&&a&&r[0]&&r[1]!==s[1]&&(p.x=r[0],p.y=a[1]-(r[1]+s[1])),i&&i[0]&&i[1]!==s[1]&&(n.hotSpot={x:i[0],Xg:"pixels",y:s[1]-i[1],Yg:"pixels"})),n.Icon=p,1!==(s=e.a)&&(n.scale=s),(e=e.g)&&(n.heading=e),n=qh(n,e=uy[o[o.length-1].node.namespaceURI]),tl(t,cy,Hh,n,o,e)}),LabelStyle:Kh(function(t,e,o){t={node:t};var i={},r=e.Fa();r&&(i.color=r.b),(e=e.b)&&1!==e&&(i.scale=e),i=qh(i,e=fy[o[o.length-1].node.namespaceURI]),tl(t,yy,Hh,i,o,e)}),LineStyle:Kh(function(t,e,o){t={node:t};var i=gy[o[o.length-1].node.namespaceURI];e=qh({color:e.a,width:e.c},i),tl(t,dy,Hh,e,o,i)}),PolyStyle:Kh(function(t,e,o){tl({node:t},My,Ry,[e.b],o)})});function Ey(t,e,o){return kh(Qc[0],"gx:"+o)}function Ty(t,e){return kh(e[e.length-1].node.namespaceURI,"Placemark")}function jy(t,e){if(t)return kh(e[e.length-1].node.namespaceURI,py[t.U()])}var Cy,Ly,Ry=Yh("color"),Iy=Yh("coordinates"),Ny=Yh("Data"),Fy=Yh("ExtendedData"),ky=Yh("innerBoundaryIs"),Dy=Yh("Point"),Oy=Yh("LineString"),Uy=Yh("LinearRing"),Gy=Yh("Polygon"),By=Yh("outerBoundaryIs");function Xy(t){this.lc=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.type=this.ea=0,this.length=this.lc.length}function Vy(t,e,o){return o?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Wy(t,e,o,i,r){this.g=r,this.i=t,this.b=e,this.f=o,this.c=i}function Zy(t){il.call(this),t=t||{},this.defaultDataProjection=new mt({code:"",units:"tile-pixels"}),this.b=t.featureClass?t.featureClass:Wy,this.a=t.geometryName,this.i=t.layerName?t.layerName:"layer",this.c=t.layers?t.layers:null}function Ky(t,e,o){for(var i=0,r=0,n=t.length;r<n;++r){for(var s=t[r],a=0,p=s.length;a<p;++a){var h=s[a];e.push(h.x,h.y)}i+=2*a,o.push(i)}}function zy(){au.call(this),this.defaultDataProjection=Vt("EPSG:4326")}function Yy(t,e){e[e.length-1].fe[t.getAttribute("k")]=t.getAttribute("v")}$c.prototype.Xb=function(t,e){e=nl(this,e);var o=kh(tf[4],"kml");o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",Qc[0]),o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var i={node:o},r={};return 1<t.length?r.Document=t:1==t.length&&(r.Placemark=t[0]),r=qh(r,t=ry[o.namespaceURI]),tl(i,ny,Hh,r,[e],t,this),o},Ja.Dd=function(){},Cy=Ja.Dd=Ja.Dd||{},Ly=function(t,e,o,i,r){var n=8*r-i-1,s=(1<<n)-1,a=s>>1,p=-7,h=o?-1:1,l=t[e+(r=o?r-1:0)];for(r+=h,o=l&(1<<-p)-1,l>>=-p,p+=n;0<p;o=256*o+t[e+r],r+=h,p-=8);for(n=o&(1<<-p)-1,o>>=-p,p+=i;0<p;n=256*n+t[e+r],r+=h,p-=8);if(0===o)o=1-a;else{if(o===s)return n?NaN:1/0*(l?-1:1);n+=Math.pow(2,i),o-=a}return(l?-1:1)*n*Math.pow(2,o-i)},Xy.c=0,Xy.i=1,Xy.b=2,Xy.a=5,Xy.prototype={Ag:function(t,e,o){for(o=o||this.length;this.ea<o;){var i=this.Ka(),r=i>>3,n=this.ea;this.type=7&i,t(r,e,this),this.ea===n&&this.mq(i)}return e},yp:function(){var t=Ly(this.lc,this.ea,!0,23,4);return this.ea+=4,t},up:function(){var t=Ly(this.lc,this.ea,!0,52,8);return this.ea+=8,t},Ka:function(t){var e=this.lc,o=e[this.ea++],i=127&o;return o<128?i:(i|=(127&(o=e[this.ea++]))<<7,o<128?i:(i|=(127&(o=e[this.ea++]))<<14,o<128?i:(i|=(127&(o=e[this.ea++]))<<21,o<128?i:function(t,e,o){var i=o.lc,r=i[o.ea++],n=(112&r)>>4;if(r<128)return Vy(t,n,e);if(n|=(127&(r=i[o.ea++]))<<3,r<128)return Vy(t,n,e);if(n|=(127&(r=i[o.ea++]))<<10,r<128)return Vy(t,n,e);if(n|=(127&(r=i[o.ea++]))<<17,r<128)return Vy(t,n,e);if(n|=(127&(r=i[o.ea++]))<<24,r<128)return Vy(t,n,e);if((r=i[o.ea++])<128)return Vy(t,n|(1&r)<<31,e);throw Error("Expected varint not more than 10 bytes")}(i|(15&e[this.ea])<<28,t,this))))},Kp:function(){return this.Ka(!0)},ce:function(){var t=this.Ka();return 1==t%2?(t+1)/-2:t/2},sp:function(){return!!this.Ka()},Gg:function(){for(var t=this.Ka()+this.ea,e=this.lc,o="",i=this.ea;i<t;){var r,n,s,a=e[i],p=null,h=239<a?4:223<a?3:191<a?2:1;if(t<i+h)break;1===h?a<128&&(p=a):2===h?128!=(192&(r=e[i+1]))||(p=(31&a)<<6|63&r)<=127&&(p=null):3===h?(r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&((p=(15&a)<<12|(63&r)<<6|63&n)<=2047||55296<=p&&p<=57343)&&(p=null)):4===h&&(r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&((p=(15&a)<<18|(63&r)<<12|(63&n)<<6|63&s)<=65535||1114112<=p)&&(p=null)),null===p?(p=65533,h=1):65535<p&&(p-=65536,o+=String.fromCharCode(p>>>10&1023|55296),p=56320|1023&p),o+=String.fromCharCode(p),i+=h}return this.ea=t,o},mq:function(t){if((t&=7)===Xy.c)for(;127<this.lc[this.ea++];);else if(t===Xy.b)this.ea=this.Ka()+this.ea;else if(t===Xy.a)this.ea+=4;else{if(t!==Xy.i)throw Error("Unimplemented type: "+t);this.ea+=8}}},Cy.default=Xy,Ja.Dd=Ja.Dd.default,Ja.xf={},Ja.xf.Bf=function(){},function(t){function e(t,e){this.layers=t.Ag(s,{},e)}function p(t,e){this.x=t,this.y=e}function o(t,e,o,i,r){this.properties={},this.extent=o,this.type=0,this.Cc=t,this.Ef=-1,this.ne=i,this.pe=r,t.Ag(n,this,e)}function n(t,e,o){if(1==t)e.id=o.Ka();else if(2==t)for(t=o.Ka()+o.ea;o.ea<t;){var i=e.ne[o.Ka()],r=e.pe[o.Ka()];e.properties[i]=r}else 3==t?e.type=o.Ka():4==t&&(e.Ef=o.ea)}function i(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this.Cc=t,this.ne=[],this.pe=[],this.me=[],t.Ag(r,this,e),this.length=this.me.length}function r(t,e,o){15===t?e.version=o.Ka():1===t?e.name=o.Gg():5===t?e.extent=o.Ka():2===t?e.me.push(o.ea):3===t?e.ne.push(o.Gg()):4===t&&e.pe.push(function(t){for(var e=null,o=t.Ka()+t.ea;t.ea<o;)e=1==(e=t.Ka()>>3)?t.Gg():2===e?t.yp():3===e?t.up():4===e?t.Kp():5===e?t.Ka():6===e?t.ce():7===e?t.sp():null;return e}(o))}function s(t,e,o){3===t&&((t=new a(o,o.Ka()+o.ea)).length&&(e[t.name]=t))}p.prototype={clone:function(){return new p(this.x,this.y)},add:function(t){return this.clone().Yj(t)},rotate:function(t){return this.clone().hk(t)},round:function(){return this.clone().ik()},angle:function(){return Math.atan2(this.y,this.x)},Yj:function(t){return this.x+=t.x,this.y+=t.y,this},hk:function(t){var e=Math.cos(t),o=(t=Math.sin(t))*this.x+e*this.y;return this.x=e*this.x-t*this.y,this.y=o,this},ik:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},p.Kq=function(t){return!(t instanceof p)&&Array.isArray(t)?new p(t[0],t[1]):t},o.b=["Unknown","Point","LineString","Polygon"],o.prototype.Oh=function(){var t=this.Cc;t.ea=this.Ef;for(var e,o=t.Ka()+t.ea,i=1,r=0,n=0,s=0,a=[];t.ea<o;)if(r||(i=7&(r=t.Ka()),r>>=3),r--,1===i||2===i)n+=t.ce(),s+=t.ce(),1===i&&(e&&a.push(e),e=[]),e.push(new p(n,s));else{if(7!==i)throw Error("unknown command "+i);e&&e.push(e[0].clone())}return e&&a.push(e),a},o.prototype.bbox=function(){var t=this.Cc;t.ea=this.Ef;for(var e=t.Ka()+t.ea,o=1,i=0,r=0,n=0,s=1/0,a=-1/0,p=1/0,h=-1/0;t.ea<e;)if(i||(o=7&(i=t.Ka()),i>>=3),i--,1===o||2===o)(r+=t.ce())<s&&(s=r),a<r&&(a=r),(n+=t.ce())<p&&(p=n),h<n&&(h=n);else if(7!==o)throw Error("unknown command "+o);return[s,p,a,h]};var a=i;i.prototype.feature=function(t){if(t<0||t>=this.me.length)throw Error("feature index out of bounds");return this.Cc.ea=this.me[t],t=this.Cc.Ka()+this.Cc.ea,new o(this.Cc,t,this.extent,this.ne,this.pe)};var h=a;t.default={Bf:e,Wj:o,Xj:h},t.Bf=e,t.Wj=o,t.Xj=h}(Ja.xf=Ja.xf||{}),(Eu=Wy.prototype).get=function(t){return this.c[t]},Eu.Bb=function(){return this.f},Eu.G=function(){return this.a||(this.a="Point"===this.i?O(this.b):K(this.b,0,this.b.length,2)),this.a},Eu.Wn=function(){return this.g},Eu.ec=function(){return this.b},Eu.ga=Wy.prototype.ec,Eu.V=function(){return this},Eu.Xn=function(){return this.c},Eu.Vd=Wy.prototype.V,Eu.qa=function(){return 2},Eu.Lc=w,Eu.U=function(){return this.i},i(Zy,il),(Eu=Zy.prototype).U=function(){return"arraybuffer"},Eu.Oa=function(t,e){var o=this.c;t=new Ja.Dd(t),t=new Ja.xf.Bf(t);var i,r=[],n=this.b;for(i in t.layers)if(!o||-1!=o.indexOf(i))for(var s,a,p,h,l,u,c,f,y,g=t.layers[i],d=0,v=g.length;d<v;++d){n===Wy?(s=void 0,p=i,Ky(h=(a=g.feature(d)).Oh(),u=[],l=[]),1===(c=a.type)?s=1===h.length?"Point":"MultiPoint":2===c?s=1===h.length?"LineString":"MultiLineString":3===c&&(s="Polygon"),(h=a.properties)[this.i]=p,s=new this.b(s,u,l,h,a.id)):(c=g.feature(d),u=i,l=e,s=new this.b,a=c.id,(p=c.properties)[this.i]=u,this.a&&s.Tc(this.a),u=void 0,0===(h=c.type)?u=null:(f=[],y=[],Ky(c=c.Oh(),y,f),1===h?u=new(1===c.length?hr:dl)(null):2===h?u=new(1===c.length?ul:fl)(null):3===h&&(u=new wr(null)),u.ba("XY",y,f)),l=sl(u,!1,nl(this,l)),s.Ra(l),s.jc(a),s.H(p)),r.push(s)}return r},Eu.kb=function(){return this.defaultDataProjection},Eu.mn=function(t){this.c=t},Eu.Tb=function(){},Eu.Sc=function(){},Eu.Bd=function(){},Eu.$c=function(){},Eu.Wb=function(){},i(zy,au);var Hy=[null],qy=Jh(Hy,{nd:function(t,e){e[e.length-1].md.push(t.getAttribute("ref"))},tag:Yy}),Jy=Jh(Hy,{node:function(t,e){var o=e[0],i=e[e.length-1],r=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.Sh[r]=n,yt((t=$h({fe:{}},_y,t,e)).fe)||(sl(n=new hr(n),!1,o),(o=new Nh(n)).jc(r),o.H(t.fe),i.features.push(o))},way:function(t,e){var o=e[0],i=t.getAttribute("id");t=$h({md:[],fe:{}},qy,t,e),e=e[e.length-1];for(var r=[],n=0,s=t.md.length;n<s;n++)c(r,e.Sh[t.md[n]]);t.md[0]==t.md[t.md.length-1]?(n=new wr(null)).ba("XY",r,[r.length]):(n=new ul(null)).ba("XY",r),sl(n,!1,o),(o=new Nh(n)).jc(i),o.H(t.fe),e.features.push(o)}}),_y=Jh(Hy,{tag:Yy});function $y(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Qy(){}function tg(){}zy.prototype.zc=function(t,e){return e=rl(this,t,e),"osm"==t.localName&&(t=$h({Sh:{},features:[]},Jy,t,[e])).features?t.features:[]},zy.prototype.Vg=function(){},zy.prototype.Xb=function(){},zy.prototype.ie=function(){},Qy.prototype.read=function(t){return Oh(t)?this.a(t):Uh(t)?this.b(t):"string"==typeof t?(t=Gh(t),this.a(t)):null},i(tg,Qy),tg.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},tg.prototype.b=function(t){return(t=$h({},og,t,[]))?t:null};var eg=[null,"http://www.opengis.net/ows/1.1"],og=Jh(eg,{ServiceIdentification:Zh(function(t,e){return $h({},yg,t,e)}),ServiceProvider:Zh(function(t,e){return $h({},gg,t,e)}),OperationsMetadata:Zh(function(t,e){return $h({},lg,t,e)})}),ig=Jh(eg,{DeliveryPoint:Zh(mu),City:Zh(mu),AdministrativeArea:Zh(mu),PostalCode:Zh(mu),Country:Zh(mu),ElectronicMailAddress:Zh(mu)}),rg=Jh(eg,{Value:Wh(mu)}),ng=Jh(eg,{AllowedValues:Zh(function(t,e){return $h({},rg,t,e)})}),sg=Jh(eg,{Phone:Zh(function(t,e){return $h({},ug,t,e)}),Address:Zh(function(t,e){return $h({},ig,t,e)})}),ag=Jh(eg,{HTTP:Zh(function(t,e){return $h({},pg,t,e)})}),pg=Jh(eg,{Get:Wh(function(t,e){var o=$y(t);if(o)return $h({href:o},cg,t,e)}),Post:void 0}),hg=Jh(eg,{DCP:Zh(function(t,e){return $h({},ag,t,e)})}),lg=Jh(eg,{Operation:function(t,e){var o=t.getAttribute("name");(t=$h({},hg,t,e))&&(e[e.length-1][o]=t)}}),ug=Jh(eg,{Voice:Zh(mu),Facsimile:Zh(mu)}),cg=Jh(eg,{Constraint:Wh(function(t,e){var o=t.getAttribute("name");if(o)return $h({name:o},ng,t,e)})}),fg=Jh(eg,{IndividualName:Zh(mu),PositionName:Zh(mu),ContactInfo:Zh(function(t,e){return $h({},sg,t,e)})}),yg=Jh(eg,{Title:Zh(mu),ServiceTypeVersion:Zh(mu),ServiceType:Zh(mu)}),gg=Jh(eg,{ProviderName:Zh(mu),ProviderSite:Zh($y),ServiceContact:Zh(function(t,e){return $h({},fg,t,e)})});function dg(t,e,o,i){for(var r=void 0!==i?i:[],n=i=0;n<e;){var s=t[n++];for(r[i++]=t[n++],r[i++]=s,s=2;s<o;++s)r[i++]=t[n++]}r.length=i}function vg(t){t=t||{},il.call(this),this.defaultDataProjection=Vt("EPSG:4326"),this.b=t.factor?t.factor:1e5,this.a=t.geometryLayout?t.geometryLayout:"XY"}function bg(t,e,o){for(var i=Array(e),r=0;r<e;++r)i[r]=0;for(var n=0,s=t.length;n<s;)for(r=0;r<e;++r,++n){var a=t[n],p=a-i[r];i[r]=a,t[n]=p}return wg(t,o||1e5)}function mg(t,e,o){for(var i,r=Array(e),n=0;n<e;++n)r[n]=0;for(t=xg(t,o||1e5),o=0,i=t.length;o<i;)for(n=0;n<e;++n,++o)r[n]+=t[o],t[o]=r[n];return t}function wg(t,e){e=e||1e5;for(var o=0,i=t.length;o<i;++o)t[o]=Math.round(t[o]*e);for(e=0,o=t.length;e<o;++e)i=t[e],t[e]=i<0?~(i<<1):i<<1;for(e="",o=0,i=t.length;o<i;++o){for(var r,n=t[o],s="";32<=n;)r=63+(32|31&n),s+=String.fromCharCode(r),n>>=5;e+=s+=String.fromCharCode(n+63)}return e}function xg(t,e){e=e||1e5;for(var o=[],i=0,r=0,n=0,s=t.length;n<s;++n){var a=t.charCodeAt(n)-63,i=i|(31&a)<<r;a<32?(o.push(i),r=i=0):r+=5}for(t=0,i=o.length;t<i;++t)r=o[t],o[t]=1&r?~(r>>1):r>>1;for(t=0,i=o.length;t<i;++t)o[t]/=e;return o}function Sg(t){t=t||{},il.call(this),this.a=t.layerName,this.b=t.layers?t.layers:null,this.defaultDataProjection=Vt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326")}function Mg(t,e){for(var o,i=[],r=0,n=t.length;r<n;++r){var s=t[r];0<r&&i.pop(),o=0<=s?e[s]:e[~s].slice().reverse(),i.push.apply(i,o)}for(t=0,e=i.length;t<e;++t)i[t]=i[t].slice();return i}function Pg(t,e,o,i,r,n,s){var a=t.type,p=Eg[a];return o="Point"===a||"MultiPoint"===a?p(t,o,i):p(t,e),(e=new Nh).Ra(sl(o,!1,s)),void 0!==t.id&&e.jc(t.id),t=t.properties,r&&((t=t||{})[r]=n),t&&e.H(t),e}function Ag(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}i(vg,Ec),(Eu=vg.prototype).ae=function(t,e){return new Nh(t=this.wd(t,e))},Eu.zg=function(t,e){return[this.ae(t,e)]},Eu.wd=function(t,e){var o=Zi(this.a);return dg(t=mg(t,o,this.b),t.length,o,t),sl(new ul(ir(t,0,t.length,o),this.a),!1,nl(this,e))},Eu.ge=function(t,e){return(t=t.V())?this.Cd(t,e):(X(!1,40),"")},Eu.Wg=function(t,e){return this.ge(t[0],e)},Eu.Cd=function(t,e){return e=(t=sl(t,!0,nl(this,e))).ga(),t=t.qa(),dg(e,e.length,t,e),bg(e,t,this.b)},i(Sg,al),Sg.prototype.yg=function(t,e){if("Topology"!=t.type)return[];var o,i=null,r=null;t.transform&&(i=(o=t.transform).scale,r=o.translate);var n=t.arcs;if(o){o=i;for(var s=r,a=0,p=n.length;a<p;++a)for(var h=n[a],l=o,u=s,c=0,f=0,y=0,g=h.length;y<g;++y){var d=h[y];c+=d[0],f+=d[1],d[0]=c,d[1]=f,Ag(d,l,u)}}o=[],t=t.objects;var v,s=this.a;for(v in t)this.b&&-1==this.b.indexOf(v)||("GeometryCollection"===t[v].type?(a=t[v],o.push.apply(o,function(t,e,o,i,r,n,s){for(var a=[],p=0,h=(t=t.geometries).length;p<h;++p)a[p]=Pg(t[p],e,o,i,r,n,s);return a}(a,n,i,r,s,v,e))):(a=t[v],o.push(Pg(a,n,i,r,s,v,e))));return o},Sg.prototype.Fg=function(){return this.defaultDataProjection};var Eg={Point:function(t,e,o){return t=t.coordinates,e&&o&&Ag(t,e,o),new hr(t)},LineString:function(t,e){return new ul(t=Mg(t.arcs,e))},Polygon:function(t,e){for(var o=[],i=0,r=t.arcs.length;i<r;++i)o[i]=Mg(t.arcs[i],e);return new wr(o)},MultiPoint:function(t,e,o){if(t=t.coordinates,e&&o)for(var i=0,r=t.length;i<r;++i)Ag(t[i],e,o);return new dl(t)},MultiLineString:function(t,e){for(var o=[],i=0,r=t.arcs.length;i<r;++i)o[i]=Mg(t.arcs[i],e);return new fl(o)},MultiPolygon:function(t,e){for(var o=[],i=0,r=t.arcs.length;i<r;++i){for(var n=t.arcs[i],s=[],a=0,p=n.length;a<p;++a)s[a]=Mg(n[a],e);o[i]=s}return new vl(o)}};function Tg(t){t=t||{},this.c=t.featureType,this.a=t.featureNS,this.b=t.gmlFormat?t.gmlFormat:new Pu,this.o=t.schemaLocation?t.schemaLocation:jg["1.1.0"],au.call(this)}(Eu=Sg.prototype).Zc=function(){},Eu.he=function(){},Eu.je=function(){},Eu.Cg=function(){},Eu.Rc=function(){},i(Tg,au);var jg={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"};function Cg(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE)return Rg(t,e)}Tg.prototype.zc=function(t,e){var o={featureType:this.c,featureNS:this.a};return ut(o,rl(this,t,e||{})),e=[o],this.b.b["http://www.opengis.net/gml"].featureMember=Xh(lu.prototype.be),(t=$h([],this.b.b,t,e,this.b))||(t=[]),t},Tg.prototype.j=function(t){return Oh(t)?Dg(t):Uh(t)?$h({},kg,t,[]):"string"==typeof t?Dg(t=Gh(t)):void 0},Tg.prototype.g=function(t){return Oh(t)?Cg(this,t):Uh(t)?Rg(this,t):"string"==typeof t?Cg(this,t=Gh(t)):void 0};var Lg={"http://www.opengis.net/gml":{boundedBy:Zh(lu.prototype.gf,"bounds")}};function Rg(t,e){var o={},i=bu(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,$h(o,Lg,e,[],t.b)}var Ig={"http://www.opengis.net/wfs":{totalInserted:Zh(vu),totalUpdated:Zh(vu),totalDeleted:Zh(vu)}},Ng={"http://www.opengis.net/ogc":{FeatureId:Xh(function(t){return t.getAttribute("fid")})}},Fg={"http://www.opengis.net/wfs":{Feature:function(t,e){_h(Ng,t,e)}}},kg={"http://www.opengis.net/wfs":{TransactionSummary:Zh(function(t,e){return $h({},Ig,t,e)},"transactionSummary"),InsertResults:Zh(function(t,e){return $h([],Fg,t,e)},"insertIds")}};function Dg(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return $h({},kg,t,[])}var Og={"http://www.opengis.net/wfs":{PropertyName:Kh(Mu)}};function Ug(t,e){var o=kh("http://www.opengis.net/ogc","Filter"),i=kh("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function Gg(t,e){return t=(t||"feature")+":",e.indexOf(t)?t+e:e}var Bg={"http://www.opengis.net/wfs":{Insert:Kh(function(t,e,o){var i=(r=o[o.length-1]).gmlVersion,r=kh(r.featureNS,r.featureType);if(t.appendChild(r),2===i){t=Fu.prototype,(i=e.a)&&r.setAttribute("fid",i);var n=(i=o[o.length-1]).featureNS,s=e.c;i.lb||(i.lb={},i.lb[n]={});var a=e.N();e=[];var p=[];for(l in a){var h=a[l];null!==h&&(e.push(l),p.push(h),l==s||h instanceof Bi?l in i.lb[n]||(i.lb[n][l]=Kh(t.ai,t)):l in i.lb[n]||(i.lb[n][l]=Kh(Mu)))}var l=ut({},i);l.node=r,tl(l,i.lb,Yh(void 0,n),p,o,e)}else Pu.prototype.ii(r,e,o)}),Update:Kh(function(t,e,o){var i=o[o.length-1];X(void 0!==e.a,27);var r=i.featurePrefix,n=i.featureNS;if(t.setAttribute("typeName",Gg(r,i.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),void 0!==(r=e.a)){for(var s=[],a=0,p=(n=e.O()).length;a<p;a++){var h=e.get(n[a]);void 0!==h&&s.push({name:n[a],value:h})}tl({gmlVersion:i.gmlVersion,node:t,hasZ:i.hasZ,srsName:i.srsName},Bg,Yh("Property"),s,o),Ug(t,r)}}),Delete:Kh(function(t,e,o){o=o[o.length-1],X(void 0!==e.a,26);var i=o.featurePrefix,r=o.featureNS;t.setAttribute("typeName",Gg(i,o.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+i,r),void 0!==(e=e.a)&&Ug(t,e)}),Property:Kh(function(t,e,o){var i=kh("http://www.opengis.net/wfs","Name"),r=o[o.length-1].gmlVersion;t.appendChild(i),Mu(i,e.name),void 0!==e.value&&null!==e.value&&(i=kh("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Bi?2===r?Fu.prototype.ai(i,e.value,o):Pu.prototype.od(i,e.value,o):Mu(i,e.value))}),Native:Kh(function(t,e){e.vq&&t.setAttribute("vendorId",e.vq),void 0!==e.Vp&&t.setAttribute("safeToIgnore",e.Vp),void 0!==e.value&&Mu(t,e.value)})}};function Xg(t,e,o){var i={node:t};e.b.forEach(function(t){tl(i,Yg,Yh(t.kc),[t],o)})}function Vg(t,e){void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Zg(t,e.b),Kg(t,""+e.i)}function Wg(t,e,o){Mu(t=kh("http://www.opengis.net/ogc",t),o),e.appendChild(t)}function Zg(t,e){Wg("PropertyName",t,e)}function Kg(t,e){Wg("Literal",t,e)}function zg(t,e){var o=kh("http://www.opengis.net/gml","TimeInstant");t.appendChild(o),t=kh("http://www.opengis.net/gml","timePosition"),o.appendChild(t),Mu(t,e)}var Yg={"http://www.opengis.net/wfs":{Query:Kh(function(t,e,o){var i=o[o.length-1],r=i.featurePrefix,n=i.featureNS,s=i.propertyNames,a=i.srsName;t.setAttribute("typeName",r?Gg(r,e):e),a&&t.setAttribute("srsName",a),n&&t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),(e=ut({},i)).node=t,tl(e,Og,Yh("PropertyName"),s,o),(i=i.filter)&&(s=kh("http://www.opengis.net/ogc","Filter"),t.appendChild(s),tl({node:s},Yg,Yh(i.kc),[i],o))})},"http://www.opengis.net/ogc":{During:Kh(function(t,e){var o=kh("http://www.opengis.net/fes","ValueReference");Mu(o,e.b),t.appendChild(o),o=kh("http://www.opengis.net/gml","TimePeriod"),t.appendChild(o),t=kh("http://www.opengis.net/gml","begin"),o.appendChild(t),zg(t,e.a),t=kh("http://www.opengis.net/gml","end"),o.appendChild(t),zg(t,e.i)}),And:Kh(Xg),Or:Kh(Xg),Not:Kh(function(t,e,o){e=e.condition,tl({node:t},Yg,Yh(e.kc),[e],o)}),BBOX:Kh(function(t,e,o){o[o.length-1].srsName=e.srsName,Zg(t,e.geometryName),Pu.prototype.od(t,e.extent,o)}),Intersects:Kh(function(t,e,o){o[o.length-1].srsName=e.srsName,Zg(t,e.geometryName),Pu.prototype.od(t,e.geometry,o)}),Within:Kh(function(t,e,o){o[o.length-1].srsName=e.srsName,Zg(t,e.geometryName),Pu.prototype.od(t,e.geometry,o)}),PropertyIsEqualTo:Kh(Vg),PropertyIsNotEqualTo:Kh(Vg),PropertyIsLessThan:Kh(Vg),PropertyIsLessThanOrEqualTo:Kh(Vg),PropertyIsGreaterThan:Kh(Vg),PropertyIsGreaterThanOrEqualTo:Kh(Vg),PropertyIsNull:Kh(function(t,e){Zg(t,e.b)}),PropertyIsBetween:Kh(function(t,e){Zg(t,e.b);var o=kh("http://www.opengis.net/ogc","LowerBoundary");t.appendChild(o),Kg(o,""+e.a),o=kh("http://www.opengis.net/ogc","UpperBoundary"),t.appendChild(o),Kg(o,""+e.i)}),PropertyIsLike:Kh(function(t,e){t.setAttribute("wildCard",e.g),t.setAttribute("singleChar",e.f),t.setAttribute("escapeChar",e.i),void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Zg(t,e.b),Kg(t,""+e.c)})}};function Hg(t){t=t||{},il.call(this),this.b=void 0!==t.splitCollection&&t.splitCollection}function qg(t){return(t=t.X()).length?t.join(" "):""}function Jg(t){for(var e=[],o=0,i=(t=t.X()).length;o<i;++o)e.push(t[o].join(" "));return e.join(",")}function _g(t){for(var e=[],o=0,i=(t=t.Sd()).length;o<i;++o)e.push("("+Jg(t[o])+")");return e.join(",")}function $g(t){var e,o=t.U(),i=(0,Qg[o])(t),o=o.toUpperCase();return t instanceof Wi&&(e="","XYZ"!==(t=t.ja)&&"XYZM"!==t||(e+="Z"),"XYM"!==t&&"XYZM"!==t||(e+="M"),0<(t=e).length&&(o+=" "+t)),i.length?o+"("+i+")":o+" EMPTY"}Tg.prototype.l=function(t){var e,o,i=kh("http://www.opengis.net/wfs","GetFeature");return i.setAttribute("service","WFS"),i.setAttribute("version","1.1.0"),t&&(t.handle&&i.setAttribute("handle",t.handle),t.outputFormat&&i.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&i.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&i.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&i.setAttribute("startIndex",t.startIndex),void 0!==t.count&&i.setAttribute("count",t.count),o=t.filter,t.bbox&&(X(t.geometryName,12),e=_l(t.geometryName,t.bbox,t.srsName),o=o?Jl(o,e):e)),i.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.o),o={node:i,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.a,featurePrefix:t.featurePrefix,geometryName:t.geometryName,filter:o,propertyNames:t.propertyNames?t.propertyNames:[]},X(Array.isArray(t.featureTypes),11),t=t.featureTypes,(e=ut({},(o=[o])[o.length-1])).node=i,tl(e,Yg,Yh("Query"),t,o),i},Tg.prototype.v=function(t,e,o,i){var r,n=[],s=kh("http://www.opengis.net/wfs","Transaction"),a=i.version?i.version:"1.1.0",p="1.0.0"===a?2:3;return s.setAttribute("service","WFS"),s.setAttribute("version",a),i&&(r=i.gmlOptions?i.gmlOptions:{},i.handle&&s.setAttribute("handle",i.handle)),s.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",jg[a]),t&&(a={node:s,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:p,hasZ:i.hasZ,srsName:i.srsName},ut(a,r),tl(a,Bg,Yh("Insert"),t,n)),e&&(a={node:s,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:p,hasZ:i.hasZ,srsName:i.srsName},ut(a,r),tl(a,Bg,Yh("Update"),e,n)),o&&tl({node:s,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:p,srsName:i.srsName},Bg,Yh("Delete"),o,n),i.nativeElements&&tl({node:s,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:p,srsName:i.srsName},Bg,Yh("Native"),i.nativeElements,n),s},Tg.prototype.Eg=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.kf(t);return null},Tg.prototype.kf=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.gf(t,e),Vt(e.pop().srsName)}return null},i(Hg,Ec);var Qg={Point:qg,LineString:Jg,Polygon:_g,MultiPoint:function(t){for(var e=[],o=0,i=(t=t.Zd()).length;o<i;++o)e.push("("+qg(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,i=(t=t.gd()).length;o<i;++o)e.push("("+Jg(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,i=(t=t.Td()).length;o<i;++o)e.push("("+_g(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,i=(t=t.Vf()).length;o<i;++o)e.push($g(t[o]));return e.join(",")}};function td(t){this.a=t,this.b=-1}function ed(t){this.i=t,this.a="XY"}function od(t){t.b=function t(e){var o=e.a.charAt(++e.b),i={position:e.b,value:o};if("("==o)i.type=2;else if(","==o)i.type=5;else if(")"==o)i.type=3;else if("0"<=o&&o<="9"||"."==o||"-"==o){i.type=4;var o=e.b,r=!1,n=!1;do{"."==s?r=!0:"e"!=s&&"E"!=s||(n=!0);var s=e.a.charAt(++e.b)}while("0"<=s&&s<="9"||"."==s&&(void 0===r||!r)||!n&&("e"==s||"E"==s)||n&&("-"==s||"+"==s));e=parseFloat(e.a.substring(o,e.b--)),i.value=e}else if("a"<=o&&o<="z"||"A"<=o&&o<="Z"){for(i.type=1,o=e.b;"a"<=(s=e.a.charAt(++e.b))&&s<="z"||"A"<=s&&s<="Z";);e=e.a.substring(o,e.b--).toUpperCase(),i.value=e}else{if(" "==o||"\t"==o||"\r"==o||"\n"==o)return t(e);if(""!==o)throw Error("Unexpected character: "+o);i.type=6}return i}(t.i)}function id(t,e){return(e=t.b.type==e)&&od(t),e}function rd(t){for(var e=[],o=t.a.length,i=0;i<o;++i){var r=t.b;if(!id(t,4))break;e.push(r.value)}if(e.length==o)return e;throw Error(pd(t))}function nd(t){for(var e=[rd(t)];id(t,5);)e.push(rd(t));return e}function sd(t){for(var e=[t.sg()];id(t,5);)e.push(t.sg());return e}function ad(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&od(t),e}function pd(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.i.a+"`"}(Eu=Hg.prototype).ae=function(t,e){return(t=this.wd(t,e))?((e=new Nh).Ra(t),e):null},Eu.zg=function(t,e){var o=[];t=this.wd(t,e),e=[];for(var i=0,r=(o=this.b&&"GeometryCollection"==t.U()?t.a:[t]).length;i<r;++i)(t=new Nh).Ra(o[i]),e.push(t);return e},Eu.wd=function(t,e){return od(t=new ed(new td(t))),(t=function t(e){var o=e.b;if(id(e,1)){var o=o.value,i="XY",r=e.b;if(1==e.b.type&&("Z"===(r=r.value)?i="XYZ":"M"===r?i="XYM":"ZM"===r&&(i="XYZM"),"XY"!==i&&od(e)),e.a=i,"GEOMETRYCOLLECTION"==o){t:{if(id(e,2)){for(o=[];o.push(t(e)),id(e,5););if(id(e,3)){e=o;break t}}else if(ad(e)){e=[];break t}throw Error(pd(e))}return new $l(e)}if(r=ld[o],i=hd[o],!r||!i)throw Error("Invalid geometry type: "+o);return o=r.call(e),new i(o,e.a)}throw Error(pd(e))}(t))?sl(t,!1,e):null},Eu.ge=function(t,e){return(t=t.V())?this.Cd(t,e):""},Eu.Wg=function(t,e){if(1==t.length)return this.ge(t[0],e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(t[i].V());return t=new $l(o),this.Cd(t,e)},Eu.Cd=function(t,e){return $g(sl(t,!0,e))},(Eu=ed.prototype).tg=function(){if(id(this,2)){var t=rd(this);if(id(this,3))return t}else if(ad(this))return null;throw Error(pd(this))},Eu.sg=function(){if(id(this,2)){var t=nd(this);if(id(this,3))return t}else if(ad(this))return[];throw Error(pd(this))},Eu.ug=function(){if(id(this,2)){var t=sd(this);if(id(this,3))return t}else if(ad(this))return[];throw Error(pd(this))},Eu.fp=function(){if(id(this,2)){var t;if(2==this.b.type)for(t=[this.tg()];id(this,5);)t.push(this.tg());else t=nd(this);if(id(this,3))return t}else if(ad(this))return[];throw Error(pd(this))},Eu.ep=function(){if(id(this,2)){var t=sd(this);if(id(this,3))return t}else if(ad(this))return[];throw Error(pd(this))},Eu.gp=function(){if(id(this,2)){for(var t=[this.ug()];id(this,5);)t.push(this.ug());if(id(this,3))return t}else if(ad(this))return[];throw Error(pd(this))};var hd={POINT:hr,LINESTRING:ul,POLYGON:wr,MULTIPOINT:dl,MULTILINESTRING:fl,MULTIPOLYGON:vl},ld={POINT:ed.prototype.tg,LINESTRING:ed.prototype.sg,POLYGON:ed.prototype.ug,MULTIPOINT:ed.prototype.fp,MULTILINESTRING:ed.prototype.ep,MULTIPOLYGON:ed.prototype.gp};function ud(){this.version=void 0}function cd(t,e){return $h({},Id,t,e)}function fd(t,e){return $h({},jd,t,e)}function yd(t,e){if(e=cd(t,e))return t=[bu(t.getAttribute("width")),bu(t.getAttribute("height"))],e.size=t,e}function gd(t,e){return $h([],Nd,t,e)}i(ud,Qy),ud.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},ud.prototype.b=function(t){return this.version=t.getAttribute("version").trim(),(t=$h({version:this.version},vd,t,[]))?t:null};var dd=[null,"http://www.opengis.net/wms"],vd=Jh(dd,{Service:Zh(function(t,e){return $h({},md,t,e)}),Capability:Zh(function(t,e){return $h({},bd,t,e)})}),bd=Jh(dd,{Request:Zh(function(t,e){return $h({},Td,t,e)}),Exception:Zh(function(t,e){return $h([],Md,t,e)}),Layer:Zh(function(t,e){return $h({},Pd,t,e)})}),md=Jh(dd,{Name:Zh(mu),Title:Zh(mu),Abstract:Zh(mu),KeywordList:Zh(gd),OnlineResource:Zh($y),ContactInformation:Zh(function(t,e){return $h({},wd,t,e)}),Fees:Zh(mu),AccessConstraints:Zh(mu),LayerLimit:Zh(vu),MaxWidth:Zh(vu),MaxHeight:Zh(vu)}),wd=Jh(dd,{ContactPersonPrimary:Zh(function(t,e){return $h({},xd,t,e)}),ContactPosition:Zh(mu),ContactAddress:Zh(function(t,e){return $h({},Sd,t,e)}),ContactVoiceTelephone:Zh(mu),ContactFacsimileTelephone:Zh(mu),ContactElectronicMailAddress:Zh(mu)}),xd=Jh(dd,{ContactPerson:Zh(mu),ContactOrganization:Zh(mu)}),Sd=Jh(dd,{AddressType:Zh(mu),Address:Zh(mu),City:Zh(mu),StateOrProvince:Zh(mu),PostCode:Zh(mu),Country:Zh(mu)}),Md=Jh(dd,{Format:Xh(mu)}),Pd=Jh(dd,{Name:Zh(mu),Title:Zh(mu),Abstract:Zh(mu),KeywordList:Zh(gd),CRS:Wh(mu),EX_GeographicBoundingBox:Zh(function(t,e){if(i=$h({},Ed,t,e)){t=i.westBoundLongitude,e=i.southBoundLatitude;var o=i.eastBoundLongitude,i=i.northBoundLatitude;if(void 0!==t&&void 0!==e&&void 0!==o&&void 0!==i)return[t,e,o,i]}}),BoundingBox:Wh(function(t){var e=[du(t.getAttribute("minx")),du(t.getAttribute("miny")),du(t.getAttribute("maxx")),du(t.getAttribute("maxy"))],o=[du(t.getAttribute("resx")),du(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:Wh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),default:t.getAttribute("default"),multipleValues:fu(t.getAttribute("multipleValues")),nearestValue:fu(t.getAttribute("nearestValue")),current:fu(t.getAttribute("current")),values:mu(t)}}),Attribution:Zh(function(t,e){return $h({},Ad,t,e)}),AuthorityURL:Wh(function(t,e){if(e=cd(t,e))return e.name=t.getAttribute("name"),e}),Identifier:Wh(mu),MetadataURL:Wh(function(t,e){if(e=cd(t,e))return e.type=t.getAttribute("type"),e}),DataURL:Wh(cd),FeatureListURL:Wh(cd),Style:Wh(function(t,e){return $h({},Rd,t,e)}),MinScaleDenominator:Zh(gu),MaxScaleDenominator:Zh(gu),Layer:Wh(function(t,e){var o=e[e.length-1],i=$h({},Pd,t,e);if(i)return void 0===(e=fu(t.getAttribute("queryable")))&&(e=o.queryable),i.queryable=void 0!==e&&e,void 0===(e=bu(t.getAttribute("cascaded")))&&(e=o.cascaded),i.cascaded=e,void 0===(e=fu(t.getAttribute("opaque")))&&(e=o.opaque),i.opaque=void 0!==e&&e,void 0===(e=fu(t.getAttribute("noSubsets")))&&(e=o.noSubsets),i.noSubsets=void 0!==e&&e,(e=du(t.getAttribute("fixedWidth")))||(e=o.fixedWidth),i.fixedWidth=e,(t=du(t.getAttribute("fixedHeight")))||(t=o.fixedHeight),i.fixedHeight=t,["Style","CRS","AuthorityURL"].forEach(function(t){t in o&&(i[t]=(i[t]||[]).concat(o[t]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(t){t in i||(i[t]=o[t])}),i})}),Ad=Jh(dd,{Title:Zh(mu),OnlineResource:Zh($y),LogoURL:Zh(yd)}),Ed=Jh(dd,{westBoundLongitude:Zh(gu),eastBoundLongitude:Zh(gu),southBoundLatitude:Zh(gu),northBoundLatitude:Zh(gu)}),Td=Jh(dd,{GetCapabilities:Zh(fd),GetMap:Zh(fd),GetFeatureInfo:Zh(fd)}),jd=Jh(dd,{Format:Wh(mu),DCPType:Wh(function(t,e){return $h({},Cd,t,e)})}),Cd=Jh(dd,{HTTP:Zh(function(t,e){return $h({},Ld,t,e)})}),Ld=Jh(dd,{Get:Zh(cd),Post:Zh(cd)}),Rd=Jh(dd,{Name:Zh(mu),Title:Zh(mu),Abstract:Zh(mu),LegendURL:Wh(yd),StyleSheetURL:Zh(cd),StyleURL:Zh(cd)}),Id=Jh(dd,{Format:Zh(mu),OnlineResource:Zh($y)}),Nd=Jh(dd,{Keyword:Xh(mu)});function Fd(t){t=t||{},this.a="http://mapserver.gis.umn.edu/mapserver",this.b=new Fu,this.c=t.layers?t.layers:null,au.call(this)}function kd(){this.i=new tg}function Dd(t){var e=mu(t).split(" ");if(e&&2==e.length&&(t=+e[0],e=+e[1],!isNaN(t)&&!isNaN(e)))return[t,e]}i(Fd,au),Fd.prototype.zc=function(t,e){var o={};e&&ut(o,rl(this,t,e)),o=[o],t.setAttribute("namespaceURI",this.a);var i=t.localName;if(e=[],t.childNodes.length){if("msGMLOutput"==i)for(var r=0,n=t.childNodes.length;r<n;r++){var s,a,p,h=t.childNodes[r];h.nodeType===Node.ELEMENT_NODE&&(s=o[0],a=h.localName.replace("_layer",""),this.c&&!d(this.c,a)||(a+="_feature",s.featureType=a,s.featureNS=this.a,(p={})[a]=Xh(this.b.wg,this.b),s=Jh([s.featureNS,null],p),h.setAttribute("namespaceURI",this.a),(h=$h([],s,h,o,this.b))&&c(e,h)))}"FeatureCollection"==i&&(t=$h([],this.b.b,t,[{}],this.b))&&(e=t)}return e},Fd.prototype.Vg=function(){},Fd.prototype.Xb=function(){},Fd.prototype.ie=function(){},i(kd,Qy),kd.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},kd.prototype.b=function(t){var e=t.getAttribute("version").trim(),o=this.i.b(t);return o?(o.version=e,(o=$h(o,Gd,t,[]))?o:null):null};var Od=[null,"http://www.opengis.net/wmts/1.0"],Ud=[null,"http://www.opengis.net/ows/1.1"],Gd=Jh(Od,{Contents:Zh(function(t,e){return $h({},Bd,t,e)})}),Bd=Jh(Od,{Layer:Wh(function(t,e){return $h({},Xd,t,e)}),TileMatrixSet:Wh(function(t,e){return $h({},Hd,t,e)})}),Xd=Jh(Od,{Style:Wh(function(t,e){if(e=$h({},Vd,t,e))return t="true"===t.getAttribute("isDefault"),e.isDefault=t,e}),Format:Wh(mu),TileMatrixSetLink:Wh(function(t,e){return $h({},Wd,t,e)}),Dimension:Wh(function(t,e){return $h({},zd,t,e)}),ResourceURL:Wh(function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var i={};return e&&(i.format=e),o&&(i.template=o),t&&(i.resourceType=t),i})},Jh(Ud,{Title:Zh(mu),Abstract:Zh(mu),WGS84BoundingBox:Zh(function(t,e){if(2==(t=$h([],Yd,t,e)).length)return A(t)}),Identifier:Zh(mu)})),Vd=Jh(Od,{LegendURL:Wh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=$y(t),e})},Jh(Ud,{Title:Zh(mu),Identifier:Zh(mu)})),Wd=Jh(Od,{TileMatrixSet:Zh(mu),TileMatrixSetLimits:Zh(function(t,e){return $h([],Zd,t,e)})}),Zd=Jh(Od,{TileMatrixLimits:Xh(function(t,e){return $h({},Kd,t,e)})}),Kd=Jh(Od,{TileMatrix:Zh(mu),MinTileRow:Zh(vu),MaxTileRow:Zh(vu),MinTileCol:Zh(vu),MaxTileCol:Zh(vu)}),zd=Jh(Od,{Default:Zh(mu),Value:Wh(mu)},Jh(Ud,{Identifier:Zh(mu)})),Yd=Jh(Ud,{LowerCorner:Xh(Dd),UpperCorner:Xh(Dd)}),Hd=Jh(Od,{WellKnownScaleSet:Zh(mu),TileMatrix:Wh(function(t,e){return $h({},qd,t,e)})},Jh(Ud,{SupportedCRS:Zh(mu),Identifier:Zh(mu)})),qd=Jh(Od,{TopLeftCorner:Zh(Dd),ScaleDenominator:Zh(gu),TileWidth:Zh(vu),TileHeight:Zh(vu),MatrixWidth:Zh(vu),MatrixHeight:Zh(vu)},Jh(Ud,{Identifier:Zh(mu)}));function Jd(t){Le.call(this),t=t||{},this.a=null,this.f=zt,this.c=void 0,be(this,Ie("projection"),this.Am,this),be(this,Ie("tracking"),this.Bm,this),void 0!==t.projection&&this.Wh(t.projection),void 0!==t.trackingOptions&&this.wj(t.trackingOptions),this.Ke(void 0!==t.tracking&&t.tracking)}function _d(t,e,o){Wi.call(this),this.Ng(t,e||0,o)}function $d(t){var e=t.A[t.a]-t.A[0];return e*e+(t=t.A[t.a+1]-t.A[1])*t}function Qd(t,e,o){for(var i,r,n,s,a,p=[],h=t(0),l=t(1),u=e(h),c=e(l),f=[l,h],y=[c,u],g=[1,0],d={},v=1e5;0<--v&&0<g.length;)n=g.pop(),h=f.pop(),u=y.pop(),(l=n.toString())in d||(p.push(u[0],u[1]),d[l]=!0),s=g.pop(),l=f.pop(),c=y.pop(),S((r=e(i=t(a=(n+s)/2)))[0],r[1],u[0],u[1],c[0],c[1])<o?(p.push(c[0],c[1]),d[l=s.toString()]=!0):(g.push(s,a,a,n),y.push(c,r,r,u),f.push(l,i,i,h));return p}function tv(t){t=t||{},this.j=this.v=null,this.f=this.o=1/0,this.g=this.l=-1/0,this.ra=this.oa=1/0,this.R=this.I=-1/0,this.Jb=void 0!==t.targetSize?t.targetSize:100,this.fb=void 0!==t.maxLines?t.maxLines:100,this.i=[],this.c=[],this.pa=void 0!==t.strokeStyle?t.strokeStyle:ev,this.D=this.u=void 0,this.a=this.b=this.S=null,1==t.showLabels&&(this.na=t.lonLabelFormatter?t.lonLabelFormatter:Ci.bind(this,"EW"),this.Ua=t.latLabelFormatter?t.latLabelFormatter:Ci.bind(this,"NS"),this.fa=null==t.lonLabelPosition?0:t.lonLabelPosition,this.T=null==t.latLabelPosition?1:t.latLabelPosition,this.B=void 0!==t.lonLabelStyle?t.lonLabelStyle:new _c({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new Eh({color:"rgba(0,0,0,1)"}),stroke:new Ga({color:"rgba(255,255,255,1)",width:3})}),this.C=void 0!==t.latLabelStyle?t.latLabelStyle:new _c({font:"12px Calibri,sans-serif",textAlign:"end",fill:new Eh({color:"rgba(0,0,0,1)"}),stroke:new Ga({color:"rgba(255,255,255,1)",width:3})}),this.b=[],this.a=[]),this.setMap(void 0!==t.map?t.map:null)}i(Jd,Le),(Eu=Jd.prototype).ka=function(){this.Ke(!1),Le.prototype.ka.call(this)},Eu.Am=function(){var t=this.Uh();t&&(this.f=Kt(Vt("EPSG:4326"),t),this.a&&this.set("position",this.f(this.a)))},Eu.Bm=function(){var t;Oo&&((t=this.Vh())&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.np.bind(this),this.op.bind(this),this.Gh()):t||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0))},Eu.np=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:M(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude];var e=this.f(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),(t=Sr(Tt,this.a,t.accuracy)).Dc(this.f),this.set("accuracyGeometry",t),this.s()},Eu.op=function(t){t.type="error",this.Ke(!1),this.b(t)},Eu.Dk=function(){return this.get("accuracy")},Eu.Ek=function(){return this.get("accuracyGeometry")||null},Eu.Gk=function(){return this.get("altitude")},Eu.Hk=function(){return this.get("altitudeAccuracy")},Eu.ym=function(){return this.get("heading")},Eu.zm=function(){return this.get("position")},Eu.Uh=function(){return this.get("projection")},Eu.ll=function(){return this.get("speed")},Eu.Vh=function(){return this.get("tracking")},Eu.Gh=function(){return this.get("trackingOptions")},Eu.Wh=function(t){this.set("projection",Vt(t))},Eu.Ke=function(t){this.set("tracking",t)},Eu.wj=function(t){this.set("trackingOptions",t)},i(_d,Wi),(Eu=_d.prototype).clone=function(){var t=new _d(null);return Ki(t,this.ja,this.A.slice()),t.s(),t},Eu.Kb=function(t,e,o,i){var r=this.A;t-=r[0];var n=e-r[1];if((e=t*t+n*n)<i){if(e)for(i=this.pd()/Math.sqrt(e),o[0]=r[0]+i*t,o[1]=r[1]+i*n,i=2;i<this.a;++i)o[i]=r[i];else for(i=0;i<this.a;++i)o[i]=r[i];return o.length=this.a,e}return i},Eu.Mc=function(t,e){var o=this.A;return(t-=o[0])*t+(e-=o[1])*e<=$d(this)},Eu.wa=function(){return this.A.slice(0,this.a)},Eu.se=function(t){var e=this.A,o=e[this.a]-e[0];return k(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},Eu.pd=function(){return Math.sqrt($d(this))},Eu.U=function(){return"Circle"},Eu.Xa=function(t){var e=this.G();return!!at(t,e)&&(e=this.wa(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||J(t,this.sb,this))},Eu.ob=function(t){var e,o=this.a,i=t.slice();for(i[o]=i[0]+(this.A[o]-this.A[0]),e=1;e<o;++e)i[o+e]=t[e];Ki(this,this.ja,i),this.s()},Eu.Ng=function(t,e,o){if(t){var i;for(zi(this,o,t,0),this.A||(this.A=[]),t=tr(o=this.A,t),o[t++]=o[0]+e,e=1,i=this.a;e<i;++e)o[t++]=o[e];o.length=t}else Ki(this,"XY",null);this.s()},Eu.X=function(){},Eu.ma=function(){},Eu.Uc=function(t){this.A[this.a]=this.A[0]+t,this.s()};var ev=new Ga({color:"rgba(0,0,0,0.2)"}),ov=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function iv(t,e,o,i,r,n,s){var a,p,h,l,u,c=s;return a=e,p=o,h=i,l=t.j,u=r,o=Qd(function(t){return[a,p+(h-p)*t]},Zt(Vt("EPSG:4326"),l),u),(c=void 0!==t.i[c]?t.i[c]:new ul(null)).ba("XY",o),at(c.G(),n)&&(t.b&&(o=s,n=[(i=c.ga())[0],x(n[1]+Math.abs(n[1]-n[3])*t.fa,Math.max(n[1],i[1]),Math.min(n[3],i[i.length-1]))],(o=t.b[o]?t.b[o].Qd:new hr(null)).ma(n),t.b[s]={Qd:o,text:t.na(e)}),t.i[s++]=c),s}function rv(t,e,o,i,r){var n,s,a,p,h,l,u=r;return n=e,s=t.g,a=t.f,p=t.j,h=o,o=Qd(function(t){return[s+(a-s)*t,n]},Zt(Vt("EPSG:4326"),p),h),(u=void 0!==t.c[u]?t.c[u]:new ul(null)).ba("XY",o),at(u.G(),i)&&(t.a&&(o=r,l=u.ga(),i=[x(i[0]+Math.abs(i[0]-i[2])*t.T,Math.max(i[0],l[0]),Math.min(i[2],l[l.length-2])),l[1]],(o=t.a[o]?t.a[o].Qd:new hr(null)).ma(i),t.a[r]={Qd:o,text:t.Ua(e)}),t.c[r++]=u),r}function nv(t,e,o,i,r){Te.call(this),this.f=r,this.extent=t,this.a=o,this.resolution=e,this.state=i}function sv(t,e,o,i,r,n,s){nv.call(this,t,e,o,0,i),this.j=r,this.M=new Image,null!==n&&(this.M.crossOrigin=n),this.c={},this.i=null,this.state=0,this.g=s}function av(t,e,o,i,r,n){this.c=n||null,nv.call(this,t,e,o,n?0:2,i),this.i=r}function pv(t,e){Te.call(this),this.ta=t,this.state=e,this.i=null,this.key=""}function hv(t){if(!t.i)return t;var e=t.i;do{if(2==e.getState())return e;e=e.i}while(e);return t}function lv(t,e){t.state=e,t.s()}function uv(t,e,o,i,r){pv.call(this,t,e),this.g=o,this.M=new Image,null!==i&&(this.M.crossOrigin=i),this.c=null,this.j=r}function cv(t){t.c.forEach(xe),t.c=null}(Eu=tv.prototype).Cm=function(){return this.v},Eu.al=function(){return this.i},Eu.hl=function(){return this.c},Eu.Kh=function(t){var e,o,i,r,n,s,a,p,h,l,u=t.vectorContext,c=t.frameState,f=c.extent,y=(t=c.viewState).center,g=t.projection,d=t.resolution;for(t=d*d/(4*(t=c.pixelRatio)*t),this.j&&Wt(this.j,g)||(e=Vt("EPSG:4326"),o=g.G(),l=qt(i=g.g,e,g),r=i[2],n=i[1],s=i[0],a=l[3],p=l[2],h=l[1],l=l[0],this.o=i[3],this.f=r,this.l=n,this.g=s,this.oa=a,this.ra=p,this.I=h,this.R=l,this.u=Zt(e,g),this.D=Zt(g,e),this.S=this.D(tt(o)),this.j=g),g.i&&(e=st(g=g.G()),(c=c.focus[0])<g[0]||c>g[2])&&(c=e*Math.ceil((g[0]-c)/e),f=[f[0]+c,f[1],f[2]+c,f[3]]),c=this.S[0],g=this.S[1],e=-1,i=Math.pow(this.Jb*d,2),r=[],n=[],d=0,o=ov.length;d<o&&(s=ov[d]/2,r[0]=c-s,r[1]=g-s,n[0]=c+s,n[1]=g+s,this.u(r,r),this.u(n,n),!((s=Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2))<=i));++d)e=ov[d];if(-1==(d=e))this.i.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{for(y=(c=this.D(y))[0],c=c[1],g=this.fb,i=(e=qt(e=[Math.max(f[0],this.R),Math.max(f[1],this.I),Math.min(f[2],this.ra),Math.min(f[3],this.oa)],this.j,"EPSG:4326"))[3],n=e[1],o=iv(this,r=x(y=Math.floor(y/d)*d,this.g,this.f),n,i,t,f,0),e=0;r!=this.g&&e++<g;)o=iv(this,r=Math.max(r-d,this.g),n,i,t,f,o);for(r=x(y,this.g,this.f),e=0;r!=this.f&&e++<g;)o=iv(this,r=Math.min(r+d,this.f),n,i,t,f,o);for(this.i.length=o,this.b&&(this.b.length=o),o=rv(this,y=x(c=Math.floor(c/d)*d,this.l,this.o),t,f,0),e=0;y!=this.l&&e++<g;)o=rv(this,y=Math.max(y-d,this.l),t,f,o);for(y=x(c,this.l,this.o),e=0;y!=this.o&&e++<g;)o=rv(this,y=Math.min(y+d,this.o),t,f,o);this.c.length=o,this.a&&(this.a.length=o)}for(u.Ma(null,this.pa),t=0,y=this.i.length;t<y;++t)d=this.i[t],u.zb(d);for(t=0,y=this.c.length;t<y;++t)d=this.c[t],u.zb(d);if(this.b)for(t=0,y=this.b.length;t<y;++t)d=this.b[t],this.B.xd(d.text),u.Cb(this.B),u.zb(d.Qd);if(this.a)for(t=0,y=this.a.length;t<y;++t)d=this.a[t],this.C.xd(d.text),u.Cb(this.C),u.zb(d.Qd)},Eu.setMap=function(t){this.v&&(this.v.K("postcompose",this.Kh,this),this.v.render()),t&&(t.J("postcompose",this.Kh,this),t.render()),this.v=t},i(nv,Te),nv.prototype.s=function(){this.b("change")},nv.prototype.G=function(){return this.extent},nv.prototype.getState=function(){return this.state},i(sv,nv),(Eu=sv.prototype).Y=function(t){return void 0===t?this.M:(t=B(t))in this.c?this.c[t]:(e=yt(this.c)?this.M:this.M.cloneNode(!1),this.c[t]=e);var e},Eu.Fm=function(){this.state=3,this.i.forEach(xe),this.i=null,this.s()},Eu.Gm=function(){void 0===this.resolution&&(this.resolution=ot(this.extent)/this.M.height),this.state=2,this.i.forEach(xe),this.i=null,this.s()},Eu.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.i=[me(this.M,"error",this.Fm,this),me(this.M,"load",this.Gm,this)],this.g(this,this.j))},Eu.Og=function(t){this.M=t},i(av,nv),av.prototype.g=function(t){this.state=t?3:2,this.s()},av.prototype.load=function(){0==this.state&&(this.state=1,this.s(),this.c(this.g.bind(this)))},av.prototype.Y=function(){return this.i},i(pv,Te),pv.prototype.s=function(){this.b("change")},pv.prototype.bb=function(){return this.key+"/"+this.ta},pv.prototype.f=function(){return this.ta},pv.prototype.getState=function(){return this.state},i(uv,pv),(Eu=uv.prototype).ka=function(){1==this.state&&cv(this),this.i&&Pe(this.i),this.state=5,this.s(),pv.prototype.ka.call(this)},Eu.Y=function(){return this.M},Eu.bb=function(){return this.g},Eu.Dm=function(){this.state=3,this.M=fv,cv(this),this.s()},Eu.Em=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4,cv(this),this.s()},Eu.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.c=[me(this.M,"error",this.Dm,this),me(this.M,"load",this.Em,this)],this.j(this,this.g))};var fv=new Image;function yv(t){t=t||{},Or.call(this,{handleEvent:Ui}),this.g=t.formatConstructors?t.formatConstructors:[],this.o=t.projection?Vt(t.projection):null,this.a=null,this.target=t.target?t.target:null}function gv(t){for(var e=0,o=(t=t.dataTransfer.files).length;e<o;++e){var i=t.item(e),r=new FileReader;r.addEventListener("load",this.j.bind(this,i)),r.readAsText(i)}}function dv(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}function vv(t){var e=t.v;e&&(e=t.target?t.target:e.a,t.a=[be(e,"drop",gv,t),be(e,"dragenter",dv,t),be(e,"dragover",dv,t),be(e,"drop",dv,t)])}function bv(t){t.a&&(t.a.forEach(xe),t.a=null)}fv.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",i(yv,Or),yv.prototype.j=function(t,e){e=e.target.result;for(var o=this.v,i=(i=this.o)||o.Z().v,r=[],n=0,s=(o=this.g).length;n<s;++n){var a=new o[n],p={featureProjection:i};try{r=a.Oa(e,p)}catch(t){r=null}if(r&&0<r.length)break}this.b(new wv(mv,t,r,i))},yv.prototype.Ha=function(t){Or.prototype.Ha.call(this,t),(t?vv:bv)(this)},yv.prototype.setMap=function(t){bv(this),Or.prototype.setMap.call(this,t),this.c()&&vv(this)};var mv="addfeatures";function wv(t,e,o,i){Ae.call(this,t),this.features=o,this.file=e,this.projection=i}function xv(t){t=t||{},$r.call(this,{handleDownEvent:Pv,handleDragEvent:Sv,handleUpEvent:Mv}),this.l=t.condition?t.condition:Hr,this.a=this.g=void 0,this.j=0,this.u=void 0!==t.duration?t.duration:400}function Sv(t){var e,o,i;Jr(t)&&(o=(e=t.map).Ob(),t=(i=t.pixel)[0]-o[0]/2,i=o[1]/2-i[1],o=Math.atan2(i,t),t=Math.sqrt(t*t+i*i),(e=e.Z()).g.rotation!==Mi&&void 0!==this.g&&(i=o-this.g,Ur(e,e.Qa()-i)),this.g=o,void 0!==this.a&&(o=this.a*(e.Pa()/t),Br(e,o)),void 0!==this.a&&(this.j=this.a/t),this.a=t)}function Mv(t){if(!Jr(t))return!0;Fr(t=t.map.Z(),1,-1);var e=this.j-1,o=t.Qa(),o=t.constrainRotation(o,0);Ur(t,o,void 0,void 0);var o=t.Pa(),i=this.u,o=t.constrainResolution(o,0,e);return Br(t,o,void 0,i),this.j=0,!1}function Pv(t){return!(!Jr(t)||!this.l(t))&&(Fr(t.map.Z(),1,1),!(this.a=this.g=void 0))}function Av(t,e,o,i){this.fb=t,this.Ua=e,this.overlaps=i,this.c=0,this.resolution=o,this.ra=this.oa=null,this.a=[],this.coordinates=[],this.T=qn(),this.b=[],this.B=null,this.fa=qn(),this.na=qn()}function Ev(t,e,o,i,r,n,s){var a=t.coordinates.length,p=t.Sf();s&&(o+=r),s=[e[o],e[o+1]];for(var h=[NaN,NaN],l=!0,u=o+r;u<i;u+=r){h[0]=e[u],h[1]=e[u+1];var c=F(p,h),l=c!==f?(l&&(t.coordinates[a++]=s[0],t.coordinates[a++]=s[1]),t.coordinates[a++]=h[0],t.coordinates[a++]=h[1],!1):1!==c||(t.coordinates[a++]=h[0],t.coordinates[a++]=h[1],!1);s[0]=h[0],s[1]=h[1];var f=c}return(n&&l||u===o+r)&&(t.coordinates[a++]=s[0],t.coordinates[a++]=s[1]),a}function Tv(t,e){t.oa=[0,e,0],t.a.push(t.oa),t.ra=[0,e,0],t.b.push(t.ra)}function jv(t,e,o,i,r,n,s,a,p){var h;t.B&&U(i,t.T)?h=t.B:(t.B||(t.B=[]),h=Xi(t.coordinates,0,t.coordinates.length,2,i,t.B),Qn(t.T,i)),i=!yt(n);for(var l,u,c=0,f=s.length,y=0,g=t.fa,d=t.na,v=0,b=0,m=t.a!=s||t.overlaps?0:200;c<f;){switch((N=s[c])[0]){case 0:y=N[1],i&&n[B(y).toString()]||!y.V()?c=N[2]:void 0===p||at(p,y.V().G())?++c:c=N[2]+1;break;case 1:m<v&&(t.Va(e,r),v=0),m<b&&(e.stroke(),b=0),v||b||(e.beginPath(),l=u=NaN),++c;break;case 2:O=h[y=N[1]],N=h[y+1],j=h[y+2]-O,y=h[y+3]-N,y=Math.sqrt(j*j+y*y),e.moveTo(O+y,N),e.arc(O,N,y,0,2*Math.PI,!0),++c;break;case 3:e.closePath(),++c;break;case 4:y=N[1],O=N[2];var w=N[3],x=N[4]*o,S=N[5]*o,M=N[6],P=N[7],A=N[8],E=N[9],T=N[10],j=N[11],C=N[12],L=N[13],R=N[14];for(T&&(j+=r);y<O;y+=2){var I,N=h[y]-x,T=h[y+1]-S;L&&(N=Math.round(N),T=Math.round(T)),1==C&&!j||(rs(g,I=N+x,F=T+S,C,C,j,-I,-F),e.setTransform.apply(e,g)),I=e.globalAlpha,1!=P&&(e.globalAlpha=I*P);var F=R+A>w.width?w.width-A:R,k=M+E>w.height?w.height-E:M;e.drawImage(w,A,E,F,k,N,T,F*o,k*o),1!=P&&(e.globalAlpha=I),1==C&&!j||e.setTransform.apply(e,d)}++c;break;case 5:for(y=N[1],O=N[2],S=N[3],M=N[4]*o,P=N[5]*o,j=N[6],C=N[7]*o,w=N[8],x=N[9],(T=N[10])&&(j+=r);y<O;y+=2){for(N=h[y]+M,T=h[y+1]+P,1==C&&!j||(rs(g,N,T,C,C,j,-N,-T),e.setTransform.apply(e,g)),1<(E=(A=S.split("\n")).length)?T-=(E-1)/2*(L=Math.round(1.5*e.measureText("M").width)):L=0,R=0;R<E;R++)I=A[R],x&&e.strokeText(I,N,T),w&&e.fillText(I,N,T),T+=L;1==C&&!j||e.setTransform.apply(e,d)}++c;break;case 6:if(a&&(y=a(y=N[1])))return y;++c;break;case 7:m?v++:t.Va(e,r),++c;break;case 8:for(y=N[1],O=N[2],N=h[y],C=(T=h[y+1])+.5|0,(j=N+.5|0)===l&&C===u||(e.moveTo(N,T),l=j,u=C),y+=2;y<O;y+=2)j=(N=h[y])+.5|0,C=(T=h[y+1])+.5|0,y!=O-2&&j===l&&C===u||(e.lineTo(N,T),l=j,u=C);++c;break;case 9:t.R=N[2],v&&(t.Va(e,r),v=0,b&&(e.stroke(),b=0)),e.fillStyle=N[1],++c;break;case 10:var y=void 0===N[8]||N[8],D=N[9],O=N[2];b&&(e.stroke(),b=0),e.strokeStyle=N[1],e.lineWidth=y?O*o:O,e.lineCap=N[3],e.lineJoin=N[4],e.miterLimit=N[5],Fo&&(O=N[6],j=N[7],y&&o!==D&&(O=O.map(function(t){return t*o/D}),j*=o/D,N[6]=O,N[7]=j,N[9]=o),e.lineDashOffset=j,e.setLineDash(O)),++c;break;case 11:e.font=N[1],e.textAlign=N[2],e.textBaseline=N[3],++c;break;case 12:m?b++:e.stroke(),++c;break;default:++c}}v&&t.Va(e,r),b&&e.stroke()}function Cv(t){var e=t.b;e.reverse();for(var o=e.length,i=-1,r=0;r<o;++r){var n=e[r],s=n[0];if(6==s)i=r;else if(0==s){for(n[2]=r,n=t.b,s=r;i<s;){var a=n[i];n[i]=n[s],n[s]=a,++i,--s}i=-1}}}function Lv(t,e){t.oa[2]=t.a.length,t.oa=null,t.ra[2]=t.b.length,t.ra=null,e=[6,e],t.a.push(e),t.b.push(e)}function Rv(t,e,o,i){Av.call(this,t,e,o,i),this.M=this.I=null,this.C=this.D=this.S=this.u=this.v=this.l=this.o=this.j=this.g=this.f=this.i=void 0}function Iv(t,e,o,i){Av.call(this,t,e,o,i),this.f=null,this.i={Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,eg:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Nv(t,e,o,i,r){var n=[8,n=t.coordinates.length,e=Ev(t,e,o,i,r,!1,!1)];return t.a.push(n),t.b.push(n),i}function Fv(t){var e=t.i,o=e.strokeStyle,i=e.lineCap,r=e.lineDash,n=e.lineDashOffset,s=e.lineJoin,a=e.lineWidth,p=e.miterLimit;e.Md==o&&e.Gd==i&&U(e.Hd,r)&&e.Id==n&&e.Jd==s&&e.Kd==a&&e.Ld==p||(e.eg!=t.coordinates.length&&(t.a.push([12]),e.eg=t.coordinates.length),t.a.push([10,o,a,i,s,p,r,n,!0,1],[1]),e.Md=o,e.Gd=i,e.Hd=r,e.Id=n,e.Jd=s,e.Kd=a,e.Ld=p)}function kv(t,e,o,i){Av.call(this,t,e,o,i),this.f=null,this.i={oh:void 0,Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Dv(t,e,o,i,r){var n=void 0!==(s=t.i).fillStyle,s=null!=s.strokeStyle,a=i.length,p=[1];for(t.a.push(p),t.b.push(p),p=0;p<a;++p){var h=i[p];o=[8,t.coordinates.length,o=Ev(t,e,o,h,r,!0,!s)],t.a.push(o),t.b.push(o),s&&(o=[3],t.a.push(o),t.b.push(o)),o=h}return e=[7],t.b.push(e),n&&t.a.push(e),s&&(n=[12],t.a.push(n),t.b.push(n)),o}function Ov(t,e){var o,i=t.i,r=i.fillStyle,n=i.strokeStyle,s=i.lineCap,a=i.lineDash,p=i.lineDashOffset,h=i.lineJoin,l=i.lineWidth,u=i.miterLimit;void 0===r||"string"==typeof r&&i.oh==r||(o=[9,r],"string"!=typeof r&&(e=e.G(),o.push([e[0],e[3]])),t.a.push(o),i.oh=i.fillStyle),void 0===n||i.Md==n&&i.Gd==s&&U(i.Hd,a)&&i.Id==p&&i.Jd==h&&i.Kd==l&&i.Ld==u||(t.a.push([10,n,l,s,h,u,a,p,!0,1]),i.Md=n,i.Gd=s,i.Hd=a,i.Id=p,i.Jd=h,i.Kd=l,i.Ld=u)}function Uv(t,e,o,i){Av.call(this,t,e,o,i),this.C=this.D=this.S=null,this.Ia="",this.o=this.j=0,this.l=void 0,this.u=this.v=0,this.g=this.f=this.i=null}function Gv(t,e,o,i,r){this.v=t,this.c=e,this.o=i,this.l=o,this.f=r,this.a={},this.g=qe(1,1),this.j=qn()}i(wv,Ae),i(xv,$r),i(Av,vs),Av.prototype.Va=function(t,e){var o;this.R&&(o=ts(this.T,this.R.slice()),t.translate(o[0],o[1]),t.rotate(e)),t.fill(),this.R&&t.setTransform.apply(t,this.na)},Av.prototype.La=function(t,e,o,i,r){jv(this,t,e,o,i,r,this.a,void 0,void 0)},Av.prototype.Te=w,Av.prototype.Sf=function(){return this.Ua},i(Rv,Av),Rv.prototype.qc=function(t,e){var o,i;this.M&&(Tv(this,e),o=t.ga(),i=this.coordinates.length,t=Ev(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Lv(this,e))},Rv.prototype.oc=function(t,e){var o,i;this.M&&(Tv(this,e),o=t.ga(),i=this.coordinates.length,t=Ev(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Lv(this,e))},Rv.prototype.Te=function(){Cv(this),this.f=this.i=void 0,this.M=this.I=null,this.C=this.D=this.u=this.v=this.l=this.o=this.j=this.S=this.g=void 0},Rv.prototype.Ub=function(t){var e=t.Hc(),o=t.ic(),i=t.qg(1),r=t.Y(1),n=t.Oc();this.i=e[0],this.f=e[1],this.I=i,this.M=r,this.g=o[1],this.j=t.f,this.o=n[0],this.l=n[1],this.v=t.l,this.u=t.g,this.S=t.a,this.D=t.v,this.C=o[0]},i(Iv,Av),(Eu=Iv.prototype).Sf=function(){return this.f||(this.f=T(this.Ua),0<this.c&&E(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},Eu.mc=function(t,e){var o=this.i,i=o.lineWidth;void 0!==o.strokeStyle&&void 0!==i&&(Fv(this),Tv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),Nv(this,o=t.ga(),0,o.length,t.qa()),this.b.push([12]),Lv(this,e))},Eu.nc=function(t,e){var o=this.i,i=o.lineWidth;if(void 0!==o.strokeStyle&&void 0!==i){Fv(this),Tv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),o=t.Bb(),i=t.ga(),t=t.qa();for(var r=0,n=0,s=o.length;n<s;++n)r=Nv(this,i,r,o[n],t);this.b.push([12]),Lv(this,e)}},Eu.Te=function(){this.i.eg!=this.coordinates.length&&this.a.push([12]),Cv(this),this.i=null},Eu.Ma=function(t,e){t=e.a,this.i.strokeStyle=He(t||gs),t=e.f,this.i.lineCap=void 0!==t?t:"round",t=e.i,this.i.lineDash=t||ys,t=e.g,this.i.lineDashOffset=t||0,t=e.j,this.i.lineJoin=void 0!==t?t:"round",t=e.c,this.i.lineWidth=void 0!==t?t:1,e=e.o,this.i.miterLimit=void 0!==e?e:10,this.i.lineWidth>this.c&&(this.c=this.i.lineWidth,this.f=null)},i(kv,Av),(Eu=kv.prototype).Zb=function(t,e){var o,i=this.i,r=i.strokeStyle;void 0===i.fillStyle&&void 0===r||(Ov(this,t),Tv(this,e),this.b.push([9,We(fs)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,i.lineDashOffset,!0,1]),o=t.ga(),r=this.coordinates.length,Ev(this,o,0,o.length,t.qa(),!1,!1),t=[1],r=[2,r],this.a.push(t,r),this.b.push(t,r),t=[7],this.b.push(t),void 0!==i.fillStyle&&this.a.push(t),void 0!==i.strokeStyle&&(i=[12],this.a.push(i),this.b.push(i)),Lv(this,e))},Eu.rc=function(t,e){var o=this.i;Ov(this,t),Tv(this,e),this.b.push([9,We(fs)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]);o=t.Bb();Dv(this,t.ec(),0,o,t.qa()),Lv(this,e)},Eu.pc=function(t,e){var o=this.i,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){Ov(this,t),Tv(this,e),this.b.push([9,We(fs)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]),o=t.c,i=ml(t),t=t.qa();for(var r=0,n=0,s=o.length;n<s;++n)r=Dv(this,i,r,o[n],t);Lv(this,e)}},Eu.Te=function(){Cv(this),this.i=null;var t=this.fb;if(t)for(var e=this.coordinates,o=0,i=e.length;o<i;++o)e[o]=t*Math.round(e[o]/t)},Eu.Sf=function(){return this.f||(this.f=T(this.Ua),0<this.c&&E(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},Eu.Ma=function(t,e){var o=this.i;t?(t=t.b,o.fillStyle=He(t||fs)):o.fillStyle=void 0,e?(t=e.a,o.strokeStyle=He(t||gs),t=e.f,o.lineCap=void 0!==t?t:"round",t=e.i,o.lineDash=t?t.slice():ys,t=e.g,o.lineDashOffset=t||0,t=e.j,o.lineJoin=void 0!==t?t:"round",t=e.c,o.lineWidth=void 0!==t?t:1,e=e.o,o.miterLimit=void 0!==e?e:10,o.lineWidth>this.c&&(this.c=o.lineWidth,this.f=null)):(o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineDashOffset=void 0,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0)},i(Uv,Av),Uv.prototype.yc=function(t,e,o,i,r,n){var s,a;""!==this.Ia&&this.g&&(this.i||this.f)&&(this.i&&(r=this.i,(s=this.S)&&s.fillStyle==r.fillStyle||(a=[9,r.fillStyle],this.a.push(a),this.b.push(a),s?s.fillStyle=r.fillStyle:this.S={fillStyle:r.fillStyle})),this.f&&(r=this.f,(s=this.D)&&s.lineCap==r.lineCap&&s.lineDash==r.lineDash&&s.lineDashOffset==r.lineDashOffset&&s.lineJoin==r.lineJoin&&s.lineWidth==r.lineWidth&&s.miterLimit==r.miterLimit&&s.strokeStyle==r.strokeStyle||(a=[10,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,r.lineDash,r.lineDashOffset,!1,1],this.a.push(a),this.b.push(a),s?(s.lineCap=r.lineCap,s.lineDash=r.lineDash,s.lineDashOffset=r.lineDashOffset,s.lineJoin=r.lineJoin,s.lineWidth=r.lineWidth,s.miterLimit=r.miterLimit,s.strokeStyle=r.strokeStyle):this.D={lineCap:r.lineCap,lineDash:r.lineDash,lineDashOffset:r.lineDashOffset,lineJoin:r.lineJoin,lineWidth:r.lineWidth,miterLimit:r.miterLimit,strokeStyle:r.strokeStyle})),r=this.g,(s=this.C)&&s.font==r.font&&s.textAlign==r.textAlign&&s.textBaseline==r.textBaseline||(a=[11,r.font,r.textAlign,r.textBaseline],this.a.push(a),this.b.push(a),s?(s.font=r.font,s.textAlign=r.textAlign,s.textBaseline=r.textBaseline):this.C={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}),Tv(this,n),t=[5,r=this.coordinates.length,t=Ev(this,t,e,o,i,!1,!1),this.Ia,this.j,this.o,this.v,this.u,!!this.i,!!this.f,this.l],this.a.push(t),this.b.push(t),Lv(this,n))},Uv.prototype.Cb=function(t){var e,o,i,r,n,s,a,p,h;t?((o=t.Fa())?(o=He((o=o.b)||fs),this.i?this.i.fillStyle=o:this.i={fillStyle:o}):this.i=null,(s=t.Ga())?(o=s.a,i=s.f,r=s.i,a=s.g,p=s.j,n=s.c,s=s.o,i=void 0!==i?i:"round",r=r?r.slice():ys,a=void 0!==a?a:0,p=void 0!==p?p:"round",n=void 0!==n?n:1,s=void 0!==s?s:10,o=He(o||gs),this.f?((h=this.f).lineCap=i,h.lineDash=r,h.lineDashOffset=a,h.lineJoin=p,h.lineWidth=n,h.miterLimit=s,h.strokeStyle=o):this.f={lineCap:i,lineDash:r,lineDashOffset:a,lineJoin:p,lineWidth:n,miterLimit:s,strokeStyle:o}):this.f=null,e=t.a,o=t.i,i=t.c,r=t.o,n=t.f,s=t.b,a=t.Na(),p=t.g,h=t.j,t=void 0!==e?e:"10px sans-serif",p=void 0!==p?p:"center",h=void 0!==h?h:"middle",this.g?((e=this.g).font=t,e.textAlign=p,e.textBaseline=h):this.g={font:t,textAlign:p,textBaseline:h},this.Ia=void 0!==a?a:"",this.j=void 0!==o?o:0,this.o=void 0!==i?i:0,this.l=void 0!==r&&r,this.v=void 0!==n?n:0,this.u=void 0!==s?s:1):this.Ia=""},i(Gv,js);var Bv={0:[[!0]]};function Xv(t,e,o){var i,r=Math.floor(t.length/2);if(r<=e)for(i=r;i<e;i++)t[i][o]=!0;else if(e<r)for(i=e+1;i<r;i++)t[i][o]=!0}function Vv(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].Te()}}function Wv(t,e){var o=t.c;t=o[0];var i=o[1],r=o[2];return Xi(t=[t,i,t,o=o[3],r,o,r,i],0,8,2,e,t),t}Gv.prototype.Ea=function(t,e,o,i,r,n){var s,a=2*(i=Math.round(i))+1,p=rs(this.j,i+.5,i+.5,1/e,-1/e,-o,-t[0],-t[1]),h=this.g;h.canvas.width!==a||h.canvas.height!==a?(h.canvas.width=a,h.canvas.height=a):h.clearRect(0,0,a,a),void 0!==this.f&&(H(s=Z(),t),E(s,e*(this.f+i),s));var l=function(t){if(void 0!==Bv[t])return Bv[t];for(var e=2*t+1,o=Array(e),i=0;i<e;i++)o[i]=Array(e);for(var e=t,r=i=0;i<=e;)Xv(o,t+e,t+i),Xv(o,t+i,t+e),Xv(o,t-i,t+e),Xv(o,t-e,t+i),Xv(o,t-e,t-i),Xv(o,t-i,t-e),Xv(o,t+i,t-e),Xv(o,t+e,t-i),0<2*((r+=1+2*++i)-e)+1&&(r+=1-2*--e);return Bv[t]=o}(i);return function(t,e,o,i,r,n,s){var a,p,h=Object.keys(t.a).map(Number);h.sort(function(t,e){return e-t});var l=0;for(a=h.length;l<a;++l){var u=t.a[h[l].toString()];for(p=Ts.length-1;0<=p;--p){var c=u[Ts[p]];if(void 0!==c&&(c=jv(c,e,1,o,i,r,c.b,n,s)))return c}}}(this,h,p,o,r,function(t){for(var e=h.getImageData(0,0,a,a).data,o=0;o<a;o++)for(var i=0;i<a;i++)if(l[o][i]&&0<e[4*(i*a+o)+3])return(t=n(t))?t:void h.clearRect(0,0,a,a)},s)},Gv.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Zv[e](this.v,this.c,this.l,this.o),t[e]=o),o},Gv.prototype.i=function(){return yt(this.a)},Gv.prototype.La=function(t,e,o,i,r,n){var s=Object.keys(this.a).map(Number);s.sort(G);var a=Wv(this,o);t.save(),t.beginPath(),t.moveTo(a[0],a[1]),t.lineTo(a[2],a[3]),t.lineTo(a[4],a[5]),t.lineTo(a[6],a[7]),t.clip(),n=n||Ts;for(var a=0,p=s.length;a<p;++a)for(var h=this.a[s[a].toString()],l=0,u=n.length;l<u;++l){var c=h[n[l]];void 0!==c&&c.La(t,e,o,i,r)}t.restore()};var Zv={Circle:kv,Image:Rv,LineString:Iv,Polygon:kv,Text:Uv};function Kv(t){Ce.call(this),this.a=t}function zv(t,e){var o=e.getState();return 2!=o&&3!=o&&be(e,"change",t.na,t),0==o&&(e.load(),o=e.getState()),2==o}function Yv(t){var e=t.a;e.Mb()&&"ready"==e.$f()&&t.s()}function Hv(t,e){e.Ki()&&t.postRenderFunctions.push(function(t,e,o){e=B(t).toString(),t.fd(o.viewState.projection,o.usedTiles[e])}.bind(null,e))}function qv(t,e){if(e)for(var o=0,i=e.length;o<i;++o){var r=e[o];t[B(r).toString()]=r}}function Jv(t,e){void 0!==(e=e.D)&&("string"==typeof e?t.logos[e]="":e&&(X("string"==typeof e.href,44),X("string"==typeof e.src,45),t.logos[e.src]=e.href))}function _v(t,e,o,i){e=B(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.ca<t.ca&&(t.ca=i.ca),i.$>t.$&&(t.$=i.$),i.da<t.da&&(t.da=i.da),i.ia>t.ia&&(t.ia=i.ia)):t[e][o]=i:(t[e]={},t[e][o]=i)}function $v(t,e,o,i,r,n,s,a,p,h){var l=B(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var u=t.wantedTiles[l];t=t.tileQueue;for(var c,f=o.minZoom,y=s;f<=y;--y)for(var g,d=ie(o,n,y,d),v=o.Da(y),b=d.ca;b<=d.$;++b)for(c=d.da;c<=d.ia;++c){s-y<=a?(0==(g=e.Nc(y,b,c,i,r)).getState()&&(u[g.bb()]=!0,g.bb()in t.a||t.f([g,l,re(o,g.ta),v])),p&&p.call(h,g)):e.Ug(y,b,c,r)}}function Qv(t){Kv.call(this,t),this.fa=qn()}function tb(t,e,o){var i=e.pixelRatio,r=e.size[0]*i,n=e.size[1]*i,s=e.viewState.rotation,a=rt(o),p=nt(o),h=Q(o);o=$(o),ts(e.coordinateToPixelTransform,a),ts(e.coordinateToPixelTransform,p),ts(e.coordinateToPixelTransform,h),ts(e.coordinateToPixelTransform,o),t.save(),ds(t,-s,r/2,n/2),t.beginPath(),t.moveTo(a[0]*i,a[1]*i),t.lineTo(p[0]*i,p[1]*i),t.lineTo(h[0]*i,h[1]*i),t.lineTo(o[0]*i,o[1]*i),t.clip(),ds(t,s,r/2,n/2)}function eb(t,e,o,i,r){var n,s,a,p=t.a;je(p,e)&&(n=i.size[0]*i.pixelRatio,s=i.size[1]*i.pixelRatio,ds(o,-(a=i.viewState.rotation),n/2,s/2),t=r||ob(t,i,0),p.b(new cs(e,new bs(o,i.pixelRatio,i.extent,t,i.viewState.rotation),i,o,null)),ds(o,a,n/2,s/2))}function ob(t,e,o){var i=e.viewState,r=e.pixelRatio,n=r/i.resolution;return rs(t.fa,r*e.size[0]/2,r*e.size[1]/2,n,-n,-i.rotation,-i.center[0]+o,-i.center[1])}function ib(t,e){return B(t)-B(e)}function rb(t,e){return(t=.5*t/e)*t}function nb(t,e,o,i,r,n){var s,a,p=!1;return(s=o.Y())&&(2==(a=s.Ye())||3==a?s.Bj(r,n):(0==a&&s.load(),s.Nh(r,n),p=!0)),(r=(0,o.Za)(e))&&(i=r.Vd(i),(0,sb[i.U()])(t,i,o,e)),p}i(Kv,Ce),Kv.prototype.Ea=w,Kv.prototype.Ue=Gi,Kv.prototype.Nf=function(o,i,r){return function(e,t){return Sw(o,i,e,t,function(t){r[e]||(r[e]={}),r[e][t.ta.toString()]=t})}},Kv.prototype.na=function(t){2===t.target.getState()&&Yv(this)},i(Qv,Kv),Qv.prototype.u=function(t,e,o,i){if(this.Ea(t,e,0,Ui,this))return o.call(i,this.a,null)},Qv.prototype.ef=function(t,e,o,i){eb(this,"postcompose",t,e,i)};var sb={Point:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.qc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(e.ga(),0,2,2,e,i))},LineString:function(t,e,o,i){var r,n=o.Ga();n&&((r=t.b(o.Ba(),"LineString")).Ma(null,n),r.mc(e,i)),(n=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(n),t.yc(cl(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var r,n=o.Fa(),s=o.Ga();(n||s)&&((r=t.b(o.Ba(),"Polygon")).Ma(n,s),r.rc(e,i)),(n=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(n),t.yc(xr(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.oc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=e.ga(),t.yc(o,0,o.length,e.qa(),e,i))},MultiLineString:function(t,e,o,i){var r,n=o.Ga();n&&((r=t.b(o.Ba(),"LineString")).Ma(null,n),r.nc(e,i)),(n=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(n),o=yl(e),t.yc(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var r,n=o.Fa(),s=o.Ga();(s||n)&&((r=t.b(o.Ba(),"Polygon")).Ma(n,s),r.pc(e,i)),(n=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(n),o=bl(e),t.yc(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){for(var r=0,n=(e=e.a).length;r<n;++r)(0,sb[e[r].U()])(t,e[r],o,i)},Circle:function(t,e,o,i){var r,n=o.Fa(),s=o.Ga();(n||s)&&((r=t.b(o.Ba(),"Circle")).Ma(n,s),r.Zb(e,i)),(n=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(n),t.yc(e.wa(),0,2,2,e,i))}};function ab(t){Qv.call(this,t),this.c=!1,this.v=-1,this.l=NaN,this.j=Z(),this.f=this.o=null,this.g=qe()}function pb(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}i(ab,Qv),ab.prototype.S=function(t,e,o){var i=t.extent,r=t.pixelRatio,n=e.Je?t.skippedFeatureUids:{},s=(a=t.viewState).projection,a=a.rotation,p=s.G(),h=this.a.ha(),l=ob(this,t,0);eb(this,"precompose",o,t,l);var u=e.extent,c=void 0!==u;if(c&&tb(o,t,u),(u=this.f)&&!u.i()){var f,y=0,g=0,d=(f=je(this.a,"render")?(f=o.canvas.width,d=o.canvas.height,a&&(y=((v=Math.round(Math.sqrt(f*f+d*d)))-f)/2,g=(v-d)/2,f=d=v),this.g.canvas.width=f,this.g.canvas.height=d,this.g):o).globalAlpha;f.globalAlpha=e.opacity,f!=o&&f.translate(y,g);var v=t.size[0]*r,b=t.size[1]*r;if(ds(f,-a,v/2,b/2),u.La(f,r,l,a,n),h.u&&s.i&&!N(p,i)){for(var s=i[0],h=st(p),m=0;s<p[0];)l=ob(this,t,l=h*--m),u.La(f,r,l,a,n),s+=h;for(m=0,s=i[2];s>p[2];)l=ob(this,t,l=h*++m),u.La(f,r,l,a,n),s-=h;l=ob(this,t,0)}ds(f,a,v/2,b/2),f!=o&&(eb(this,"render",f,t,l),o.drawImage(f.canvas,-y,-g),f.translate(-y,-g)),f.globalAlpha=d}c&&o.restore(),this.ef(o,t,e,l)},ab.prototype.Ea=function(t,e,o,i,r){if(this.f){var n=this.a,s={};return this.f.Ea(t,e.viewState.resolution,e.viewState.rotation,o,{},function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,i.call(r,t,n)})}},ab.prototype.D=function(){Yv(this)},ab.prototype.sd=function(t){function e(t){var e,o=t.Lc();if(o?e=o.call(t,h):(o=n.f)&&(e=o(t,h)),e){if(e){if(o=!1,Array.isArray(e))for(var i=0,r=e.length;i<r;++i)o=nb(f,t,e[i],rb(h,l),this.D,this)||o;else o=nb(f,t,e,rb(h,l),this.D,this)||o;t=o}else t=!1;this.c=this.c||t}}var n=this.a,o=n.ha();qv(t.attributions,o.j),Jv(t,o);var i=t.viewHints[0],r=t.viewHints[1],s=n.T,a=n.na;if(!this.c&&!s&&i||!a&&r)return!0;var p=t.extent,i=(a=t.viewState).projection,h=a.resolution,l=t.pixelRatio,r=n.i,u=n.c;if(void 0===(s=n.get(vb))&&(s=ib),p=E(p,u*h),u=a.projection.G(),o.u&&a.projection.i&&!N(u,t.extent)&&(t=Math.max(st(p)/2,st(u)),p[0]=u[0]-t,p[2]=u[2]+t),!this.c&&this.l==h&&this.v==r&&this.o==s&&N(this.j,p))return!0;this.f=null,this.c=!1;var c,f=new Gv(.5*h/l,p,h,o.T,n.c);return o.Yd(p,h,i),s?(c=[],o.$b(p,function(t){c.push(t)},this),c.sort(s),c.forEach(e,this)):o.$b(p,e,this),Vv(f),this.l=h,this.v=r,this.o=s,this.j=p,this.f=f,!0},i(pb,Ls);var hb=new pb;function lb(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}i(lb,Rs);var ub=new lb;function cb(t,e){this.i=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"e"),this.g=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function fb(t,e){Kv.call(this,e),this.c=t,this.T=new zs([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.g=this.Ib=null,this.j=void 0,this.v=qn(),this.S=qn(),this.C=Os(),this.u=null}function yb(t,e,o,i){var r;je(t=t.a,e)&&(r=i.viewState,t.b(new cs(e,new Op(o,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,o)))}function gb(t,e){fb.call(this,t,e),this.l=!1,this.R=-1,this.I=NaN,this.D=Z(),this.o=this.f=this.B=null}function db(t){var e=ut({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,Zn.call(this,e),this.c=void 0!==t.renderBuffer?t.renderBuffer:100,this.u=null,this.f=void 0,this.g(t.style),this.T=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.na=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}i(fb,Kv),fb.prototype.Gi=function(t,e,o){yb(this,"precompose",o,t),oa(o,34962,this.T);var i,r=o.b,n=sa(o,hb,ub);this.u?i=this.u:this.u=i=new cb(r,n),o.Qc(n)&&(r.enableVertexAttribArray(i.b),r.vertexAttribPointer(i.b,2,5126,!1,16,0),r.enableVertexAttribArray(i.a),r.vertexAttribPointer(i.a,2,5126,!1,16,8),r.uniform1i(i.f,0)),r.uniformMatrix4fv(i.g,!1,Us(this.C,this.v)),r.uniformMatrix4fv(i.c,!1,Us(this.C,this.S)),r.uniform1f(i.i,e.opacity),r.bindTexture(3553,this.Ib),r.drawArrays(5,0,4),yb(this,"postcompose",o,t)},fb.prototype.mg=function(){this.g=this.Ib=null,this.j=void 0},i(gb,fb),(Eu=gb.prototype).Gi=function(t,e,o){this.o=e;var i=t.viewState,r=this.f,n=t.size,s=t.pixelRatio,a=this.c.i;r&&!r.i()&&(a.enable(a.SCISSOR_TEST),a.scissor(0,0,n[0]*s,n[1]*s),r.La(o,i.center,i.resolution,i.rotation,n,s,e.opacity,e.Je?t.skippedFeatureUids:{}),a.disable(a.SCISSOR_TEST))},Eu.ka=function(){var t=this.f;t&&(Np(t,this.c.f)(),this.f=null),fb.prototype.ka.call(this)},Eu.Ea=function(t,e,o,i,r){if(this.f&&this.o){o=e.viewState;var n=this.a,s={};return this.f.Ea(t,this.c.f,o.center,o.resolution,o.rotation,e.size,e.pixelRatio,this.o.opacity,{},function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,i.call(r,t,n)})}},Eu.Ue=function(t,e){if(this.f&&this.o){var o=e.viewState;return i=this.f,r=t,n=this.c.f,s=o.resolution,a=o.rotation,p=e.pixelRatio,h=this.o.opacity,l=e.skippedFeatureUids,(u=n.b).bindFramebuffer(u.FRAMEBUFFER,ra(n)),void 0!==Fp(i,n,r,s,a,p,h,l,function(){var t=new Uint8Array(4);return u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,t),0<t[3]},!1)}var i,r,n,s,a,p,h,l,u;return!1},Eu.lg=function(t,e,o,i){if(t=ts(e.pixelToCoordinateTransform,t.slice()),this.Ue(t,e))return o.call(i,this.a,null)},Eu.Hi=function(){Yv(this)},Eu.ng=function(t,e,o){function i(t){var e,o=t.Lc();if(o?e=o.call(t,h):(o=r.f)&&(e=o(t,h)),e){if(e){if(o=!1,Array.isArray(e))for(var i=e.length-1;0<=i;--i)o=nb(f,t,e[i],rb(h,l),this.Hi,this)||o;else o=nb(f,t,e,rb(h,l),this.Hi,this)||o;t=o}else t=!1;this.l=this.l||t}}var r=this.a;e=r.ha(),qv(t.attributions,e.j),Jv(t,e);var n=t.viewHints[0],s=t.viewHints[1],a=r.T,p=r.na;if(!this.l&&!a&&n||!p&&s)return!0;var s=t.extent,n=(a=t.viewState).projection,h=a.resolution,l=t.pixelRatio,a=r.i,u=r.c;if(void 0===(p=r.get(vb))&&(p=ib),s=E(s,u*h),!this.l&&this.I==h&&this.R==a&&this.B==p&&N(this.D,s))return!0;this.f&&t.postRenderFunctions.push(Np(this.f,o)),this.l=!1;var c,f=new Ip(.5*h/l,s,r.c);return e.Yd(s,h,n),p?(c=[],e.$b(s,function(t){c.push(t)},this),c.sort(p),c.forEach(i,this)):e.$b(s,i,this),function(t,e){for(var o in t.a){var i,r=t.a[o];for(i in r)r[i].Db(e)}}(f,o),this.I=h,this.R=a,this.B=p,this.D=s,this.f=f,!0},i(db,Zn),db.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new ab(this):"webgl"===o&&(e=new gb(t,this)),e},db.prototype.D=function(){return this.u},db.prototype.C=function(){return this.f},db.prototype.g=function(t){this.u=void 0!==t?t:Lh,this.f=null===t?void 0:jh(this.u),this.s()};var vb="renderOrder";function bb(){return[[-1/0,-1/0,1/0,1/0]]}function mb(t){Le.call(this),this.c=Vt(t.projection),this.j=wb(t.attributions),this.D=t.logo,this.na=void 0!==t.state?t.state:"ready",this.u=void 0!==t.wrapX&&t.wrapX}function wb(t){if("string"==typeof t)return[new ue({html:t})];if(t instanceof ue)return[t];if(Array.isArray(t)){for(var e=t.length,o=Array(e),i=0;i<e;i++){var r=t[i];o[i]="string"==typeof r?new ue({html:r}):r}return o}return null}function xb(t,e){t.na=e,t.s()}function Sb(t){mb.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.B=w,this.C=t.format,this.T=null==t.overlaps||t.overlaps,this.I=t.url,t.loader?this.B=t.loader:void 0!==this.I&&(X(this.C,7),this.B=ol(this.I,this.C)),this.fa=t.strategy?t.strategy:bb;var e,o,i,r,n,s=void 0===t.useSpatialIndex||t.useSpatialIndex;this.a=s?new up:null,this.R=new up,this.g={},this.o={},this.l={},this.v={},this.f=null,t.features instanceof ke?o=(e=t.features).a:Array.isArray(t.features)&&(o=t.features),s||e||(e=new ke(o)),o&&Ab(this,o),e&&(r=e,n=!1,be(i=this,"addfeature",function(t){n||(n=!0,r.push(t.feature),n=!1)}),be(i,"removefeature",function(t){n||(n=!0,r.remove(t.feature),n=!1)}),be(r,"add",function(t){n||(n=!0,this.yb(t.element),n=!1)},i),be(r,"remove",function(t){n||(n=!0,this.Gb(t.element),n=!1)},i),i.f=r)}function Mb(t,e,o){t.v[e]=[be(o,"change",t.Oi,t),be(o,"propertychange",t.Oi,t)]}function Pb(t,e,o){var i=!0,r=o.a;return void 0!==r?r.toString()in t.o?i=!1:t.o[r.toString()]=o:(X(!(e in t.l),30),t.l[e]=o),i}function Ab(t,e){for(var o=[],i=[],r=[],n=0,s=e.length;n<s;n++){var a=e[n],p=B(a).toString();Pb(t,p,a)&&i.push(a)}for(n=0,s=i.length;n<s;n++)Mb(t,p=B(a=i[n]).toString(),a),(e=a.V())?(p=e.G(),o.push(p),r.push(a)):t.g[p]=a;for(t.a&&t.a.load(o,r),n=0,s=i.length;n<s;n++)t.b(new Tb("addfeature",i[n]))}function Eb(t,e){for(var o in t.o)if(t.o[o]===e){delete t.o[o];break}}function Tb(t,e){Ae.call(this,t),this.feature=e}function jb(t){var e,o;$r.call(this,{handleDownEvent:Lb,handleEvent:Cb,handleUpEvent:Rb}),this.T=!1,this.fa=null,this.u=!1,this.Yb=t.source?t.source:null,this.$a=t.features?t.features:null,this.wk=t.snapTolerance?t.snapTolerance:12,this.R=t.type,this.g=("Point"===(e=this.R)||"MultiPoint"===e?o=Ub:"LineString"===e||"MultiLineString"===e?o=Gb:"Polygon"===e||"MultiPolygon"===e?o=Bb:"Circle"===e&&(o=Xb),o),this.Sa=t.minPoints?t.minPoints:this.g===Bb?3:2,this.va=t.maxPoints?t.maxPoints:1/0,this.Cf=t.finishCondition?t.finishCondition:Ui;var i,r,n,s=(s=t.geometryFunction)||("Circle"===this.R?function(t,e){return(e=e||new _d([NaN,NaN])).Ng(t[0],Math.sqrt(Fi(t[0],t[1]))),e}:((r=this.g)===Ub?i=hr:r===Gb?i=ul:r===Bb&&(i=wr),function(t,e){return e?r===Bb?e.ma([t[0].concat([t[0][0]])]):e.ma(t):e=new i(t),e}));this.Za=s,this.I=this.C=this.a=this.B=this.j=this.l=null,this.ad=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.pa=new db({source:new Sb({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:(n=Rh(),function(t){return n[t.V().U()]})}),this.xb=t.geometryName,this.vk=t.condition?t.condition:Yr,this.Df=t.freehand?Ui:t.freehandCondition?t.freehandCondition:Hr,be(this,Ie("active"),this.ri,this)}function Cb(t){this.u=this.g!==Ub&&this.Df(t);var e=!this.u;return this.u&&"pointerdrag"===t.type&&null!==this.j?(kb(this,t),e=!1):"pointermove"===t.type?e=Ib(this,t):"dblclick"===t.type&&(e=!1),tn.call(this,t)&&e}function Lb(t){return this.T=!this.u,this.u?(this.fa=t.pixel,this.l||Fb(this,t),!0):!!this.vk(t)&&(this.fa=t.pixel,!0)}function Rb(t){var e=!0;Ib(this,t);var o=this.g===Xb;return this.T?(this.l?this.u||o?this.Pd():Nb(this,t)?this.Cf(t)&&this.Pd():kb(this,t):(Fb(this,t),this.g===Ub&&this.Pd()),e=!1):this.u&&(this.l=null,Db(this)),e}function Ib(t,e){var o,i,r;return t.fa&&(!t.u&&t.T||t.u&&!t.T)&&(i=t.fa,o=e.pixel,r=(r=i[0]-o[0])*r+(i=i[1]-o[1])*i,t.T=t.u?r>t.ad:r<=t.ad),t.l?(r=e.coordinate,i=t.j.V(),t.g===Ub?o=t.a:t.g===Bb?(o=(o=t.a[0])[o.length-1],Nb(t,e)&&(r=t.l.slice())):o=(o=t.a)[o.length-1],o[0]=r[0],o[1]=r[1],t.Za(t.a,i),t.B&&t.B.V().ma(r),i instanceof wr&&t.g!==Bb?(t.C||(t.C=new Nh(new ul(null))),r=i.Ch(0),(e=t.C.V()).ba(r.ja,r.ga())):t.I&&(e=t.C.V()).ma(t.I),Ob(t)):(e=e.coordinate.slice(),t.B?t.B.V().ma(e):(t.B=new Nh(new hr(e)),Ob(t))),!0}function Nb(t,e){var o=!1;if(t.j){var i=!1,r=[t.l];if(t.g===Gb?i=t.a.length>t.Sa:t.g===Bb&&(i=t.a[0].length>t.Sa,r=[t.a[0][0],t.a[0][t.a[0].length-2]]),i)for(var i=e.map,n=0,s=r.length;n<s;n++){var a=r[n],p=i.Ja(a),h=e.pixel,o=h[0]-p[0],p=h[1]-p[1];if(o=Math.sqrt(o*o+p*p)<=(t.u?1:t.wk)){t.l=a;break}}}return o}function Fb(t,e){e=e.coordinate,t.l=e,t.g===Ub?t.a=e.slice():t.g===Bb?(t.a=[[e.slice(),e.slice()]],t.I=t.a[0]):(t.a=[e.slice(),e.slice()],t.g===Xb&&(t.I=t.a)),t.I&&(t.C=new Nh(new ul(t.I))),e=t.Za(t.a),t.j=new Nh,t.xb&&t.j.Tc(t.xb),t.j.Ra(e),Ob(t),t.b(new Vb("drawstart",t.j))}function kb(t,e){e=e.coordinate;var o,i,r=t.j.V();t.g===Gb?(t.l=e.slice(),(i=t.a).length>=t.va&&(t.u?i.pop():o=!0),i.push(e.slice()),t.Za(i,r)):t.g===Bb&&((i=t.a[0]).length>=t.va&&(t.u?i.pop():o=!0),i.push(e.slice()),o&&(t.l=i[0]),t.Za(t.a,r)),Ob(t),o&&t.Pd()}function Db(t){t.l=null;var e=t.j;return e&&(t.j=null,t.B=null,t.C=null,t.pa.ha().clear(!0)),e}function Ob(t){var e=[];t.j&&e.push(t.j),t.C&&e.push(t.C),t.B&&e.push(t.B),(t=t.pa.ha()).clear(!0),t.cd(e)}i(mb,Le),(Eu=mb.prototype).Ea=w,Eu.ya=function(){return this.j},Eu.xa=function(){return this.D},Eu.za=function(){return this.c},Eu.getState=function(){return this.na},Eu.sa=function(){this.s()},Eu.ua=function(t){this.j=wb(t),this.s()},i(Sb,mb),(Eu=Sb.prototype).yb=function(t){var e,o=B(t).toString();Pb(this,o,t)&&(Mb(this,o,t),(e=t.V())?(o=e.G(),this.a&&this.a.Ca(o,t)):this.g[o]=t,this.b(new Tb("addfeature",t))),this.s()},Eu.cd=function(t){Ab(this,t),this.s()},Eu.clear=function(t){if(t){for(var e in this.v)this.v[e].forEach(xe);this.f||(this.v={},this.o={},this.l={})}else if(this.a)for(var o in this.a.forEach(this.Ig,this),this.g)this.Ig(this.g[o]);this.f&&this.f.clear(),this.a&&this.a.clear(),this.R.clear(),this.g={},this.b(new Tb("clear")),this.s()},Eu.sh=function(t,e){return this.a?this.a.forEach(t,e):this.f?this.f.forEach(t,e):void 0},Eu.$b=function(t,e,o){return this.a?gp(this.a,t,e,o):this.f?this.f.forEach(e,o):void 0},Eu.th=function(e,o,i){return this.$b(e,function(t){if(t.V().Xa(e)&&(t=o.call(i,t)))return t})},Eu.Ah=function(){return this.f},Eu.Xe=function(){var t;return this.f?t=this.f.a:this.a&&(t=fp(this.a),yt(this.g)||c(t,ft(this.g))),t},Eu.zh=function(t){var e,o,i=[];return e=t,o=function(t){i.push(t)},this.$b([e[0],e[1],e[0],e[1]],function(t){if(t.V().sb(e))return o.call(void 0,t)}),i},Eu.Uf=function(t){return yp(this.a,t)},Eu.vh=function(t,e){var i=t[0],r=t[1],n=null,s=[NaN,NaN],a=1/0,p=[-1/0,-1/0,1/0,1/0],h=e||Ui;return gp(this.a,p,function(t){var e,o;h(t)&&(e=t.V(),o=a,(a=e.Kb(i,r,s,a))<o&&(n=t,t=Math.sqrt(a),p[0]=i-t,p[1]=r-t,p[2]=i+t,p[3]=r+t))}),n},Eu.G=function(t){return this.a.G(t)},Eu.yh=function(t){return void 0!==(t=this.o[t.toString()])?t:null},Eu.Mi=function(){return this.C},Eu.Ni=function(){return this.I},Eu.Oi=function(t){var e=B(t=t.target).toString(),o=t.V();o?(o=o.G(),e in this.g?(delete this.g[e],this.a&&this.a.Ca(o,t)):this.a&&cp(this.a,o,t)):e in this.g||(this.a&&this.a.remove(t),this.g[e]=t),void 0!==(o=t.a)?(o=o.toString(),e in this.l?(delete this.l[e],this.o[o]=t):this.o[o]!==t&&(Eb(this,t),this.o[o]=t)):e in this.l||(Eb(this,t),this.l[e]=t),this.s(),this.b(new Tb("changefeature",t))},Eu.Yd=function(t,e,o){for(var i=this.R,r=0,n=(t=this.fa(t,e)).length;r<n;++r){var s=t[r];gp(i,s,function(t){return N(t.extent,s)})||(this.B.call(this,s,e,o),i.Ca(s,{extent:s.slice()}))}},Eu.Gb=function(t){var e=B(t).toString();e in this.g?delete this.g[e]:this.a&&this.a.remove(t),this.Ig(t),this.s()},Eu.Ig=function(t){var e=B(t).toString();this.v[e].forEach(xe),delete this.v[e];var o=t.a;void 0!==o?delete this.o[o.toString()]:delete this.l[e],this.b(new Tb("removefeature",t))},i(Tb,Ae),i(jb,$r),(Eu=jb.prototype).setMap=function(t){$r.prototype.setMap.call(this,t),this.ri()},Eu.Op=function(){var t,e;this.j&&(t=this.j.V(),this.g===Gb?((e=this.a).splice(-2,1),this.Za(e,t),2<=e.length&&(this.l=e[e.length-2].slice())):this.g===Bb&&((e=this.a[0]).splice(-2,1),this.C.V().ma(e),this.Za(this.a,t)),0===e.length&&(this.l=null),Ob(this))},Eu.Pd=function(){var t=Db(this),e=this.a,o=t.V();this.g===Gb?(e.pop(),this.Za(e,o)):this.g===Bb&&(e[0].pop(),this.Za(e,o),e=o.X()),"MultiPoint"===this.R?t.Ra(new dl([e])):"MultiLineString"===this.R?t.Ra(new fl([e])):"MultiPolygon"===this.R&&t.Ra(new vl([e])),this.b(new Vb("drawend",t)),this.$a&&this.$a.push(t),this.Yb&&this.Yb.yb(t)},Eu.vn=function(t){var e=t.V();this.j=t,this.a=e.X(),t=this.a[this.a.length-1],this.l=t.slice(),this.a.push(t.slice()),Ob(this),this.b(new Vb("drawstart",this.j))},Eu.Xc=Gi,Eu.ri=function(){var t=this.v,e=this.c();t&&e||Db(this),this.pa.setMap(e?t:null)};var Ub="Point",Gb="LineString",Bb="Polygon",Xb="Circle";function Vb(t,e){Ae.call(this,t),this.feature=e}function Wb(t){var e,o;this.a=this.j=null,this.C=!1,this.B=this.l=null,(t=t||{}).extent&&this.g(t.extent),$r.call(this,{handleDownEvent:Kb,handleDragEvent:zb,handleEvent:Zb,handleUpEvent:Yb}),this.u=new db({source:new Sb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:(e=Rh(),function(){return e.Polygon}),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.I=new db({source:new Sb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:(o=Rh(),function(){return o.Point}),updateWhileAnimating:!0,updateWhileInteracting:!0})}function Zb(t){return!(t instanceof Ko)||("pointermove"!=t.type||this.D||_b(this,Jb(this,e=t.pixel,o=t.map)||o.Wa(e)),tn.call(this,t),!1);var e,o}function Kb(t){function e(t){var e=null,o=null;return t[0]==r[0]?e=r[2]:t[0]==r[2]&&(e=r[0]),t[1]==r[1]?o=r[3]:t[1]==r[3]&&(o=r[1]),null!==e&&null!==o?[e,o]:null}var o=t.pixel,i=t.map,r=this.G();return(t=Jb(this,o,i))&&r?(o=t[0]==r[0]||t[0]==r[2]?t[0]:null,i=t[1]==r[1]||t[1]==r[3]?t[1]:null,null!==o&&null!==i?this.a=Hb(e(t)):null!==o?this.a=qb(e([o,r[1]]),e([o,r[3]])):null!==i&&(this.a=qb(e([r[0],i]),e([r[2],i])))):(t=i.Wa(o),this.g([t[0],t[1],t[0],t[1]]),this.a=Hb(t)),!0}function zb(t){return this.a&&(t=t.coordinate,this.g(this.a(t)),_b(this,t)),!0}function Yb(){this.a=null;var t=this.G();return t&&_(t)||this.g(null),!1}function Hb(e){return function(t){return A([e,t])}}function qb(e,o){return e[0]==o[0]?function(t){return A([e,[t[0],o[1]]])}:e[1]==o[1]?function(t){return A([e,[o[0],t[1]]])}:null}function Jb(t,e,o){var i=o.Wa(e);if(r=t.G()){(r=[[[r[0],r[1]],[r[0],r[3]]],[[r[0],r[3]],[r[2],r[3]]],[[r[2],r[3]],[r[2],r[1]]],[[r[2],r[1]],[r[0],r[1]]]]).sort(function(t,e){return Di(i,t)-Di(i,e)});var r=r[0],n=ji(i,r),s=o.Ja(n);if(ki(e,s)<=10)return e=o.Ja(r[0]),o=o.Ja(r[1]),e=Fi(s,e),o=Fi(s,o),t.C=Math.sqrt(Math.min(e,o))<=10,t.C&&(n=o<e?r[1]:r[0]),n}return null}function _b(t,e){var o=t.B;o?o.V().ma(e):(o=new Nh(new hr(e)),t.B=o,t.I.ha().yb(o))}function $b(t){Ae.call(this,Qb),this.b=t}i(Vb,Ae),i(Wb,$r),Wb.prototype.setMap=function(t){this.u.setMap(t),this.I.setMap(t),$r.prototype.setMap.call(this,t)},Wb.prototype.G=function(){return this.j},Wb.prototype.g=function(t){this.j=t||null;var e=this.l;e?t?e.Ra(Mr(t)):e.Ra(void 0):(this.l=e=new Nh(t?Mr(t):{}),this.u.ha().yb(e)),this.b(new $b(this.j))},i($b,Ae);var Qb="extentchanged";function tm(t){var e;$r.call(this,{handleDownEvent:nm,handleDragEvent:sm,handleEvent:pm,handleUpEvent:am}),this.ad=t.condition?t.condition:_r,this.$a=function(t){return Yr(t)&&zr(t)},this.xb=t.deleteCondition?t.deleteCondition:this.$a,this.Yb=t.insertVertexCondition?t.insertVertexCondition:Ui,this.Sa=this.g=null,this.va=[0,0],this.C=this.I=!1,this.a=new up,this.fa=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.l=this.pa=!1,this.j=[],this.B=new db({source:new Sb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:(e=Rh(),function(){return e.Point}),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.T={Point:this.Dn,LineString:this.ti,LinearRing:this.ti,Polygon:this.En,MultiPoint:this.Bn,MultiLineString:this.An,MultiPolygon:this.Cn,Circle:this.yn,GeometryCollection:this.zn},this.u=t.features,this.u.forEach(this.kg,this),be(this.u,"add",this.wn,this),be(this.u,"remove",this.xn,this),this.R=null}function em(t,e){t.C||(t.C=!0,t.b(new fm("modifystart",t.u,e)))}function om(t,e){!function(t,e){t=t.a;var o=[];t.forEach(function(t){e===t.feature&&o.push(t)});for(var i=o.length-1;0<=i;--i)t.remove(o[i])}(t,e),t.g&&!t.u.dc()&&(t.B.ha().Gb(t.g),t.g=null),we(e,"change",t.si,t)}function im(t,e){var o=t.g;o?o.V().ma(e):(o=new Nh(new hr(e)),t.g=o,t.B.ha().yb(o))}function rm(t,e){return t.index-e.index}function nm(t){if(!this.ad(t))return!1;hm(this,t.pixel,t.map);var e=t.map.Wa(t.pixel);if(this.j.length=0,this.C=!1,o=this.g){var o,i=[],r=A([o=o.V().X()]),n={};(r=yp(this.a,r)).sort(rm);for(var s=0,a=r.length;s<a;++s){var p=r[s],h=p.la,l=B(p.feature),u=p.depth;u&&(l+="-"+u.join("-")),n[l]||(n[l]=Array(2)),"Circle"===p.geometry.U()&&1===p.index?Ri(h=um(e,p),o)&&!n[l][0]&&(this.j.push([p,0]),n[l][0]=p):Ri(h[0],o)&&!n[l][0]?(this.j.push([p,0]),n[l][0]=p):Ri(h[1],o)&&!n[l][1]?("LineString"===p.geometry.U()||"MultiLineString"===p.geometry.U())&&n[l][0]&&0===n[l][0].index||(this.j.push([p,1]),n[l][1]=p):this.Yb(t)&&B(h)in this.Sa&&!n[l][0]&&!n[l][1]&&i.push([p,o])}for(i.length&&em(this,t),t=i.length-1;0<=t;--t)this.bm.apply(this,i[t])}return!!this.g}function sm(t){this.I=!1,em(this,t),t=t.coordinate;for(var e=0,o=this.j.length;e<o;++e){for(var i,r=(p=this.j[e])[0],n=r.depth,s=r.geometry,a=r.la,p=p[1];t.length<s.qa();)t.push(a[p][t.length]);switch(s.U()){case"Point":i=t,a[0]=a[1]=t;break;case"MultiPoint":(i=s.X())[r.index]=t,a[0]=a[1]=t;break;case"LineString":(i=s.X())[r.index+p]=t,a[p]=t;break;case"MultiLineString":case"Polygon":(i=s.X())[n[0]][r.index+p]=t,a[p]=t;break;case"MultiPolygon":(i=s.X())[n[1]][n[0]][r.index+p]=t,a[p]=t;break;case"Circle":a[0]=a[1]=t,0===r.index?(this.l=!0,s.ob(t)):(this.l=!0,s.Uc(ki(s.wa(),t))),this.l=!1}i&&(r=s,n=i,this.l=!0,r.ma(n),this.l=!1)}im(this,t)}function am(t){for(var e,o,i,r,n=this.j.length-1;0<=n;--n){"Circle"===(e=(r=this.j[n][0]).geometry).U()?(o=e.wa(),i=r.Pf[0],r=r.Pf[1],i.la[0]=i.la[1]=o,r.la[0]=r.la[1]=o,cp(this.a,O(o),i),cp(this.a,e.G(),r)):cp(this.a,A(r.la),r)}return this.C&&(this.b(new fm("modifyend",this.u,t)),this.C=!1),!1}function pm(t){return!(t instanceof Ko)||(Ir((this.R=t).map.Z())[1]||"pointermove"!=t.type||this.D||(this.va=t.pixel,hm(this,t.pixel,t.map)),this.g&&this.xb(t)&&(e=!("singleclick"!=t.type||!this.I)||this.hj()),"singleclick"==t.type&&(this.I=!1),tn.call(this,t)&&!e);var e}function hm(t,e,o){var i=o.Wa(e),r=E(O(i),o.Z().Pa()*t.fa);if(0<(r=yp(t.a,r)).length){r.sort(function(t,e){return lm(i,t)-lm(i,e)});var n=r[0],s=n.la,a=um(i,n),p=o.Ja(a),h=ki(e,p);if(h<=t.fa){if(e={},"Circle"===n.geometry.U()&&1===n.index)t.pa=!0,im(t,a);else for(h=o.Ja(s[0]),n=o.Ja(s[1]),o=Fi(p,h),p=Fi(p,n),h=Math.sqrt(Math.min(o,p)),t.pa=h<=t.fa,t.pa&&(a=p<o?s[1]:s[0]),im(t,a),p=1,o=r.length;p<o&&(a=r[p].la,Ri(s[0],a[0])&&Ri(s[1],a[1])||Ri(s[0],a[1])&&Ri(s[1],a[0]));++p)e[B(a)]=!0;return e[B(s)]=!0,void(t.Sa=e)}}t.g&&(t.B.ha().Gb(t.g),t.g=null)}function lm(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?(t=Fi(o.wa(),t),(o=Math.sqrt(t)-o.pd())*o):Di(t,e.la)}function um(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?o.Ab(t):ji(t,e.la)}function cm(t,e,o,i,r){gp(t.a,e.G(),function(t){t.geometry===e&&(void 0===i||void 0===t.depth||U(t.depth,i))&&t.index>o&&(t.index+=r)})}function fm(t,e,o){Ae.call(this,t),this.features=e,this.mapBrowserEvent=o}function ym(t){var e,o;Or.call(this,{handleEvent:gm}),t=t||{},this.C=t.condition?t.condition:zr,this.D=t.addCondition?t.addCondition:Gi,this.B=t.removeCondition?t.removeCondition:Gi,this.I=t.toggleCondition?t.toggleCondition:Hr,this.l=!!t.multi&&t.multi,this.o=t.filter?t.filter:Ui,this.j=t.hitTolerance?t.hitTolerance:0,this.g=new db({source:new Sb({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:(c((e=Rh()).Polygon,e.LineString),c(e.GeometryCollection,e.LineString),function(t){return t.V()?e[t.V().U()]:null}),updateWhileAnimating:!0,updateWhileInteracting:!0}),t=t.layers?"function"==typeof t.layers?t.layers:(o=t.layers,function(t){return d(o,t)}):Ui,this.u=t,this.a={},be(t=this.g.ha().f,"add",this.Fn,this),be(t,"remove",this.Jn,this)}function gm(t){if(!this.C(t))return!0;var o=this.D(t),i=this.B(t),r=this.I(t),e=!o&&!i&&!r,n=t.map,s=this.g.ha().f,a=[],p=[];if(e){for(ct(this.a),n.we(t.pixel,function(t,e){if(this.o(t,e))return p.push(t),t=B(t),this.a[t]=e,!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=s.dc()-1;0<=e;--e){var n=s.item(e),h=p.indexOf(n);-1<h?p.splice(h,1):(s.remove(n),a.push(n))}p.length&&s.fg(p)}else{for(n.we(t.pixel,function(t,e){if(this.o(t,e))return!o&&!r||d(s.a,t)?(i||r)&&d(s.a,t)&&(a.push(t),e=B(t),delete this.a[e]):(p.push(t),t=B(t),this.a[t]=e),!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=a.length-1;0<=e;--e)s.remove(a[e]);s.fg(p)}return(0<p.length||0<a.length)&&this.b(new dm(vm,p,a,t)),Kr(t)}function dm(t,e,o,i){Ae.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=i}i(tm,$r),(Eu=tm.prototype).kg=function(t){var e=t.V();e&&e.U()in this.T&&this.T[e.U()].call(this,t,e),(e=this.v)&&e.c&&this.c()&&hm(this,this.va,e),be(t,"change",this.si,this)},Eu.Ha=function(t){this.g&&!t&&(this.B.ha().Gb(this.g),this.g=null),$r.prototype.Ha.call(this,t)},Eu.setMap=function(t){this.B.setMap(t),$r.prototype.setMap.call(this,t)},Eu.wn=function(t){this.kg(t.element)},Eu.si=function(t){this.l||(om(this,t=t.target),this.kg(t))},Eu.xn=function(t){om(this,t.element)},Eu.Dn=function(t,e){var o=e.X();t={feature:t,geometry:e,la:[o,o]},this.a.Ca(e.G(),t)},Eu.Bn=function(t,e){for(var o=e.X(),i=0,r=o.length;i<r;++i){var n={feature:t,geometry:e,depth:[i],index:i,la:[n=o[i],n]};this.a.Ca(e.G(),n)}},Eu.ti=function(t,e){for(var o=e.X(),i=0,r=o.length-1;i<r;++i){var n=o.slice(i,i+2),s={feature:t,geometry:e,index:i,la:n};this.a.Ca(A(n),s)}},Eu.An=function(t,e){for(var o=e.X(),i=0,r=o.length;i<r;++i)for(var n=o[i],s=0,a=n.length-1;s<a;++s){var p=n.slice(s,s+2),h={feature:t,geometry:e,depth:[i],index:s,la:p};this.a.Ca(A(p),h)}},Eu.En=function(t,e){for(var o=e.X(),i=0,r=o.length;i<r;++i)for(var n=o[i],s=0,a=n.length-1;s<a;++s){var p=n.slice(s,s+2),h={feature:t,geometry:e,depth:[i],index:s,la:p};this.a.Ca(A(p),h)}},Eu.Cn=function(t,e){for(var o=e.X(),i=0,r=o.length;i<r;++i)for(var n=o[i],s=0,a=n.length;s<a;++s)for(var p=n[s],h=0,l=p.length-1;h<l;++h){var u=p.slice(h,h+2),c={feature:t,geometry:e,depth:[s,i],index:h,la:u};this.a.Ca(A(u),c)}},Eu.yn=function(t,e){var o=e.wa(),i={feature:t,geometry:e,index:0,la:[o,o]};t={feature:t,geometry:e,index:1,la:[o,o]},i.Pf=t.Pf=[i,t],this.a.Ca(O(o),i),this.a.Ca(e.G(),t)},Eu.zn=function(t,e){var o=e.a;for(e=0;e<o.length;++e)this.T[o[e].U()].call(this,t,o[e])},Eu.bm=function(t,e){for(var o,i=t.la,r=t.feature,n=t.geometry,s=t.depth,a=t.index;e.length<n.qa();)e.push(0);switch(n.U()){case"MultiLineString":case"Polygon":(o=n.X())[s[0]].splice(a+1,0,e);break;case"MultiPolygon":(o=n.X())[s[1]][s[0]].splice(a+1,0,e);break;case"LineString":(o=n.X()).splice(a+1,0,e);break;default:return}this.l=!0,n.ma(o),this.l=!1,(o=this.a).remove(t),cm(this,n,a,s,1),t={la:[i[0],e],feature:r,geometry:n,depth:s,index:a},o.Ca(A(t.la),t),this.j.push([t,1]),e={la:[e,i[1]],feature:r,geometry:n,depth:s,index:a+1},o.Ca(A(e.la),e),this.j.push([e,0]),this.I=!0},Eu.hj=function(){if(this.R&&"pointerdrag"!=this.R.type){var t=this.R;em(this,t);var e,o=this.j,i={};for(a=o.length-1;0<=a;--a){var r=o[a],n=r[0],s=B(n.feature);n.depth&&(s+="-"+n.depth.join("-")),s in i||(i[s]={}),0===r[1]?(i[s].right=n,i[s].index=n.index):1==r[1]&&(i[s].left=n,i[s].index=n.index+1)}for(s in i){var a,p=i[s].right,h=i[s].left,l=(a=i[s].index)-1;l<0&&(l=0);var u=e=(r=(n=void 0!==h?h:p).geometry).X(),c=!1;switch(r.U()){case"MultiLineString":2<e[n.depth[0]].length&&(e[n.depth[0]].splice(a,1),c=!0);break;case"LineString":2<e.length&&(e.splice(a,1),c=!0);break;case"MultiPolygon":u=u[n.depth[1]];case"Polygon":4<(u=u[n.depth[0]]).length&&(a==u.length-1&&(a=0),u.splice(a,1),c=!0,0===a&&(u.pop(),u.push(u[0]),l=u.length-1))}c&&(c=r,this.l=!0,c.ma(e),this.l=!1,e=[],void 0!==h&&(this.a.remove(h),e.push(h.la[0])),void 0!==p&&(this.a.remove(p),e.push(p.la[1])),void 0!==h&&void 0!==p&&(h={depth:n.depth,feature:n.feature,geometry:n.geometry,index:l,la:e},this.a.Ca(A(h.la),h)),cm(this,r,a,n.depth,-1),this.g&&(this.B.ha().Gb(this.g),this.g=null),o.length=0)}return this.b(new fm("modifyend",this.u,t)),!(this.C=!1)}return!1},i(fm,Ae),i(ym,Or),(Eu=ym.prototype).Gn=function(){return this.g.ha().f},Eu.Hn=function(){return this.j},Eu.In=function(t){return t=B(t),this.a[t]},Eu.Kn=function(t){this.j=t},Eu.setMap=function(t){var e=this.v,o=this.g.ha().f;e&&o.forEach(e.Cj,e),Or.prototype.setMap.call(this,t),this.g.setMap(t),t&&o.forEach(t.xj,t)},Eu.Fn=function(t){var e=this.v;e&&e.xj(t.element)},Eu.Jn=function(t){var e=this.v;e&&e.Cj(t.element)},i(dm,Ae);var vm="select";function bm(t){$r.call(this,{handleEvent:wm,handleDownEvent:Ui,handleUpEvent:xm}),t=t||{},this.l=t.source?t.source:null,this.R=void 0===t.vertex||t.vertex,this.C=void 0===t.edge||t.edge,this.j=t.features?t.features:null,this.pa=[],this.B={},this.T={},this.u={},this.I=null,this.g=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.va=function(t,e){return Di(this.I,t.la)-Di(this.I,e.la)}.bind(this),this.a=new up,this.fa={Point:this.Rn,LineString:this.wi,LinearRing:this.wi,Polygon:this.Sn,MultiPoint:this.Pn,MultiLineString:this.On,MultiPolygon:this.Qn,GeometryCollection:this.Nn,Circle:this.Mn}}function mm(t,e,o,i){var r=i.Wa([e[0]-t.g,e[1]+t.g]),n=i.Wa([e[0]+t.g,e[1]-t.g]),r=A([r,n]),s=yp(t.a,r);t.R&&!t.C&&(s=s.filter(function(t){return"Circle"!==t.feature.V().U()}));var a,p=!1,r=!1,h=n=null;return 0<s.length&&(t.I=o,s.sort(t.va),a=s[0].la,p="Circle"===s[0].feature.V().U(),t.R&&!t.C?(o=i.Ja(a[0]),p=i.Ja(a[1]),o=Fi(e,o),e=Fi(e,p),(p=(p=Math.sqrt(Math.min(o,e)))<=t.g)&&(r=!0,n=e<o?a[1]:a[0],h=i.Ja(n))):t.C&&(n=p?function(t,e){var o=e.pd();e=(i=e.wa())[0];var i=i[1],r=t[0]-e;t=t[1]-i,r||t||(r=1);var n=Math.sqrt(r*r+t*t);return[e+o*r/n,i+o*t/n]}(o,s[0].feature.V()):ji(o,a),ki(e,h=i.Ja(n))<=t.g&&(r=!0,t.R&&!p&&(o=i.Ja(a[0]),p=i.Ja(a[1]),o=Fi(h,o),e=Fi(h,p),p=(p=Math.sqrt(Math.min(o,e)))<=t.g)))&&(n=e<o?a[1]:a[0],h=i.Ja(n)),r&&(h=[Math.round(h[0]),Math.round(h[1])])),{nq:r,vertex:n,wq:h}}function wm(t){var e=mm(this,t.pixel,t.coordinate,t.map);return e.nq&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.wq),tn.call(this,t)}function xm(){var t=ft(this.u);return t.length&&(t.forEach(this.Dj,this),this.u={}),!1}function Sm(t){var e,o;$r.call(this,{handleDownEvent:Mm,handleDragEvent:Am,handleMoveEvent:Em,handleUpEvent:Pm}),t=t||{},this.a=null,this.j=void 0!==t.features?t.features:null,o=t.layers?"function"==typeof t.layers?t.layers:(e=t.layers,function(t){return d(e,t)}):Ui,this.C=o,this.l=t.hitTolerance?t.hitTolerance:0,this.g=null,be(this,Ie("active"),this.u,this)}function Mm(t){if(this.g=Tm(this,t.pixel,t.map),this.a||!this.g)return!1;this.a=t.coordinate,Em.call(this,t);var e=this.j||new ke([this.g]);return this.b(new Cm("translatestart",e,t.coordinate)),!0}function Pm(t){if(this.a){this.a=null,Em.call(this,t);var e=this.j||new ke([this.g]);return this.b(new Cm("translateend",e,t.coordinate)),!0}return!1}function Am(t){var o,i,e;this.a&&(o=(t=t.coordinate)[0]-this.a[0],i=t[1]-this.a[1],(e=this.j||new ke([this.g])).forEach(function(t){var e=t.V();e.translate(o,i),t.Ra(e)}),this.a=t,this.b(new Cm("translating",e,t)))}function Em(t){var e=t.map.a;Tm(this,t.pixel,t.map)?(e.classList.remove(this.a?"ol-grab":"ol-grabbing"),e.classList.add(this.a?"ol-grabbing":"ol-grab")):e.classList.remove("ol-grab","ol-grabbing")}function Tm(t,e,o){return o.we(e,function(t){if(!this.j||d(this.j.a,t))return t}.bind(t),{layerFilter:t.C,hitTolerance:t.l})}function jm(t,e){var o=t.v;t=t.c(),o&&t||(o=o||e).a.classList.remove("ol-grab","ol-grabbing")}function Cm(t,e,o){Ae.call(this,t),this.features=e,this.coordinate=o}function Lm(t){var e=ut({},t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,db.call(this,e),this.j=null,this.R=void 0!==t.shadow?t.shadow:250,this.I=void 0,this.B=null,be(this,Ie(Nm),this.Bl,this),this.pj(t.gradient?t.gradient:Rm),this.jj(void 0!==t.blur?t.blur:15),this.Uc(void 0!==t.radius?t.radius:8),be(this,Ie(Im),this.cg,this),be(this,Ie(Fm),this.cg,this),this.cg();var o=t.weight?t.weight:"weight",i="string"==typeof o?function(t){return t.get(o)}:o;this.g(function(t){var e=255*(t=void 0!==(t=i(t))?x(t,0,1):1)|0,o=this.B[e];return o||(o=[new Th({image:new Jc({opacity:t,src:this.I})})],this.B[e]=o),o}.bind(this)),this.set(vb,null),be(this,"render",this.Sl,this)}i(bm,$r),(Eu=bm.prototype).yb=function(t,e){e=void 0===e||e;var o,i=B(t),r=t.V();!r||(o=this.fa[r.U()])&&(this.T[i]=r.G(Z()),o.call(this,t,r)),e&&(this.B[i]=be(t,"change",this.Ln,this))},Eu.Ak=function(t){this.yb(t)},Eu.Bk=function(t){this.Gb(t)},Eu.ui=function(t){var e;t instanceof Tb?e=t.feature:t instanceof Ge&&(e=t.element),this.yb(e)},Eu.vi=function(t){var e;t instanceof Tb?e=t.feature:t instanceof Ge&&(e=t.element),this.Gb(e)},Eu.Ln=function(t){var e;t=t.target,this.D?(e=B(t))in this.u||(this.u[e]=t):this.Dj(t)},Eu.Gb=function(e,t){t=void 0===t||t;var o=B(e),i=this.T[o];if(i){var r=this.a,n=[];for(gp(r,i,function(t){e===t.feature&&n.push(t)}),i=n.length-1;0<=i;--i)r.remove(n[i])}t&&(xe(this.B[o]),delete this.B[o])},Eu.setMap=function(t){var e,o=this.v,i=this.pa;this.j?e=this.j:this.l&&(e=this.l.Xe()),o&&(i.forEach(xe),i.length=0,e.forEach(this.Bk,this)),$r.prototype.setMap.call(this,t),t&&(this.j?i.push(be(this.j,"add",this.ui,this),be(this.j,"remove",this.vi,this)):this.l&&i.push(be(this.l,"addfeature",this.ui,this),be(this.l,"removefeature",this.vi,this)),e.forEach(this.Ak,this))},Eu.Xc=Gi,Eu.Dj=function(t){this.Gb(t,!1),this.yb(t,!1)},Eu.Mn=function(t,e){for(var o=0,i=(e=Pr(e).X()[0]).length-1;o<i;++o){var r=e.slice(o,o+2),n={feature:t,la:r};this.a.Ca(A(r),n)}},Eu.Nn=function(t,e){var o=e.a;for(e=0;e<o.length;++e){var i=this.fa[o[e].U()];i&&i.call(this,t,o[e])}},Eu.wi=function(t,e){for(var o=0,i=(e=e.X()).length-1;o<i;++o){var r=e.slice(o,o+2),n={feature:t,la:r};this.a.Ca(A(r),n)}},Eu.On=function(t,e){for(var o=0,i=(e=e.X()).length;o<i;++o)for(var r=e[o],n=0,s=r.length-1;n<s;++n){var a=r.slice(n,n+2),p={feature:t,la:a};this.a.Ca(A(a),p)}},Eu.Pn=function(t,e){for(var o=e.X(),i=0,r=o.length;i<r;++i){var n={feature:t,la:[n=o[i],n]};this.a.Ca(e.G(),n)}},Eu.Qn=function(t,e){for(var o=0,i=(e=e.X()).length;o<i;++o)for(var r=e[o],n=0,s=r.length;n<s;++n)for(var a=r[n],p=0,h=a.length-1;p<h;++p){var l=a.slice(p,p+2),u={feature:t,la:l};this.a.Ca(A(l),u)}},Eu.Rn=function(t,e){var o=e.X();t={feature:t,la:[o,o]},this.a.Ca(e.G(),t)},Eu.Sn=function(t,e){for(var o=0,i=(e=e.X()).length;o<i;++o)for(var r=e[o],n=0,s=r.length-1;n<s;++n){var a=r.slice(n,n+2),p={feature:t,la:a};this.a.Ca(A(a),p)}},i(Sm,$r),Sm.prototype.B=function(){return this.l},Sm.prototype.I=function(t){this.l=t},Sm.prototype.setMap=function(t){var e=this.v;$r.prototype.setMap.call(this,t),jm(this,e)},Sm.prototype.u=function(){jm(this,null)},i(Cm,Ae),i(Lm,db);var Rm=["#00f","#0ff","#0f0","#ff0","#f00"];(Eu=Lm.prototype).uh=function(){return this.get(Im)},Eu.Bh=function(){return this.get(Nm)},Eu.yi=function(){return this.get(Fm)},Eu.Bl=function(){for(var t=this.Bh(),e=qe(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),r=0,n=t.length;r<n;++r)o.addColorStop(r*i,t[r]);e.fillStyle=o,e.fillRect(0,0,1,256),this.j=e.getImageData(0,0,1,256).data},Eu.cg=function(){var t=this.yi(),e=this.uh(),o=t+e+1,i=2*o;(i=qe(i,i)).shadowOffsetX=i.shadowOffsetY=this.R,i.shadowBlur=e,i.shadowColor="#000",i.beginPath(),e=o-this.R,i.arc(e,e,t,0,2*Math.PI,!0),i.fill(),this.I=i.canvas.toDataURL(),this.B=Array(256),this.s()},Eu.Sl=function(t){for(var e,o=(t=t.context).canvas,i=(o=t.getImageData(0,0,o.width,o.height)).data,r=0,n=i.length;r<n;r+=4)(e=4*i[r+3])&&(i[r]=this.j[e],i[r+1]=this.j[1+e],i[r+2]=this.j[2+e]);t.putImageData(o,0,0)},Eu.jj=function(t){this.set(Im,t)},Eu.pj=function(t){this.set(Nm,t)},Eu.Uc=function(t){this.set(Fm,t)};var Im="blur",Nm="gradient",Fm="radius";function km(t){Qv.call(this,t),this.v=qn(),this.j=null}function Dm(t){km.call(this,t),this.M=null,this.c=qn()}function Om(t,e,o,i){var r=Ht(o,e,t);return o=Dt(e,i,o),void 0!==(e=e.sc())&&(o*=e),void 0!==(e=t.sc())&&(o/=e),t=Dt(t,o,r)/o,isFinite(t)&&0<t&&(o/=t),o}function Um(t,e,o,i){t=o-t,e=i-e;var r=Math.sqrt(t*t+e*e);return[Math.round(o+t/r),Math.round(i+e/r)]}function Gm(t,e,g,d,o,v,i,r,n,s,a){var b=qe(Math.round(g*t),Math.round(g*e));if(!n.length)return b.canvas;b.scale(g,g);var m=Z();n.forEach(function(t){Y(m,t.extent)});var w=qe(Math.round(g*st(m)/d),Math.round(g*ot(m)/d)),p=g/d;n.forEach(function(t){w.drawImage(t.image,s,s,t.image.width-2*s,t.image.height-2*s,(t.extent[0]-m[0])*p,-(t.extent[3]-m[3])*p,st(t.extent)*p,ot(t.extent)*p)});var x=rt(i);return r.c.forEach(function(t){var e=t.source,o=t.target,i=e[1][0],r=e[1][1],n=e[2][0],s=e[2][1];t=(o[0][0]-x[0])/v;var a=-(o[0][1]-x[1])/v,p=(o[1][0]-x[0])/v,h=-(o[1][1]-x[1])/v,l=(o[2][0]-x[0])/v,u=-(o[2][1]-x[1])/v;t:{for(r=(i=[[i=i-(o=e[0][0]),r=r-(e=e[0][1]),0,0,p-t],[n=n-o,s=s-e,0,0,l-t],[0,0,i,r,h-a],[0,0,n,s,u-a]]).length,n=0;n<r;n++){for(var s=n,c=Math.abs(i[n][n]),f=n+1;f<r;f++){var y=Math.abs(i[f][n]);c<y&&(c=y,s=f)}if(!c){i=null;break t}for(c=i[s],i[s]=i[n],i[n]=c,s=n+1;s<r;s++)for(c=-i[s][n]/i[n][n],f=n;f<r+1;f++)i[s][f]=n==f?0:i[s][f]+c*i[n][f]}for(n=Array(r),s=r-1;0<=s;s--)for(n[s]=i[s][r]/i[s][s],c=s-1;0<=c;c--)i[c][r]-=i[c][s]*n[s];i=n}i&&(b.save(),b.beginPath(),r=Um(n=(t+p+l)/3,s=(a+h+u)/3,t,a),p=Um(n,s,p,h),l=Um(n,s,l,u),b.moveTo(p[0],p[1]),b.lineTo(r[0],r[1]),b.lineTo(l[0],l[1]),b.clip(),b.transform(i[0],i[2],i[1],i[3],t,a),b.translate(m[0]-o,m[3]-e),b.scale(d/g,-d/g),b.drawImage(w.canvas,0,0),b.restore())}),a&&(b.save(),b.strokeStyle="black",b.lineWidth=1,r.c.forEach(function(t){t=((n=t.target)[0][0]-x[0])/v;var e=-(n[0][1]-x[1])/v,o=(n[1][0]-x[0])/v,i=-(n[1][1]-x[1])/v,r=(n[2][0]-x[0])/v,n=-(n[2][1]-x[1])/v;b.beginPath(),b.moveTo(o,i),b.lineTo(t,e),b.lineTo(r,n),b.closePath(),b.stroke()}),b.restore()),b.canvas}function Bm(t,e,o,i,r){this.i=t,this.f=e;var n={},s=Zt(this.f,this.i);this.a=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=s(t)),n[e]},this.g=i,this.v=r*r,this.c=[],this.o=!1,this.l=this.i.i&&!!i&&!!this.i.G()&&st(i)==st(this.i.G()),this.b=this.i.G()?st(this.i.G()):null,this.j=this.f.G()?st(this.f.G()):null,t=rt(o),e=nt(o),i=Q(o),o=$(o),r=this.a(t);var a,p=this.a(e),h=this.a(i),l=this.a(o);!function t(e,o,i,r,n,s,a,p,h,l){var u=A([s,a,p,h]),c=e.b?st(u)/e.b:null,f=e.b,y=e.i.i&&.5<c&&c<1,g=!1;{var d;0<l&&(e.f.c&&e.j&&(d=A([o,i,r,n]),g|=.25<st(d)/e.j),!y&&e.i.c&&c&&(g|=.25<c))}if(g||!e.g||at(u,e.g)){if(!(g||isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(p[0])&&isFinite(p[1])&&isFinite(h[0])&&isFinite(h[1]))){if(!(0<l))return;g=!0}if(0<l&&(g||(u=e.a([(o[0]+r[0])/2,(o[1]+r[1])/2]),f=y?(L(s[0],f)+L(p[0],f))/2-L(u[0],f):(s[0]+p[0])/2-u[0],u=(s[1]+p[1])/2-u[1],g=f*f+u*u>e.v),g))return void(Math.abs(o[0]-r[0])<=Math.abs(o[1]-r[1])?(y=[(i[0]+r[0])/2,(i[1]+r[1])/2],f=e.a(y),u=[(n[0]+o[0])/2,(n[1]+o[1])/2],c=e.a(u),t(e,o,i,y,u,s,a,f,c,l-1),t(e,u,y,r,n,c,f,p,h,l-1)):(y=[(o[0]+i[0])/2,(o[1]+i[1])/2],f=e.a(y),u=[(r[0]+n[0])/2,(r[1]+n[1])/2],c=e.a(u),t(e,o,y,u,n,s,f,c,h,l-1),t(e,y,i,r,u,f,a,p,c,l-1)));if(y){if(!e.l)return;e.o=!0}e.c.push({source:[s,p,h],target:[o,r,n]}),e.c.push({source:[s,a,p],target:[o,i,r]})}}(this,t,e,i,o,r,p,h,l,10),this.o&&(a=1/0,this.c.forEach(function(t){a=Math.min(a,t.source[0][0],t.source[1][0],t.source[2][0])}),this.c.forEach(function(t){var e;Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-a>this.b/2&&((e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]])[0][0]-a>this.b/2&&(e[0][0]-=this.b),e[1][0]-a>this.b/2&&(e[1][0]-=this.b),e[2][0]-a>this.b/2&&(e[2][0]-=this.b),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.b/2&&(t.source=e))},this)),n={}}function Xm(t){var e=Z();return t.c.forEach(function(t){t=t.source,H(e,t[0]),H(e,t[1]),H(e,t[2])}),e}function Vm(t,e,o,i,r,n){this.v=e,this.l=t.G();var s=(a=e.G())?it(o,a):o,a=Om(t,e,tt(s),i);this.j=new Bm(t,e,s,this.l,.5*a),this.c=i,this.i=o,t=Xm(this.j),this.o=(this.Hb=n(t,a,r))?this.Hb.a:1,this.ee=this.g=null,r=2,n=[],this.Hb&&(r=0,n=this.Hb.f),nv.call(this,o,i,this.o,r,n)}function Wm(t){mb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.C=void 0!==t.resolutions?t.resolutions:null,this.a=null,this.fa=0}function Zm(t,e){return t.C&&(e=t.C[b(t.C,e,0)]),e}function Km(t,e){t.Y().src=e}function zm(t,e){Ae.call(this,t),this.image=e}i(km,Qv),km.prototype.S=function(t,e,o){eb(this,"precompose",o,t,void 0);var i,r,n,s=this.Y();s&&((i=void 0!==(r=e.extent)&&!N(r,t.extent)&&at(r,t.extent))&&tb(o,t,r),r=this.C(),n=o.globalAlpha,o.globalAlpha=e.opacity,o.drawImage(s,0,0,+s.width,+s.height,Math.round(r[4]),Math.round(r[5]),Math.round(s.width*r[0]),Math.round(s.height*r[3])),o.globalAlpha=n,i&&o.restore()),this.ef(o,t,e)},km.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},km.prototype.u=function(t,e,o,i){if(this.Y()){if(this.a.ha().Ea!==w)return Qv.prototype.u.apply(this,arguments);var r=ts(this.v,t.slice());if(Ni(r,e.viewState.resolution/this.f),this.j||(this.j=qe(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.Y(),r[0],r[1],1,1,0,0,1,1),0<(r=this.j.getImageData(0,0,1,1).data)[3])return o.call(i,this.a,r)}},i(Dm,km),Dm.prototype.Y=function(){return this.M?this.M.Y():null},Dm.prototype.C=function(){return this.c},Dm.prototype.sd=function(t,e){var o,i=t.pixelRatio,r=t.size,n=t.viewState,s=n.center,a=n.resolution,p=this.a.ha(),h=t.viewHints,l=t.extent;return void 0!==e.extent&&(l=it(l,e.extent)),h[0]||h[1]||pt(l)||(e=p.Y(l,a,i,n.projection))&&zv(this,e)&&(this.M=e),this.M&&(h=(e=this.M).G(),o=i*(l=e.resolution)/(a*(n=e.a)),h=rs(this.c,i*r[0]/2,i*r[1]/2,o,o,0,n*(h[0]-s[0])/l,n*(s[1]-h[3])/l),rs(this.v,i*r[0]/2-h[4],i*r[1]/2-h[5],i/a,-i/a,0,-s[0],-s[1]),qv(t.attributions,e.f),Jv(t,p),this.f=a*i/n),!!this.M},i(Vm,nv),Vm.prototype.ka=function(){1==this.state&&(xe(this.ee),this.ee=null),nv.prototype.ka.call(this)},Vm.prototype.Y=function(){return this.g},Vm.prototype.de=function(){var t=this.Hb.getState();2==t&&(this.g=Gm(st(this.i)/this.c,ot(this.i)/this.c,this.o,this.Hb.resolution,0,this.c,this.i,this.j,[{extent:this.Hb.G(),image:this.Hb.Y()}],0)),this.state=t,this.s()},Vm.prototype.load=function(){var t;0==this.state&&(this.state=1,this.s(),2==(t=this.Hb.getState())||3==t?this.de():(this.ee=be(this.Hb,"change",function(){var t=this.Hb.getState();2!=t&&3!=t||(xe(this.ee),this.ee=null,this.de())},this),this.Hb.load()))},i(Wm,mb),Wm.prototype.Y=function(t,e,o,i){var r=this.c;if(r&&i&&!Wt(r,i)){if(this.a){if(this.fa==this.i&&Wt(this.a.v,i)&&this.a.resolution==e&&this.a.a==o&&z(this.a.G(),t))return this.a;Pe(this.a),this.a=null}return this.a=new Vm(r,i,t,e,o,function(t,e,o){return this.Jc(t,e,o,r)}.bind(this)),this.fa=this.i,this.a}return r&&(i=r),this.Jc(t,e,o,i)},Wm.prototype.o=function(t){switch((t=t.target).getState()){case 1:this.b(new zm(Ym,t));break;case 2:this.b(new zm(Hm,t));break;case 3:this.b(new zm(qm,t))}},i(zm,Ae);var Ym="imageloadstart",Hm="imageloadend",qm="imageloaderror";function Jm(t){Wm.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.pa=t.canvasFunction,this.R=null,this.T=0,this.va=void 0!==t.ratio?t.ratio:1.5}function _m(t){this.f=t.source,this.$a=qn(),this.g=qe(),this.l=[0,0],this.Sa=null==t.renderBuffer?100:t.renderBuffer,this.B=null,Jm.call(this,{attributions:t.attributions,canvasFunction:this.tk.bind(this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.f.getState()}),this.I=null,this.v=void 0,this.Ii(t.style),be(this.f,"change",this.ro,this)}function $m(t,e){fb.call(this,t,e),this.o=this.f=this.M=null}function Qm(t){Zn.call(this,t||{})}function tw(t){km.call(this,t),this.c=null===this.c?null:qe(),this.o=null,this.g=[],this.l=Z(),this.va=new V(0,0,0,0),this.B=qn(),this.T=0}function ew(t,e){return e=e.getState(),t=t.a.kd(),2==e||4==e||3==e&&!t}function ow(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}i(Jm,Wm),Jm.prototype.Jc=function(t,e,o,i){e=Zm(this,e);var r=this.R;return r&&this.T==this.i&&r.resolution==e&&r.a==o&&N(r.G(),t)||(ht(t=t.slice(),this.va),(i=this.pa(t,e,o,[st(t)/e*o,ot(t)/e*o],i))&&(r=new av(t,e,o,this.j,i)),this.R=r,this.T=this.i),r},i(_m,Jm),(Eu=_m.prototype).tk=function(t,n,s,e,o){var a=new Gv(.5*n/s,t,n,this.f.T,this.Sa);this.f.Yd(t,n,o);var i,r,p,h,l=!1;return this.f.$b(t,function(t){var e,o;if(!(e=l))if((e=t.Lc())?o=e.call(t,n):this.v&&(o=this.v(t,n)),o){var i,r=!1;for(Array.isArray(o)||(o=[o]),e=0,i=o.length;e<i;++e)r=nb(a,t,o[e],rb(n,s),this.qo,this)||r;e=r}else e=!1;l=e},this),Vv(a),l?null:(this.l[0]!=e[0]||this.l[1]!=e[1]?(this.g.canvas.width=e[0],this.g.canvas.height=e[1],this.l[0]=e[0],this.l[1]=e[1]):this.g.clearRect(0,0,e[0],e[1]),i=this,r=tt(t),h=e,p=s/(p=n),t=rs(i.$a,h[0]/2,h[1]/2,p,-p,0,-r[0],-r[1]),a.La(this.g,s,t,0,{}),this.B=a,this.g.canvas)},Eu.Ea=function(t,e,o,i,r,n){if(this.B){var s={};return this.B.Ea(t,e,0,i,r,function(t){var e=B(t).toString();if(!(e in s))return s[e]=!0,n(t)})}},Eu.no=function(){return this.f},Eu.oo=function(){return this.I},Eu.po=function(){return this.v},Eu.qo=function(){this.s()},Eu.ro=function(){xb(this,this.f.getState())},Eu.Ii=function(t){this.I=void 0!==t?t:Lh,this.v=t?jh(this.I):void 0,this.s()},i($m,fb),$m.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},$m.prototype.ng=function(t,e){var o,i,r,n,s,a,p,h,l,u,c=this.c.i,f=t.pixelRatio,y=t.viewState,g=y.center,d=y.resolution,v=y.rotation,b=this.M,m=this.Ib,w=this.a.ha(),x=t.viewHints,S=t.extent;return void 0!==e.extent&&(S=it(S,e.extent)),x[0]||x[1]||pt(S)||(e=w.Y(S,d,f,y.projection))&&zv(this,e)&&(o=this,i=(i=b=e).Y(),m=ha(o.c.i,i),this.Ib&&t.postRenderFunctions.push(function(t,e){t.isContextLost()||t.deleteTexture(e)}.bind(null,c,this.Ib))),b&&(c=this.c.f.j,r=this,n=c.width,s=c.height,a=f,p=g,h=d,l=v,u=b.G(),n*=h,s*=h,Jn(r=r.S),os(r,2*a/n,2*a/s),es(r,-l),is(r,u[0]-p[0],u[1]-p[1]),os(r,(u[2]-u[0])/2,(u[3]-u[1])/2),is(r,1,1),this.o=null,Jn(f=this.v),os(f,1,-1),is(f,0,-1),this.M=b,this.Ib=m,qv(t.attributions,b.f),Jv(t,w)),!!b},$m.prototype.Ue=function(t,e){return void 0!==this.Ea(t,e,0,Ui,this)},$m.prototype.lg=function(t,e,o,i){if(this.M&&this.M.Y())if(this.a.ha()instanceof _m){var r=ts(e.pixelToCoordinateTransform,t.slice());if(this.Ea(r,e,0,Ui,this))return o.call(i,this.a,null)}else{var n,s,r=[this.M.Y().width,this.M.Y().height];if(this.o||(n=e.size,is(e=qn(),-1,-1),os(e,2/n[0],2/n[1]),is(e,0,n[1]),os(e,1,-1),n=ns(this.S.slice()),is(s=qn(),0,r[1]),os(s,1,-1),os(s,r[0]/2,r[1]/2),is(s,1,1),_n(s,n),_n(s,e),this.o=s),!((t=ts(this.o,t.slice()))[0]<0||t[0]>r[0]||t[1]<0||t[1]>r[1])&&(this.f||(this.f=qe(1,1)),this.f.clearRect(0,0,1,1),this.f.drawImage(this.M.Y(),t[0],t[1],1,1,0,0,1,1),0<(r=this.f.getImageData(0,0,1,1).data)[3]))return o.call(i,this.a,r)}},i(Qm,Zn),Qm.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new Dm(this):"webgl"===o&&(e=new $m(t,this)),e},i(tw,km),tw.prototype.sd=function(t,e){var o=t.pixelRatio,i=t.size,r=(s=t.viewState).projection,n=s.resolution,s=s.center,a=this.a,p=a.ha(),h=p.i,l=p.Ta(r),u=l.tc(n,this.T),c=l.Da(u),f=Math.round(n/c)||1,y=t.extent;if(void 0!==e.extent&&(y=it(y,e.extent)),pt(y))return!1;var g=oe(l,y,c),d=l.Pc(u),v=l.Da(u),b=W(l.gb(u),l.j),d=k(d[0]+g.ca*b[0]*v,d[1]+g.da*b[1]*v,d[0]+(g.$+1)*b[0]*v,d[1]+(g.ia+1)*b[1]*v,void 0),v=p.nb(o);(b={})[u]={};for(var m,w=this.Nf(p,r,b),x=this.l,S=this.va,M=!1,P=g.ca;P<=g.$;++P)for(m=g.da;m<=g.ia;++m){var A=p.Nc(u,P,m,o,r);3!=A.getState()||this.a.kd()||lv(A,2),ew(this,A)||(A=hv(A)),ew(this,A)?2==A.getState()&&(b[u][A.ta.toString()]=A,M||-1!=this.g.indexOf(A)||(M=!0)):te(l,A.ta,w,S,x)||(A=ee(l,A.ta,S,x))&&w(u+1,A)}if(P=(P=t.viewHints)[0]||P[1],!(this.f&&16<Date.now()-t.time&&P||!M&&this.o&&N(this.o,y)&&this.mf==h&&f==this.R&&(P||c*o/v*f==this.f))){(P=this.c)&&(m=p.Xd(u,o,r),A=Math.round((g.$-g.ca+1)*m[0]/f),m=Math.round((g.ia-g.da+1)*m[1]/f),(M=P.canvas).width!=A||M.height!=m?(this.R=f,M.width=A,M.height=m):(P.clearRect(0,0,A,m),f=this.R)),this.g.length=0,(M=Object.keys(b).map(Number)).sort(G);for(var S=0,E=M.length;S<E;++S){P=M[S],w=p.Xd(P,o,r);var T,j=(A=l.Da(P))/c,C=v*p.Wf(r),L=b[P];for(T in L){A=L[T],P=((m=l.Aa(A.ta,x))[0]-d[0])/c*v/f,m=(d[3]-m[3])/c*v/f;var R=w[0]*j/f,I=w[1]*j/f;this.Of(A,t,e,P,m,R,I,C),this.g.push(A)}}this.mf=h,this.f=c*o/v*f,this.o=d}return e=this.f/n,e=rs(this.B,o*i[0]/2,o*i[1]/2,e,e,0,(this.o[0]-s[0])/this.f*o,(s[1]-this.o[3])/this.f*o),rs(this.v,o*i[0]/2-e[4],o*i[1]/2-e[5],o/n,-o/n,0,-s[0],-s[1]),_v(t.usedTiles,p,u,g),$v(t,p,l,o,r,y,u,a.Ud()),Hv(t,p),Jv(t,p),0<this.g.length},tw.prototype.Of=function(t,e,o,i,r,n,s,a){this.a.ha().Zf(e.viewState.projection)||this.c.clearRect(i,r,n,s),(t=t.Y())&&this.c.drawImage(t,a,a,t.width-2*a,t.height-2*a,i,r,n,s)},tw.prototype.Y=function(){var t=this.c;return t?t.canvas:null},tw.prototype.C=function(){return this.B},i(ow,Ls);var iw=new ow;function rw(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}i(rw,Rs);var nw=new rw;function sw(t,e){this.i=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function aw(t,e){fb.call(this,t,e),this.I=iw,this.fa=nw,this.f=null,this.B=new zs([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.D=this.o=null,this.l=-1,this.R=[0,0]}function pw(t){var e=ut({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,Zn.call(this,e),this.zi(void 0!==t.preload?t.preload:0),this.Ai(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}function hw(t){this.c=null,tw.call(this,t),this.I=!1,this.D=qn(),this.T="vector"==t.j?1:0}i(aw,fb),(Eu=aw.prototype).ka=function(){ia(this.c.f,this.B),fb.prototype.ka.call(this)},Eu.Nf=function(e,i,r){var n=this.c;return function(o,t){return Sw(e,i,o,t,function(t){var e=n.a.b.hasOwnProperty(t.bb());return e&&(r[o]||(r[o]={}),r[o][t.ta.toString()]=t),e})}},Eu.mg=function(){fb.prototype.mg.call(this),this.f=null},Eu.ng=function(t,e,o){var i,r,n,s,a,p,h,l,u=this.c,c=o.b,f=t.viewState,y=f.projection,g=this.a,d=g.ha(),v=d.Ta(y),b=v.tc(f.resolution),m=v.Da(b),w=d.Xd(b,t.pixelRatio,y),x=w[0]/W(v.gb(b),this.R)[0],S=m/x,M=d.nb(x)*d.Wf(y),P=f.center,A=t.extent,E=oe(v,A,m);if(this.o&&(h=this.o,l=E,h.ca==l.ca&&h.da==l.da&&h.$==l.$&&h.ia==l.ia)&&this.l==d.i)S=this.D;else{var T=[E.$-E.ca+1,E.ia-E.da+1],T=S*(I=(X(0<(p=Math.max(T[0]*w[0],T[1]*w[1])),29),Math.pow(2,Math.ceil(Math.log(p)/Math.LN2)))),j=v.Pc(b),S=[N=j[0]+E.ca*w[0]*S,S=j[1]+E.da*w[1]*S,N+T,S+T];r=t,n=I,a=(i=this).c.i,void 0===i.j||i.j!=n?(r.postRenderFunctions.push(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))}.bind(null,a,i.g,i.Ib)),r=pa(a,n,n),s=a.createFramebuffer(),a.bindFramebuffer(36160,s),a.framebufferTexture2D(36160,36064,3553,r,0),i.Ib=r,i.g=s,i.j=n):a.bindFramebuffer(36160,i.g),c.viewport(0,0,I,I),c.clearColor(0,0,0,0),c.clear(16384),c.disable(3042),I=sa(o,this.I,this.fa),o.Qc(I),this.f||(this.f=new sw(c,I)),oa(o,34962,this.B),c.enableVertexAttribArray(this.f.b),c.vertexAttribPointer(this.f.b,2,5126,!1,16,0),c.enableVertexAttribArray(this.f.a),c.vertexAttribPointer(this.f.a,2,5126,!1,16,8),c.uniform1i(this.f.i,0),(o={})[b]={};for(var C,L=this.Nf(d,y,o),R=g.kd(),I=!0,N=Z(),F=new V(0,0,0,0),k=E.ca;k<=E.$;++k)for(C=E.da;C<=E.ia;++C){if(j=d.Nc(b,k,C,x,y),void 0!==e.extent){var D=v.Aa(j.ta,N);if(!at(D,e.extent))continue}if((D=2==(D=j.getState())||4==D||3==D&&!R)||(j=hv(j)),2==(D=j.getState())){if(u.a.b.hasOwnProperty(j.bb())){o[b][j.ta.toString()]=j;continue}}else if(4==D||3==D&&!R)continue;I=!1,(D=te(v,j.ta,L,F,N))||(j=ee(v,j.ta,F,N))&&L(b+1,j)}(e=Object.keys(o).map(Number)).sort(G);for(var O,L=new Float32Array(4),R=0,F=e.length;R<F;++R)for(O in k=o[e[R]])j=k[O],D=v.Aa(j.ta,N),L[0]=2*(D[2]-D[0])/T,L[1]=2*(D[3]-D[1])/T,L[2]=2*(D[0]-S[0])/T-1,L[3]=2*(D[1]-S[1])/T-1,c.uniform4fv(this.f.c,L),Bp(u,j,w,M*x),c.drawArrays(5,0,4);I?(this.o=E,this.D=S,this.l=d.i):(this.D=this.o=null,this.l=-1,t.animate=!0)}_v(t.usedTiles,d,b,E);var U=u.j;return $v(t,d,v,x,y,A,b,g.Ud(),function(t){2!=t.getState()||u.a.b.hasOwnProperty(t.bb())||t.bb()in U.a||U.f([t,re(v,t.ta),v.Da(t.ta[0]),w,M*x])},this),Hv(t,d),Jv(t,d),Jn(c=this.v),is(c,(Math.round(P[0]/m)*m-S[0])/(S[2]-S[0]),(Math.round(P[1]/m)*m-S[1])/(S[3]-S[1])),f.rotation&&es(c,f.rotation),os(c,t.size[0]*f.resolution/(S[2]-S[0]),t.size[1]*f.resolution/(S[3]-S[1])),is(c,-.5,-.5),!0},Eu.lg=function(t,e,o,i){if(this.g){t=[(t=ts(this.v,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]].slice()))[0]*this.j,t[1]*this.j],(e=this.c.f.b).bindFramebuffer(e.FRAMEBUFFER,this.g);var r=new Uint8Array(4);if(e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,r),0<r[3])return o.call(i,this.a,r)}},i(pw,Zn),(Eu=pw.prototype).Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new tw(this):"webgl"===o&&(e=new aw(t,this)),e},Eu.Ud=function(){return this.get("preload")},Eu.zi=function(t){this.set("preload",t)},Eu.kd=function(){return this.get("useInterimTilesOnError")},Eu.Ai=function(t){this.set("useInterimTilesOnError",t)},i(hw,tw);var lw={image:Ts,hybrid:["Polygon","LineString"]},uw={hybrid:["Image","Text"],vector:Ts};function cw(t){var e=ut({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,db.call(this,e),this.Bi(t.preload?t.preload:0),this.Ci(!t.useInterimTilesOnError||t.useInterimTilesOnError),X(null==t.renderMode||"image"==t.renderMode||"hybrid"==t.renderMode||"vector"==t.renderMode,28),this.j=t.renderMode||"hybrid"}function fw(t,e,o,i){function r(){delete window[s],n.parentNode.removeChild(n)}var n=document.createElement("script"),s="olc_"+B(e);n.async=!0,n.src=t+(-1==t.indexOf("?")?"?":"&")+(i||"callback")+"="+s;var a=setTimeout(function(){r(),o&&o()},1e4);window[s]=function(t){clearTimeout(a),r(),e(t)},document.getElementsByTagName("head")[0].appendChild(n)}function yw(t,e,o,i,r,n,s,a,p,h,l){if(pv.call(this,r,0),this.D=void 0!==l&&l,this.S=s,this.u=a,this.v=null,this.c=e,this.j=i,this.o=n||r,this.a=[],this.yd=null,this.g=0,n=i.Aa(this.o),a=this.j.G(),r=this.c.G(),_(n=a?it(n,a):n))if((a=t.G())&&(r=r?it(r,a):a),i=Om(t,o,tt(n),i.Da(this.o[0])),!isFinite(i)||i<=0)this.state=4;else if(this.l=new Bm(t,o,n,r,i*(void 0!==h?h:.5)),this.l.c.length)if(this.g=e.tc(i),o=Xm(this.l),r&&(t.i?(o[1]=x(o[1],r[1],r[3]),o[3]=x(o[3],r[1],r[3])):o=it(o,r)),_(o)){for(e=(t=ie(e,o,this.g)).ca;e<=t.$;e++)for(o=t.da;o<=t.ia;o++)(h=p(this.g,e,o,s))&&this.a.push(h);this.a.length||(this.state=4)}else this.state=4;else this.state=4;else this.state=4}function gw(t,e){for(var o=t.length,i=Array(o),r=0;r<o;++r)i[r]=function(t,o){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,s=/\{-y\}/g;return function(e){if(e)return t.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(n,function(){return(-e[2]-1).toString()}).replace(s,function(){var t=o.a?o.a[e[0]]:null;return X(t,55),(t.ia-t.da+1+e[2]).toString()})}}(t[r],e);return dw(i)}function dw(i){return 1===i.length?i[0]:function(t,e,o){if(t)return i[L((t[1]<<t[0])+t[2],i.length)](t,e,o)}}function vw(){}function bw(t){var e=[],o=/\{([a-z])-([a-z])\}/.exec(t);if(o){for(var i=o[2].charCodeAt(0),r=o[1].charCodeAt(0);r<=i;++r)e.push(t.replace(o[0],String.fromCharCode(r)));return e}if(o=/\{(\d+)-(\d+)\}/.exec(t)){for(i=parseInt(o[2],10),r=parseInt(o[1],10);r<=i;r++)e.push(t.replace(o[0],r.toString()));return e}return e.push(t),e}function mw(t){Up.call(this),this.highWaterMark=void 0!==t?t:2048}function ww(t){return t.c>t.highWaterMark}function xw(t){mb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.va=void 0!==t.opaque&&t.opaque,this.$a=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new mw(t.cacheSize),this.o=[0,0],this.uc=""}function Sw(t,e,o,i,r){if(!(e=t.Wd(e)))return!1;for(var n,s,a=!0,p=i.ca;p<=i.$;++p)for(var h=i.da;h<=i.ia;++h)n=t.Sb(o,p,h),s=!1,e.b.hasOwnProperty(n)&&((s=2===(n=e.get(n)).getState())&&(s=!1!==r(n))),s||(a=!1);return a}function Mw(t,e){t.uc!==e&&(t.uc=e,t.s())}function Pw(t,e,o){var i,r,n=void 0!==o?o:t.c;return o=t.Ta(n),t.u&&n.c&&(e=(i=e)[0],t=re(o,i),e=R(n=le(n),t)?i:(i=st(n),t[0]+=i*Math.ceil((n[0]-t[0])/i),o.bg(t,e))),i=e[0],n=e[1],t=e[2],(o=!(o.minZoom>i||i>o.maxZoom)&&(!(o=(r=o.G())?ie(o,r,i):o.a?o.a[i]:null)||l(o,n,t)))?e:null}function Aw(t,e){Ae.call(this,t),this.tile=e}function Ew(t){xw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=this.Fc?this.Fc.bind(this):vw,this.urls=null,t.urls?this.eb(t.urls):t.url&&this.jb(t.url),t.tileUrlFunction&&this.cb(t.tileUrlFunction)}function Tw(t){Ew.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Lw,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=t.tileClass?t.tileClass:uv,this.g={},this.v={},this.Sa=t.reprojectionErrorThreshold,this.I=!1}function jw(t,e,o,i,r,n,s){return r=(o=Pw(t,e=[e,o,i],n))?t.tileUrlFunction(o,r,n):void 0,(r=new t.tileClass(e,void 0!==r?0:4,void 0!==r?r:"",t.crossOrigin,t.tileLoadFunction)).key=s,be(r,"change",t.Li,t),r}function Cw(t,e,o,i,r,n){var s=t.Sb(e,o,i),a=t.uc;if(t.a.b.hasOwnProperty(s)){if((h=t.a.get(s)).key!=a){var p=h,h=jw(t,e,o,i,r,n,a);if(0==p.getState()?h.i=p.i:h.i=p,h.i){e=h.i,o=h;do{if(2==e.getState()){e.i=null;break}1!=e.getState()&&0==e.getState()?o.i=e.i:o=e,e=o.i}while(e)}t.a.replace(s,h)}}else h=jw(t,e,o,i,r,n,a),t.a.set(s,h);return h}function Lw(t,e){t.Y().src=e}function Rw(t){this.B=void 0!==t.hidpi&&t.hidpi,Tw.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Vt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:this.B?2:1,wrapX:void 0===t.wrapX||t.wrapX}),this.R=void 0!==t.culture?t.culture:"en-us",this.C=void 0!==t.maxZoom?t.maxZoom:-1,this.f=t.key,this.l=t.imagerySet,fw("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.l+"?uriScheme=https&include=ImageryProviders&key="+this.f,this.pa.bind(this),void 0,"jsonp")}(Eu=hw.prototype).sd=function(t,e){var o=this.a,i=o.i;return this.pa!=i&&(this.g.length=0,o=o.j,this.c||"vector"==o||(this.c=qe()),this.c&&"vector"==o&&(this.c=null)),this.pa=i,tw.prototype.sd.apply(this,arguments)},Eu.Of=function(t,e,o,i,r,n,s,a){var p=t,h=this.a,l=e.pixelRatio,u=e.viewState.projection,c=h.i,f=h.get(vb)||null,y=p.o;if(y.Nd||y.mf!=c||y.Kg!=f){for(var g=0,d=p.a.length;g<d;++g){var v=p.c[p.a[g]];v.S=null,y.Nd=!1;var b,m,w=h.ha(),x=w.tileGrid,S=v.ta,M=v.a,P=(E=w.Ta(u)).Da(p.ta[0]),A=x.Da(v.ta[0]),E=it(E=E.Aa(p.v),S=x.Aa(S));for("tile-pixels"==M.a?(b=x=w.nb(),A=ts(A=rs(this.D,0,0,1/A*b,-1/A*b,0,-S[0],-S[3]),[E[0],E[3]]).concat(ts(A,[E[2],E[1]]))):(x=P,A=E,Wt(u,M)||(m=!0,v.ig(u))),y.Nd=!1,w=new Gv(0,A,x,w.l,h.c),A=rb(x,l),x=v.g,f&&f!==y.Kg&&x.sort(f),S=0,E=x.length;S<E;++S){b=x[S],m&&b.V().tb(M,u);var T=void 0;if((j=b.Lc())?T=j.call(b,P):(j=h.f)&&(T=j(b,P)),T){Array.isArray(T)||(T=[T]);var j=A,C=w;if(T){var L=!1;if(Array.isArray(T))for(var R=0,I=T.length;R<I;++R)L=nb(C,b,T[R],j,this.Fi,this)||L;else L=nb(C,b,T,j,this.Fi,this)||L;b=L}else b=!1;this.I=this.I||b,y.Nd=y.Nd||b}}Vv(w),v.c[p.ta.toString()]=w}y.mf=c,y.Kg=f}if(this.c){if(g=e,u=this.a,l=p.o,c=u.i,(h=lw[u.j])&&l.Lg!==c)for(l.Lg=c,v=(d=p.v)[0],l=g.pixelRatio,u=(P=u.ha()).tileGrid,c=(M=P.Ta(g.viewState.projection)).Da(v),f=P.nb(),p.j||(p.j=qe()),y=p.j,g=P.Xd(v,l,g.viewState.projection),y.canvas.width=g[0],y.canvas.height=g[1],g=M.Aa(d),d=0,v=p.a.length;d<v;++d)w=(M=p.c[p.a[d]]).ta,m=l/c,P=Jn(this.D),"tile-pixels"==M.a.a?(m=u.Aa(w,this.l),os(P,A=l/f*(w=u.Da(w[0]))/c,A),is(P,Math.round((m[0]-g[0])/w*f),Math.round((g[3]-m[3])/w*f))):(os(P,m,-m),is(P,-g[0],-g[3])),M.c[p.ta.toString()].La(y,l,P,0,{},h);tw.prototype.Of.apply(this,arguments)}},Eu.Ea=function(t,e,o,i,r){var n=e.viewState.resolution,s=e.viewState.rotation;o=null==o?0:o;var a=this.a,p={},h=this.g,l=a.ha();e=l.Ta(e.viewState.projection);for(var u=l.tileGrid,c=0,f=h.length;c<f;++c){var y=h[c],g=y.ta,d=E(g=e.Aa(g,this.l),o*n,d);if(R(d,t)){g=0;for(var v=y.a.length;g<v;++g)var b,m="tile-pixels"===(w=y.c[y.a[g]]).a.a?(b=w.ta,m=rt(n=u.Aa(b,this.l)),n=l.nb(),b=u.Da(b[0])/n,[(t[0]-m[0])/b,(m[1]-t[1])/b]):t,w=w.c[y.ta],x=x||w.Ea(m,n,s,o,{},function(t){var e=B(t).toString();if(!(e in p))return p[e]=!0,i.call(r,t,a)})}}return x},Eu.Fi=function(){Yv(this)},Eu.ef=function(t,e,o){var i=(l=this.a).ha(),r=uw[l.j];if(r)for(var n=e.pixelRatio,s=e.viewState.rotation,a=e.size,p=Math.round(n*a[0]/2),a=Math.round(n*a[1]/2),h=this.g,l=l.ha().nb(),u=i.tileGrid,i=i.Ta(e.viewState.projection),c=[],f=[],y=h.length-1;0<=y;--y){var g=h[y];if(5!=g.getState())for(var d=g.ta,v=i.Aa(d)[0]-i.Aa(g.v)[0],b=0,m=g.a.length;b<m;++b){var w,x,S,M,P,A=g.c[g.a[b]],E=A.ta[0],T=u.Da(E),j=A,C=e;for(is(C="tile-pixels"==j.a.a?(M=(w=this.a.ha()).tileGrid,P=j.ta,w=M.Da(P[0])/w.nb(),j=C.viewState,x=C.pixelRatio,S=j.resolution/x,P=M.Aa(P,this.l),M=j.center,P=rt(P),C=C.size,rs(this.D,Math.round(x*C[0]/2),Math.round(x*C[1]/2),w/S,w/S,j.rotation,(P[0]-M[0])/w,(M[1]-P[1])/w)):ob(this,C,0),v*l/T,0),T=Wv(A=A.c[d.toString()],C),t.save(),t.globalAlpha=o.opacity,ds(t,-s,p,a),w=0,j=c.length;w<j;++w)x=c[w],E<f[w]&&(t.beginPath(),t.moveTo(T[0],T[1]),t.lineTo(T[2],T[3]),t.lineTo(T[4],T[5]),t.lineTo(T[6],T[7]),t.moveTo(x[6],x[7]),t.lineTo(x[4],x[5]),t.lineTo(x[2],x[3]),t.lineTo(x[0],x[1]),t.clip());A.La(t,n,C,s,{},r),t.restore(),c.push(T),f.push(E)}}tw.prototype.ef.apply(this,arguments)},i(cw,db),(Eu=cw.prototype).Fd=function(t){var e=null;return"canvas"===t.U()&&(e=new hw(this)),e},Eu.Ud=function(){return this.get("preload")},Eu.kd=function(){return this.get("useInterimTilesOnError")},Eu.Bi=function(t){this.set("preload",t)},Eu.Ci=function(t){this.set("useInterimTilesOnError",t)},i(yw,pv),yw.prototype.ka=function(){1==this.state&&(this.yd.forEach(xe),this.yd=null),pv.prototype.ka.call(this)},yw.prototype.Y=function(){return this.v},yw.prototype.de=function(){var t,e,o,i,r,n=[];this.a.forEach(function(t){t&&2==t.getState()&&n.push({extent:this.c.Aa(t.ta),image:t.Y()})},this),this.a.length=0,n.length?(o=this.o[0],t="number"==typeof(e=this.j.gb(o))?e:e[0],e="number"==typeof e?e:e[1],o=this.j.Da(o),i=this.c.Da(this.g),r=this.j.Aa(this.o),this.v=Gm(t,e,this.S,i,this.c.G(),o,r,this.l,n,this.u,this.D),this.state=2):this.state=3,this.s()},yw.prototype.load=function(){var i;0==this.state&&(this.state=1,this.s(),i=0,this.yd=[],this.a.forEach(function(e){var o,t=e.getState();0!=t&&1!=t||(i++,o=be(e,"change",function(){var t=e.getState();2!=t&&3!=t&&4!=t||(xe(o),--i||(this.yd.forEach(xe),this.yd=null,this.de()))},this),this.yd.push(o))},this),this.a.forEach(function(t){0==t.getState()&&t.load()}),i||setTimeout(this.de.bind(this),0))},i(mw,Up),mw.prototype.fd=function(t){for(var e,o,i;ww(this);){if((e=(i=(o=this.a.Yc).ta[0].toString())in t)&&(o=o.ta,e=l(t[i],o[1],o[2])),e)break;Pe(this.pop())}},i(xw,mb),(Eu=xw.prototype).Ki=function(){return ww(this.a)},Eu.fd=function(t,e){(t=this.Wd(t))&&t.fd(e)},Eu.Wf=function(){return 0},Eu.Sb=function(t,e,o){return t+"/"+e+"/"+o},Eu.Zf=function(){return this.va},Eu.ab=function(){return this.tileGrid},Eu.Ta=function(t){return this.tileGrid?this.tileGrid:se(t)},Eu.Wd=function(t){var e=this.c;return e&&!Wt(e,t)?null:this.a},Eu.nb=function(){return this.$a},Eu.Xd=function(t,e,o){return o=this.Ta(o),e=this.nb(e),t=W(o.gb(t),this.o),1==e?t:P(t,e,this.o)},Eu.sa=function(){this.a.clear(),this.s()},Eu.Ug=w,i(Aw,Ae),i(Ew,xw),(Eu=Ew.prototype).pb=function(){return this.tileLoadFunction},Eu.qb=function(){return this.tileUrlFunction},Eu.rb=function(){return this.urls},Eu.Li=function(t){switch((t=t.target).getState()){case 1:this.b(new Aw("tileloadstart",t));break;case 2:this.b(new Aw("tileloadend",t));break;case 3:this.b(new Aw("tileloaderror",t))}},Eu.vb=function(t){this.a.clear(),this.tileLoadFunction=t,this.s()},Eu.cb=function(t,e){this.tileUrlFunction=t,void 0!==e?Mw(this,e):this.s()},Eu.jb=function(t){var e=this.urls=bw(t);this.cb(this.Fc?this.Fc.bind(this):gw(e,this.tileGrid),t)},Eu.eb=function(t){var e=(this.urls=t).join("\n");this.cb(this.Fc?this.Fc.bind(this):gw(t,this.tileGrid),e)},Eu.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},i(Tw,Ew),(Eu=Tw.prototype).Ki=function(){if(ww(this.a))return!0;for(var t in this.g)if(ww(this.g[t]))return!0;return!1},Eu.fd=function(t,e){for(var o in t=this.Wd(t),this.a.fd(this.a==t?e:{}),this.g){var i=this.g[o];i.fd(i==t?e:{})}},Eu.Wf=function(t){return this.c&&t&&!Wt(this.c,t)?0:this.Xf()},Eu.Xf=function(){return 0},Eu.Zf=function(t){return!(this.c&&t&&!Wt(this.c,t))&&Ew.prototype.Zf.call(this,t)},Eu.Ta=function(t){var e=this.c;return!this.tileGrid||e&&!Wt(e,t)?((e=B(t).toString())in this.v||(this.v[e]=se(t)),this.v[e]):this.tileGrid},Eu.Wd=function(t){var e=this.c;return!e||Wt(e,t)?this.a:((t=B(t).toString())in this.g||(this.g[t]=new mw(this.a.highWaterMark)),this.g[t])},Eu.Nc=function(t,e,o,i,r){if(this.c&&r&&!Wt(this.c,r)){var n,s=this.Wd(r);if(o=[t,e,o],t=this.Sb.apply(this,o),s.b.hasOwnProperty(t)&&(n=s.get(t)),e=this.uc,n&&n.key==e)return n;var a=this.c,p=this.Ta(a),h=this.Ta(r),l=Pw(this,o,r);return(i=new yw(a,p,r,h,o,l,this.nb(i),this.Xf(),function(t,e,o,i){return Cw(this,t,e,o,i,a)}.bind(this),this.Sa,this.I)).key=e,n?(i.i=n,s.replace(t,i)):s.set(t,i),i}return Cw(this,t,e,o,i,r)},Eu.Pb=function(t){if(this.I!=t){for(var e in this.I=t,this.g)this.g[e].clear();this.s()}},Eu.Qb=function(t,e){(t=Vt(t))&&((t=B(t).toString())in this.v||(this.v[t]=e))},i(Rw,Tw);var Iw=new ue({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});function Nw(t){var e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",o=void 0!==t.tileGrid?t.tileGrid:ae({extent:le(e),maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});Tw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX})}function Fw(t){this.C=t.account,this.B=t.map||"",this.f=t.config||{},this.l={},Nw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,state:"loading",wrapX:t.wrapX}),kw(this)}function kw(t){var e,o,i=JSON.stringify(t.f);t.l[i]?Dw(t,t.l[i]):(e="https://"+t.C+".cartodb.com/api/v1/map",t.B&&(e+="/named/"+t.B),(o=new XMLHttpRequest).addEventListener("load",t.Dl.bind(t,i)),o.addEventListener("error",t.Cl.bind(t)),o.open("POST",e),o.setRequestHeader("Content-type","application/json"),o.send(JSON.stringify(t.f)))}function Dw(t,e){t.jb("https://"+e.cdn_url.https+"/"+t.C+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png")}function Ow(t){Sb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.features=[],this.geometryFunction=t.geometryFunction||function(t){return X((t=t.V())instanceof hr,10),t},this.source=t.source,this.source.J("change",Ow.prototype.sa,this)}function Uw(t){if(void 0!==t.resolution){t.features.length=0;for(var e=Z(),o=t.distance*t.resolution,i=t.source.Xe(),r={},n=0,s=i.length;n<s;n++){var a=i[n];B(a).toString()in r||!(a=t.geometryFunction(a))||(O(a=a.X(),e),E(e,o,e),a=(a=t.source.Uf(e)).filter(function(t){return!((t=B(t).toString())in r)&&(r[t]=!0)}),t.features.push(function(t,e){for(var o=[0,0],i=e.length-1;0<=i;--i){var r=t.geometryFunction(e[i]);r?Ti(o,r.X()):e.splice(i,1)}return Ni(o,1/e.length),(t=new Nh(new hr(o))).set("features",e),t}(t,a)))}}}function Gw(t,e){var o=[];Object.keys(e).forEach(function(t){null!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]))});var i=o.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+i}function Bw(t){Wm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.T=void 0===t.hidpi||t.hidpi,this.f=t.url,this.g=t.imageLoadFunction?t.imageLoadFunction:Km,this.v=t.params||{},this.M=null,this.l=[0,0],this.I=0,this.B=void 0!==t.ratio?t.ratio:1.5}function Xw(t){Wm.call(this,{projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.l=void 0!==t.displayDpi?t.displayDpi:96,this.g=t.params||{},this.I=t.url,this.f=t.imageLoadFunction?t.imageLoadFunction:Km,this.T=void 0===t.hidpi||t.hidpi,this.pa=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.v=void 0!==t.ratio?t.ratio:1,this.va=void 0!==t.useOverlay&&t.useOverlay,this.M=null,this.B=0}function Vw(t){var e=t.imageExtent,o=void 0!==t.crossOrigin?t.crossOrigin:null,i=t.imageLoadFunction?t.imageLoadFunction:Km;Wm.call(this,{attributions:t.attributions,logo:t.logo,projection:Vt(t.projection)}),this.M=new sv(e,void 0,1,this.j,t.url,o,i),this.f=t.imageSize?t.imageSize:null,be(this.M,"change",this.o,this)}function Ww(t){Wm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.pa=void 0!==t.crossOrigin?t.crossOrigin:null,this.g=t.url,this.v=t.imageLoadFunction?t.imageLoadFunction:Km,this.f=t.params||{},this.l=!0,zw(this),this.T=t.serverType,this.va=void 0===t.hidpi||t.hidpi,this.M=null,this.B=[0,0],this.R=0,this.I=void 0!==t.ratio?t.ratio:1.5}Rw.prototype.T=function(){return this.f},Rw.prototype.fa=function(){return this.l},Rw.prototype.pa=function(t){var e,i,s,a,r,n,p;200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length?xb(this,"error"):(-1==(e=t.brandLogoUri).indexOf("https")&&(e=e.replace("http","https")),i=t.resourceSets[0].resources[0],s=-1==this.C?i.zoomMax:this.C,a=ae({extent:t=le(this.c),minZoom:i.zoomMin,maxZoom:s,tileSize:(i.imageWidth==i.imageHeight?i.imageWidth:[i.imageWidth,i.imageHeight])/this.nb()}),this.tileGrid=a,r=this.R,n=this.B,this.tileUrlFunction=dw(i.imageUrlSubdomains.map(function(t){var e=[0,0,0],o=i.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return _t(t[0],t[1],-t[2]-1,e),t=o,n&&(t+="&dpi=d1&device=mobile"),t.replace("{quadkey}",function(t){for(var e=t[0],o=Array(e),i=1<<e-1,r=0;r<e;++r){var n=48;t[1]&i&&(n+=1),t[2]&i&&(n+=2),o[r]=String.fromCharCode(n),i>>=1}return o.join("")}(e))}})),i.imageryProviders&&(p=Kt(Vt("EPSG:4326"),this.c),(t=i.imageryProviders.map(function(t){var e=t.attribution,n={};return t.coverageAreas.forEach(function(t){var e,o=t.zoomMin,i=Math.min(t.zoomMax,s);for(t=lt([(t=t.bbox)[1],t[0],t[3],t[2]],p),e=o;e<=i;++e){var r=e.toString(),o=ie(a,t,e);r in n?n[r].push(o):n[r]=[o]}}),new ue({html:e,tileRanges:n})})).push(Iw),this.ua(t)),this.D=e,xb(this,"ready"))},i(Nw,Tw),i(Fw,Nw),(Eu=Fw.prototype).Kk=function(){return this.f},Eu.tq=function(t){ut(this.f,t),kw(this)},Eu.Xp=function(t){this.f=t||{},kw(this)},Eu.Dl=function(t,e){if(!(e=e.target).status||200<=e.status&&e.status<300){try{var o=JSON.parse(e.responseText)}catch(t){return void xb(this,"error")}Dw(this,o),this.l[t]=o,xb(this,"ready")}else xb(this,"error")},Eu.Cl=function(){xb(this,"error")},i(Ow,Sb),(Eu=Ow.prototype).$n=function(){return this.distance},Eu.ao=function(){return this.source},Eu.Yd=function(t,e,o){this.source.Yd(t,e,o),e!==this.resolution&&(this.clear(),this.resolution=e,Uw(this),this.cd(this.features))},Eu.Yp=function(t){this.distance=t,this.sa()},Eu.sa=function(){this.clear(),Uw(this),this.cd(this.features),Sb.prototype.sa.call(this)},i(Bw,Wm),(Eu=Bw.prototype).co=function(){return this.v},Eu.Jc=function(t,e,o,i){if(void 0===this.f)return null;e=Zm(this,e),o=this.T?o:1;var r=this.M;if(r&&this.I==this.i&&r.resolution==e&&r.a==o&&N(r.G(),t))return r;ut(r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.v);var n=((t=t.slice())[0]+t[2])/2,s=(t[1]+t[3])/2;1!=this.B&&(a=this.B*st(t)/2,p=this.B*ot(t)/2,t[0]=n-a,t[1]=s-p,t[2]=n+a,t[3]=s+p);var a=e/o,p=Math.ceil(st(t)/a),h=Math.ceil(ot(t)/a);return t[0]=n-a*p/2,t[2]=n+a*p/2,t[1]=s-a*h/2,t[3]=s+a*h/2,this.l[0]=p,this.l[1]=h,n=t,s=this.l,a=o,i=i.mb.split(":").pop(),r.SIZE=s[0]+","+s[1],r.BBOX=n.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=Math.round(90*a),(n=(i=this.f).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"))==i&&X(!1,50),r=Gw(n,r),this.M=new sv(t,e,o,this.j,r,this.R,this.g),this.I=this.i,be(this.M,"change",this.o,this),this.M},Eu.bo=function(){return this.g},Eu.eo=function(){return this.f},Eu.fo=function(t){this.M=null,this.g=t,this.s()},Eu.ho=function(t){t!=this.f&&(this.f=t,this.M=null,this.s())},Eu.io=function(t){ut(this.v,t),this.M=null,this.s()},i(Xw,Wm),(Eu=Xw.prototype).ko=function(){return this.g},Eu.Jc=function(t,e,o){e=Zm(this,e),o=this.T?o:1;var i=this.M;if(i&&this.B==this.i&&i.resolution==e&&i.a==o&&N(i.G(),t))return i;1!=this.v&&ht(t=t.slice(),this.v);var r,n,s,a,p,h,l,u=[st(t)/e*o,ot(t)/e*o];return void 0!==this.I?(i=this.I,r=tt(t),n=this.pa,s=st(t),a=ot(t),p=u[0],h=u[1],l=.0254/this.l,u={OPERATION:this.va?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.l,SETDISPLAYWIDTH:Math.round(u[0]),SETDISPLAYHEIGHT:Math.round(u[1]),SETVIEWSCALE:p*a<h*s?s*n/(p*l):a*n/(h*l),SETVIEWCENTERX:r[0],SETVIEWCENTERY:r[1]},ut(u,this.g),i=Gw(i,u),be(i=new sv(t,e,o,this.j,i,this.R,this.f),"change",this.o,this)):i=null,this.M=i,this.B=this.i,i},Eu.jo=function(){return this.f},Eu.mo=function(t){ut(this.g,t),this.s()},Eu.lo=function(t){this.M=null,this.f=t,this.s()},i(Vw,Wm),Vw.prototype.Jc=function(t){return at(t,this.M.G())?this.M:null},Vw.prototype.o=function(t){var e,o,i,r,n;2==this.M.getState()&&(i=this.M.G(),e=this.M.Y(),n=this.f?(o=this.f[0],this.f[1]):(o=e.width,e.height),(i=Math.ceil(st(i)/(ot(i)/n)))!=o&&(r=(i=qe(i,n)).canvas,i.drawImage(e,0,0,o,n,0,0,r.width,r.height),this.M.Og(r))),Wm.prototype.o.call(this,t)},i(Ww,Wm);var Zw=[101,101];function Kw(t,e,o,i,r,n){if(X(void 0!==t.g,9),n[t.l?"CRS":"SRS"]=r.mb,"STYLES"in t.f||(n.STYLES=""),1!=i)switch(t.T){case"geoserver":i=90*i+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+i:"dpi:"+i;break;case"mapserver":n.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":n.DPI=90*i;break;default:X(!1,8)}var s;return n.WIDTH=o[0],n.HEIGHT=o[1],o=r.b,s=t.l&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=s.join(","),Gw(t.g,n)}function zw(t){t.l=0<=Ei(t.f.VERSION||"1.3.0")}function Yw(t){var e=void 0!==(t=t||{}).attributions?t.attributions:[Hw];Nw.call(this,{attributions:e,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}(Eu=Ww.prototype).so=function(t,e,o,i){if(void 0!==this.g){var r=et(t,e,0,Zw),n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS};return ut(n,this.f,i),i=Math.floor((r[3]-t[1])/e),n[this.l?"I":"X"]=Math.floor((t[0]-r[0])/e),n[this.l?"J":"Y"]=i,Kw(this,r,Zw,1,Vt(o),n)}},Eu.uo=function(){return this.f},Eu.Jc=function(t,e,o,i){if(void 0===this.g)return null;e=Zm(this,e),1==o||this.va&&void 0!==this.T||(o=1);var r=e/o,n=tt(t),s=et(n,r,0,[Math.ceil(st(t)/r),Math.ceil(ot(t)/r)]);return t=et(n,r,0,[Math.ceil(this.I*st(t)/r),Math.ceil(this.I*ot(t)/r)]),(n=this.M)&&this.R==this.i&&n.resolution==e&&n.a==o&&N(n.G(),s)?n:(ut(s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),this.B[0]=Math.round(st(t)/r),this.B[1]=Math.round(ot(t)/r),i=Kw(this,t,this.B,o,i,s),this.M=new sv(t,e,o,this.j,i,this.pa,this.v),this.R=this.i,be(this.M,"change",this.o,this),this.M)},Eu.to=function(){return this.v},Eu.vo=function(){return this.g},Eu.wo=function(t){this.M=null,this.v=t,this.s()},Eu.xo=function(t){t!=this.g&&(this.g=t,this.M=null,this.s())},Eu.yo=function(t){ut(this.f,t),zw(this),this.M=null,this.s()},i(Yw,Nw);var Hw=new ue({html:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function qw(t){this.B=null,this.va=void 0!==t.operationType?t.operationType:"pixel",this.Sa=void 0!==t.threads?t.threads:1,this.g=function(t){for(var e=t.length,o=Array(e),i=0;i<e;++i){var r=i,n=t[i],s=null;n instanceof xw?(n=new pw({source:n}),s=new tw(n)):n instanceof Wm&&(n=new Qm({source:n}),s=new Dm(n)),o[r]=s}return o}(t.sources);for(var e=0,o=this.g.length;e<o;++e)be(this.g[e],"change",this.s,this);this.T=new xi(function(){return 1},this.s.bind(this));for(var o={},i=0,r=(e=this.g.map(function(t){return Xn(t.a)})).length;i<r;++i)o[B(e[i].layer)]=e[i];this.f=null,this.I={animate:!1,attributions:{},coordinateToPixelTransform:qn(),extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateTransform:qn(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.T,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},Wm.call(this,{}),t.operation&&this.v(t.operation,t.lib)}Ja.df={},Ja.df.Af=function(){},function(t){function a(u){var c=!0;try{new ImageData(10,10)}catch(t){c=!1}return function(t){var e=t.buffers,o=t.meta,i=t.width,r=t.height,n=e.length,s=e[0].byteLength;if(t.imageOps){for(s=Array(n),t=0;t<n;++t){var a=t,p=new Uint8ClampedArray(e[t]),h=i,l=r,p=c?new ImageData(p,h,l):{data:p,width:h,height:l};s[a]=p}i=u(s,o).data}else{for(i=new Uint8ClampedArray(s),r=Array(n),a=Array(n),t=0;t<n;++t)r[t]=new Uint8ClampedArray(e[t]),a[t]=[0,0,0,0];for(e=0;e<s;e+=4){for(t=0;t<n;++t)p=r[t],a[t][0]=p[e],a[t][1]=p[e+1],a[t][2]=p[e+2],a[t][3]=p[e+3];t=u(a,o),i[e]=t[0],i[e+1]=t[1],i[e+2]=t[2],i[e+3]=t[3]}}return i.buffer}}function e(t){var e;this.Ff=!!t.$l;var o,i,r,n=[];if(e=0===t.threads?0:!this.Ff&&t.threads||1)for(var s=0;s<e;++s)n[s]=function(e,t){var o=Object.keys(e.lib||{}).map(function(t){return"var "+t+" = "+e.lib[t].toString()+";"}).concat(["var __minion__ = ("+a.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),o=URL.createObjectURL(new Blob(o,{type:"text/javascript"}));return(o=new Worker(o)).addEventListener("message",t),o}(t,this.gh.bind(this,s));else n[0]=(o=t,i=this.gh.bind(this,0),r=a(o.operation),{postMessage:function(t){setTimeout(function(){i({data:{buffer:r(t),meta:t.meta}})},0)}});this.qe=n,this.Ed=[],this.fk=t.rp||1/0,this.oe=0,this.bd={},this.Gf=null}var l=!0;try{new ImageData(10,10)}catch(t){l=!1}var u=document.createElement("canvas").getContext("2d");e.prototype.pp=function(t,e,o){this.dk({inputs:t,Qh:e,callback:o}),this.dh()},e.prototype.dk=function(t){for(this.Ed.push(t);this.Ed.length>this.fk;)this.Ed.shift().callback(null,null)},e.prototype.dh=function(){if(0===this.oe&&0<this.Ed.length){var t=this.Gf=this.Ed.shift(),e=t.inputs[0].width,o=t.inputs[0].height,i=t.inputs.map(function(t){return t.data.buffer}),r=this.qe.length;if(1===(this.oe=r))this.qe[0].postMessage({buffers:i,meta:t.Qh,imageOps:this.Ff,width:e,height:o},i);else for(var n=4*Math.ceil(t.inputs[0].data.length/4/r),s=0;s<r;++s){for(var a=s*n,p=[],h=0,l=i.length;h<l;++h)p.push(i[s].slice(a,a+n));this.qe[s].postMessage({buffers:p,meta:t.Qh,imageOps:this.Ff,width:e,height:o},p)}}},e.prototype.gh=function(t,e){this.Jq||(this.bd[t]=e.data,--this.oe,0===this.oe&&this.gk())},e.prototype.gk=function(){var t,e,o,i=this.Gf,r=this.qe.length;if(1===r)var n=new Uint8ClampedArray(this.bd[0].buffer),s=this.bd[0].meta;else for(var a=i.inputs[0].data.length,n=new Uint8ClampedArray(a),s=Array(a),a=4*Math.ceil(a/4/r),p=0;p<r;++p){var h=p*a;n.set(new Uint8ClampedArray(this.bd[p].buffer),h),s[p]=this.bd[p].meta}this.Gf=null,this.bd={},i.callback(null,(t=n,e=i.inputs[0].width,o=i.inputs[0].height,l?new ImageData(t,e,o):((e=u.createImageData(e,o)).data.set(t),e)),s),this.dh()},t.default={Af:e},t.Af=e}(Ja.df=Ja.df||{}),i(qw,Wm),qw.prototype.v=function(t,e){this.B=new Ja.df.Af({operation:t,$l:"image"===this.va,rp:1,lib:e,threads:this.Sa}),this.s()},qw.prototype.Y=function(t,e,o,i){o=!0;for(var r=0,n=this.g.length;r<n;++r)if("ready"!==(h=this.g[r].a.ha()).getState()){o=!1;break}if(!o)return null;if((o=ut({},this.I)).viewState=ut({},o.viewState),h=tt(t),o.extent=t.slice(),o.focus=h,o.size[0]=Math.round(st(t)/e),o.size[1]=Math.round(ot(t)/e),(r=o.viewState).center=h,r.projection=i,r.resolution=e,Si((this.l=o).tileQueue,16,16),this.f&&(i=this.f.resolution,o=this.f.G(),e===i&&z(t,o)||(this.f=null)),!this.f||this.i!==this.R)t:{for(t=this.l,i=this.g.length,e=Array(i),o=0;o<i;++o){var s,a,p,h=this.g[o],r=t,n=t.layerStatesArray[o];if(!(h=h.sd(r,n)?(s=r.size[0],a=r.size[1],!Jw||(p=Jw.canvas).width!==s||p.height!==a?Jw=qe(s,a):Jw.clearRect(0,0,s,a),h.S(r,n,Jw),Jw.getImageData(0,0,s,a)):null))break t;e[o]=h}i={},this.b(new _w($w,t,i)),this.B.pp(e,i,this.pa.bind(this,t))}return this.f},qw.prototype.pa=function(t,e,o,i){var r,n;!e&&o&&(e=t.extent,(r=t.viewState.resolution)===this.l.viewState.resolution&&z(e,this.l.extent)&&(this.f?n=this.f.Y().getContext("2d"):(n=qe(Math.round(st(e)/r),Math.round(ot(e)/r)),this.f=new av(e,r,1,this.j,n.canvas)),n.putImageData(o,0,0),this.s(),this.R=this.i,this.b(new _w(Qw,t,i))))};var Jw=null;function _w(t,e,o){Ae.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}i(_w,Ae),qw.prototype.Jc=function(){return null};var $w="beforeoperations",Qw="afteroperations";function tx(t){var e=t.layer.indexOf("-"),e=ix[-1==e?t.layer:t.layer.slice(0,e)],o=ox[t.layer];Nw.call(this,{attributions:ex,cacheSize:t.cacheSize,crossOrigin:"anonymous",maxZoom:null!=t.maxZoom?t.maxZoom:e.maxZoom,minZoom:null!=t.minZoom?t.minZoom:e.minZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.Lb,wrapX:t.wrapX})}i(tx,Nw);var ex=[new ue({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),Hw],ox={terrain:{Lb:"jpg",opaque:!0},"terrain-background":{Lb:"jpg",opaque:!0},"terrain-labels":{Lb:"png",opaque:!1},"terrain-lines":{Lb:"png",opaque:!1},"toner-background":{Lb:"png",opaque:!0},toner:{Lb:"png",opaque:!0},"toner-hybrid":{Lb:"png",opaque:!1},"toner-labels":{Lb:"png",opaque:!1},"toner-lines":{Lb:"png",opaque:!1},"toner-lite":{Lb:"png",opaque:!0},watercolor:{Lb:"jpg",opaque:!0}},ix={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function rx(t){Tw.call(this,{attributions:(t=t||{}).attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.f=t.params||{},this.l=Z(),Mw(this,nx(this))}function nx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function sx(t){xw.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function ax(t,e,o){pv.call(this,t,2),this.c=e,this.Ia=o,this.a=null}function px(t){var e;this.f=null,Tw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,projection:Vt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),t.url?t.jsonp?fw(t.url,this.og.bind(this),this.Ve.bind(this)):((e=new XMLHttpRequest).addEventListener("load",this.Ao.bind(this)),e.addEventListener("error",this.zo.bind(this)),e.open("GET",t.url),e.send()):t.tileJSON?this.og(t.tileJSON):X(!1,51)}function hx(t){var e;xw.call(this,{projection:Vt("EPSG:3857"),state:"loading"}),this.v=void 0===t.preemptive||t.preemptive,this.l=vw,this.g=void 0,this.f=t.jsonp||!1,t.url?this.f?fw(t.url,this.pg.bind(this),this.We.bind(this)):((e=new XMLHttpRequest).addEventListener("load",this.Eo.bind(this)),e.addEventListener("error",this.Do.bind(this)),e.open("GET",t.url),e.send()):t.tileJSON?this.pg(t.tileJSON):X(!1,51)}function lx(t,e,o,i,r,n){pv.call(this,t,e),this.o=o,this.a=i,this.v=r,this.c=this.j=this.g=null,this.l=n}function ux(t){var e;0==t.state&&(t.state=1,t.l?fw(t.o,t.Ji.bind(t),t.De.bind(t)):((e=new XMLHttpRequest).addEventListener("load",t.Co.bind(t)),e.addEventListener("error",t.Bo.bind(t)),e.open("GET",t.o),e.send()))}function cx(t){var e=(t=t||{}).params||{};Tw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!(!("TRANSPARENT"in e)||e.TRANSPARENT),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.C=void 0!==t.gutter?t.gutter:0,this.f=e,this.l=!0,this.B=t.serverType,this.T=void 0===t.hidpi||t.hidpi,this.R="",yx(this),this.fa=Z(),dx(this),Mw(this,gx(this))}function fx(t,e,o,i,r,n,s){var a=t.urls;if(a){if(s.WIDTH=o[0],s.HEIGHT=o[1],s[t.l?"CRS":"SRS"]=n.mb,"STYLES"in t.f||(s.STYLES=""),1!=r)switch(t.B){case"geoserver":o=90*r+.5|0,s.FORMAT_OPTIONS="FORMAT_OPTIONS"in s?s.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":s.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":s.DPI=90*r;break;default:X(!1,52)}return n=n.b,t.l&&"ne"==n.substr(0,2)&&(t=i[0],i[0]=i[1],i[1]=t,t=i[2],i[2]=i[3],i[3]=t),s.BBOX=i.join(","),Gw(1==a.length?a[0]:a[L((e[1]<<e[0])+e[2],a.length)],s)}}function yx(t){var e=0,o=[];if(t.urls)for(var i=0,r=t.urls.length;i<r;++i)o[e++]=t.urls[i];t.R=o.join("#")}function gx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function dx(t){t.l=0<=Ei(t.f.VERSION||"1.3.0")}function vx(t,e,o,i,r,n,s,a,p,h,l,u,c,f){var y,g;pv.call(this,t,e),this.j=null,this.o={Nd:!1,Kg:null,mf:-1,Lg:-1},this.c=h,this.a=[],this.u=o,this.v=n,this.g=[],this.l=[],n&&(y=p.Aa(n),g=p.Da(t[0]),a.Rf(y,a.tc(g),function(t){var e,o=it(y,a.Aa(t));.5<=st(o)/g&&.5<=ot(o)/g&&(o=t.toString(),(e=h[o])||(e=s(t,l,u),e=h[o]=new c(t,null==e?4:0,null==e?"":e,i,r),this.l.push(be(e,"change",f))),e.j++,this.a.push(o))}.bind(this)))}function bx(t,e){t.Pg(el(e,t.o,t.$o.bind(t),t.Zo.bind(t)))}function mx(t,e,o,i,r){pv.call(this,t,e),this.j=0,this.o=i,this.g=null,this.c={},this.u=r,this.l=o}function wx(t){Ew.call(this,{attributions:t.attributions,cacheSize:void 0!==t.cacheSize?t.cacheSize:128,extent:t.extent,logo:t.logo,opaque:!1,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:bx,tileUrlFunction:t.tileUrlFunction,tilePixelRatio:t.tilePixelRatio,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.g=t.format?t.format:null,this.v={},this.l=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass?t.tileClass:mx,this.f={},this.tileGrid||(this.tileGrid=this.Ta(Vt(t.projection||"EPSG:3857")))}function xx(t){this.o=t.matrixIds,$t.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function Sx(t,e,o){var r=[],n=[],s=[],a=[],p=[],h=void 0!==o?o:[],l=(o=Vt(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))).sc(),u="ne"==o.b.substr(0,2);return t.TileMatrix.sort(function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),t.TileMatrix.forEach(function(e){var t,o,i=!(0<h.length)||v(h,function(t){return e.Identifier==t.TileMatrix});i&&(n.push(e.Identifier),i=28e-5*e.ScaleDenominator/l,t=e.TileWidth,o=e.TileHeight,u?s.push([e.TopLeftCorner[1],e.TopLeftCorner[0]]):s.push(e.TopLeftCorner),r.push(i),a.push(t==o?t:[t,o]),p.push([e.MatrixWidth,-e.MatrixHeight]))}),new xx({extent:e,origins:s,resolutions:r,matrixIds:n,tileSizes:a,sizes:p})}function Mx(t){this.fa=void 0!==t.version?t.version:"1.0.0",this.C=void 0!==t.format?t.format:"image/jpeg",this.f=t.dimensions?t.dimensions:{},this.B=t.layer,this.l=t.matrixSet,this.R=t.style;var e=t.urls;void 0===e&&void 0!==t.url&&(e=bw(t.url));var i=this.T=void 0!==t.requestEncoding?t.requestEncoding:"KVP",r=t.tileGrid,o={layer:this.B,style:this.R,tilematrixset:this.l};"KVP"==i&&ut(o,{Service:"WMTS",Request:"GetTile",Version:this.fa,Format:this.C});var n=this.f,s=e&&0<e.length?dw(e.map(function(e){return e="KVP"==i?Gw(e,o):e.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in o?o[e.toLowerCase()]:t}),function(t){if(t){var o={TileMatrix:r.o[t[0]],TileCol:t[1],TileRow:-t[2]-1};return ut(o,n),t=e,"KVP"==i?Gw(t,o):t.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}})):vw;Tw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:s,urls:e,wrapX:void 0!==t.wrapX&&t.wrapX}),Mw(this,Px(this))}function Px(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function Ax(t){var e=(t=t||{}).size,o=e[0],i=e[1],n=[],r=256;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:Tx){case Tx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),r+=r;break;case jx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),o>>=1,i>>=1;break;default:X(!1,53)}n.push([1,1]),n.reverse();for(var r=[1],s=[0],i=1,o=n.length;i<o;i++)r.push(1<<i),s.push(n[i-1][0]*n[i-1][1]+s[i-1]);r.reverse(),e=new $t({extent:e=[0,-e[1],e[0],0],origin:rt(e),resolutions:r}),(r=t.url)&&-1==r.indexOf("{TileGroup}")&&(r+="{TileGroup}/{z}-{x}-{y}.jpg"),r=dw((r=bw(r)).map(function(r){return function(t){if(t){var e=t[0],o=t[1],i={z:e,x:o,y:t=-t[2]-1,TileGroup:"TileGroup"+((o+t*n[e][0]+s[e])/256|0)};return r.replace(/\{(\w+?)\}/g,function(t,e){return i[e]})}}})),Tw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:Ex,tileGrid:e,tileUrlFunction:r})}function Ex(t,e,o,i,r){uv.call(this,t,e,o,i,r),this.a=null}i(rx,Tw),rx.prototype.C=function(){return this.f},rx.prototype.nb=function(t){return t},rx.prototype.Fc=function(t,e,o){var i=this.tileGrid;if(!((i=i||this.Ta(o)).b.length<=t[0])){var r=i.Aa(t,this.l),n=W(i.gb(t[0]),this.o);1!=e&&(n=P(n,e,this.o)),ut(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.f);var s=this.urls;return t=s?(o=o.mb.split(":").pop(),i.SIZE=n[0]+","+n[1],i.BBOX=r.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=Math.round(i.DPI?i.DPI*e:90*e),Gw(t=(1==s.length?s[0]:s[L((t[1]<<t[0])+t[2],s.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),i)):void 0}},rx.prototype.B=function(t){ut(this.f,t),Mw(this,nx(this))},i(sx,xw),sx.prototype.Nc=function(t,e,o){var i=this.Sb(t,e,o);if(this.a.b.hasOwnProperty(i))return this.a.get(i);var r=W(this.tileGrid.gb(t)),r=new ax(t=[t,e,o],r,e=(e=Pw(this,t))?Pw(this,e).toString():"");return this.a.set(i,r),r},i(ax,pv),ax.prototype.Y=function(){if(this.a)return this.a;var t=this.c,e=qe(t[0],t[1]);return e.strokeStyle="black",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="black",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.fillText(this.Ia,t[0]/2,t[1]/2),this.a=e.canvas},ax.prototype.load=function(){},i(px,Tw),(Eu=px.prototype).Ao=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.Ve()}this.og(e)}else this.Ve()},Eu.zo=function(){this.Ve()},Eu.pl=function(){return this.f},Eu.og=function(t){var e,o=Vt("EPSG:4326"),i=this.c;t.bounds&&(n=Kt(o,i),e=lt(t.bounds,n));var r=t.minzoom||0,n=t.maxzoom||22;if(this.tileGrid=i=ae({extent:le(i),maxZoom:n,minZoom:r}),this.tileUrlFunction=gw(t.tiles,i),void 0!==t.attribution&&!this.j){o=void 0!==e?e:o.G(),e={};for(;r<=n;++r)e[r.toString()]=[ie(i,o,r)];this.ua([new ue({html:t.attribution,tileRanges:e})])}this.f=t,xb(this,"ready")},Eu.Ve=function(){xb(this,"error")},i(hx,xw),(Eu=hx.prototype).Eo=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.We()}this.pg(e)}else this.We()},Eu.Do=function(){this.We()},Eu.ml=function(){return this.g},Eu.zk=function(t,e,o,i,r){var n,s,a,p,h;this.tileGrid?(e=this.tileGrid.Be(t,e),n=this.Nc(e[0],e[1],e[2],1,this.c),s=t,a=o,p=i,h=r,0==n.state&&!0===h?(me(n,"change",function(){a.call(p,this.getData(s))},n),ux(n)):!0===h?setTimeout(function(){a.call(p,this.getData(s))}.bind(n),0):a.call(p,n.getData(s))):!0===r?setTimeout(function(){o.call(i,null)},0):o.call(i,null)},Eu.We=function(){xb(this,"error")},Eu.pg=function(t){var e,o=Vt("EPSG:4326"),i=this.c;t.bounds&&(n=Kt(o,i),e=lt(t.bounds,n));var r=t.minzoom||0,n=t.maxzoom||22;this.tileGrid=i=ae({extent:le(i),maxZoom:n,minZoom:r}),this.g=t.template;var s=t.grids;if(s){if(this.l=gw(s,i),void 0!==t.attribution){for(o=void 0!==e?e:o.G(),e={};r<=n;++r)e[s=r.toString()]=[ie(i,o,r)];this.ua([new ue({html:t.attribution,tileRanges:e})])}xb(this,"ready")}else xb(this,"error")},Eu.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(e=Pw(this,t=[t,e,o],r),i=new lx(t,void 0!==(i=this.l(e,i,r))?0:4,void 0!==i?i:"",this.tileGrid.Aa(t),this.v,this.f),this.a.set(n,i),i)},Eu.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},i(lx,pv),(Eu=lx.prototype).Y=function(){return null},Eu.getData=function(t){if(!this.g||!this.j)return null;var e=this.g[Math.floor((1-(t[1]-this.a[1])/(this.a[3]-this.a[1]))*this.g.length)];return"string"!=typeof e?null:(93<=(e=e.charCodeAt(Math.floor((t[0]-this.a[0])/(this.a[2]-this.a[0])*e.length)))&&e--,35<=e&&e--,t=null,(e-=32)in this.j&&(e=this.j[e],t=this.c&&e in this.c?this.c[e]:e),t)},Eu.bb=function(){return this.o},Eu.De=function(){this.state=3,this.s()},Eu.Ji=function(t){this.g=t.grid,this.j=t.keys,this.c=t.data,this.state=4,this.s()},Eu.Co=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.De()}this.Ji(e)}else this.De()},Eu.Bo=function(){this.De()},Eu.load=function(){this.v&&ux(this)},i(cx,Tw),(Eu=cx.prototype).Fo=function(t,e,o,i){if(o=Vt(o),e=(s=(s=this.tileGrid)||this.Ta(o)).Be(t,e),!(s.b.length<=e[0])){var r=s.Da(e[0]),n=s.Aa(e,this.fa),s=W(s.gb(e[0]),this.o),a=this.C;return a&&(s=g(s,a,this.o),n=E(n,r*a,n)),a={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS},ut(a,this.f,i),i=Math.floor((n[3]-t[1])/r),a[this.l?"I":"X"]=Math.floor((t[0]-n[0])/r),a[this.l?"J":"Y"]=i,fx(this,e,s,n,1,o,a)}},Eu.Xf=function(){return this.C},Eu.Sb=function(t,e,o){return this.R+Tw.prototype.Sb.call(this,t,e,o)},Eu.Go=function(){return this.f},Eu.nb=function(t){return this.T&&void 0!==this.B?t:1},Eu.Fc=function(t,e,o){if(!((n=(n=this.tileGrid)||this.Ta(o)).b.length<=t[0])){1==e||this.T&&void 0!==this.B||(e=1);var i=n.Da(t[0]),r=n.Aa(t,this.fa),n=W(n.gb(t[0]),this.o),s=this.C;return s&&(n=g(n,s,this.o),r=E(r,i*s,r)),1!=e&&(n=P(n,e,this.o)),ut(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),fx(this,t,n,r,e,o,i)}},Eu.eb=function(t){Tw.prototype.eb.call(this,t),yx(this)},Eu.Ho=function(t){ut(this.f,t),yx(this),dx(this),Mw(this,gx(this))},i(vx,pv),vx.prototype.ka=function(){for(var t=0,e=this.a.length;t<e;++t){var o=this.a[t],i=this.c[o];i.j--,i.j||(delete this.c[o],Pe(i))}this.a.length=0,this.c=null,1==this.state&&(this.g.forEach(xe),this.g.length=0),this.i&&Pe(this.i),this.state=5,this.s(),this.l.forEach(xe),this.l.length=0,pv.prototype.ka.call(this)},vx.prototype.Y=function(){return-1==this.o.Lg?null:this.j.canvas},vx.prototype.bb=function(){return this.a.join("/")+"/"+this.u},vx.prototype.load=function(){var r=0,n=!1;0==this.state&&lv(this,1),1==this.state&&this.a.forEach(function(e){var o,i=this.c[e];0==i.state?(i.Pg(this.S),i.load()):3==i.state?n=!0:4==i.state&&s(this.a,e),1==i.state&&(o=be(i,"change",function(){var t=i.getState();2!=t&&3!=t||(--r,xe(o),s(this.g,o),3==t&&(s(this.a,e),n=!0),r||lv(this,0<this.a.length?2:3))}.bind(this)),this.g.push(o),++r)}.bind(this)),r||setTimeout(function(){lv(this,0<this.a.length?2:n?3:4)}.bind(this),0)},i(mx,pv),(Eu=mx.prototype).ka=function(){this.g=null,this.c={},this.state=5,this.s(),pv.prototype.ka.call(this)},Eu.Lm=function(){return this.o},Eu.Km=function(){return this.g},Eu.bb=function(){return this.l},Eu.Mm=function(){return this.a},Eu.load=function(){0==this.state&&(lv(this,1),this.u(this,this.l),this.v(null,NaN,null))},Eu.$o=function(t,e){this.ig(e),this.mj(t)},Eu.Zo=function(){lv(this,3)},Eu.mj=function(t){this.g=t,lv(this,2)},Eu.ig=function(t){this.a=t},Eu.Pg=function(t){this.v=t},i(wx,Ew),wx.prototype.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(i=new vx(t=[t,e,o],void 0!==(o=(e=Pw(this,t,r))?this.tileUrlFunction(e,i,r):void 0)?0:4,void 0!==o?o:"",this.g,this.tileLoadFunction,e,this.tileUrlFunction,this.tileGrid,this.Ta(r),this.v,i,r,this.tileClass,this.Li.bind(this)),this.a.set(n,i),i)},wx.prototype.Ta=function(t){var e=t.mb,o=this.f[e];return o||(o=this.tileGrid,o=this.f[e]=he(t,void 0,o?o.gb(o.minZoom):void 0)),o},wx.prototype.nb=function(t){return null==t?Ew.prototype.nb.call(this,t):t},wx.prototype.Xd=function(t,e,o){return t=W(this.Ta(o).gb(t)),[Math.round(t[0]*e),Math.round(t[1]*e)]},i(xx,$t),xx.prototype.l=function(){return this.o},i(Mx,Tw),(Eu=Mx.prototype).Mk=function(){return this.f},Eu.Io=function(){return this.C},Eu.Jo=function(){return this.B},Eu.$k=function(){return this.l},Eu.kl=function(){return this.T},Eu.Ko=function(){return this.R},Eu.rl=function(){return this.fa},Eu.uq=function(t){ut(this.f,t),Mw(this,Px(this))},i(Ax,Tw),i(Ex,uv),Ex.prototype.Y=function(){if(this.a)return this.a;var t=uv.prototype.Y.call(this);if(2!=this.state)return t;if(256==t.width&&256==t.height)return this.a=t;var e=qe(256,256);return e.drawImage(t,0,0),this.a=e.canvas};var Tx="default",jx="truncated";function Cx(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.c={},this.i=qe(t,t),this.f=this.i.canvas}function Lx(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function Rx(t){t=t||{},this.a=void 0!==t.initialSize?t.initialSize:256,this.i=void 0!==t.maxSize?t.maxSize:void 0!==e?e:2048,this.b=void 0!==t.space?t.space:1,this.f=[new Cx(this.a,this.b)],this.c=this.a,this.g=[new Cx(this.c,this.b)]}function Ix(t,e,o,i,r,n,s){for(var a=e?t.g:t.f,p=0,h=a.length;p<h;++p){var l=a[p];if(l=l.add(o,i,r,n,s))return l;l||p!==h-1||(e?(l=Math.min(2*t.c,t.i),t.c=l):(l=Math.min(2*t.a,t.i),t.a=l),l=new Cx(l,t.b),a.push(l),++h)}return null}return Cx.prototype.get=function(t){return this.c[t]||null},Cx.prototype.add=function(t,e,o,i,r){for(var n=0,s=this.a.length;n<s;++n){var a=this.a[n];if(a.width>=e+this.b&&a.height>=o+this.b)return s={offsetX:a.x+this.b,offsetY:a.y+this.b,image:this.f},this.c[t]=s,i.call(r,this.i,a.x+this.b,a.y+this.b),t=n,e+=this.b,i=o+this.b,e=a.width-e>a.height-i?(o={x:a.x+e,y:a.y,width:a.width-e,height:a.height},{x:a.x,y:a.y+i,width:e,height:a.height-i}):(o={x:a.x+e,y:a.y,width:a.width-e,height:i},{x:a.x,y:a.y+i,width:a.width,height:a.height-i}),Lx(this,t,o,e),s}return null},Rx.prototype.add=function(t,e,o,i,r,n){return!(e+this.b>this.i||o+this.b>this.i)&&(i=Ix(this,!1,t,e,o,i,n))?(t=Ix(this,!0,t,e,o,r||w,n),{offsetX:i.offsetX,offsetY:i.offsetY,image:i.image,Zl:t.image}):null},t("ol.Attribution",ue),ue.prototype.getHTML=ue.prototype.i,t("ol.Collection",ke),ke.prototype.extend=ke.prototype.fg,ke.prototype.getArray=ke.prototype.tm,ke.prototype.getLength=ke.prototype.dc,ke.prototype.insertAt=ke.prototype.He,ke.prototype.removeAt=ke.prototype.Hg,ke.prototype.setAt=ke.prototype.Wp,t("ol.color.asArray",Ve),t("ol.color.asString",We),t("ol.colorlike.asColorLike",He),t("ol.control.defaults",ho),t("ol.coordinate.add",Ti),t("ol.coordinate.createStringXY",function(e){return function(t){return Oi(t,e)}}),t("ol.coordinate.format",Li),t("ol.coordinate.rotate",Ii),t("ol.coordinate.toStringHDMS",function(t,e){return t?Ci("NS",t[1],e)+" "+Ci("EW",t[0],e):""}),t("ol.coordinate.toStringXY",Oi),t("ol.DeviceOrientation",dh),dh.prototype.getAlpha=dh.prototype.Fk,dh.prototype.getBeta=dh.prototype.Ik,dh.prototype.getGamma=dh.prototype.Ok,dh.prototype.getHeading=dh.prototype.um,dh.prototype.getTracking=dh.prototype.Th,dh.prototype.setTracking=dh.prototype.gg,t("ol.easing.easeIn",oo),t("ol.easing.easeOut",io),t("ol.easing.inAndOut",ro),t("ol.easing.linear",no),t("ol.easing.upAndDown",function(t){return t<.5?ro(2*t):1-ro(2*(t-.5))}),t("ol.extent.boundingExtent",A),t("ol.extent.buffer",E),t("ol.extent.containsCoordinate",R),t("ol.extent.containsExtent",N),t("ol.extent.containsXY",I),t("ol.extent.createEmpty",Z),t("ol.extent.equals",z),t("ol.extent.extend",Y),t("ol.extent.getArea",_),t("ol.extent.getBottomLeft",$),t("ol.extent.getBottomRight",Q),t("ol.extent.getCenter",tt),t("ol.extent.getHeight",ot),t("ol.extent.getIntersection",it),t("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]}),t("ol.extent.getTopLeft",rt),t("ol.extent.getTopRight",nt),t("ol.extent.getWidth",st),t("ol.extent.intersects",at),t("ol.extent.isEmpty",pt),t("ol.extent.applyTransform",lt),t("ol.Feature",Nh),Nh.prototype.getGeometry=Nh.prototype.V,Nh.prototype.getId=Nh.prototype.wm,Nh.prototype.getGeometryName=Nh.prototype.Qk,Nh.prototype.getStyle=Nh.prototype.xm,Nh.prototype.getStyleFunction=Nh.prototype.Lc,Nh.prototype.setGeometry=Nh.prototype.Ra,Nh.prototype.setStyle=Nh.prototype.hg,Nh.prototype.setId=Nh.prototype.jc,Nh.prototype.setGeometryName=Nh.prototype.Tc,t("ol.featureloader.xhr",ol),t("ol.Geolocation",Jd),Jd.prototype.getAccuracy=Jd.prototype.Dk,Jd.prototype.getAccuracyGeometry=Jd.prototype.Ek,Jd.prototype.getAltitude=Jd.prototype.Gk,Jd.prototype.getAltitudeAccuracy=Jd.prototype.Hk,Jd.prototype.getHeading=Jd.prototype.ym,Jd.prototype.getPosition=Jd.prototype.zm,Jd.prototype.getProjection=Jd.prototype.Uh,Jd.prototype.getSpeed=Jd.prototype.ll,Jd.prototype.getTracking=Jd.prototype.Vh,Jd.prototype.getTrackingOptions=Jd.prototype.Gh,Jd.prototype.setProjection=Jd.prototype.Wh,Jd.prototype.setTracking=Jd.prototype.Ke,Jd.prototype.setTrackingOptions=Jd.prototype.wj,t("ol.Graticule",tv),tv.prototype.getMap=tv.prototype.Cm,tv.prototype.getMeridians=tv.prototype.al,tv.prototype.getParallels=tv.prototype.hl,t("ol.has.DEVICE_PIXEL_RATIO",No),t("ol.has.CANVAS",ko),t("ol.has.DEVICE_ORIENTATION",Do),t("ol.has.GEOLOCATION",Oo),t("ol.has.TOUCH",Uo),t("ol.has.WEBGL",Eo),sv.prototype.getImage=sv.prototype.Y,uv.prototype.getImage=uv.prototype.Y,t("ol.inherits",i),t("ol.interaction.defaults",Gn),t("ol.Kinetic",kr),t("ol.loadingstrategy.all",bb),t("ol.loadingstrategy.bbox",function(t){return[t]}),t("ol.loadingstrategy.tile",function(i){return function(t,e){e=i.tc(e),t=ie(i,t,e);var o=[];for((e=[e,0,0])[1]=t.ca;e[1]<=t.$;++e[1])for(e[2]=t.da;e[2]<=t.ia;++e[2])o.push(i.Aa(e));return o}}),t("ol.Map",Zp),Zp.prototype.addControl=Zp.prototype.kk,Zp.prototype.addInteraction=Zp.prototype.lk,Zp.prototype.addLayer=Zp.prototype.ih,Zp.prototype.addOverlay=Zp.prototype.jh,Zp.prototype.forEachFeatureAtPixel=Zp.prototype.we,Zp.prototype.forEachLayerAtPixel=Zp.prototype.Im,Zp.prototype.hasFeatureAtPixel=Zp.prototype.Yl,Zp.prototype.getEventCoordinate=Zp.prototype.Tf,Zp.prototype.getEventPixel=Zp.prototype.xe,Zp.prototype.getTarget=Zp.prototype.ag,Zp.prototype.getTargetElement=Zp.prototype.jd,Zp.prototype.getCoordinateFromPixel=Zp.prototype.Wa,Zp.prototype.getControls=Zp.prototype.Lk,Zp.prototype.getOverlays=Zp.prototype.fl,Zp.prototype.getOverlayById=Zp.prototype.el,Zp.prototype.getInteractions=Zp.prototype.Sk,Zp.prototype.getLayerGroup=Zp.prototype.Kc,Zp.prototype.getLayers=Zp.prototype.Xh,Zp.prototype.getPixelFromCoordinate=Zp.prototype.Ja,Zp.prototype.getSize=Zp.prototype.Ob,Zp.prototype.getView=Zp.prototype.Z,Zp.prototype.getViewport=Zp.prototype.sl,Zp.prototype.renderSync=Zp.prototype.Tp,Zp.prototype.removeControl=Zp.prototype.Mp,Zp.prototype.removeInteraction=Zp.prototype.Np,Zp.prototype.removeLayer=Zp.prototype.Pp,Zp.prototype.removeOverlay=Zp.prototype.Qp,Zp.prototype.setLayerGroup=Zp.prototype.qj,Zp.prototype.setSize=Zp.prototype.Qg,Zp.prototype.setTarget=Zp.prototype.Le,Zp.prototype.setView=Zp.prototype.iq,Zp.prototype.updateSize=Zp.prototype.Ad,t("ol.Object",Le),Le.prototype.getKeys=Le.prototype.O,Le.prototype.getProperties=Le.prototype.N,Le.prototype.setProperties=Le.prototype.H,Le.prototype.unset=Le.prototype.P,t("ol.Observable",Ce),t("ol.Observable.unByKey",function(t){if(Array.isArray(t))for(var e=0,o=t.length;e<o;++e)xe(t[e]);else xe(t)}),Ce.prototype.changed=Ce.prototype.s,Ce.prototype.dispatchEvent=Ce.prototype.b,Ce.prototype.getRevision=Ce.prototype.L,Ce.prototype.on=Ce.prototype.J,Ce.prototype.un=Ce.prototype.K,t("ol.Overlay",Kp),Kp.prototype.getElement=Kp.prototype.Rd,Kp.prototype.getId=Kp.prototype.Jm,Kp.prototype.getMap=Kp.prototype.Me,Kp.prototype.getOffset=Kp.prototype.Dh,Kp.prototype.getPosition=Kp.prototype.Yh,Kp.prototype.getPositioning=Kp.prototype.Eh,Kp.prototype.setElement=Kp.prototype.lj,Kp.prototype.setOffset=Kp.prototype.rj,Kp.prototype.setPosition=Kp.prototype.Ne,Kp.prototype.setPositioning=Kp.prototype.uj,t("ol.proj.METERS_PER_UNIT",vt),t("ol.proj.setProj4",function(t){bt=t}),t("ol.proj.getPointResolution",Dt),t("ol.proj.addEquivalentProjections",Ot),t("ol.proj.addProjection",Ut),t("ol.proj.addCoordinateTransforms",Bt),t("ol.proj.fromLonLat",function(t,e){return Ht(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}),t("ol.proj.toLonLat",function(t,e){return Ht(t,void 0!==e?e:"EPSG:3857","EPSG:4326")}),t("ol.proj.get",Vt),t("ol.proj.equivalent",Wt),t("ol.proj.getTransform",Zt),t("ol.proj.transform",Ht),t("ol.proj.transformExtent",qt),t("ol.render.toContext",function(t,e){var o=t.canvas,i=e||{};return e=i.pixelRatio||No,(i=i.size)&&(o.width=i[0]*e,o.height=i[1]*e,o.style.width=i[0]+"px",o.style.height=i[1]+"px"),new bs(t,e,o=[0,0,o.width,o.height],i=os(qn(),e,e),0)}),t("ol.size.toSize",W),t("ol.Sphere",gt),gt.prototype.geodesicArea=gt.prototype.a,gt.prototype.haversineDistance=gt.prototype.b,pv.prototype.getTileCoord=pv.prototype.f,t("ol.tilegrid.createXYZ",ae),mx.prototype.getFormat=mx.prototype.Lm,mx.prototype.getFeatures=mx.prototype.Km,mx.prototype.getProjection=mx.prototype.Mm,mx.prototype.setFeatures=mx.prototype.mj,mx.prototype.setProjection=mx.prototype.ig,mx.prototype.setLoader=mx.prototype.Pg,t("ol.View",Er),Er.prototype.getAnimating=Er.prototype.Ic,Er.prototype.getInteracting=Er.prototype.Rk,Er.prototype.cancelAnimations=Er.prototype.ed,Er.prototype.constrainCenter=Er.prototype.Ec,Er.prototype.getCenter=Er.prototype.wa,Er.prototype.calculateExtent=Er.prototype.dd,Er.prototype.getMaxResolution=Er.prototype.Nm,Er.prototype.getMinResolution=Er.prototype.Pm,Er.prototype.getMaxZoom=Er.prototype.Om,Er.prototype.setMaxZoom=Er.prototype.eq,Er.prototype.getMinZoom=Er.prototype.Qm,Er.prototype.setMinZoom=Er.prototype.fq,Er.prototype.getProjection=Er.prototype.Rm,Er.prototype.getResolution=Er.prototype.Pa,Er.prototype.getResolutions=Er.prototype.Sm,Er.prototype.getResolutionForExtent=Er.prototype.ze,Er.prototype.getRotation=Er.prototype.Qa,Er.prototype.getZoom=Er.prototype.Hh,Er.prototype.getZoomForResolution=Er.prototype.Ce,Er.prototype.fit=Er.prototype.Qf,Er.prototype.centerOn=Er.prototype.uk,Er.prototype.setCenter=Er.prototype.ob,Er.prototype.setResolution=Er.prototype.Vc,Er.prototype.setRotation=Er.prototype.Oe,Er.prototype.setZoom=Er.prototype.lq,t("ol.xml.getAllTextContent",Dh),t("ol.xml.parse",Gh),ea.prototype.getGL=ea.prototype.Wo,ea.prototype.useProgram=ea.prototype.Qc,t("ol.tilegrid.TileGrid",$t),$t.prototype.forEachTileCoord=$t.prototype.Rf,$t.prototype.getMaxZoom=$t.prototype.Ti,$t.prototype.getMinZoom=$t.prototype.Ui,$t.prototype.getOrigin=$t.prototype.Pc,$t.prototype.getResolution=$t.prototype.Da,$t.prototype.getResolutions=$t.prototype.Vi,$t.prototype.getTileCoordExtent=$t.prototype.Aa,$t.prototype.getTileCoordForCoordAndResolution=$t.prototype.Be,$t.prototype.getTileCoordForCoordAndZ=$t.prototype.bg,$t.prototype.getTileSize=$t.prototype.gb,$t.prototype.getZForResolution=$t.prototype.tc,t("ol.tilegrid.WMTS",xx),xx.prototype.getMatrixIds=xx.prototype.l,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Sx),t("ol.style.AtlasManager",Rx),t("ol.style.Circle",Ah),Ah.prototype.setRadius=Ah.prototype.Uc,t("ol.style.Fill",Eh),Eh.prototype.getColor=Eh.prototype.i,Eh.prototype.setColor=Eh.prototype.c,t("ol.style.Icon",Jc),Jc.prototype.getAnchor=Jc.prototype.Hc,Jc.prototype.getColor=Jc.prototype.Lo,Jc.prototype.getImage=Jc.prototype.Y,Jc.prototype.getOrigin=Jc.prototype.Oc,Jc.prototype.getSrc=Jc.prototype.Mo,Jc.prototype.getSize=Jc.prototype.ic,t("ol.style.Image",Sh),Sh.prototype.getOpacity=Sh.prototype.Ze,Sh.prototype.getRotateWithView=Sh.prototype.$e,Sh.prototype.getRotation=Sh.prototype.af,Sh.prototype.getScale=Sh.prototype.bf,Sh.prototype.getSnapToPixel=Sh.prototype.Ae,Sh.prototype.setOpacity=Sh.prototype.td,Sh.prototype.setRotation=Sh.prototype.cf,Sh.prototype.setScale=Sh.prototype.ud,t("ol.style.RegularShape",Mh),Mh.prototype.getAnchor=Mh.prototype.Hc,Mh.prototype.getAngle=Mh.prototype.Pi,Mh.prototype.getFill=Mh.prototype.Fa,Mh.prototype.getImage=Mh.prototype.Y,Mh.prototype.getOrigin=Mh.prototype.Oc,Mh.prototype.getPoints=Mh.prototype.Qi,Mh.prototype.getRadius=Mh.prototype.Ri,Mh.prototype.getRadius2=Mh.prototype.Fh,Mh.prototype.getSize=Mh.prototype.ic,Mh.prototype.getStroke=Mh.prototype.Ga,t("ol.style.Stroke",Ga),Ga.prototype.getColor=Ga.prototype.No,Ga.prototype.getLineCap=Ga.prototype.Vk,Ga.prototype.getLineDash=Ga.prototype.Oo,Ga.prototype.getLineDashOffset=Ga.prototype.Wk,Ga.prototype.getLineJoin=Ga.prototype.Xk,Ga.prototype.getMiterLimit=Ga.prototype.bl,Ga.prototype.getWidth=Ga.prototype.Po,Ga.prototype.setColor=Ga.prototype.Qo,Ga.prototype.setLineCap=Ga.prototype.aq,Ga.prototype.setLineDashOffset=Ga.prototype.bq,Ga.prototype.setLineJoin=Ga.prototype.cq,Ga.prototype.setMiterLimit=Ga.prototype.gq,Ga.prototype.setWidth=Ga.prototype.jq,t("ol.style.Style",Th),Th.prototype.getGeometry=Th.prototype.V,Th.prototype.getGeometryFunction=Th.prototype.Pk,Th.prototype.getFill=Th.prototype.Fa,Th.prototype.setFill=Th.prototype.pf,Th.prototype.getImage=Th.prototype.Y,Th.prototype.setImage=Th.prototype.Og,Th.prototype.getStroke=Th.prototype.Ga,Th.prototype.setStroke=Th.prototype.qf,Th.prototype.getText=Th.prototype.Na,Th.prototype.setText=Th.prototype.xd,Th.prototype.getZIndex=Th.prototype.Ba,Th.prototype.setGeometry=Th.prototype.Ra,Th.prototype.setZIndex=Th.prototype.Vb,t("ol.style.Text",_c),_c.prototype.getFont=_c.prototype.Nk,_c.prototype.getOffsetX=_c.prototype.cl,_c.prototype.getOffsetY=_c.prototype.dl,_c.prototype.getFill=_c.prototype.Fa,_c.prototype.getRotateWithView=_c.prototype.Ro,_c.prototype.getRotation=_c.prototype.So,_c.prototype.getScale=_c.prototype.To,_c.prototype.getStroke=_c.prototype.Ga,_c.prototype.getText=_c.prototype.Na,_c.prototype.getTextAlign=_c.prototype.nl,_c.prototype.getTextBaseline=_c.prototype.ol,_c.prototype.setFont=_c.prototype.nj,_c.prototype.setOffsetX=_c.prototype.sj,_c.prototype.setOffsetY=_c.prototype.tj,_c.prototype.setFill=_c.prototype.pf,_c.prototype.setRotation=_c.prototype.Uo,_c.prototype.setScale=_c.prototype.Si,_c.prototype.setStroke=_c.prototype.qf,_c.prototype.setText=_c.prototype.xd,_c.prototype.setTextAlign=_c.prototype.vj,_c.prototype.setTextBaseline=_c.prototype.hq,t("ol.source.BingMaps",Rw),t("ol.source.BingMaps.TOS_ATTRIBUTION",Iw),Rw.prototype.getApiKey=Rw.prototype.T,Rw.prototype.getImagerySet=Rw.prototype.fa,t("ol.source.CartoDB",Fw),Fw.prototype.getConfig=Fw.prototype.Kk,Fw.prototype.updateConfig=Fw.prototype.tq,Fw.prototype.setConfig=Fw.prototype.Xp,t("ol.source.Cluster",Ow),Ow.prototype.getDistance=Ow.prototype.$n,Ow.prototype.getSource=Ow.prototype.ao,Ow.prototype.setDistance=Ow.prototype.Yp,t("ol.source.Image",Wm),t("ol.source.ImageArcGISRest",Bw),Bw.prototype.getParams=Bw.prototype.co,Bw.prototype.getImageLoadFunction=Bw.prototype.bo,Bw.prototype.getUrl=Bw.prototype.eo,Bw.prototype.setImageLoadFunction=Bw.prototype.fo,Bw.prototype.setUrl=Bw.prototype.ho,Bw.prototype.updateParams=Bw.prototype.io,t("ol.source.ImageCanvas",Jm),t("ol.source.ImageMapGuide",Xw),Xw.prototype.getParams=Xw.prototype.ko,Xw.prototype.getImageLoadFunction=Xw.prototype.jo,Xw.prototype.updateParams=Xw.prototype.mo,Xw.prototype.setImageLoadFunction=Xw.prototype.lo,t("ol.source.ImageStatic",Vw),t("ol.source.ImageVector",_m),_m.prototype.getSource=_m.prototype.no,_m.prototype.getStyle=_m.prototype.oo,_m.prototype.getStyleFunction=_m.prototype.po,_m.prototype.setStyle=_m.prototype.Ii,t("ol.source.ImageWMS",Ww),Ww.prototype.getGetFeatureInfoUrl=Ww.prototype.so,Ww.prototype.getParams=Ww.prototype.uo,Ww.prototype.getImageLoadFunction=Ww.prototype.to,Ww.prototype.getUrl=Ww.prototype.vo,Ww.prototype.setImageLoadFunction=Ww.prototype.wo,Ww.prototype.setUrl=Ww.prototype.xo,Ww.prototype.updateParams=Ww.prototype.yo,t("ol.source.OSM",Yw),t("ol.source.OSM.ATTRIBUTION",Hw),t("ol.source.Raster",qw),qw.prototype.setOperation=qw.prototype.v,t("ol.source.Source",mb),mb.prototype.getAttributions=mb.prototype.ya,mb.prototype.getLogo=mb.prototype.xa,mb.prototype.getProjection=mb.prototype.za,mb.prototype.refresh=mb.prototype.sa,mb.prototype.setAttributions=mb.prototype.ua,t("ol.source.Stamen",tx),t("ol.source.Tile",xw),xw.prototype.getTileGrid=xw.prototype.ab,t("ol.source.TileArcGISRest",rx),rx.prototype.getParams=rx.prototype.C,rx.prototype.updateParams=rx.prototype.B,t("ol.source.TileDebug",sx),t("ol.source.TileImage",Tw),Tw.prototype.setRenderReprojectionEdges=Tw.prototype.Pb,Tw.prototype.setTileGridForProjection=Tw.prototype.Qb,t("ol.source.TileJSON",px),px.prototype.getTileJSON=px.prototype.pl,t("ol.source.TileUTFGrid",hx),hx.prototype.getTemplate=hx.prototype.ml,hx.prototype.forDataAtCoordinateAndResolution=hx.prototype.zk,t("ol.source.TileWMS",cx),cx.prototype.getGetFeatureInfoUrl=cx.prototype.Fo,cx.prototype.getParams=cx.prototype.Go,cx.prototype.updateParams=cx.prototype.Ho,Ew.prototype.getTileLoadFunction=Ew.prototype.pb,Ew.prototype.getTileUrlFunction=Ew.prototype.qb,Ew.prototype.getUrls=Ew.prototype.rb,Ew.prototype.setTileLoadFunction=Ew.prototype.vb,Ew.prototype.setTileUrlFunction=Ew.prototype.cb,Ew.prototype.setUrl=Ew.prototype.jb,Ew.prototype.setUrls=Ew.prototype.eb,t("ol.source.Vector",Sb),Sb.prototype.addFeature=Sb.prototype.yb,Sb.prototype.addFeatures=Sb.prototype.cd,Sb.prototype.forEachFeature=Sb.prototype.sh,Sb.prototype.forEachFeatureInExtent=Sb.prototype.$b,Sb.prototype.forEachFeatureIntersectingExtent=Sb.prototype.th,Sb.prototype.getFeaturesCollection=Sb.prototype.Ah,Sb.prototype.getFeatures=Sb.prototype.Xe,Sb.prototype.getFeaturesAtCoordinate=Sb.prototype.zh,Sb.prototype.getFeaturesInExtent=Sb.prototype.Uf,Sb.prototype.getClosestFeatureToCoordinate=Sb.prototype.vh,Sb.prototype.getExtent=Sb.prototype.G,Sb.prototype.getFeatureById=Sb.prototype.yh,Sb.prototype.getFormat=Sb.prototype.Mi,Sb.prototype.getUrl=Sb.prototype.Ni,Sb.prototype.removeFeature=Sb.prototype.Gb,t("ol.source.VectorTile",wx),t("ol.source.WMTS",Mx),Mx.prototype.getDimensions=Mx.prototype.Mk,Mx.prototype.getFormat=Mx.prototype.Io,Mx.prototype.getLayer=Mx.prototype.Jo,Mx.prototype.getMatrixSet=Mx.prototype.$k,Mx.prototype.getRequestEncoding=Mx.prototype.kl,Mx.prototype.getStyle=Mx.prototype.Ko,Mx.prototype.getVersion=Mx.prototype.rl,Mx.prototype.updateDimensions=Mx.prototype.uq,t("ol.source.WMTS.optionsFromCapabilities",function(t,r){var e=v(t.Contents.Layer,function(t){return t.Identifier==r.layer});if(null===e)return null;var n=t.Contents.TileMatrixSet,o=1<e.TileMatrixSetLink.length?"projection"in r?m(e.TileMatrixSetLink,function(e){var t=v(n,function(t){return t.Identifier==e.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),o=Vt(t),i=Vt(r.projection);return o&&i?Wt(o,i):t==r.projection}):m(e.TileMatrixSetLink,function(t){return t.TileMatrixSet==r.matrixSet}):0;o<0&&(o=0);var i=e.TileMatrixSetLink[o].TileMatrixSet,s=e.TileMatrixSetLink[o].TileMatrixSetLimits,a=e.Format[0];"format"in r&&(a=r.format),(o=m(e.Style,function(t){return"style"in r?t.Title==r.style:t.isDefault}))<0&&(o=0),o=e.Style[o].Identifier;var p={};"Dimension"in e&&e.Dimension.forEach(function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),p[e]=o});var h,l,u=v(t.Contents.TileMatrixSet,function(t){return t.Identifier==i}),c="projection"in r?Vt(r.projection):Vt(u.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),f=e.WGS84BoundingBox;void 0!==f&&(h=Vt("EPSG:4326").G(),h=f[0]==h[0]&&f[2]==h[2],l=qt(f,"EPSG:4326",c),(f=c.G())&&(N(f,l)||(l=void 0))),s=Sx(u,l,s);var y=[],u=void 0!==(u=r.requestEncoding)?u:"";if("OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata)for(l=0,f=(t=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;l<f;++l){var g=v(t[l].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;if(""===u&&(u=g[0]),"KVP"!==u)break;d(g,"KVP")&&y.push(t[l].href)}return y.length||(u="REST",e.ResourceURL.forEach(function(t){"tile"===t.resourceType&&(a=t.format,y.push(t.template))})),{urls:y,layer:r.layer,matrixSet:i,format:a,projection:c,requestEncoding:u,tileGrid:s,style:o,dimensions:p,wrapX:h,crossOrigin:r.crossOrigin}}),t("ol.source.XYZ",Nw),t("ol.source.Zoomify",Ax),Wy.prototype.getExtent=Wy.prototype.G,Wy.prototype.getId=Wy.prototype.Wn,Wy.prototype.getGeometry=Wy.prototype.V,Wy.prototype.getProperties=Wy.prototype.Xn,Wy.prototype.getType=Wy.prototype.U,t("ol.render.VectorContext",vs),Op.prototype.setStyle=Op.prototype.rd,Op.prototype.drawGeometry=Op.prototype.zb,Op.prototype.drawFeature=Op.prototype.te,bs.prototype.drawCircle=bs.prototype.Zb,bs.prototype.setStyle=bs.prototype.rd,bs.prototype.drawGeometry=bs.prototype.zb,bs.prototype.drawFeature=bs.prototype.te,t("ol.proj.common.add",Jt),t("ol.proj.Projection",mt),mt.prototype.getCode=mt.prototype.Jk,mt.prototype.getExtent=mt.prototype.G,mt.prototype.getUnits=mt.prototype.Un,mt.prototype.getMetersPerUnit=mt.prototype.sc,mt.prototype.getWorldExtent=mt.prototype.tl,mt.prototype.isGlobal=mt.prototype.dm,mt.prototype.setGlobal=mt.prototype.$p,mt.prototype.setExtent=mt.prototype.Vn,mt.prototype.setWorldExtent=mt.prototype.kq,mt.prototype.setGetPointResolution=mt.prototype.Zp,t("ol.proj.Units.METERS_PER_UNIT",vt),t("ol.layer.Base",Bn),Bn.prototype.getExtent=Bn.prototype.G,Bn.prototype.getMaxResolution=Bn.prototype.fc,Bn.prototype.getMinResolution=Bn.prototype.gc,Bn.prototype.getOpacity=Bn.prototype.hc,Bn.prototype.getVisible=Bn.prototype.Mb,Bn.prototype.getZIndex=Bn.prototype.Ba,Bn.prototype.setExtent=Bn.prototype.vc,Bn.prototype.setMaxResolution=Bn.prototype.Ac,Bn.prototype.setMinResolution=Bn.prototype.Bc,Bn.prototype.setOpacity=Bn.prototype.wc,Bn.prototype.setVisible=Bn.prototype.xc,Bn.prototype.setZIndex=Bn.prototype.Vb,t("ol.layer.Group",Vn),Vn.prototype.getLayers=Vn.prototype.qd,Vn.prototype.setLayers=Vn.prototype.xi,t("ol.layer.Heatmap",Lm),Lm.prototype.getBlur=Lm.prototype.uh,Lm.prototype.getGradient=Lm.prototype.Bh,Lm.prototype.getRadius=Lm.prototype.yi,Lm.prototype.setBlur=Lm.prototype.jj,Lm.prototype.setGradient=Lm.prototype.pj,Lm.prototype.setRadius=Lm.prototype.Uc,t("ol.layer.Image",Qm),Qm.prototype.getSource=Qm.prototype.ha,t("ol.layer.Layer",Zn),Zn.prototype.getSource=Zn.prototype.ha,Zn.prototype.setSource=Zn.prototype.Wc,t("ol.layer.Tile",pw),pw.prototype.getPreload=pw.prototype.Ud,pw.prototype.getSource=pw.prototype.ha,pw.prototype.setPreload=pw.prototype.zi,pw.prototype.getUseInterimTilesOnError=pw.prototype.kd,pw.prototype.setUseInterimTilesOnError=pw.prototype.Ai,t("ol.layer.Vector",db),db.prototype.getSource=db.prototype.ha,db.prototype.getStyle=db.prototype.D,db.prototype.getStyleFunction=db.prototype.C,db.prototype.setStyle=db.prototype.g,t("ol.layer.VectorTile",cw),cw.prototype.getPreload=cw.prototype.Ud,cw.prototype.getUseInterimTilesOnError=cw.prototype.kd,cw.prototype.setPreload=cw.prototype.Bi,cw.prototype.setUseInterimTilesOnError=cw.prototype.Ci,t("ol.interaction.DoubleClickZoom",Xr),t("ol.interaction.DoubleClickZoom.handleEvent",Vr),t("ol.interaction.DragAndDrop",yv),t("ol.interaction.DragAndDrop.handleEvent",Ui),t("ol.interaction.DragBox",fn),fn.prototype.getGeometry=fn.prototype.V,t("ol.interaction.DragPan",en),t("ol.interaction.DragRotate",sn),t("ol.interaction.DragRotateAndZoom",xv),t("ol.interaction.DragZoom",Sn),t("ol.interaction.Draw",jb),t("ol.interaction.Draw.handleEvent",Cb),jb.prototype.removeLastPoint=jb.prototype.Op,jb.prototype.finishDrawing=jb.prototype.Pd,jb.prototype.extend=jb.prototype.vn,t("ol.interaction.Draw.createRegularPolygon",function(r,n){return function(t,e){var o=t[0];t=t[1];var i=Math.sqrt(Fi(o,t));return Ar(e=e||Pr(new _d(o),r),o,i,n||Math.atan((t[1]-o[1])/(t[0]-o[0]))),e}}),t("ol.interaction.Draw.createBox",function(){return function(t,e){return t=A(t),(e=e||new wr(null)).ma([[$(t),Q(t),nt(t),rt(t),$(t)]]),e}}),t("ol.interaction.Extent",Wb),Wb.prototype.getExtent=Wb.prototype.G,Wb.prototype.setExtent=Wb.prototype.g,$b.prototype.extent_=$b.prototype.b,t("ol.interaction.Interaction",Or),Or.prototype.getActive=Or.prototype.c,Or.prototype.getMap=Or.prototype.f,Or.prototype.setActive=Or.prototype.Ha,t("ol.interaction.KeyboardPan",Mn),t("ol.interaction.KeyboardPan.handleEvent",Pn),t("ol.interaction.KeyboardZoom",An),t("ol.interaction.KeyboardZoom.handleEvent",En),t("ol.interaction.Modify",tm),t("ol.interaction.Modify.handleEvent",pm),tm.prototype.removePoint=tm.prototype.hj,t("ol.interaction.MouseWheelZoom",Tn),t("ol.interaction.MouseWheelZoom.handleEvent",jn),Tn.prototype.setMouseAnchor=Tn.prototype.T,t("ol.interaction.PinchRotate",Rn),t("ol.interaction.PinchZoom",kn),t("ol.interaction.Pointer",$r),t("ol.interaction.Pointer.handleEvent",tn),t("ol.interaction.Select",ym),ym.prototype.getFeatures=ym.prototype.Gn,ym.prototype.getHitTolerance=ym.prototype.Hn,ym.prototype.getLayer=ym.prototype.In,t("ol.interaction.Select.handleEvent",gm),ym.prototype.setHitTolerance=ym.prototype.Kn,t("ol.interaction.Snap",bm),bm.prototype.addFeature=bm.prototype.yb,bm.prototype.removeFeature=bm.prototype.Gb,t("ol.interaction.Translate",Sm),Sm.prototype.getHitTolerance=Sm.prototype.B,Sm.prototype.setHitTolerance=Sm.prototype.I,t("ol.geom.Circle",_d),_d.prototype.getCenter=_d.prototype.wa,_d.prototype.getRadius=_d.prototype.pd,_d.prototype.getType=_d.prototype.U,_d.prototype.intersectsExtent=_d.prototype.Xa,_d.prototype.setCenter=_d.prototype.ob,_d.prototype.setCenterAndRadius=_d.prototype.Ng,_d.prototype.setRadius=_d.prototype.Uc,_d.prototype.transform=_d.prototype.tb,t("ol.geom.Geometry",Bi),Bi.prototype.getClosestPoint=Bi.prototype.Ab,Bi.prototype.intersectsCoordinate=Bi.prototype.sb,Bi.prototype.getExtent=Bi.prototype.G,Bi.prototype.simplify=Bi.prototype.Rb,Bi.prototype.transform=Bi.prototype.tb,t("ol.geom.GeometryCollection",$l),$l.prototype.getGeometries=$l.prototype.Vf,$l.prototype.getType=$l.prototype.U,$l.prototype.intersectsExtent=$l.prototype.Xa,$l.prototype.setGeometries=$l.prototype.oj,$l.prototype.applyTransform=$l.prototype.Dc,t("ol.geom.LinearRing",ar),ar.prototype.getArea=ar.prototype.qn,ar.prototype.getCoordinates=ar.prototype.X,ar.prototype.getType=ar.prototype.U,ar.prototype.setCoordinates=ar.prototype.ma,t("ol.geom.LineString",ul),ul.prototype.appendCoordinate=ul.prototype.mk,ul.prototype.forEachSegment=ul.prototype.Ck,ul.prototype.getCoordinateAtM=ul.prototype.nn,ul.prototype.getCoordinates=ul.prototype.X,ul.prototype.getCoordinateAt=ul.prototype.wh,ul.prototype.getLength=ul.prototype.pn,ul.prototype.getType=ul.prototype.U,ul.prototype.intersectsExtent=ul.prototype.Xa,ul.prototype.setCoordinates=ul.prototype.ma,t("ol.geom.MultiLineString",fl),fl.prototype.appendLineString=fl.prototype.nk,fl.prototype.getCoordinateAtM=fl.prototype.rn,fl.prototype.getCoordinates=fl.prototype.X,fl.prototype.getLineString=fl.prototype.Yk,fl.prototype.getLineStrings=fl.prototype.gd,fl.prototype.getType=fl.prototype.U,fl.prototype.intersectsExtent=fl.prototype.Xa,fl.prototype.setCoordinates=fl.prototype.ma,t("ol.geom.MultiPoint",dl),dl.prototype.appendPoint=dl.prototype.qk,dl.prototype.getCoordinates=dl.prototype.X,dl.prototype.getPoint=dl.prototype.il,dl.prototype.getPoints=dl.prototype.Zd,dl.prototype.getType=dl.prototype.U,dl.prototype.intersectsExtent=dl.prototype.Xa,dl.prototype.setCoordinates=dl.prototype.ma,t("ol.geom.MultiPolygon",vl),vl.prototype.appendPolygon=vl.prototype.rk,vl.prototype.getArea=vl.prototype.sn,vl.prototype.getCoordinates=vl.prototype.X,vl.prototype.getInteriorPoints=vl.prototype.Uk,vl.prototype.getPolygon=vl.prototype.jl,vl.prototype.getPolygons=vl.prototype.Td,vl.prototype.getType=vl.prototype.U,vl.prototype.intersectsExtent=vl.prototype.Xa,vl.prototype.setCoordinates=vl.prototype.ma,t("ol.geom.Point",hr),hr.prototype.getCoordinates=hr.prototype.X,hr.prototype.getType=hr.prototype.U,hr.prototype.intersectsExtent=hr.prototype.Xa,hr.prototype.setCoordinates=hr.prototype.ma,t("ol.geom.Polygon",wr),wr.prototype.appendLinearRing=wr.prototype.pk,wr.prototype.getArea=wr.prototype.tn,wr.prototype.getCoordinates=wr.prototype.X,wr.prototype.getInteriorPoint=wr.prototype.Tk,wr.prototype.getLinearRingCount=wr.prototype.Zk,wr.prototype.getLinearRing=wr.prototype.Ch,wr.prototype.getLinearRings=wr.prototype.Sd,wr.prototype.getType=wr.prototype.U,wr.prototype.intersectsExtent=wr.prototype.Xa,wr.prototype.setCoordinates=wr.prototype.ma,t("ol.geom.Polygon.circular",Sr),t("ol.geom.Polygon.fromExtent",Mr),t("ol.geom.Polygon.fromCircle",Pr),t("ol.geom.SimpleGeometry",Wi),Wi.prototype.getFirstCoordinate=Wi.prototype.ac,Wi.prototype.getLastCoordinate=Wi.prototype.bc,Wi.prototype.getLayout=Wi.prototype.cc,Wi.prototype.applyTransform=Wi.prototype.Dc,t("ol.format.EsriJSON",Sl),Sl.prototype.readFeature=Sl.prototype.Tb,Sl.prototype.readFeatures=Sl.prototype.Oa,Sl.prototype.readGeometry=Sl.prototype.Sc,Sl.prototype.readProjection=Sl.prototype.kb,Sl.prototype.writeGeometry=Sl.prototype.$c,Sl.prototype.writeGeometryObject=Sl.prototype.je,Sl.prototype.writeFeature=Sl.prototype.Bd,Sl.prototype.writeFeatureObject=Sl.prototype.Zc,Sl.prototype.writeFeatures=Sl.prototype.Wb,Sl.prototype.writeFeaturesObject=Sl.prototype.he,t("ol.format.Feature",il),t("ol.format.filter.and",Jl),t("ol.format.filter.or",function(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(Hl,e))}),t("ol.format.filter.not",function(t){return new zl(t)}),t("ol.format.filter.bbox",_l),t("ol.format.filter.intersects",function(t,e,o){return new Bl(t,e,o)}),t("ol.format.filter.within",function(t,e,o){return new ql(t,e,o)}),t("ol.format.filter.equalTo",function(t,e,o){return new Dl(t,e,o)}),t("ol.format.filter.notEqualTo",function(t,e,o){return new Yl(t,e,o)}),t("ol.format.filter.lessThan",function(t,e){return new Zl(t,e)}),t("ol.format.filter.lessThanOrEqualTo",function(t,e){return new Kl(t,e)}),t("ol.format.filter.greaterThan",function(t,e){return new Ol(t,e)}),t("ol.format.filter.greaterThanOrEqualTo",function(t,e){return new Ul(t,e)}),t("ol.format.filter.isNull",function(t){return new Wl(t)}),t("ol.format.filter.between",function(t,e,o){return new Xl(t,e,o)}),t("ol.format.filter.like",function(t,e,o,i,r,n){return new Vl(t,e,o,i,r,n)}),t("ol.format.filter.during",function(t,e,o){return new Fl(t,e,o)}),t("ol.format.GeoJSON",ou),ou.prototype.readFeature=ou.prototype.Tb,ou.prototype.readFeatures=ou.prototype.Oa,ou.prototype.readGeometry=ou.prototype.Sc,ou.prototype.readProjection=ou.prototype.kb,ou.prototype.writeFeature=ou.prototype.Bd,ou.prototype.writeFeatureObject=ou.prototype.Zc,ou.prototype.writeFeatures=ou.prototype.Wb,ou.prototype.writeFeaturesObject=ou.prototype.he,ou.prototype.writeGeometry=ou.prototype.$c,ou.prototype.writeGeometryObject=ou.prototype.je,t("ol.format.GML",Pu),Pu.prototype.writeFeatures=Pu.prototype.Wb,Pu.prototype.writeFeaturesNode=Pu.prototype.Xb,t("ol.format.GML2",Fu),t("ol.format.GML3",Pu),Pu.prototype.writeGeometryNode=Pu.prototype.ie,Pu.prototype.writeFeatures=Pu.prototype.Wb,Pu.prototype.writeFeaturesNode=Pu.prototype.Xb,lu.prototype.readFeatures=lu.prototype.Oa,t("ol.format.GPX",Ku),Ku.prototype.readFeature=Ku.prototype.Tb,Ku.prototype.readFeatures=Ku.prototype.Oa,Ku.prototype.readProjection=Ku.prototype.kb,Ku.prototype.writeFeatures=Ku.prototype.Wb,Ku.prototype.writeFeaturesNode=Ku.prototype.Xb,t("ol.format.IGC",jc),jc.prototype.readFeature=jc.prototype.Tb,jc.prototype.readFeatures=jc.prototype.Oa,jc.prototype.readProjection=jc.prototype.kb,t("ol.format.KML",$c),$c.prototype.readFeature=$c.prototype.Tb,$c.prototype.readFeatures=$c.prototype.Oa,$c.prototype.readName=$c.prototype.Cp,$c.prototype.readNetworkLinks=$c.prototype.Dp,$c.prototype.readRegion=$c.prototype.Gp,$c.prototype.readRegionFromNode=$c.prototype.lf,$c.prototype.readProjection=$c.prototype.kb,$c.prototype.writeFeatures=$c.prototype.Wb,$c.prototype.writeFeaturesNode=$c.prototype.Xb,t("ol.format.MVT",Zy),Zy.prototype.readFeatures=Zy.prototype.Oa,Zy.prototype.readProjection=Zy.prototype.kb,Zy.prototype.setLayers=Zy.prototype.mn,t("ol.format.OSMXML",zy),zy.prototype.readFeatures=zy.prototype.Oa,zy.prototype.readProjection=zy.prototype.kb,t("ol.format.Polyline",vg),t("ol.format.Polyline.encodeDeltas",bg),t("ol.format.Polyline.decodeDeltas",mg),t("ol.format.Polyline.encodeFloats",wg),t("ol.format.Polyline.decodeFloats",xg),vg.prototype.readFeature=vg.prototype.Tb,vg.prototype.readFeatures=vg.prototype.Oa,vg.prototype.readGeometry=vg.prototype.Sc,vg.prototype.readProjection=vg.prototype.kb,vg.prototype.writeGeometry=vg.prototype.$c,t("ol.format.TopoJSON",Sg),Sg.prototype.readFeatures=Sg.prototype.Oa,Sg.prototype.readProjection=Sg.prototype.kb,t("ol.format.WFS",Tg),Tg.prototype.readFeatures=Tg.prototype.Oa,Tg.prototype.readTransactionResponse=Tg.prototype.j,Tg.prototype.readFeatureCollectionMetadata=Tg.prototype.g,t("ol.format.WFS.writeFilter",function(t){var e=kh("http://www.opengis.net/ogc","Filter");return tl({node:e},Yg,Yh(t.kc),[t],[]),e}),Tg.prototype.writeGetFeature=Tg.prototype.l,Tg.prototype.writeTransaction=Tg.prototype.v,Tg.prototype.readProjection=Tg.prototype.kb,t("ol.format.WKT",Hg),Hg.prototype.readFeature=Hg.prototype.Tb,Hg.prototype.readFeatures=Hg.prototype.Oa,Hg.prototype.readGeometry=Hg.prototype.Sc,Hg.prototype.writeFeature=Hg.prototype.Bd,Hg.prototype.writeFeatures=Hg.prototype.Wb,Hg.prototype.writeGeometry=Hg.prototype.$c,t("ol.format.WMSCapabilities",ud),t("ol.format.WMSGetFeatureInfo",Fd),Fd.prototype.readFeatures=Fd.prototype.Oa,t("ol.format.WMTSCapabilities",kd),t("ol.format.filter.And",Rl),t("ol.format.filter.Bbox",Il),t("ol.format.filter.Comparison",Nl),t("ol.format.filter.ComparisonBinary",kl),t("ol.format.filter.During",Fl),t("ol.format.filter.EqualTo",Dl),t("ol.format.filter.Filter",Cl),t("ol.format.filter.GreaterThan",Ol),t("ol.format.filter.GreaterThanOrEqualTo",Ul),t("ol.format.filter.Intersects",Bl),t("ol.format.filter.IsBetween",Xl),t("ol.format.filter.IsLike",Vl),t("ol.format.filter.IsNull",Wl),t("ol.format.filter.LessThan",Zl),t("ol.format.filter.LessThanOrEqualTo",Kl),t("ol.format.filter.Not",zl),t("ol.format.filter.NotEqualTo",Yl),t("ol.format.filter.Or",Hl),t("ol.format.filter.Spatial",Gl),t("ol.format.filter.Within",ql),t("ol.events.condition.altKeyOnly",function(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}),t("ol.events.condition.altShiftKeysOnly",Wr),t("ol.events.condition.always",Ui),t("ol.events.condition.click",function(t){return"click"==t.type}),t("ol.events.condition.never",Gi),t("ol.events.condition.pointerMove",Kr),t("ol.events.condition.singleClick",zr),t("ol.events.condition.doubleClick",function(t){return"dblclick"==t.type}),t("ol.events.condition.noModifierKeys",Yr),t("ol.events.condition.platformModifierKeyOnly",function(t){return!(t=t.originalEvent).altKey&&(Io?t.metaKey:t.ctrlKey)&&!t.shiftKey}),t("ol.events.condition.shiftKeyOnly",Hr),t("ol.events.condition.targetNotEditable",qr),t("ol.events.condition.mouseOnly",Jr),t("ol.events.condition.primaryAction",_r),t("ol.control.Attribution",Qe),t("ol.control.Attribution.render",to),Qe.prototype.getCollapsible=Qe.prototype.Um,Qe.prototype.setCollapsible=Qe.prototype.Xm,Qe.prototype.setCollapsed=Qe.prototype.Wm,Qe.prototype.getCollapsed=Qe.prototype.Tm,t("ol.control.Control",$e),$e.prototype.getMap=$e.prototype.g,$e.prototype.setTarget=$e.prototype.f,t("ol.control.FullScreen",lo),t("ol.control.MousePosition",vo),t("ol.control.MousePosition.render",bo),vo.prototype.getCoordinateFormat=vo.prototype.xh,vo.prototype.getProjection=vo.prototype.Zh,vo.prototype.setCoordinateFormat=vo.prototype.kj,vo.prototype.setProjection=vo.prototype.$h,t("ol.control.OverviewMap",th),t("ol.control.OverviewMap.render",eh),th.prototype.getCollapsible=th.prototype.$m,th.prototype.setCollapsible=th.prototype.cn,th.prototype.setCollapsed=th.prototype.bn,th.prototype.getCollapsed=th.prototype.Zm,th.prototype.getOverviewMap=th.prototype.gl,t("ol.control.Rotate",so),t("ol.control.Rotate.render",ao),t("ol.control.ScaleLine",nh),nh.prototype.getUnits=nh.prototype.C,t("ol.control.ScaleLine.render",ah),nh.prototype.setUnits=nh.prototype.I,t("ol.control.Zoom",po),t("ol.control.ZoomSlider",lh),t("ol.control.ZoomSlider.render",ch),t("ol.control.ZoomToExtent",gh),Le.prototype.changed=Le.prototype.s,Le.prototype.dispatchEvent=Le.prototype.b,Le.prototype.getRevision=Le.prototype.L,Le.prototype.on=Le.prototype.J,Le.prototype.un=Le.prototype.K,ke.prototype.getKeys=ke.prototype.O,ke.prototype.getProperties=ke.prototype.N,ke.prototype.setProperties=ke.prototype.H,ke.prototype.unset=ke.prototype.P,ke.prototype.changed=ke.prototype.s,ke.prototype.dispatchEvent=ke.prototype.b,ke.prototype.getRevision=ke.prototype.L,ke.prototype.on=ke.prototype.J,ke.prototype.un=ke.prototype.K,dh.prototype.getKeys=dh.prototype.O,dh.prototype.getProperties=dh.prototype.N,dh.prototype.setProperties=dh.prototype.H,dh.prototype.unset=dh.prototype.P,dh.prototype.changed=dh.prototype.s,dh.prototype.dispatchEvent=dh.prototype.b,dh.prototype.getRevision=dh.prototype.L,dh.prototype.on=dh.prototype.J,dh.prototype.un=dh.prototype.K,Nh.prototype.getKeys=Nh.prototype.O,Nh.prototype.getProperties=Nh.prototype.N,Nh.prototype.setProperties=Nh.prototype.H,Nh.prototype.unset=Nh.prototype.P,Nh.prototype.changed=Nh.prototype.s,Nh.prototype.dispatchEvent=Nh.prototype.b,Nh.prototype.getRevision=Nh.prototype.L,Nh.prototype.on=Nh.prototype.J,Nh.prototype.un=Nh.prototype.K,Jd.prototype.getKeys=Jd.prototype.O,Jd.prototype.getProperties=Jd.prototype.N,Jd.prototype.setProperties=Jd.prototype.H,Jd.prototype.unset=Jd.prototype.P,Jd.prototype.changed=Jd.prototype.s,Jd.prototype.dispatchEvent=Jd.prototype.b,Jd.prototype.getRevision=Jd.prototype.L,Jd.prototype.on=Jd.prototype.J,Jd.prototype.un=Jd.prototype.K,uv.prototype.getTileCoord=uv.prototype.f,Zp.prototype.getKeys=Zp.prototype.O,Zp.prototype.getProperties=Zp.prototype.N,Zp.prototype.setProperties=Zp.prototype.H,Zp.prototype.unset=Zp.prototype.P,Zp.prototype.changed=Zp.prototype.s,Zp.prototype.dispatchEvent=Zp.prototype.b,Zp.prototype.getRevision=Zp.prototype.L,Zp.prototype.on=Zp.prototype.J,Zp.prototype.un=Zp.prototype.K,Kp.prototype.getKeys=Kp.prototype.O,Kp.prototype.getProperties=Kp.prototype.N,Kp.prototype.setProperties=Kp.prototype.H,Kp.prototype.unset=Kp.prototype.P,Kp.prototype.changed=Kp.prototype.s,Kp.prototype.dispatchEvent=Kp.prototype.b,Kp.prototype.getRevision=Kp.prototype.L,Kp.prototype.on=Kp.prototype.J,Kp.prototype.un=Kp.prototype.K,vx.prototype.getTileCoord=vx.prototype.f,mx.prototype.getTileCoord=mx.prototype.f,Er.prototype.getKeys=Er.prototype.O,Er.prototype.getProperties=Er.prototype.N,Er.prototype.setProperties=Er.prototype.H,Er.prototype.unset=Er.prototype.P,Er.prototype.changed=Er.prototype.s,Er.prototype.dispatchEvent=Er.prototype.b,Er.prototype.getRevision=Er.prototype.L,Er.prototype.on=Er.prototype.J,Er.prototype.un=Er.prototype.K,xx.prototype.forEachTileCoord=xx.prototype.Rf,xx.prototype.getMaxZoom=xx.prototype.Ti,xx.prototype.getMinZoom=xx.prototype.Ui,xx.prototype.getOrigin=xx.prototype.Pc,xx.prototype.getResolution=xx.prototype.Da,xx.prototype.getResolutions=xx.prototype.Vi,xx.prototype.getTileCoordExtent=xx.prototype.Aa,xx.prototype.getTileCoordForCoordAndResolution=xx.prototype.Be,xx.prototype.getTileCoordForCoordAndZ=xx.prototype.bg,xx.prototype.getTileSize=xx.prototype.gb,xx.prototype.getZForResolution=xx.prototype.tc,Mh.prototype.getOpacity=Mh.prototype.Ze,Mh.prototype.getRotateWithView=Mh.prototype.$e,Mh.prototype.getRotation=Mh.prototype.af,Mh.prototype.getScale=Mh.prototype.bf,Mh.prototype.getSnapToPixel=Mh.prototype.Ae,Mh.prototype.setOpacity=Mh.prototype.td,Mh.prototype.setRotation=Mh.prototype.cf,Mh.prototype.setScale=Mh.prototype.ud,Ah.prototype.getAngle=Ah.prototype.Pi,Ah.prototype.getFill=Ah.prototype.Fa,Ah.prototype.getPoints=Ah.prototype.Qi,Ah.prototype.getRadius=Ah.prototype.Ri,Ah.prototype.getRadius2=Ah.prototype.Fh,Ah.prototype.getStroke=Ah.prototype.Ga,Ah.prototype.getOpacity=Ah.prototype.Ze,Ah.prototype.getRotateWithView=Ah.prototype.$e,Ah.prototype.getRotation=Ah.prototype.af,Ah.prototype.getScale=Ah.prototype.bf,Ah.prototype.getSnapToPixel=Ah.prototype.Ae,Ah.prototype.setOpacity=Ah.prototype.td,Ah.prototype.setRotation=Ah.prototype.cf,Ah.prototype.setScale=Ah.prototype.ud,Jc.prototype.getOpacity=Jc.prototype.Ze,Jc.prototype.getRotateWithView=Jc.prototype.$e,Jc.prototype.getRotation=Jc.prototype.af,Jc.prototype.getScale=Jc.prototype.bf,Jc.prototype.getSnapToPixel=Jc.prototype.Ae,Jc.prototype.setOpacity=Jc.prototype.td,Jc.prototype.setRotation=Jc.prototype.cf,Jc.prototype.setScale=Jc.prototype.ud,mb.prototype.getKeys=mb.prototype.O,mb.prototype.getProperties=mb.prototype.N,mb.prototype.setProperties=mb.prototype.H,mb.prototype.unset=mb.prototype.P,mb.prototype.changed=mb.prototype.s,mb.prototype.dispatchEvent=mb.prototype.b,mb.prototype.getRevision=mb.prototype.L,mb.prototype.on=mb.prototype.J,mb.prototype.un=mb.prototype.K,xw.prototype.getAttributions=xw.prototype.ya,xw.prototype.getLogo=xw.prototype.xa,xw.prototype.getProjection=xw.prototype.za,xw.prototype.refresh=xw.prototype.sa,xw.prototype.setAttributions=xw.prototype.ua,xw.prototype.getKeys=xw.prototype.O,xw.prototype.getProperties=xw.prototype.N,xw.prototype.setProperties=xw.prototype.H,xw.prototype.unset=xw.prototype.P,xw.prototype.changed=xw.prototype.s,xw.prototype.dispatchEvent=xw.prototype.b,xw.prototype.getRevision=xw.prototype.L,xw.prototype.on=xw.prototype.J,xw.prototype.un=xw.prototype.K,Ew.prototype.getTileGrid=Ew.prototype.ab,Ew.prototype.refresh=Ew.prototype.sa,Ew.prototype.getAttributions=Ew.prototype.ya,Ew.prototype.getLogo=Ew.prototype.xa,Ew.prototype.getProjection=Ew.prototype.za,Ew.prototype.setAttributions=Ew.prototype.ua,Ew.prototype.getKeys=Ew.prototype.O,Ew.prototype.getProperties=Ew.prototype.N,Ew.prototype.setProperties=Ew.prototype.H,Ew.prototype.unset=Ew.prototype.P,Ew.prototype.changed=Ew.prototype.s,Ew.prototype.dispatchEvent=Ew.prototype.b,Ew.prototype.getRevision=Ew.prototype.L,Ew.prototype.on=Ew.prototype.J,Ew.prototype.un=Ew.prototype.K,Tw.prototype.getTileLoadFunction=Tw.prototype.pb,Tw.prototype.getTileUrlFunction=Tw.prototype.qb,Tw.prototype.getUrls=Tw.prototype.rb,Tw.prototype.setTileLoadFunction=Tw.prototype.vb,Tw.prototype.setTileUrlFunction=Tw.prototype.cb,Tw.prototype.setUrl=Tw.prototype.jb,Tw.prototype.setUrls=Tw.prototype.eb,Tw.prototype.getTileGrid=Tw.prototype.ab,Tw.prototype.refresh=Tw.prototype.sa,Tw.prototype.getAttributions=Tw.prototype.ya,Tw.prototype.getLogo=Tw.prototype.xa,Tw.prototype.getProjection=Tw.prototype.za,Tw.prototype.setAttributions=Tw.prototype.ua,Tw.prototype.getKeys=Tw.prototype.O,Tw.prototype.getProperties=Tw.prototype.N,Tw.prototype.setProperties=Tw.prototype.H,Tw.prototype.unset=Tw.prototype.P,Tw.prototype.changed=Tw.prototype.s,Tw.prototype.dispatchEvent=Tw.prototype.b,Tw.prototype.getRevision=Tw.prototype.L,Tw.prototype.on=Tw.prototype.J,Tw.prototype.un=Tw.prototype.K,Rw.prototype.setRenderReprojectionEdges=Rw.prototype.Pb,Rw.prototype.setTileGridForProjection=Rw.prototype.Qb,Rw.prototype.getTileLoadFunction=Rw.prototype.pb,Rw.prototype.getTileUrlFunction=Rw.prototype.qb,Rw.prototype.getUrls=Rw.prototype.rb,Rw.prototype.setTileLoadFunction=Rw.prototype.vb,Rw.prototype.setTileUrlFunction=Rw.prototype.cb,Rw.prototype.setUrl=Rw.prototype.jb,Rw.prototype.setUrls=Rw.prototype.eb,Rw.prototype.getTileGrid=Rw.prototype.ab,Rw.prototype.refresh=Rw.prototype.sa,Rw.prototype.getAttributions=Rw.prototype.ya,Rw.prototype.getLogo=Rw.prototype.xa,Rw.prototype.getProjection=Rw.prototype.za,Rw.prototype.setAttributions=Rw.prototype.ua,Rw.prototype.getKeys=Rw.prototype.O,Rw.prototype.getProperties=Rw.prototype.N,Rw.prototype.setProperties=Rw.prototype.H,Rw.prototype.unset=Rw.prototype.P,Rw.prototype.changed=Rw.prototype.s,Rw.prototype.dispatchEvent=Rw.prototype.b,Rw.prototype.getRevision=Rw.prototype.L,Rw.prototype.on=Rw.prototype.J,Rw.prototype.un=Rw.prototype.K,Nw.prototype.setRenderReprojectionEdges=Nw.prototype.Pb,Nw.prototype.setTileGridForProjection=Nw.prototype.Qb,Nw.prototype.getTileLoadFunction=Nw.prototype.pb,Nw.prototype.getTileUrlFunction=Nw.prototype.qb,Nw.prototype.getUrls=Nw.prototype.rb,Nw.prototype.setTileLoadFunction=Nw.prototype.vb,Nw.prototype.setTileUrlFunction=Nw.prototype.cb,Nw.prototype.setUrl=Nw.prototype.jb,Nw.prototype.setUrls=Nw.prototype.eb,Nw.prototype.getTileGrid=Nw.prototype.ab,Nw.prototype.refresh=Nw.prototype.sa,Nw.prototype.getAttributions=Nw.prototype.ya,Nw.prototype.getLogo=Nw.prototype.xa,Nw.prototype.getProjection=Nw.prototype.za,Nw.prototype.setAttributions=Nw.prototype.ua,Nw.prototype.getKeys=Nw.prototype.O,Nw.prototype.getProperties=Nw.prototype.N,Nw.prototype.setProperties=Nw.prototype.H,Nw.prototype.unset=Nw.prototype.P,Nw.prototype.changed=Nw.prototype.s,Nw.prototype.dispatchEvent=Nw.prototype.b,Nw.prototype.getRevision=Nw.prototype.L,Nw.prototype.on=Nw.prototype.J,Nw.prototype.un=Nw.prototype.K,Fw.prototype.setRenderReprojectionEdges=Fw.prototype.Pb,Fw.prototype.setTileGridForProjection=Fw.prototype.Qb,Fw.prototype.getTileLoadFunction=Fw.prototype.pb,Fw.prototype.getTileUrlFunction=Fw.prototype.qb,Fw.prototype.getUrls=Fw.prototype.rb,Fw.prototype.setTileLoadFunction=Fw.prototype.vb,Fw.prototype.setTileUrlFunction=Fw.prototype.cb,Fw.prototype.setUrl=Fw.prototype.jb,Fw.prototype.setUrls=Fw.prototype.eb,Fw.prototype.getTileGrid=Fw.prototype.ab,Fw.prototype.refresh=Fw.prototype.sa,Fw.prototype.getAttributions=Fw.prototype.ya,Fw.prototype.getLogo=Fw.prototype.xa,Fw.prototype.getProjection=Fw.prototype.za,Fw.prototype.setAttributions=Fw.prototype.ua,Fw.prototype.getKeys=Fw.prototype.O,Fw.prototype.getProperties=Fw.prototype.N,Fw.prototype.setProperties=Fw.prototype.H,Fw.prototype.unset=Fw.prototype.P,Fw.prototype.changed=Fw.prototype.s,Fw.prototype.dispatchEvent=Fw.prototype.b,Fw.prototype.getRevision=Fw.prototype.L,Fw.prototype.on=Fw.prototype.J,Fw.prototype.un=Fw.prototype.K,Sb.prototype.getAttributions=Sb.prototype.ya,Sb.prototype.getLogo=Sb.prototype.xa,Sb.prototype.getProjection=Sb.prototype.za,Sb.prototype.refresh=Sb.prototype.sa,Sb.prototype.setAttributions=Sb.prototype.ua,Sb.prototype.getKeys=Sb.prototype.O,Sb.prototype.getProperties=Sb.prototype.N,Sb.prototype.setProperties=Sb.prototype.H,Sb.prototype.unset=Sb.prototype.P,Sb.prototype.changed=Sb.prototype.s,Sb.prototype.dispatchEvent=Sb.prototype.b,Sb.prototype.getRevision=Sb.prototype.L,Sb.prototype.on=Sb.prototype.J,Sb.prototype.un=Sb.prototype.K,Ow.prototype.addFeature=Ow.prototype.yb,Ow.prototype.addFeatures=Ow.prototype.cd,Ow.prototype.forEachFeature=Ow.prototype.sh,Ow.prototype.forEachFeatureInExtent=Ow.prototype.$b,Ow.prototype.forEachFeatureIntersectingExtent=Ow.prototype.th,Ow.prototype.getFeaturesCollection=Ow.prototype.Ah,Ow.prototype.getFeatures=Ow.prototype.Xe,Ow.prototype.getFeaturesAtCoordinate=Ow.prototype.zh,Ow.prototype.getFeaturesInExtent=Ow.prototype.Uf,Ow.prototype.getClosestFeatureToCoordinate=Ow.prototype.vh,Ow.prototype.getExtent=Ow.prototype.G,Ow.prototype.getFeatureById=Ow.prototype.yh,Ow.prototype.getFormat=Ow.prototype.Mi,Ow.prototype.getUrl=Ow.prototype.Ni,Ow.prototype.removeFeature=Ow.prototype.Gb,Ow.prototype.getAttributions=Ow.prototype.ya,Ow.prototype.getLogo=Ow.prototype.xa,Ow.prototype.getProjection=Ow.prototype.za,Ow.prototype.refresh=Ow.prototype.sa,Ow.prototype.setAttributions=Ow.prototype.ua,Ow.prototype.getKeys=Ow.prototype.O,Ow.prototype.getProperties=Ow.prototype.N,Ow.prototype.setProperties=Ow.prototype.H,Ow.prototype.unset=Ow.prototype.P,Ow.prototype.changed=Ow.prototype.s,Ow.prototype.dispatchEvent=Ow.prototype.b,Ow.prototype.getRevision=Ow.prototype.L,Ow.prototype.on=Ow.prototype.J,Ow.prototype.un=Ow.prototype.K,Wm.prototype.getAttributions=Wm.prototype.ya,Wm.prototype.getLogo=Wm.prototype.xa,Wm.prototype.getProjection=Wm.prototype.za,Wm.prototype.refresh=Wm.prototype.sa,Wm.prototype.setAttributions=Wm.prototype.ua,Wm.prototype.getKeys=Wm.prototype.O,Wm.prototype.getProperties=Wm.prototype.N,Wm.prototype.setProperties=Wm.prototype.H,Wm.prototype.unset=Wm.prototype.P,Wm.prototype.changed=Wm.prototype.s,Wm.prototype.dispatchEvent=Wm.prototype.b,Wm.prototype.getRevision=Wm.prototype.L,Wm.prototype.on=Wm.prototype.J,Wm.prototype.un=Wm.prototype.K,Bw.prototype.getAttributions=Bw.prototype.ya,Bw.prototype.getLogo=Bw.prototype.xa,Bw.prototype.getProjection=Bw.prototype.za,Bw.prototype.refresh=Bw.prototype.sa,Bw.prototype.setAttributions=Bw.prototype.ua,Bw.prototype.getKeys=Bw.prototype.O,Bw.prototype.getProperties=Bw.prototype.N,Bw.prototype.setProperties=Bw.prototype.H,Bw.prototype.unset=Bw.prototype.P,Bw.prototype.changed=Bw.prototype.s,Bw.prototype.dispatchEvent=Bw.prototype.b,Bw.prototype.getRevision=Bw.prototype.L,Bw.prototype.on=Bw.prototype.J,Bw.prototype.un=Bw.prototype.K,Jm.prototype.getAttributions=Jm.prototype.ya,Jm.prototype.getLogo=Jm.prototype.xa,Jm.prototype.getProjection=Jm.prototype.za,Jm.prototype.refresh=Jm.prototype.sa,Jm.prototype.setAttributions=Jm.prototype.ua,Jm.prototype.getKeys=Jm.prototype.O,Jm.prototype.getProperties=Jm.prototype.N,Jm.prototype.setProperties=Jm.prototype.H,Jm.prototype.unset=Jm.prototype.P,Jm.prototype.changed=Jm.prototype.s,Jm.prototype.dispatchEvent=Jm.prototype.b,Jm.prototype.getRevision=Jm.prototype.L,Jm.prototype.on=Jm.prototype.J,Jm.prototype.un=Jm.prototype.K,Xw.prototype.getAttributions=Xw.prototype.ya,Xw.prototype.getLogo=Xw.prototype.xa,Xw.prototype.getProjection=Xw.prototype.za,Xw.prototype.refresh=Xw.prototype.sa,Xw.prototype.setAttributions=Xw.prototype.ua,Xw.prototype.getKeys=Xw.prototype.O,Xw.prototype.getProperties=Xw.prototype.N,Xw.prototype.setProperties=Xw.prototype.H,Xw.prototype.unset=Xw.prototype.P,Xw.prototype.changed=Xw.prototype.s,Xw.prototype.dispatchEvent=Xw.prototype.b,Xw.prototype.getRevision=Xw.prototype.L,Xw.prototype.on=Xw.prototype.J,Xw.prototype.un=Xw.prototype.K,Vw.prototype.getAttributions=Vw.prototype.ya,Vw.prototype.getLogo=Vw.prototype.xa,Vw.prototype.getProjection=Vw.prototype.za,Vw.prototype.refresh=Vw.prototype.sa,Vw.prototype.setAttributions=Vw.prototype.ua,Vw.prototype.getKeys=Vw.prototype.O,Vw.prototype.getProperties=Vw.prototype.N,Vw.prototype.setProperties=Vw.prototype.H,Vw.prototype.unset=Vw.prototype.P,Vw.prototype.changed=Vw.prototype.s,Vw.prototype.dispatchEvent=Vw.prototype.b,Vw.prototype.getRevision=Vw.prototype.L,Vw.prototype.on=Vw.prototype.J,Vw.prototype.un=Vw.prototype.K,_m.prototype.getAttributions=_m.prototype.ya,_m.prototype.getLogo=_m.prototype.xa,_m.prototype.getProjection=_m.prototype.za,_m.prototype.refresh=_m.prototype.sa,_m.prototype.setAttributions=_m.prototype.ua,_m.prototype.getKeys=_m.prototype.O,_m.prototype.getProperties=_m.prototype.N,_m.prototype.setProperties=_m.prototype.H,_m.prototype.unset=_m.prototype.P,_m.prototype.changed=_m.prototype.s,_m.prototype.dispatchEvent=_m.prototype.b,_m.prototype.getRevision=_m.prototype.L,_m.prototype.on=_m.prototype.J,_m.prototype.un=_m.prototype.K,Ww.prototype.getAttributions=Ww.prototype.ya,Ww.prototype.getLogo=Ww.prototype.xa,Ww.prototype.getProjection=Ww.prototype.za,Ww.prototype.refresh=Ww.prototype.sa,Ww.prototype.setAttributions=Ww.prototype.ua,Ww.prototype.getKeys=Ww.prototype.O,Ww.prototype.getProperties=Ww.prototype.N,Ww.prototype.setProperties=Ww.prototype.H,Ww.prototype.unset=Ww.prototype.P,Ww.prototype.changed=Ww.prototype.s,Ww.prototype.dispatchEvent=Ww.prototype.b,Ww.prototype.getRevision=Ww.prototype.L,Ww.prototype.on=Ww.prototype.J,Ww.prototype.un=Ww.prototype.K,Yw.prototype.setRenderReprojectionEdges=Yw.prototype.Pb,Yw.prototype.setTileGridForProjection=Yw.prototype.Qb,Yw.prototype.getTileLoadFunction=Yw.prototype.pb,Yw.prototype.getTileUrlFunction=Yw.prototype.qb,Yw.prototype.getUrls=Yw.prototype.rb,Yw.prototype.setTileLoadFunction=Yw.prototype.vb,Yw.prototype.setTileUrlFunction=Yw.prototype.cb,Yw.prototype.setUrl=Yw.prototype.jb,Yw.prototype.setUrls=Yw.prototype.eb,Yw.prototype.getTileGrid=Yw.prototype.ab,Yw.prototype.refresh=Yw.prototype.sa,Yw.prototype.getAttributions=Yw.prototype.ya,Yw.prototype.getLogo=Yw.prototype.xa,Yw.prototype.getProjection=Yw.prototype.za,Yw.prototype.setAttributions=Yw.prototype.ua,Yw.prototype.getKeys=Yw.prototype.O,Yw.prototype.getProperties=Yw.prototype.N,Yw.prototype.setProperties=Yw.prototype.H,Yw.prototype.unset=Yw.prototype.P,Yw.prototype.changed=Yw.prototype.s,Yw.prototype.dispatchEvent=Yw.prototype.b,Yw.prototype.getRevision=Yw.prototype.L,Yw.prototype.on=Yw.prototype.J,Yw.prototype.un=Yw.prototype.K,qw.prototype.getAttributions=qw.prototype.ya,qw.prototype.getLogo=qw.prototype.xa,qw.prototype.getProjection=qw.prototype.za,qw.prototype.refresh=qw.prototype.sa,qw.prototype.setAttributions=qw.prototype.ua,qw.prototype.getKeys=qw.prototype.O,qw.prototype.getProperties=qw.prototype.N,qw.prototype.setProperties=qw.prototype.H,qw.prototype.unset=qw.prototype.P,qw.prototype.changed=qw.prototype.s,qw.prototype.dispatchEvent=qw.prototype.b,qw.prototype.getRevision=qw.prototype.L,qw.prototype.on=qw.prototype.J,qw.prototype.un=qw.prototype.K,tx.prototype.setRenderReprojectionEdges=tx.prototype.Pb,tx.prototype.setTileGridForProjection=tx.prototype.Qb,tx.prototype.getTileLoadFunction=tx.prototype.pb,tx.prototype.getTileUrlFunction=tx.prototype.qb,tx.prototype.getUrls=tx.prototype.rb,tx.prototype.setTileLoadFunction=tx.prototype.vb,tx.prototype.setTileUrlFunction=tx.prototype.cb,tx.prototype.setUrl=tx.prototype.jb,tx.prototype.setUrls=tx.prototype.eb,tx.prototype.getTileGrid=tx.prototype.ab,tx.prototype.refresh=tx.prototype.sa,tx.prototype.getAttributions=tx.prototype.ya,tx.prototype.getLogo=tx.prototype.xa,tx.prototype.getProjection=tx.prototype.za,tx.prototype.setAttributions=tx.prototype.ua,tx.prototype.getKeys=tx.prototype.O,tx.prototype.getProperties=tx.prototype.N,tx.prototype.setProperties=tx.prototype.H,tx.prototype.unset=tx.prototype.P,tx.prototype.changed=tx.prototype.s,tx.prototype.dispatchEvent=tx.prototype.b,tx.prototype.getRevision=tx.prototype.L,tx.prototype.on=tx.prototype.J,tx.prototype.un=tx.prototype.K,rx.prototype.setRenderReprojectionEdges=rx.prototype.Pb,rx.prototype.setTileGridForProjection=rx.prototype.Qb,rx.prototype.getTileLoadFunction=rx.prototype.pb,rx.prototype.getTileUrlFunction=rx.prototype.qb,rx.prototype.getUrls=rx.prototype.rb,rx.prototype.setTileLoadFunction=rx.prototype.vb,rx.prototype.setTileUrlFunction=rx.prototype.cb,rx.prototype.setUrl=rx.prototype.jb,rx.prototype.setUrls=rx.prototype.eb,rx.prototype.getTileGrid=rx.prototype.ab,rx.prototype.refresh=rx.prototype.sa,rx.prototype.getAttributions=rx.prototype.ya,rx.prototype.getLogo=rx.prototype.xa,rx.prototype.getProjection=rx.prototype.za,rx.prototype.setAttributions=rx.prototype.ua,rx.prototype.getKeys=rx.prototype.O,rx.prototype.getProperties=rx.prototype.N,rx.prototype.setProperties=rx.prototype.H,rx.prototype.unset=rx.prototype.P,rx.prototype.changed=rx.prototype.s,rx.prototype.dispatchEvent=rx.prototype.b,rx.prototype.getRevision=rx.prototype.L,rx.prototype.on=rx.prototype.J,rx.prototype.un=rx.prototype.K,sx.prototype.getTileGrid=sx.prototype.ab,sx.prototype.refresh=sx.prototype.sa,sx.prototype.getAttributions=sx.prototype.ya,sx.prototype.getLogo=sx.prototype.xa,sx.prototype.getProjection=sx.prototype.za,sx.prototype.setAttributions=sx.prototype.ua,sx.prototype.getKeys=sx.prototype.O,sx.prototype.getProperties=sx.prototype.N,sx.prototype.setProperties=sx.prototype.H,sx.prototype.unset=sx.prototype.P,sx.prototype.changed=sx.prototype.s,sx.prototype.dispatchEvent=sx.prototype.b,sx.prototype.getRevision=sx.prototype.L,sx.prototype.on=sx.prototype.J,sx.prototype.un=sx.prototype.K,px.prototype.setRenderReprojectionEdges=px.prototype.Pb,px.prototype.setTileGridForProjection=px.prototype.Qb,px.prototype.getTileLoadFunction=px.prototype.pb,px.prototype.getTileUrlFunction=px.prototype.qb,px.prototype.getUrls=px.prototype.rb,px.prototype.setTileLoadFunction=px.prototype.vb,px.prototype.setTileUrlFunction=px.prototype.cb,px.prototype.setUrl=px.prototype.jb,px.prototype.setUrls=px.prototype.eb,px.prototype.getTileGrid=px.prototype.ab,px.prototype.refresh=px.prototype.sa,px.prototype.getAttributions=px.prototype.ya,px.prototype.getLogo=px.prototype.xa,px.prototype.getProjection=px.prototype.za,px.prototype.setAttributions=px.prototype.ua,px.prototype.getKeys=px.prototype.O,px.prototype.getProperties=px.prototype.N,px.prototype.setProperties=px.prototype.H,px.prototype.unset=px.prototype.P,px.prototype.changed=px.prototype.s,px.prototype.dispatchEvent=px.prototype.b,px.prototype.getRevision=px.prototype.L,px.prototype.on=px.prototype.J,px.prototype.un=px.prototype.K,hx.prototype.getTileGrid=hx.prototype.ab,hx.prototype.refresh=hx.prototype.sa,hx.prototype.getAttributions=hx.prototype.ya,hx.prototype.getLogo=hx.prototype.xa,hx.prototype.getProjection=hx.prototype.za,hx.prototype.setAttributions=hx.prototype.ua,hx.prototype.getKeys=hx.prototype.O,hx.prototype.getProperties=hx.prototype.N,hx.prototype.setProperties=hx.prototype.H,hx.prototype.unset=hx.prototype.P,hx.prototype.changed=hx.prototype.s,hx.prototype.dispatchEvent=hx.prototype.b,hx.prototype.getRevision=hx.prototype.L,hx.prototype.on=hx.prototype.J,hx.prototype.un=hx.prototype.K,cx.prototype.setRenderReprojectionEdges=cx.prototype.Pb,cx.prototype.setTileGridForProjection=cx.prototype.Qb,cx.prototype.getTileLoadFunction=cx.prototype.pb,cx.prototype.getTileUrlFunction=cx.prototype.qb,cx.prototype.getUrls=cx.prototype.rb,cx.prototype.setTileLoadFunction=cx.prototype.vb,cx.prototype.setTileUrlFunction=cx.prototype.cb,cx.prototype.setUrl=cx.prototype.jb,cx.prototype.setUrls=cx.prototype.eb,cx.prototype.getTileGrid=cx.prototype.ab,cx.prototype.refresh=cx.prototype.sa,cx.prototype.getAttributions=cx.prototype.ya,cx.prototype.getLogo=cx.prototype.xa,cx.prototype.getProjection=cx.prototype.za,cx.prototype.setAttributions=cx.prototype.ua,cx.prototype.getKeys=cx.prototype.O,cx.prototype.getProperties=cx.prototype.N,cx.prototype.setProperties=cx.prototype.H,cx.prototype.unset=cx.prototype.P,cx.prototype.changed=cx.prototype.s,cx.prototype.dispatchEvent=cx.prototype.b,cx.prototype.getRevision=cx.prototype.L,cx.prototype.on=cx.prototype.J,cx.prototype.un=cx.prototype.K,wx.prototype.getTileLoadFunction=wx.prototype.pb,wx.prototype.getTileUrlFunction=wx.prototype.qb,wx.prototype.getUrls=wx.prototype.rb,wx.prototype.setTileLoadFunction=wx.prototype.vb,wx.prototype.setTileUrlFunction=wx.prototype.cb,wx.prototype.setUrl=wx.prototype.jb,wx.prototype.setUrls=wx.prototype.eb,wx.prototype.getTileGrid=wx.prototype.ab,wx.prototype.refresh=wx.prototype.sa,wx.prototype.getAttributions=wx.prototype.ya,wx.prototype.getLogo=wx.prototype.xa,wx.prototype.getProjection=wx.prototype.za,wx.prototype.setAttributions=wx.prototype.ua,wx.prototype.getKeys=wx.prototype.O,wx.prototype.getProperties=wx.prototype.N,wx.prototype.setProperties=wx.prototype.H,wx.prototype.unset=wx.prototype.P,wx.prototype.changed=wx.prototype.s,wx.prototype.dispatchEvent=wx.prototype.b,wx.prototype.getRevision=wx.prototype.L,wx.prototype.on=wx.prototype.J,wx.prototype.un=wx.prototype.K,Mx.prototype.setRenderReprojectionEdges=Mx.prototype.Pb,Mx.prototype.setTileGridForProjection=Mx.prototype.Qb,Mx.prototype.getTileLoadFunction=Mx.prototype.pb,Mx.prototype.getTileUrlFunction=Mx.prototype.qb,Mx.prototype.getUrls=Mx.prototype.rb,Mx.prototype.setTileLoadFunction=Mx.prototype.vb,Mx.prototype.setTileUrlFunction=Mx.prototype.cb,Mx.prototype.setUrl=Mx.prototype.jb,Mx.prototype.setUrls=Mx.prototype.eb,Mx.prototype.getTileGrid=Mx.prototype.ab,Mx.prototype.refresh=Mx.prototype.sa,Mx.prototype.getAttributions=Mx.prototype.ya,Mx.prototype.getLogo=Mx.prototype.xa,Mx.prototype.getProjection=Mx.prototype.za,Mx.prototype.setAttributions=Mx.prototype.ua,Mx.prototype.getKeys=Mx.prototype.O,Mx.prototype.getProperties=Mx.prototype.N,Mx.prototype.setProperties=Mx.prototype.H,Mx.prototype.unset=Mx.prototype.P,Mx.prototype.changed=Mx.prototype.s,Mx.prototype.dispatchEvent=Mx.prototype.b,Mx.prototype.getRevision=Mx.prototype.L,Mx.prototype.on=Mx.prototype.J,Mx.prototype.un=Mx.prototype.K,Ax.prototype.setRenderReprojectionEdges=Ax.prototype.Pb,Ax.prototype.setTileGridForProjection=Ax.prototype.Qb,Ax.prototype.getTileLoadFunction=Ax.prototype.pb,Ax.prototype.getTileUrlFunction=Ax.prototype.qb,Ax.prototype.getUrls=Ax.prototype.rb,Ax.prototype.setTileLoadFunction=Ax.prototype.vb,Ax.prototype.setTileUrlFunction=Ax.prototype.cb,Ax.prototype.setUrl=Ax.prototype.jb,Ax.prototype.setUrls=Ax.prototype.eb,Ax.prototype.getTileGrid=Ax.prototype.ab,Ax.prototype.refresh=Ax.prototype.sa,Ax.prototype.getAttributions=Ax.prototype.ya,Ax.prototype.getLogo=Ax.prototype.xa,Ax.prototype.getProjection=Ax.prototype.za,Ax.prototype.setAttributions=Ax.prototype.ua,Ax.prototype.getKeys=Ax.prototype.O,Ax.prototype.getProperties=Ax.prototype.N,Ax.prototype.setProperties=Ax.prototype.H,Ax.prototype.unset=Ax.prototype.P,Ax.prototype.changed=Ax.prototype.s,Ax.prototype.dispatchEvent=Ax.prototype.b,Ax.prototype.getRevision=Ax.prototype.L,Ax.prototype.on=Ax.prototype.J,Ax.prototype.un=Ax.prototype.K,yw.prototype.getTileCoord=yw.prototype.f,Kv.prototype.changed=Kv.prototype.s,Kv.prototype.dispatchEvent=Kv.prototype.b,Kv.prototype.getRevision=Kv.prototype.L,Kv.prototype.on=Kv.prototype.J,Kv.prototype.un=Kv.prototype.K,fb.prototype.changed=fb.prototype.s,fb.prototype.dispatchEvent=fb.prototype.b,fb.prototype.getRevision=fb.prototype.L,fb.prototype.on=fb.prototype.J,fb.prototype.un=fb.prototype.K,$m.prototype.changed=$m.prototype.s,$m.prototype.dispatchEvent=$m.prototype.b,$m.prototype.getRevision=$m.prototype.L,$m.prototype.on=$m.prototype.J,$m.prototype.un=$m.prototype.K,aw.prototype.changed=aw.prototype.s,aw.prototype.dispatchEvent=aw.prototype.b,aw.prototype.getRevision=aw.prototype.L,aw.prototype.on=aw.prototype.J,aw.prototype.un=aw.prototype.K,gb.prototype.changed=gb.prototype.s,gb.prototype.dispatchEvent=gb.prototype.b,gb.prototype.getRevision=gb.prototype.L,gb.prototype.on=gb.prototype.J,gb.prototype.un=gb.prototype.K,Qv.prototype.changed=Qv.prototype.s,Qv.prototype.dispatchEvent=Qv.prototype.b,Qv.prototype.getRevision=Qv.prototype.L,Qv.prototype.on=Qv.prototype.J,Qv.prototype.un=Qv.prototype.K,km.prototype.changed=km.prototype.s,km.prototype.dispatchEvent=km.prototype.b,km.prototype.getRevision=km.prototype.L,km.prototype.on=km.prototype.J,km.prototype.un=km.prototype.K,Dm.prototype.changed=Dm.prototype.s,Dm.prototype.dispatchEvent=Dm.prototype.b,Dm.prototype.getRevision=Dm.prototype.L,Dm.prototype.on=Dm.prototype.J,Dm.prototype.un=Dm.prototype.K,tw.prototype.changed=tw.prototype.s,tw.prototype.dispatchEvent=tw.prototype.b,tw.prototype.getRevision=tw.prototype.L,tw.prototype.on=tw.prototype.J,tw.prototype.un=tw.prototype.K,ab.prototype.changed=ab.prototype.s,ab.prototype.dispatchEvent=ab.prototype.b,ab.prototype.getRevision=ab.prototype.L,ab.prototype.on=ab.prototype.J,ab.prototype.un=ab.prototype.K,hw.prototype.changed=hw.prototype.s,hw.prototype.dispatchEvent=hw.prototype.b,hw.prototype.getRevision=hw.prototype.L,hw.prototype.on=hw.prototype.J,hw.prototype.un=hw.prototype.K,Bn.prototype.getKeys=Bn.prototype.O,Bn.prototype.getProperties=Bn.prototype.N,Bn.prototype.setProperties=Bn.prototype.H,Bn.prototype.unset=Bn.prototype.P,Bn.prototype.changed=Bn.prototype.s,Bn.prototype.dispatchEvent=Bn.prototype.b,Bn.prototype.getRevision=Bn.prototype.L,Bn.prototype.on=Bn.prototype.J,Bn.prototype.un=Bn.prototype.K,Vn.prototype.getExtent=Vn.prototype.G,Vn.prototype.getMaxResolution=Vn.prototype.fc,Vn.prototype.getMinResolution=Vn.prototype.gc,Vn.prototype.getOpacity=Vn.prototype.hc,Vn.prototype.getVisible=Vn.prototype.Mb,Vn.prototype.getZIndex=Vn.prototype.Ba,Vn.prototype.setExtent=Vn.prototype.vc,Vn.prototype.setMaxResolution=Vn.prototype.Ac,Vn.prototype.setMinResolution=Vn.prototype.Bc,Vn.prototype.setOpacity=Vn.prototype.wc,Vn.prototype.setVisible=Vn.prototype.xc,Vn.prototype.setZIndex=Vn.prototype.Vb,Vn.prototype.getKeys=Vn.prototype.O,Vn.prototype.getProperties=Vn.prototype.N,Vn.prototype.setProperties=Vn.prototype.H,Vn.prototype.unset=Vn.prototype.P,Vn.prototype.changed=Vn.prototype.s,Vn.prototype.dispatchEvent=Vn.prototype.b,Vn.prototype.getRevision=Vn.prototype.L,Vn.prototype.on=Vn.prototype.J,Vn.prototype.un=Vn.prototype.K,Zn.prototype.getExtent=Zn.prototype.G,Zn.prototype.getMaxResolution=Zn.prototype.fc,Zn.prototype.getMinResolution=Zn.prototype.gc,Zn.prototype.getOpacity=Zn.prototype.hc,Zn.prototype.getVisible=Zn.prototype.Mb,Zn.prototype.getZIndex=Zn.prototype.Ba,Zn.prototype.setExtent=Zn.prototype.vc,Zn.prototype.setMaxResolution=Zn.prototype.Ac,Zn.prototype.setMinResolution=Zn.prototype.Bc,Zn.prototype.setOpacity=Zn.prototype.wc,Zn.prototype.setVisible=Zn.prototype.xc,Zn.prototype.setZIndex=Zn.prototype.Vb,Zn.prototype.getKeys=Zn.prototype.O,Zn.prototype.getProperties=Zn.prototype.N,Zn.prototype.setProperties=Zn.prototype.H,Zn.prototype.unset=Zn.prototype.P,Zn.prototype.changed=Zn.prototype.s,Zn.prototype.dispatchEvent=Zn.prototype.b,Zn.prototype.getRevision=Zn.prototype.L,Zn.prototype.on=Zn.prototype.J,Zn.prototype.un=Zn.prototype.K,db.prototype.setSource=db.prototype.Wc,db.prototype.getExtent=db.prototype.G,db.prototype.getMaxResolution=db.prototype.fc,db.prototype.getMinResolution=db.prototype.gc,db.prototype.getOpacity=db.prototype.hc,db.prototype.getVisible=db.prototype.Mb,db.prototype.getZIndex=db.prototype.Ba,db.prototype.setExtent=db.prototype.vc,db.prototype.setMaxResolution=db.prototype.Ac,db.prototype.setMinResolution=db.prototype.Bc,db.prototype.setOpacity=db.prototype.wc,db.prototype.setVisible=db.prototype.xc,db.prototype.setZIndex=db.prototype.Vb,db.prototype.getKeys=db.prototype.O,db.prototype.getProperties=db.prototype.N,db.prototype.setProperties=db.prototype.H,db.prototype.unset=db.prototype.P,db.prototype.changed=db.prototype.s,db.prototype.dispatchEvent=db.prototype.b,db.prototype.getRevision=db.prototype.L,db.prototype.on=db.prototype.J,db.prototype.un=db.prototype.K,Lm.prototype.getSource=Lm.prototype.ha,Lm.prototype.getStyle=Lm.prototype.D,Lm.prototype.getStyleFunction=Lm.prototype.C,Lm.prototype.setStyle=Lm.prototype.g,Lm.prototype.setSource=Lm.prototype.Wc,Lm.prototype.getExtent=Lm.prototype.G,Lm.prototype.getMaxResolution=Lm.prototype.fc,Lm.prototype.getMinResolution=Lm.prototype.gc,Lm.prototype.getOpacity=Lm.prototype.hc,Lm.prototype.getVisible=Lm.prototype.Mb,Lm.prototype.getZIndex=Lm.prototype.Ba,Lm.prototype.setExtent=Lm.prototype.vc,Lm.prototype.setMaxResolution=Lm.prototype.Ac,Lm.prototype.setMinResolution=Lm.prototype.Bc,Lm.prototype.setOpacity=Lm.prototype.wc,Lm.prototype.setVisible=Lm.prototype.xc,Lm.prototype.setZIndex=Lm.prototype.Vb,Lm.prototype.getKeys=Lm.prototype.O,Lm.prototype.getProperties=Lm.prototype.N,Lm.prototype.setProperties=Lm.prototype.H,Lm.prototype.unset=Lm.prototype.P,Lm.prototype.changed=Lm.prototype.s,Lm.prototype.dispatchEvent=Lm.prototype.b,Lm.prototype.getRevision=Lm.prototype.L,Lm.prototype.on=Lm.prototype.J,Lm.prototype.un=Lm.prototype.K,Qm.prototype.setSource=Qm.prototype.Wc,Qm.prototype.getExtent=Qm.prototype.G,Qm.prototype.getMaxResolution=Qm.prototype.fc,Qm.prototype.getMinResolution=Qm.prototype.gc,Qm.prototype.getOpacity=Qm.prototype.hc,Qm.prototype.getVisible=Qm.prototype.Mb,Qm.prototype.getZIndex=Qm.prototype.Ba,Qm.prototype.setExtent=Qm.prototype.vc,Qm.prototype.setMaxResolution=Qm.prototype.Ac,Qm.prototype.setMinResolution=Qm.prototype.Bc,Qm.prototype.setOpacity=Qm.prototype.wc,Qm.prototype.setVisible=Qm.prototype.xc,Qm.prototype.setZIndex=Qm.prototype.Vb,Qm.prototype.getKeys=Qm.prototype.O,Qm.prototype.getProperties=Qm.prototype.N,Qm.prototype.setProperties=Qm.prototype.H,Qm.prototype.unset=Qm.prototype.P,Qm.prototype.changed=Qm.prototype.s,Qm.prototype.dispatchEvent=Qm.prototype.b,Qm.prototype.getRevision=Qm.prototype.L,Qm.prototype.on=Qm.prototype.J,Qm.prototype.un=Qm.prototype.K,pw.prototype.setSource=pw.prototype.Wc,pw.prototype.getExtent=pw.prototype.G,pw.prototype.getMaxResolution=pw.prototype.fc,pw.prototype.getMinResolution=pw.prototype.gc,pw.prototype.getOpacity=pw.prototype.hc,pw.prototype.getVisible=pw.prototype.Mb,pw.prototype.getZIndex=pw.prototype.Ba,pw.prototype.setExtent=pw.prototype.vc,pw.prototype.setMaxResolution=pw.prototype.Ac,pw.prototype.setMinResolution=pw.prototype.Bc,pw.prototype.setOpacity=pw.prototype.wc,pw.prototype.setVisible=pw.prototype.xc,pw.prototype.setZIndex=pw.prototype.Vb,pw.prototype.getKeys=pw.prototype.O,pw.prototype.getProperties=pw.prototype.N,pw.prototype.setProperties=pw.prototype.H,pw.prototype.unset=pw.prototype.P,pw.prototype.changed=pw.prototype.s,pw.prototype.dispatchEvent=pw.prototype.b,pw.prototype.getRevision=pw.prototype.L,pw.prototype.on=pw.prototype.J,pw.prototype.un=pw.prototype.K,cw.prototype.getSource=cw.prototype.ha,cw.prototype.getStyle=cw.prototype.D,cw.prototype.getStyleFunction=cw.prototype.C,cw.prototype.setStyle=cw.prototype.g,cw.prototype.setSource=cw.prototype.Wc,cw.prototype.getExtent=cw.prototype.G,cw.prototype.getMaxResolution=cw.prototype.fc,cw.prototype.getMinResolution=cw.prototype.gc,cw.prototype.getOpacity=cw.prototype.hc,cw.prototype.getVisible=cw.prototype.Mb,cw.prototype.getZIndex=cw.prototype.Ba,cw.prototype.setExtent=cw.prototype.vc,cw.prototype.setMaxResolution=cw.prototype.Ac,cw.prototype.setMinResolution=cw.prototype.Bc,cw.prototype.setOpacity=cw.prototype.wc,cw.prototype.setVisible=cw.prototype.xc,cw.prototype.setZIndex=cw.prototype.Vb,cw.prototype.getKeys=cw.prototype.O,cw.prototype.getProperties=cw.prototype.N,cw.prototype.setProperties=cw.prototype.H,cw.prototype.unset=cw.prototype.P,cw.prototype.changed=cw.prototype.s,cw.prototype.dispatchEvent=cw.prototype.b,cw.prototype.getRevision=cw.prototype.L,cw.prototype.on=cw.prototype.J,cw.prototype.un=cw.prototype.K,Or.prototype.getKeys=Or.prototype.O,Or.prototype.getProperties=Or.prototype.N,Or.prototype.setProperties=Or.prototype.H,Or.prototype.unset=Or.prototype.P,Or.prototype.changed=Or.prototype.s,Or.prototype.dispatchEvent=Or.prototype.b,Or.prototype.getRevision=Or.prototype.L,Or.prototype.on=Or.prototype.J,Or.prototype.un=Or.prototype.K,Xr.prototype.getActive=Xr.prototype.c,Xr.prototype.getMap=Xr.prototype.f,Xr.prototype.setActive=Xr.prototype.Ha,Xr.prototype.getKeys=Xr.prototype.O,Xr.prototype.getProperties=Xr.prototype.N,Xr.prototype.setProperties=Xr.prototype.H,Xr.prototype.unset=Xr.prototype.P,Xr.prototype.changed=Xr.prototype.s,Xr.prototype.dispatchEvent=Xr.prototype.b,Xr.prototype.getRevision=Xr.prototype.L,Xr.prototype.on=Xr.prototype.J,Xr.prototype.un=Xr.prototype.K,yv.prototype.getActive=yv.prototype.c,yv.prototype.getMap=yv.prototype.f,yv.prototype.setActive=yv.prototype.Ha,yv.prototype.getKeys=yv.prototype.O,yv.prototype.getProperties=yv.prototype.N,yv.prototype.setProperties=yv.prototype.H,yv.prototype.unset=yv.prototype.P,yv.prototype.changed=yv.prototype.s,yv.prototype.dispatchEvent=yv.prototype.b,yv.prototype.getRevision=yv.prototype.L,yv.prototype.on=yv.prototype.J,yv.prototype.un=yv.prototype.K,$r.prototype.getActive=$r.prototype.c,$r.prototype.getMap=$r.prototype.f,$r.prototype.setActive=$r.prototype.Ha,$r.prototype.getKeys=$r.prototype.O,$r.prototype.getProperties=$r.prototype.N,$r.prototype.setProperties=$r.prototype.H,$r.prototype.unset=$r.prototype.P,$r.prototype.changed=$r.prototype.s,$r.prototype.dispatchEvent=$r.prototype.b,$r.prototype.getRevision=$r.prototype.L,$r.prototype.on=$r.prototype.J,$r.prototype.un=$r.prototype.K,fn.prototype.getActive=fn.prototype.c,fn.prototype.getMap=fn.prototype.f,fn.prototype.setActive=fn.prototype.Ha,fn.prototype.getKeys=fn.prototype.O,fn.prototype.getProperties=fn.prototype.N,fn.prototype.setProperties=fn.prototype.H,fn.prototype.unset=fn.prototype.P,fn.prototype.changed=fn.prototype.s,fn.prototype.dispatchEvent=fn.prototype.b,fn.prototype.getRevision=fn.prototype.L,fn.prototype.on=fn.prototype.J,fn.prototype.un=fn.prototype.K,en.prototype.getActive=en.prototype.c,en.prototype.getMap=en.prototype.f,en.prototype.setActive=en.prototype.Ha,en.prototype.getKeys=en.prototype.O,en.prototype.getProperties=en.prototype.N,en.prototype.setProperties=en.prototype.H,en.prototype.unset=en.prototype.P,en.prototype.changed=en.prototype.s,en.prototype.dispatchEvent=en.prototype.b,en.prototype.getRevision=en.prototype.L,en.prototype.on=en.prototype.J,en.prototype.un=en.prototype.K,sn.prototype.getActive=sn.prototype.c,sn.prototype.getMap=sn.prototype.f,sn.prototype.setActive=sn.prototype.Ha,sn.prototype.getKeys=sn.prototype.O,sn.prototype.getProperties=sn.prototype.N,sn.prototype.setProperties=sn.prototype.H,sn.prototype.unset=sn.prototype.P,sn.prototype.changed=sn.prototype.s,sn.prototype.dispatchEvent=sn.prototype.b,sn.prototype.getRevision=sn.prototype.L,sn.prototype.on=sn.prototype.J,sn.prototype.un=sn.prototype.K,xv.prototype.getActive=xv.prototype.c,xv.prototype.getMap=xv.prototype.f,xv.prototype.setActive=xv.prototype.Ha,xv.prototype.getKeys=xv.prototype.O,xv.prototype.getProperties=xv.prototype.N,xv.prototype.setProperties=xv.prototype.H,xv.prototype.unset=xv.prototype.P,xv.prototype.changed=xv.prototype.s,xv.prototype.dispatchEvent=xv.prototype.b,xv.prototype.getRevision=xv.prototype.L,xv.prototype.on=xv.prototype.J,xv.prototype.un=xv.prototype.K,Sn.prototype.getGeometry=Sn.prototype.V,Sn.prototype.getActive=Sn.prototype.c,Sn.prototype.getMap=Sn.prototype.f,Sn.prototype.setActive=Sn.prototype.Ha,Sn.prototype.getKeys=Sn.prototype.O,Sn.prototype.getProperties=Sn.prototype.N,Sn.prototype.setProperties=Sn.prototype.H,Sn.prototype.unset=Sn.prototype.P,Sn.prototype.changed=Sn.prototype.s,Sn.prototype.dispatchEvent=Sn.prototype.b,Sn.prototype.getRevision=Sn.prototype.L,Sn.prototype.on=Sn.prototype.J,Sn.prototype.un=Sn.prototype.K,jb.prototype.getActive=jb.prototype.c,jb.prototype.getMap=jb.prototype.f,jb.prototype.setActive=jb.prototype.Ha,jb.prototype.getKeys=jb.prototype.O,jb.prototype.getProperties=jb.prototype.N,jb.prototype.setProperties=jb.prototype.H,jb.prototype.unset=jb.prototype.P,jb.prototype.changed=jb.prototype.s,jb.prototype.dispatchEvent=jb.prototype.b,jb.prototype.getRevision=jb.prototype.L,jb.prototype.on=jb.prototype.J,jb.prototype.un=jb.prototype.K,Wb.prototype.getActive=Wb.prototype.c,Wb.prototype.getMap=Wb.prototype.f,Wb.prototype.setActive=Wb.prototype.Ha,Wb.prototype.getKeys=Wb.prototype.O,Wb.prototype.getProperties=Wb.prototype.N,Wb.prototype.setProperties=Wb.prototype.H,Wb.prototype.unset=Wb.prototype.P,Wb.prototype.changed=Wb.prototype.s,Wb.prototype.dispatchEvent=Wb.prototype.b,Wb.prototype.getRevision=Wb.prototype.L,Wb.prototype.on=Wb.prototype.J,Wb.prototype.un=Wb.prototype.K,Mn.prototype.getActive=Mn.prototype.c,Mn.prototype.getMap=Mn.prototype.f,Mn.prototype.setActive=Mn.prototype.Ha,Mn.prototype.getKeys=Mn.prototype.O,Mn.prototype.getProperties=Mn.prototype.N,Mn.prototype.setProperties=Mn.prototype.H,Mn.prototype.unset=Mn.prototype.P,Mn.prototype.changed=Mn.prototype.s,Mn.prototype.dispatchEvent=Mn.prototype.b,Mn.prototype.getRevision=Mn.prototype.L,Mn.prototype.on=Mn.prototype.J,Mn.prototype.un=Mn.prototype.K,An.prototype.getActive=An.prototype.c,An.prototype.getMap=An.prototype.f,An.prototype.setActive=An.prototype.Ha,An.prototype.getKeys=An.prototype.O,An.prototype.getProperties=An.prototype.N,An.prototype.setProperties=An.prototype.H,An.prototype.unset=An.prototype.P,An.prototype.changed=An.prototype.s,An.prototype.dispatchEvent=An.prototype.b,An.prototype.getRevision=An.prototype.L,An.prototype.on=An.prototype.J,An.prototype.un=An.prototype.K,tm.prototype.getActive=tm.prototype.c,tm.prototype.getMap=tm.prototype.f,tm.prototype.setActive=tm.prototype.Ha,tm.prototype.getKeys=tm.prototype.O,tm.prototype.getProperties=tm.prototype.N,tm.prototype.setProperties=tm.prototype.H,tm.prototype.unset=tm.prototype.P,tm.prototype.changed=tm.prototype.s,tm.prototype.dispatchEvent=tm.prototype.b,tm.prototype.getRevision=tm.prototype.L,tm.prototype.on=tm.prototype.J,tm.prototype.un=tm.prototype.K,Tn.prototype.getActive=Tn.prototype.c,Tn.prototype.getMap=Tn.prototype.f,Tn.prototype.setActive=Tn.prototype.Ha,Tn.prototype.getKeys=Tn.prototype.O,Tn.prototype.getProperties=Tn.prototype.N,Tn.prototype.setProperties=Tn.prototype.H,Tn.prototype.unset=Tn.prototype.P,Tn.prototype.changed=Tn.prototype.s,Tn.prototype.dispatchEvent=Tn.prototype.b,Tn.prototype.getRevision=Tn.prototype.L,Tn.prototype.on=Tn.prototype.J,Tn.prototype.un=Tn.prototype.K,Rn.prototype.getActive=Rn.prototype.c,Rn.prototype.getMap=Rn.prototype.f,Rn.prototype.setActive=Rn.prototype.Ha,Rn.prototype.getKeys=Rn.prototype.O,Rn.prototype.getProperties=Rn.prototype.N,Rn.prototype.setProperties=Rn.prototype.H,Rn.prototype.unset=Rn.prototype.P,Rn.prototype.changed=Rn.prototype.s,Rn.prototype.dispatchEvent=Rn.prototype.b,Rn.prototype.getRevision=Rn.prototype.L,Rn.prototype.on=Rn.prototype.J,Rn.prototype.un=Rn.prototype.K,kn.prototype.getActive=kn.prototype.c,kn.prototype.getMap=kn.prototype.f,kn.prototype.setActive=kn.prototype.Ha,kn.prototype.getKeys=kn.prototype.O,kn.prototype.getProperties=kn.prototype.N,kn.prototype.setProperties=kn.prototype.H,kn.prototype.unset=kn.prototype.P,kn.prototype.changed=kn.prototype.s,kn.prototype.dispatchEvent=kn.prototype.b,kn.prototype.getRevision=kn.prototype.L,kn.prototype.on=kn.prototype.J,kn.prototype.un=kn.prototype.K,ym.prototype.getActive=ym.prototype.c,ym.prototype.getMap=ym.prototype.f,ym.prototype.setActive=ym.prototype.Ha,ym.prototype.getKeys=ym.prototype.O,ym.prototype.getProperties=ym.prototype.N,ym.prototype.setProperties=ym.prototype.H,ym.prototype.unset=ym.prototype.P,ym.prototype.changed=ym.prototype.s,ym.prototype.dispatchEvent=ym.prototype.b,ym.prototype.getRevision=ym.prototype.L,ym.prototype.on=ym.prototype.J,ym.prototype.un=ym.prototype.K,bm.prototype.getActive=bm.prototype.c,bm.prototype.getMap=bm.prototype.f,bm.prototype.setActive=bm.prototype.Ha,bm.prototype.getKeys=bm.prototype.O,bm.prototype.getProperties=bm.prototype.N,bm.prototype.setProperties=bm.prototype.H,bm.prototype.unset=bm.prototype.P,bm.prototype.changed=bm.prototype.s,bm.prototype.dispatchEvent=bm.prototype.b,bm.prototype.getRevision=bm.prototype.L,bm.prototype.on=bm.prototype.J,bm.prototype.un=bm.prototype.K,Sm.prototype.getActive=Sm.prototype.c,Sm.prototype.getMap=Sm.prototype.f,Sm.prototype.setActive=Sm.prototype.Ha,Sm.prototype.getKeys=Sm.prototype.O,Sm.prototype.getProperties=Sm.prototype.N,Sm.prototype.setProperties=Sm.prototype.H,Sm.prototype.unset=Sm.prototype.P,Sm.prototype.changed=Sm.prototype.s,Sm.prototype.dispatchEvent=Sm.prototype.b,Sm.prototype.getRevision=Sm.prototype.L,Sm.prototype.on=Sm.prototype.J,Sm.prototype.un=Sm.prototype.K,Bi.prototype.getKeys=Bi.prototype.O,Bi.prototype.getProperties=Bi.prototype.N,Bi.prototype.setProperties=Bi.prototype.H,Bi.prototype.unset=Bi.prototype.P,Bi.prototype.changed=Bi.prototype.s,Bi.prototype.dispatchEvent=Bi.prototype.b,Bi.prototype.getRevision=Bi.prototype.L,Bi.prototype.on=Bi.prototype.J,Bi.prototype.un=Bi.prototype.K,Wi.prototype.getClosestPoint=Wi.prototype.Ab,Wi.prototype.intersectsCoordinate=Wi.prototype.sb,Wi.prototype.getExtent=Wi.prototype.G,Wi.prototype.simplify=Wi.prototype.Rb,Wi.prototype.transform=Wi.prototype.tb,Wi.prototype.getKeys=Wi.prototype.O,Wi.prototype.getProperties=Wi.prototype.N,Wi.prototype.setProperties=Wi.prototype.H,Wi.prototype.unset=Wi.prototype.P,Wi.prototype.changed=Wi.prototype.s,Wi.prototype.dispatchEvent=Wi.prototype.b,Wi.prototype.getRevision=Wi.prototype.L,Wi.prototype.on=Wi.prototype.J,Wi.prototype.un=Wi.prototype.K,_d.prototype.getFirstCoordinate=_d.prototype.ac,_d.prototype.getLastCoordinate=_d.prototype.bc,_d.prototype.getLayout=_d.prototype.cc,_d.prototype.getClosestPoint=_d.prototype.Ab,_d.prototype.intersectsCoordinate=_d.prototype.sb,_d.prototype.getExtent=_d.prototype.G,_d.prototype.simplify=_d.prototype.Rb,_d.prototype.getKeys=_d.prototype.O,_d.prototype.getProperties=_d.prototype.N,_d.prototype.setProperties=_d.prototype.H,_d.prototype.unset=_d.prototype.P,_d.prototype.changed=_d.prototype.s,_d.prototype.dispatchEvent=_d.prototype.b,_d.prototype.getRevision=_d.prototype.L,_d.prototype.on=_d.prototype.J,_d.prototype.un=_d.prototype.K,$l.prototype.getClosestPoint=$l.prototype.Ab,$l.prototype.intersectsCoordinate=$l.prototype.sb,$l.prototype.getExtent=$l.prototype.G,$l.prototype.simplify=$l.prototype.Rb,$l.prototype.transform=$l.prototype.tb,$l.prototype.getKeys=$l.prototype.O,$l.prototype.getProperties=$l.prototype.N,$l.prototype.setProperties=$l.prototype.H,$l.prototype.unset=$l.prototype.P,$l.prototype.changed=$l.prototype.s,$l.prototype.dispatchEvent=$l.prototype.b,$l.prototype.getRevision=$l.prototype.L,$l.prototype.on=$l.prototype.J,$l.prototype.un=$l.prototype.K,ar.prototype.getFirstCoordinate=ar.prototype.ac,ar.prototype.getLastCoordinate=ar.prototype.bc,ar.prototype.getLayout=ar.prototype.cc,ar.prototype.getClosestPoint=ar.prototype.Ab,ar.prototype.intersectsCoordinate=ar.prototype.sb,ar.prototype.getExtent=ar.prototype.G,ar.prototype.simplify=ar.prototype.Rb,ar.prototype.transform=ar.prototype.tb,ar.prototype.getKeys=ar.prototype.O,ar.prototype.getProperties=ar.prototype.N,ar.prototype.setProperties=ar.prototype.H,ar.prototype.unset=ar.prototype.P,ar.prototype.changed=ar.prototype.s,ar.prototype.dispatchEvent=ar.prototype.b,ar.prototype.getRevision=ar.prototype.L,ar.prototype.on=ar.prototype.J,ar.prototype.un=ar.prototype.K,ul.prototype.getFirstCoordinate=ul.prototype.ac,ul.prototype.getLastCoordinate=ul.prototype.bc,ul.prototype.getLayout=ul.prototype.cc,ul.prototype.getClosestPoint=ul.prototype.Ab,ul.prototype.intersectsCoordinate=ul.prototype.sb,ul.prototype.getExtent=ul.prototype.G,ul.prototype.simplify=ul.prototype.Rb,ul.prototype.transform=ul.prototype.tb,ul.prototype.getKeys=ul.prototype.O,ul.prototype.getProperties=ul.prototype.N,ul.prototype.setProperties=ul.prototype.H,ul.prototype.unset=ul.prototype.P,ul.prototype.changed=ul.prototype.s,ul.prototype.dispatchEvent=ul.prototype.b,ul.prototype.getRevision=ul.prototype.L,ul.prototype.on=ul.prototype.J,ul.prototype.un=ul.prototype.K,fl.prototype.getFirstCoordinate=fl.prototype.ac,fl.prototype.getLastCoordinate=fl.prototype.bc,fl.prototype.getLayout=fl.prototype.cc,fl.prototype.getClosestPoint=fl.prototype.Ab,fl.prototype.intersectsCoordinate=fl.prototype.sb,fl.prototype.getExtent=fl.prototype.G,fl.prototype.simplify=fl.prototype.Rb,fl.prototype.transform=fl.prototype.tb,fl.prototype.getKeys=fl.prototype.O,fl.prototype.getProperties=fl.prototype.N,fl.prototype.setProperties=fl.prototype.H,fl.prototype.unset=fl.prototype.P,fl.prototype.changed=fl.prototype.s,fl.prototype.dispatchEvent=fl.prototype.b,fl.prototype.getRevision=fl.prototype.L,fl.prototype.on=fl.prototype.J,fl.prototype.un=fl.prototype.K,dl.prototype.getFirstCoordinate=dl.prototype.ac,dl.prototype.getLastCoordinate=dl.prototype.bc,dl.prototype.getLayout=dl.prototype.cc,dl.prototype.getClosestPoint=dl.prototype.Ab,dl.prototype.intersectsCoordinate=dl.prototype.sb,dl.prototype.getExtent=dl.prototype.G,dl.prototype.simplify=dl.prototype.Rb,dl.prototype.transform=dl.prototype.tb,dl.prototype.getKeys=dl.prototype.O,dl.prototype.getProperties=dl.prototype.N,dl.prototype.setProperties=dl.prototype.H,dl.prototype.unset=dl.prototype.P,dl.prototype.changed=dl.prototype.s,dl.prototype.dispatchEvent=dl.prototype.b,dl.prototype.getRevision=dl.prototype.L,dl.prototype.on=dl.prototype.J,dl.prototype.un=dl.prototype.K,vl.prototype.getFirstCoordinate=vl.prototype.ac,vl.prototype.getLastCoordinate=vl.prototype.bc,vl.prototype.getLayout=vl.prototype.cc,vl.prototype.getClosestPoint=vl.prototype.Ab,vl.prototype.intersectsCoordinate=vl.prototype.sb,vl.prototype.getExtent=vl.prototype.G,vl.prototype.simplify=vl.prototype.Rb,vl.prototype.transform=vl.prototype.tb,vl.prototype.getKeys=vl.prototype.O,vl.prototype.getProperties=vl.prototype.N,vl.prototype.setProperties=vl.prototype.H,vl.prototype.unset=vl.prototype.P,vl.prototype.changed=vl.prototype.s,vl.prototype.dispatchEvent=vl.prototype.b,vl.prototype.getRevision=vl.prototype.L,vl.prototype.on=vl.prototype.J,vl.prototype.un=vl.prototype.K,hr.prototype.getFirstCoordinate=hr.prototype.ac,hr.prototype.getLastCoordinate=hr.prototype.bc,hr.prototype.getLayout=hr.prototype.cc,hr.prototype.getClosestPoint=hr.prototype.Ab,hr.prototype.intersectsCoordinate=hr.prototype.sb,hr.prototype.getExtent=hr.prototype.G,hr.prototype.simplify=hr.prototype.Rb,hr.prototype.transform=hr.prototype.tb,hr.prototype.getKeys=hr.prototype.O,hr.prototype.getProperties=hr.prototype.N,hr.prototype.setProperties=hr.prototype.H,hr.prototype.unset=hr.prototype.P,hr.prototype.changed=hr.prototype.s,hr.prototype.dispatchEvent=hr.prototype.b,hr.prototype.getRevision=hr.prototype.L,hr.prototype.on=hr.prototype.J,hr.prototype.un=hr.prototype.K,wr.prototype.getFirstCoordinate=wr.prototype.ac,wr.prototype.getLastCoordinate=wr.prototype.bc,wr.prototype.getLayout=wr.prototype.cc,wr.prototype.getClosestPoint=wr.prototype.Ab,wr.prototype.intersectsCoordinate=wr.prototype.sb,wr.prototype.getExtent=wr.prototype.G,wr.prototype.simplify=wr.prototype.Rb,wr.prototype.transform=wr.prototype.tb,wr.prototype.getKeys=wr.prototype.O,wr.prototype.getProperties=wr.prototype.N,wr.prototype.setProperties=wr.prototype.H,wr.prototype.unset=wr.prototype.P,wr.prototype.changed=wr.prototype.s,wr.prototype.dispatchEvent=wr.prototype.b,wr.prototype.getRevision=wr.prototype.L,wr.prototype.on=wr.prototype.J,wr.prototype.un=wr.prototype.K,Pu.prototype.readFeatures=Pu.prototype.Oa,Fu.prototype.readFeatures=Fu.prototype.Oa,Pu.prototype.readFeatures=Pu.prototype.Oa,$e.prototype.getKeys=$e.prototype.O,$e.prototype.getProperties=$e.prototype.N,$e.prototype.setProperties=$e.prototype.H,$e.prototype.unset=$e.prototype.P,$e.prototype.changed=$e.prototype.s,$e.prototype.dispatchEvent=$e.prototype.b,$e.prototype.getRevision=$e.prototype.L,$e.prototype.on=$e.prototype.J,$e.prototype.un=$e.prototype.K,Qe.prototype.getMap=Qe.prototype.g,Qe.prototype.setTarget=Qe.prototype.f,Qe.prototype.getKeys=Qe.prototype.O,Qe.prototype.getProperties=Qe.prototype.N,Qe.prototype.setProperties=Qe.prototype.H,Qe.prototype.unset=Qe.prototype.P,Qe.prototype.changed=Qe.prototype.s,Qe.prototype.dispatchEvent=Qe.prototype.b,Qe.prototype.getRevision=Qe.prototype.L,Qe.prototype.on=Qe.prototype.J,Qe.prototype.un=Qe.prototype.K,lo.prototype.getMap=lo.prototype.g,lo.prototype.setTarget=lo.prototype.f,lo.prototype.getKeys=lo.prototype.O,lo.prototype.getProperties=lo.prototype.N,lo.prototype.setProperties=lo.prototype.H,lo.prototype.unset=lo.prototype.P,lo.prototype.changed=lo.prototype.s,lo.prototype.dispatchEvent=lo.prototype.b,lo.prototype.getRevision=lo.prototype.L,lo.prototype.on=lo.prototype.J,lo.prototype.un=lo.prototype.K,vo.prototype.getMap=vo.prototype.g,vo.prototype.setTarget=vo.prototype.f,vo.prototype.getKeys=vo.prototype.O,vo.prototype.getProperties=vo.prototype.N,vo.prototype.setProperties=vo.prototype.H,vo.prototype.unset=vo.prototype.P,vo.prototype.changed=vo.prototype.s,vo.prototype.dispatchEvent=vo.prototype.b,vo.prototype.getRevision=vo.prototype.L,vo.prototype.on=vo.prototype.J,vo.prototype.un=vo.prototype.K,th.prototype.getMap=th.prototype.g,th.prototype.setTarget=th.prototype.f,th.prototype.getKeys=th.prototype.O,th.prototype.getProperties=th.prototype.N,th.prototype.setProperties=th.prototype.H,th.prototype.unset=th.prototype.P,th.prototype.changed=th.prototype.s,th.prototype.dispatchEvent=th.prototype.b,th.prototype.getRevision=th.prototype.L,th.prototype.on=th.prototype.J,th.prototype.un=th.prototype.K,so.prototype.getMap=so.prototype.g,so.prototype.setTarget=so.prototype.f,so.prototype.getKeys=so.prototype.O,so.prototype.getProperties=so.prototype.N,so.prototype.setProperties=so.prototype.H,so.prototype.unset=so.prototype.P,so.prototype.changed=so.prototype.s,so.prototype.dispatchEvent=so.prototype.b,so.prototype.getRevision=so.prototype.L,so.prototype.on=so.prototype.J,so.prototype.un=so.prototype.K,nh.prototype.getMap=nh.prototype.g,nh.prototype.setTarget=nh.prototype.f,nh.prototype.getKeys=nh.prototype.O,nh.prototype.getProperties=nh.prototype.N,nh.prototype.setProperties=nh.prototype.H,nh.prototype.unset=nh.prototype.P,nh.prototype.changed=nh.prototype.s,nh.prototype.dispatchEvent=nh.prototype.b,nh.prototype.getRevision=nh.prototype.L,nh.prototype.on=nh.prototype.J,nh.prototype.un=nh.prototype.K,po.prototype.getMap=po.prototype.g,po.prototype,po.prototype.setMap,po.prototype.setTarget=po.prototype.f,po.prototype,po.prototype.get,po.prototype.getKeys=po.prototype.O,po.prototype.getProperties=po.prototype.N,po.prototype,po.prototype.set,po.prototype.setProperties=po.prototype.H,po.prototype.unset=po.prototype.P,po.prototype.changed=po.prototype.s,po.prototype.dispatchEvent=po.prototype.b,po.prototype.getRevision=po.prototype.L,po.prototype.on=po.prototype.J,po.prototype,po.prototype.once,po.prototype.un=po.prototype.K,lh.prototype.getMap=lh.prototype.g,lh.prototype.setTarget=lh.prototype.f,lh.prototype.getKeys=lh.prototype.O,lh.prototype.getProperties=lh.prototype.N,lh.prototype.setProperties=lh.prototype.H,lh.prototype.unset=lh.prototype.P,lh.prototype.changed=lh.prototype.s,lh.prototype.dispatchEvent=lh.prototype.b,lh.prototype.getRevision=lh.prototype.L,lh.prototype.on=lh.prototype.J,lh.prototype.un=lh.prototype.K,gh.prototype.getMap=gh.prototype.g,gh.prototype.setTarget=gh.prototype.f,gh.prototype.getKeys=gh.prototype.O,gh.prototype.getProperties=gh.prototype.N,gh.prototype.setProperties=gh.prototype.H,gh.prototype.unset=gh.prototype.P,gh.prototype.changed=gh.prototype.s,gh.prototype.dispatchEvent=gh.prototype.b,gh.prototype.getRevision=gh.prototype.L,gh.prototype.on=gh.prototype.J,gh.prototype.un=gh.prototype.K,r.ol})
\ No newline at end of file
public/scripts/ol3-contextmenu-min.js
+1
-1
@@ -1 +1 @@
1
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ContextMenu=e()}(this,function(){"use strict";function e(t){return this.Base=t,this.map=void 0,this.viewport=void 0,this.coordinateClicked=void 0,this.pixelClicked=void 0,this.lineHeight=0,this.items={},this.opened=!1,this.submenu={left:t.options.width-15+"px",lastLeft:""},this.eventHandler=this.handleEvent.bind(this),this}var t="ol-ctx-menu",i="beforeopen",n="open",s="close",o="contextmenu",c={container:t+"-container",separator:t+"-separator",submenu:t+"-submenu",hidden:t+"-hidden",icon:t+"-icon",zoomIn:t+"-zoom-in",zoomOut:t+"-zoom-out",OL_unselectable:"ol-unselectable"},a={width:150,scrollAt:4,eventType:o,defaultItems:!0},r=[{text:"Zoom In",classname:[c.zoomIn,c.icon].join(" "),callback:function(t,e){var n=e.getView();n.animate({zoom:+n.getZoom()+1,duration:700,center:t.coordinate})}},{text:"Zoom Out",classname:[c.zoomOut,c.icon].join(" "),callback:function(t,e){var n=e.getView();n.animate({zoom:n.getZoom()-1,duration:700,center:t.coordinate})}}],h={isNumeric:function(t){return/^\d+$/.test(t)},classRegex:function(t){return new RegExp("(^|\\s+) "+t+" (\\s+|$)")},addClass:function(t,e,n){var i=this;if(Array.isArray(t))t.forEach(function(t){i.addClass(t,e)});else for(var s=Array.isArray(e)?e:e.split(/\s+/),o=s.length;o--;)i.hasClass(t,s[o])||i._addClass(t,s[o],n)},_addClass:function(t,e,n){var i=this;t.classList?t.classList.add(e):t.className=(t.className+" "+e).trim(),n&&this.isNumeric(n)&&window.setTimeout(function(){i._removeClass(t,e)},n)},removeClass:function(t,e,n){var i=this;if(Array.isArray(t))t.forEach(function(t){i.removeClass(t,e,n)});else for(var s=Array.isArray(e)?e:e.split(/\s+/),o=s.length;o--;)i.hasClass(t,s[o])&&i._removeClass(t,s[o],n)},_removeClass:function(t,e,n){var i=this;t.classList?t.classList.remove(e):t.className=t.className.replace(this.classRegex(e)," ").trim(),n&&this.isNumeric(n)&&window.setTimeout(function(){i._addClass(t,e)},n)},hasClass:function(t,e){return t.classList?t.classList.contains(e):this.classRegex(e).test(t.className)},toggleClass:function(t,e){var n=this;return Array.isArray(t)?void t.forEach(function(t){n.toggleClass(t,e)}):void(t.classList?t.classList.toggle(e):this.hasClass(t,e)?this._removeClass(t,e):this._addClass(t,e))},$:function(t){return t="#"===t[0]?t.substr(1,t.length):t,document.getElementById(t)},isElement:function(t){return"HTMLElement"in window?!!t&&t instanceof HTMLElement:!!t&&"object"==typeof t&&1===t.nodeType&&!!t.nodeName},find:function(t,e,n){void 0===e&&(e=window.document);var i=Array.prototype.slice,s=[];if(/^(#?[\w-]+|\.[\w-.]+)$/.test(t))switch(t[0]){case"#":s=[this.$(t.substr(1))];break;case".":s=i.call(e.getElementsByClassName(t.substr(1).replace(/\./g," ")));break;default:s=i.call(e.getElementsByTagName(t))}else s=i.call(e.querySelectorAll(t));return n?s:s[0]},offset:function(t){var e=t.getBoundingClientRect(),n=document.documentElement;return{left:e.left+window.pageXOffset-n.clientLeft,top:e.top+window.pageYOffset-n.clientTop,width:t.offsetWidth,height:t.offsetHeight}},getViewportSize:function(){return{w:window.innerWidth||document.documentElement.clientWidth,h:window.innerHeight||document.documentElement.clientHeight}},getAllChildren:function(t,e){return[].slice.call(t.getElementsByTagName(e))},isEmpty:function(t){return!t||0===t.length},emptyArray:function(t){for(;t.length;)t.pop()},removeAllChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},mergeOptions:function(t,e){var n={};for(var i in t)n[i]=t[i];for(var s in e)n[s]=e[s];return n},createFragment:function(t){var e=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.appendChild(n.firstChild);return e},contains:function(t,e){return!!~e.indexOf(t)},getUniqueId:function(){return"_"+Math.random().toString(36).substr(2,9)},isDefAndNotNull:function(t){return null!=t},assertEqual:function(t,e,n){if(t!==e)throw new Error(n+" mismatch: "+t+" != "+e)},assert:function(t,e){if(void 0===e&&(e="Assertion failed"),!t){if("undefined"!=typeof Error)throw new Error(e);throw e}}};e.prototype.init=function(t){this.map=t,this.viewport=t.getViewport(),this.setListeners(),this.Base.Html.createMenu(),this.lineHeight=0<this.getItemsLength()?this.Base.container.offsetHeight/this.getItemsLength():this.Base.Html.cloneAndGetLineHeight()},e.prototype.getItemsLength=function(){var e=this,n=0;return Object.keys(this.items).forEach(function(t){e.items[t].submenu||e.items[t].separator||n++}),n},e.prototype.getPixelClicked=function(){return this.pixelClicked},e.prototype.getCoordinateClicked=function(){return this.coordinateClicked},e.prototype.positionContainer=function(t){var o=this,e=this.map.getSize(),n=e[0],a=e[1]-t[1],i=n-t[0],s=this.Base.container.offsetWidth,r=Math.round(this.lineHeight*this.getItemsLength()),l=h.find("li."+c.submenu+"> div",this.Base.container,!0);s<=i?(this.Base.container.style.right="auto",this.Base.container.style.left=t[0]+5+"px"):(this.Base.container.style.left="auto",this.Base.container.style.right="15px"),r<=a?(this.Base.container.style.bottom="auto",this.Base.container.style.top=t[1]-10+"px"):(this.Base.container.style.top="auto",this.Base.container.style.bottom=0),h.removeClass(this.Base.container,c.hidden),l.length&&(this.submenu.lastLeft=i<2*s?"-"+s+"px":this.submenu.left,l.forEach(function(t){var e=h.getViewportSize(),n=h.offset(t),i=n.height,s=a-i;s<0&&(s=i-(e.h-n.top),t.style.top="-"+s+"px"),t.style.left=o.submenu.lastLeft}))},e.prototype.openMenu=function(t,e){this.Base.dispatchEvent({type:n,pixel:t,coordinate:e}),this.opened=!0,this.positionContainer(t)},e.prototype.closeMenu=function(){this.opened=!1,h.addClass(this.Base.container,c.hidden),this.Base.dispatchEvent({type:s})},e.prototype.setListeners=function(){this.viewport.addEventListener(this.Base.options.eventType,this.eventHandler,!1)},e.prototype.removeListeners=function(){this.viewport.removeEventListener(this.Base.options.eventType,this.eventHandler,!1)},e.prototype.handleEvent=function(e){var n=this;this.coordinateClicked=this.map.getEventCoordinate(e),this.pixelClicked=this.map.getEventPixel(e),this.Base.dispatchEvent({type:i,pixel:this.pixelClicked,coordinate:this.coordinateClicked}),this.Base.disabled||(this.Base.options.eventType===o&&(e.stopPropagation(),e.preventDefault()),this.openMenu(this.pixelClicked,this.coordinateClicked),e.target.addEventListener("mousedown",{handleEvent:function(t){n.closeMenu(),e.target.removeEventListener(t.type,this,!1)}},!1))},e.prototype.setItemListener=function(t,n){var i,s=this;t&&"function"==typeof this.items[n].callback&&(i=this.items[n].callback,t.addEventListener("click",function(t){t.preventDefault();var e={coordinate:s.getCoordinateClicked(),data:s.items[n].data||null};s.closeMenu(),i(e,s.map)},!1))};function l(t){return this.Base=t,this.Base.container=this.container=this.createContainer(),this}var d;function u(t){void 0===t&&(t={}),h.assert("object"==typeof t,"@param `opt_options` should be object type!"),"default_items"in t&&(a.defaultItems=t.default_items),this.options=h.mergeOptions(a,t),this.disabled=!1,this.Internal=new e(this),this.Html=new l(this),d.call(this,{element:this.container})}return l.prototype.createContainer=function(t){var e=document.createElement("div"),n=document.createElement("ul"),i=[c.container,c.OL_unselectable];return t&&i.push(c.hidden),e.className=i.join(" "),e.style.width=parseInt(this.Base.options.width,10)+"px",e.appendChild(n),e},l.prototype.createMenu=function(){var t=[];return"items"in this.Base.options?t=this.Base.options.defaultItems?this.Base.options.items.concat(r):this.Base.options.items:this.Base.options.defaultItems&&(t=r),0!==t.length&&void t.forEach(this.addMenuEntry,this)},l.prototype.addMenuEntry=function(t){var e=this;if(t.items&&Array.isArray(t.items)){t.classname=t.classname||"",h.contains(c.submenu,t.classname)||(t.classname=t.classname.length?" "+c.submenu:c.submenu);var n=this.generateHtmlAndPublish(this.container,t),i=this.createContainer();i.style.left=this.Base.Internal.submenu.lastLeft||this.Base.Internal.submenu.left,n.appendChild(i),t.items.forEach(function(t){e.generateHtmlAndPublish(i,t,!0)})}else this.generateHtmlAndPublish(this.container,t)},l.prototype.generateHtmlAndPublish=function(t,e,n){var i,s,o,a=!1,r=h.getUniqueId();return"string"==typeof e&&"-"===e.trim()?(i=['<li id="',r,'" class="',c.separator,'">',"<hr></li>"].join(""),s=h.createFragment(i),o=[].slice.call(s.childNodes,0)[0],t.firstChild.appendChild(s),a=!0):(e.classname=e.classname||"",i="<span>"+e.text+"</span>",s=h.createFragment(i),o=document.createElement("li"),e.icon&&(""===e.classname?e.classname=c.icon:-1===e.classname.indexOf(c.icon)&&(e.classname+=" "+c.icon),o.setAttribute("style","background-image:url("+e.icon+")")),o.id=r,o.className=e.classname,o.appendChild(s),t.firstChild.appendChild(o)),this.Base.Internal.items[r]={id:r,submenu:n||0,separator:a,callback:e.callback,data:e.data||null},this.Base.Internal.setItemListener(o,r),o},l.prototype.removeMenuEntry=function(t){var e=h.find("#"+t,this.container.firstChild);e&&this.container.firstChild.removeChild(e),delete this.Base.Internal.items[t]},l.prototype.cloneAndGetLineHeight=function(){var t=this.container.cloneNode(),e=h.createFragment("<span>Foo</span>"),n=h.createFragment("<span>Foo</span>"),i=document.createElement("li"),s=document.createElement("li");i.appendChild(e),s.appendChild(n),t.appendChild(i),t.appendChild(s),this.container.parentNode.appendChild(t);var o=t.offsetHeight/2;return this.container.parentNode.removeChild(t),o},(d=ol.control.Control)&&(u.__proto__=d),((u.prototype=Object.create(d&&d.prototype)).constructor=u).prototype.clear=function(){var e=this;Object.keys(this.Internal.items).forEach(function(t){e.Html.removeMenuEntry(t)})},u.prototype.close=function(){this.Internal.closeMenu()},u.prototype.enable=function(){this.disabled=!1},u.prototype.disable=function(){this.disabled=!0},u.prototype.getDefaultItems=function(){return r},u.prototype.extend=function(t){h.assert(Array.isArray(t),"@param `arr` should be an Array."),t.forEach(this.push,this)},u.prototype.isOpened=function(){return this.isOpen()},u.prototype.isOpen=function(){return this.Internal.opened},u.prototype.updatePosition=function(t){h.assert(Array.isArray(t),"@param `pixel` should be an Array."),this.isOpen()&&this.Internal.positionContainer(t)},u.prototype.pop=function(){var t=Object.keys(this.Internal.items);this.Html.removeMenuEntry(t[t.length-1])},u.prototype.push=function(t){h.assert(h.isDefAndNotNull(t),"@param `item` must be informed."),this.Html.addMenuEntry(t)},u.prototype.shift=function(){this.Html.removeMenuEntry(Object.keys(this.Internal.items)[0])},u.prototype.setMap=function(t){ol.control.Control.prototype.setMap.call(this,t),t?this.Internal.init(t,this):this.Internal.removeListeners()},u})
\ No newline at end of file
1
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ContextMenu=e()}(this,function(){"use strict";function e(t){return this.Base=t,this.map=void 0,this.viewport=void 0,this.coordinateClicked=void 0,this.pixelClicked=void 0,this.lineHeight=0,this.items={},this.opened=!1,this.submenu={left:t.options.width-15+"px",lastLeft:""},this.eventHandler=this.handleEvent.bind(this),this}var t="ol-ctx-menu",i="beforeopen",n="open",s="close",o="contextmenu",c={container:t+"-container",separator:t+"-separator",submenu:t+"-submenu",hidden:t+"-hidden",icon:t+"-icon",zoomIn:t+"-zoom-in",zoomOut:t+"-zoom-out",OL_unselectable:"ol-unselectable"},a={width:150,scrollAt:4,eventType:o,defaultItems:!0},r=[{text:"Zoom In",classname:[c.zoomIn,c.icon].join(" "),callback:function(t,e){var n=e.getView();n.animate({zoom:+n.getZoom()+1,duration:700,center:t.coordinate})}},{text:"Zoom Out",classname:[c.zoomOut,c.icon].join(" "),callback:function(t,e){var n=e.getView();n.animate({zoom:n.getZoom()-1,duration:700,center:t.coordinate})}}],h={isNumeric:function(t){return/^\d+$/.test(t)},classRegex:function(t){return new RegExp("(^|\\s+) "+t+" (\\s+|$)")},addClass:function(t,e,n){var i=this;if(Array.isArray(t))t.forEach(function(t){i.addClass(t,e)});else for(var s=Array.isArray(e)?e:e.split(/\s+/),o=s.length;o--;)i.hasClass(t,s[o])||i._addClass(t,s[o],n)},_addClass:function(t,e,n){var i=this;t.classList?t.classList.add(e):t.className=(t.className+" "+e).trim(),n&&this.isNumeric(n)&&window.setTimeout(function(){i._removeClass(t,e)},n)},removeClass:function(t,e,n){var i=this;if(Array.isArray(t))t.forEach(function(t){i.removeClass(t,e,n)});else for(var s=Array.isArray(e)?e:e.split(/\s+/),o=s.length;o--;)i.hasClass(t,s[o])&&i._removeClass(t,s[o],n)},_removeClass:function(t,e,n){var i=this;t.classList?t.classList.remove(e):t.className=t.className.replace(this.classRegex(e)," ").trim(),n&&this.isNumeric(n)&&window.setTimeout(function(){i._addClass(t,e)},n)},hasClass:function(t,e){return t.classList?t.classList.contains(e):this.classRegex(e).test(t.className)},toggleClass:function(t,e){var n=this;return Array.isArray(t)?void t.forEach(function(t){n.toggleClass(t,e)}):void(t.classList?t.classList.toggle(e):this.hasClass(t,e)?this._removeClass(t,e):this._addClass(t,e))},$:function(t){return t="#"===t[0]?t.substr(1,t.length):t,document.getElementById(t)},isElement:function(t){return"HTMLElement"in window?!!t&&t instanceof HTMLElement:!!t&&"object"==typeof t&&1===t.nodeType&&!!t.nodeName},find:function(t,e,n){void 0===e&&(e=window.document);var i=Array.prototype.slice,s=[];if(/^(#?[\w-]+|\.[\w-.]+)$/.test(t))switch(t[0]){case"#":s=[this.$(t.substr(1))];break;case".":s=i.call(e.getElementsByClassName(t.substr(1).replace(/\./g," ")));break;default:s=i.call(e.getElementsByTagName(t))}else s=i.call(e.querySelectorAll(t));return n?s:s[0]},offset:function(t){var e=t.getBoundingClientRect(),n=document.documentElement;return{left:e.left+window.pageXOffset-n.clientLeft,top:e.top+window.pageYOffset-n.clientTop,width:t.offsetWidth,height:t.offsetHeight}},getViewportSize:function(){return{w:window.innerWidth||document.documentElement.clientWidth,h:window.innerHeight||document.documentElement.clientHeight}},getAllChildren:function(t,e){return[].slice.call(t.getElementsByTagName(e))},isEmpty:function(t){return!t||0===t.length},emptyArray:function(t){for(;t.length;)t.pop()},removeAllChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},mergeOptions:function(t,e){var n,i,s={};for(n in t)s[n]=t[n];for(i in e)s[i]=e[i];return s},createFragment:function(t){var e=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.appendChild(n.firstChild);return e},contains:function(t,e){return!!~e.indexOf(t)},getUniqueId:function(){return"_"+Math.random().toString(36).substr(2,9)},isDefAndNotNull:function(t){return null!=t},assertEqual:function(t,e,n){if(t!==e)throw new Error(n+" mismatch: "+t+" != "+e)},assert:function(t,e){if(void 0===e&&(e="Assertion failed"),!t){if("undefined"!=typeof Error)throw new Error(e);throw e}}};e.prototype.init=function(t){this.map=t,this.viewport=t.getViewport(),this.setListeners(),this.Base.Html.createMenu(),this.lineHeight=0<this.getItemsLength()?this.Base.container.offsetHeight/this.getItemsLength():this.Base.Html.cloneAndGetLineHeight()},e.prototype.getItemsLength=function(){var e=this,n=0;return Object.keys(this.items).forEach(function(t){e.items[t].submenu||e.items[t].separator||n++}),n},e.prototype.getPixelClicked=function(){return this.pixelClicked},e.prototype.getCoordinateClicked=function(){return this.coordinateClicked},e.prototype.positionContainer=function(t){var o=this,e=this.map.getSize(),n=e[0],a=e[1]-t[1],i=n-t[0],s=this.Base.container.offsetWidth,r=Math.round(this.lineHeight*this.getItemsLength()),l=h.find("li."+c.submenu+"> div",this.Base.container,!0);s<=i?(this.Base.container.style.right="auto",this.Base.container.style.left=t[0]+5+"px"):(this.Base.container.style.left="auto",this.Base.container.style.right="15px"),r<=a?(this.Base.container.style.bottom="auto",this.Base.container.style.top=t[1]-10+"px"):(this.Base.container.style.top="auto",this.Base.container.style.bottom=0),h.removeClass(this.Base.container,c.hidden),l.length&&(this.submenu.lastLeft=i<2*s?"-"+s+"px":this.submenu.left,l.forEach(function(t){var e=h.getViewportSize(),n=h.offset(t),i=n.height,s=a-i;s<0&&(s=i-(e.h-n.top),t.style.top="-"+s+"px"),t.style.left=o.submenu.lastLeft}))},e.prototype.openMenu=function(t,e){this.Base.dispatchEvent({type:n,pixel:t,coordinate:e}),this.opened=!0,this.positionContainer(t)},e.prototype.closeMenu=function(){this.opened=!1,h.addClass(this.Base.container,c.hidden),this.Base.dispatchEvent({type:s})},e.prototype.setListeners=function(){this.viewport.addEventListener(this.Base.options.eventType,this.eventHandler,!1)},e.prototype.removeListeners=function(){this.viewport.removeEventListener(this.Base.options.eventType,this.eventHandler,!1)},e.prototype.handleEvent=function(e){var n=this;this.coordinateClicked=this.map.getEventCoordinate(e),this.pixelClicked=this.map.getEventPixel(e),this.Base.dispatchEvent({type:i,pixel:this.pixelClicked,coordinate:this.coordinateClicked}),this.Base.disabled||(this.Base.options.eventType===o&&(e.stopPropagation(),e.preventDefault()),this.openMenu(this.pixelClicked,this.coordinateClicked),e.target.addEventListener("mousedown",{handleEvent:function(t){n.closeMenu(),e.target.removeEventListener(t.type,this,!1)}},!1))},e.prototype.setItemListener=function(t,n){var i,s=this;t&&"function"==typeof this.items[n].callback&&(i=this.items[n].callback,t.addEventListener("click",function(t){t.preventDefault();var e={coordinate:s.getCoordinateClicked(),data:s.items[n].data||null};s.closeMenu(),i(e,s.map)},!1))};function l(t){return this.Base=t,this.Base.container=this.container=this.createContainer(),this}var d;function u(t){void 0===t&&(t={}),h.assert("object"==typeof t,"@param `opt_options` should be object type!"),"default_items"in t&&(a.defaultItems=t.default_items),this.options=h.mergeOptions(a,t),this.disabled=!1,this.Internal=new e(this),this.Html=new l(this),d.call(this,{element:this.container})}return l.prototype.createContainer=function(t){var e=document.createElement("div"),n=document.createElement("ul"),i=[c.container,c.OL_unselectable];return t&&i.push(c.hidden),e.className=i.join(" "),e.style.width=parseInt(this.Base.options.width,10)+"px",e.appendChild(n),e},l.prototype.createMenu=function(){var t=[];return"items"in this.Base.options?t=this.Base.options.defaultItems?this.Base.options.items.concat(r):this.Base.options.items:this.Base.options.defaultItems&&(t=r),0!==t.length&&void t.forEach(this.addMenuEntry,this)},l.prototype.addMenuEntry=function(t){var e,n,i=this;t.items&&Array.isArray(t.items)?(t.classname=t.classname||"",h.contains(c.submenu,t.classname)||(t.classname=t.classname.length?" "+c.submenu:c.submenu),e=this.generateHtmlAndPublish(this.container,t),(n=this.createContainer()).style.left=this.Base.Internal.submenu.lastLeft||this.Base.Internal.submenu.left,e.appendChild(n),t.items.forEach(function(t){i.generateHtmlAndPublish(n,t,!0)})):this.generateHtmlAndPublish(this.container,t)},l.prototype.generateHtmlAndPublish=function(t,e,n){var i,s,o,a=!1,r=h.getUniqueId();return"string"==typeof e&&"-"===e.trim()?(i=['<li id="',r,'" class="',c.separator,'">',"<hr></li>"].join(""),s=h.createFragment(i),o=[].slice.call(s.childNodes,0)[0],t.firstChild.appendChild(s),a=!0):(e.classname=e.classname||"",i="<span>"+e.text+"</span>",s=h.createFragment(i),o=document.createElement("li"),e.icon&&(""===e.classname?e.classname=c.icon:-1===e.classname.indexOf(c.icon)&&(e.classname+=" "+c.icon),o.setAttribute("style","background-image:url("+e.icon+")")),o.id=r,o.className=e.classname,o.appendChild(s),t.firstChild.appendChild(o)),this.Base.Internal.items[r]={id:r,submenu:n||0,separator:a,callback:e.callback,data:e.data||null},this.Base.Internal.setItemListener(o,r),o},l.prototype.removeMenuEntry=function(t){var e=h.find("#"+t,this.container.firstChild);e&&this.container.firstChild.removeChild(e),delete this.Base.Internal.items[t]},l.prototype.cloneAndGetLineHeight=function(){var t=this.container.cloneNode(),e=h.createFragment("<span>Foo</span>"),n=h.createFragment("<span>Foo</span>"),i=document.createElement("li"),s=document.createElement("li");i.appendChild(e),s.appendChild(n),t.appendChild(i),t.appendChild(s),this.container.parentNode.appendChild(t);var o=t.offsetHeight/2;return this.container.parentNode.removeChild(t),o},(d=ol.control.Control)&&(u.__proto__=d),((u.prototype=Object.create(d&&d.prototype)).constructor=u).prototype.clear=function(){var e=this;Object.keys(this.Internal.items).forEach(function(t){e.Html.removeMenuEntry(t)})},u.prototype.close=function(){this.Internal.closeMenu()},u.prototype.enable=function(){this.disabled=!1},u.prototype.disable=function(){this.disabled=!0},u.prototype.getDefaultItems=function(){return r},u.prototype.extend=function(t){h.assert(Array.isArray(t),"@param `arr` should be an Array."),t.forEach(this.push,this)},u.prototype.isOpened=function(){return this.isOpen()},u.prototype.isOpen=function(){return this.Internal.opened},u.prototype.updatePosition=function(t){h.assert(Array.isArray(t),"@param `pixel` should be an Array."),this.isOpen()&&this.Internal.positionContainer(t)},u.prototype.pop=function(){var t=Object.keys(this.Internal.items);this.Html.removeMenuEntry(t[t.length-1])},u.prototype.push=function(t){h.assert(h.isDefAndNotNull(t),"@param `item` must be informed."),this.Html.addMenuEntry(t)},u.prototype.shift=function(){this.Html.removeMenuEntry(Object.keys(this.Internal.items)[0])},u.prototype.setMap=function(t){ol.control.Control.prototype.setMap.call(this,t),t?this.Internal.init(t,this):this.Internal.removeListeners()},u})
\ No newline at end of file
public/scripts/u2f-api-min.js
+1
-1
@@ -1 +1 @@
1
-"use strict";if(!window.u2f){var js_api_version,u2f=u2f||{};u2f.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",u2f.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},u2f.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},u2f.U2fRequest,u2f.U2fResponse,u2f.Error,u2f.Transport,u2f.Transports,u2f.SignRequest,u2f.SignResponse,u2f.RegisterRequest,u2f.RegisterResponse,u2f.RegisteredKey,u2f.GetJsApiVersionResponse,u2f.getMessagePort=function(e){if("undefined"!=typeof chrome&&chrome.runtime){var t={type:u2f.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(u2f.EXTENSION_ID,t,function(){chrome.runtime.lastError?u2f.getIframePort_(e):u2f.getChromeRuntimePort_(e)})}else u2f.isAndroidChrome_()?u2f.getAuthenticatorPort_(e):u2f.isIosChrome_()?u2f.getIosPort_(e):u2f.getIframePort_(e)},u2f.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},u2f.isIosChrome_=function(){var e=["iPhone","iPad","iPod"];for(var t in e)if(navigator.platform==e[t])return!0;return!1},u2f.getChromeRuntimePort_=function(e){var t=chrome.runtime.connect(u2f.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){e(new u2f.WrappedChromeRuntimePort_(t))},0)},u2f.getAuthenticatorPort_=function(e){setTimeout(function(){e(new u2f.WrappedAuthenticatorPort_)},0)},u2f.getIosPort_=function(e){setTimeout(function(){e(new u2f.WrappedIosPort_)},0)},u2f.WrappedChromeRuntimePort_=function(e){this.port_=e},u2f.formatSignRequest_=function(e,t,r,o,n){if(void 0===js_api_version||js_api_version<1.1){for(var s=[],u=0;u<r.length;u++)s[u]={version:r[u].version,challenge:t,keyHandle:r[u].keyHandle,appId:e};return{type:u2f.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:o,requestId:n}}return{type:u2f.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:t,registeredKeys:r,timeoutSeconds:o,requestId:n}},u2f.formatRegisterRequest_=function(e,t,r,o,n){if(void 0===js_api_version||js_api_version<1.1){for(var s=0;s<r.length;s++)r[s].appId=e;var u=[];for(s=0;s<t.length;s++)u[s]={version:t[s].version,challenge:r[0],keyHandle:t[s].keyHandle,appId:e};return{type:u2f.MessageTypes.U2F_REGISTER_REQUEST,signRequests:u,registerRequests:r,timeoutSeconds:o,requestId:n}}return{type:u2f.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:r,registeredKeys:t,timeoutSeconds:o,requestId:n}},u2f.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},u2f.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var r=e.toLowerCase();"message"==r||"onmessage"==r?this.port_.onMessage.addListener(function(e){t({data:e})}):console.error("WrappedChromeRuntimePort only supports onMessage")},u2f.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},u2f.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var t=u2f.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=t},u2f.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},u2f.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){if("message"==e.toLowerCase()){window.addEventListener("message",this.onRequestUpdate_.bind(this,t),!1)}else console.error("WrappedAuthenticatorPort only supports message")},u2f.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var r=JSON.parse(t.data),o=(r.intentURL,r.errorCode,null);r.hasOwnProperty("data")&&(o=JSON.parse(r.data)),e({data:o})},u2f.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",u2f.WrappedIosPort_=function(){},u2f.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),r="u2f://auth?"+encodeURI(t);location.replace(r)},u2f.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},u2f.WrappedIosPort_.prototype.addEventListener=function(e,t){"message"!==e.toLowerCase()&&console.error("WrappedIosPort only supports message")},u2f.getIframePort_=function(t){var e="chrome-extension://"+u2f.EXTENSION_ID,r=document.createElement("iframe");r.src=e+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,n=function(e){"ready"==e.data?(o.port1.removeEventListener("message",n),t(o.port1)):console.error('First event on iframe port was not "ready"')};o.port1.addEventListener("message",n),o.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",e,[o.port2])})},u2f.EXTENSION_TIMEOUT_SEC=30,u2f.port_=null,u2f.waitingForPort_=[],u2f.reqCounter_=0,u2f.callbackMap_={},u2f.getPortSingleton_=function(e){u2f.port_?e(u2f.port_):(0==u2f.waitingForPort_.length&&u2f.getMessagePort(function(e){for(u2f.port_=e,u2f.port_.addEventListener("message",u2f.responseHandler_);u2f.waitingForPort_.length;)u2f.waitingForPort_.shift()(u2f.port_)}),u2f.waitingForPort_.push(e))},u2f.responseHandler_=function(e){var t=e.data,r=t.requestId;if(r&&u2f.callbackMap_[r]){var o=u2f.callbackMap_[r];delete u2f.callbackMap_[r],o(t.responseData)}else console.error("Unknown or missing requestId in response.")},u2f.sign=function(t,r,o,n,s){void 0===js_api_version?u2f.getApiVersion(function(e){js_api_version=void 0===e.js_api_version?0:e.js_api_version,u2f.sendSignRequest(t,r,o,n,s)}):u2f.sendSignRequest(t,r,o,n,s)},u2f.sendSignRequest=function(n,s,u,i,a){u2f.getPortSingleton_(function(e){var t=++u2f.reqCounter_;u2f.callbackMap_[t]=i;var r=void 0!==a?a:u2f.EXTENSION_TIMEOUT_SEC,o=u2f.formatSignRequest_(n,s,u,r,t);e.postMessage(o)})},u2f.register=function(t,r,o,n,s){void 0===js_api_version?u2f.getApiVersion(function(e){js_api_version=void 0===e.js_api_version?0:e.js_api_version,u2f.sendRegisterRequest(t,r,o,n,s)}):u2f.sendRegisterRequest(t,r,o,n,s)},u2f.sendRegisterRequest=function(n,s,u,i,a){u2f.getPortSingleton_(function(e){var t=++u2f.reqCounter_;u2f.callbackMap_[t]=i;var r=void 0!==a?a:u2f.EXTENSION_TIMEOUT_SEC,o=u2f.formatRegisterRequest_(n,u,s,r,t);e.postMessage(o)})},u2f.getApiVersion=function(n,s){u2f.getPortSingleton_(function(e){if(e.getPortType){var t;switch(e.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":t=1.1;break;default:t=0}n({js_api_version:t})}else{var r=++u2f.reqCounter_;u2f.callbackMap_[r]=n;var o={type:u2f.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==s?s:u2f.EXTENSION_TIMEOUT_SEC,requestId:r};e.postMessage(o)}})}}
\ No newline at end of file
1
+"use strict";var u2f,js_api_version;window.u2f||((u2f=u2f||{}).EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",u2f.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},u2f.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},u2f.U2fRequest,u2f.U2fResponse,u2f.Error,u2f.Transport,u2f.Transports,u2f.SignRequest,u2f.SignResponse,u2f.RegisterRequest,u2f.RegisterResponse,u2f.RegisteredKey,u2f.GetJsApiVersionResponse,u2f.getMessagePort=function(e){var t;"undefined"!=typeof chrome&&chrome.runtime?(t={type:u2f.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]},chrome.runtime.sendMessage(u2f.EXTENSION_ID,t,function(){chrome.runtime.lastError?u2f.getIframePort_(e):u2f.getChromeRuntimePort_(e)})):u2f.isAndroidChrome_()?u2f.getAuthenticatorPort_(e):u2f.isIosChrome_()?u2f.getIosPort_(e):u2f.getIframePort_(e)},u2f.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},u2f.isIosChrome_=function(){var e,t=["iPhone","iPad","iPod"];for(e in t)if(navigator.platform==t[e])return!0;return!1},u2f.getChromeRuntimePort_=function(e){var t=chrome.runtime.connect(u2f.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){e(new u2f.WrappedChromeRuntimePort_(t))},0)},u2f.getAuthenticatorPort_=function(e){setTimeout(function(){e(new u2f.WrappedAuthenticatorPort_)},0)},u2f.getIosPort_=function(e){setTimeout(function(){e(new u2f.WrappedIosPort_)},0)},u2f.WrappedChromeRuntimePort_=function(e){this.port_=e},u2f.formatSignRequest_=function(e,t,r,o,n){if(void 0===js_api_version||js_api_version<1.1){for(var s=[],u=0;u<r.length;u++)s[u]={version:r[u].version,challenge:t,keyHandle:r[u].keyHandle,appId:e};return{type:u2f.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:o,requestId:n}}return{type:u2f.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:t,registeredKeys:r,timeoutSeconds:o,requestId:n}},u2f.formatRegisterRequest_=function(e,t,r,o,n){if(void 0===js_api_version||js_api_version<1.1){for(var s=0;s<r.length;s++)r[s].appId=e;for(var u=[],s=0;s<t.length;s++)u[s]={version:t[s].version,challenge:r[0],keyHandle:t[s].keyHandle,appId:e};return{type:u2f.MessageTypes.U2F_REGISTER_REQUEST,signRequests:u,registerRequests:r,timeoutSeconds:o,requestId:n}}return{type:u2f.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:r,registeredKeys:t,timeoutSeconds:o,requestId:n}},u2f.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},u2f.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var r=e.toLowerCase();"message"==r||"onmessage"==r?this.port_.onMessage.addListener(function(e){t({data:e})}):console.error("WrappedChromeRuntimePort only supports onMessage")},u2f.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},u2f.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var t=u2f.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=t},u2f.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},u2f.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){"message"==e.toLowerCase()?window.addEventListener("message",this.onRequestUpdate_.bind(this,t),!1):console.error("WrappedAuthenticatorPort only supports message")},u2f.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var r=JSON.parse(t.data),o=(r.intentURL,r.errorCode,null);r.hasOwnProperty("data")&&(o=JSON.parse(r.data)),e({data:o})},u2f.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",u2f.WrappedIosPort_=function(){},u2f.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),r="u2f://auth?"+encodeURI(t);location.replace(r)},u2f.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},u2f.WrappedIosPort_.prototype.addEventListener=function(e,t){"message"!==e.toLowerCase()&&console.error("WrappedIosPort only supports message")},u2f.getIframePort_=function(t){var e="chrome-extension://"+u2f.EXTENSION_ID,r=document.createElement("iframe");r.src=e+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,n=function(e){"ready"==e.data?(o.port1.removeEventListener("message",n),t(o.port1)):console.error('First event on iframe port was not "ready"')};o.port1.addEventListener("message",n),o.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",e,[o.port2])})},u2f.EXTENSION_TIMEOUT_SEC=30,u2f.port_=null,u2f.waitingForPort_=[],u2f.reqCounter_=0,u2f.callbackMap_={},u2f.getPortSingleton_=function(e){u2f.port_?e(u2f.port_):(0==u2f.waitingForPort_.length&&u2f.getMessagePort(function(e){for(u2f.port_=e,u2f.port_.addEventListener("message",u2f.responseHandler_);u2f.waitingForPort_.length;)u2f.waitingForPort_.shift()(u2f.port_)}),u2f.waitingForPort_.push(e))},u2f.responseHandler_=function(e){var t,r=e.data,o=r.requestId;o&&u2f.callbackMap_[o]?(t=u2f.callbackMap_[o],delete u2f.callbackMap_[o],t(r.responseData)):console.error("Unknown or missing requestId in response.")},u2f.sign=function(t,r,o,n,s){void 0===js_api_version?u2f.getApiVersion(function(e){js_api_version=void 0===e.js_api_version?0:e.js_api_version,u2f.sendSignRequest(t,r,o,n,s)}):u2f.sendSignRequest(t,r,o,n,s)},u2f.sendSignRequest=function(n,s,u,i,a){u2f.getPortSingleton_(function(e){var t=++u2f.reqCounter_;u2f.callbackMap_[t]=i;var r=void 0!==a?a:u2f.EXTENSION_TIMEOUT_SEC,o=u2f.formatSignRequest_(n,s,u,r,t);e.postMessage(o)})},u2f.register=function(t,r,o,n,s){void 0===js_api_version?u2f.getApiVersion(function(e){js_api_version=void 0===e.js_api_version?0:e.js_api_version,u2f.sendRegisterRequest(t,r,o,n,s)}):u2f.sendRegisterRequest(t,r,o,n,s)},u2f.sendRegisterRequest=function(n,s,u,i,a){u2f.getPortSingleton_(function(e){var t=++u2f.reqCounter_;u2f.callbackMap_[t]=i;var r=void 0!==a?a:u2f.EXTENSION_TIMEOUT_SEC,o=u2f.formatRegisterRequest_(n,u,s,r,t);e.postMessage(o)})},u2f.getApiVersion=function(n,s){u2f.getPortSingleton_(function(e){if(e.getPortType){var t;switch(e.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":t=1.1;break;default:t=0}n({js_api_version:t})}else{var r=++u2f.reqCounter_;u2f.callbackMap_[r]=n;var o={type:u2f.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==s?s:u2f.EXTENSION_TIMEOUT_SEC,requestId:r};e.postMessage(o)}})})
\ No newline at end of file
public/scripts/xterm-addon-fit-min.js
+1
-1
@@ -1 +1 @@
1
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.FitAddon=t():e.FitAddon=t()}(window,function(){return n={},o.m=r=[function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(o.prototype.activate=function(e){this._terminal=e},o.prototype.dispose=function(){},o.prototype.fit=function(){var e=this.proposeDimensions();if(e&&this._terminal){var t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}},o.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core,t=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(t.getPropertyValue("height")),n=Math.max(0,parseInt(t.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),i=r-(parseInt(o.getPropertyValue("padding-top"))+parseInt(o.getPropertyValue("padding-bottom"))),a=n-(parseInt(o.getPropertyValue("padding-right"))+parseInt(o.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(a/e._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(i/e._renderService.dimensions.actualCellHeight))}}},o);function o(){}t.FitAddon=n}],o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0);function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n})
\ No newline at end of file
1
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.FitAddon=t():e.FitAddon=t()}(window,function(){return n={},o.m=r=[function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(o.prototype.activate=function(e){this._terminal=e},o.prototype.dispose=function(){},o.prototype.fit=function(){var e,t=this.proposeDimensions();t&&this._terminal&&(e=this._terminal._core,this._terminal.rows===t.rows&&this._terminal.cols===t.cols||(e._renderService.clear(),this._terminal.resize(t.cols,t.rows)))},o.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core,t=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(t.getPropertyValue("height")),n=Math.max(0,parseInt(t.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),i=r-(parseInt(o.getPropertyValue("padding-top"))+parseInt(o.getPropertyValue("padding-bottom"))),a=n-(parseInt(o.getPropertyValue("padding-right"))+parseInt(o.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(a/e._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(i/e._renderService.dimensions.actualCellHeight))}}},o);function o(){}t.FitAddon=n}],o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0);function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n})
\ No newline at end of file
public/scripts/xterm-min.js
+1
-1
@@ -1 +1 @@
1
-!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var r in i)("object"==typeof exports?exports:e)[r]=i[r]}}(window,function(){return r={},n.m=i=[function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(14);t.IBufferService=r.createDecorator("BufferService"),t.ICoreMouseService=r.createDecorator("CoreMouseService"),t.ICoreService=r.createDecorator("CoreService"),t.ICharsetService=r.createDecorator("CharsetService"),t.IDirtyRowService=r.createDecorator("DirtyRowService"),t.IInstantiationService=r.createDecorator("InstantiationService"),t.ILogService=r.createDecorator("LogService"),t.IOptionsService=r.createDecorator("OptionsService"),t.IUnicodeService=r.createDecorator("UnicodeService")},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(Object.defineProperty(n.prototype,"event",{get:function(){var i=this;return this._event||(this._event=function(t){return i._listeners.push(t),{dispose:function(){if(!i._disposed)for(var e=0;e<i._listeners.length;e++)if(i._listeners[e]===t)return void i._listeners.splice(e,1)}}}),this._event},enumerable:!0,configurable:!0}),n.prototype.fire=function(e,t){for(var i=[],r=0;r<this._listeners.length;r++)i.push(this._listeners[r]);for(r=0;r<i.length;r++)i[r].call(void 0,e,t)},n.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},n);function n(){this._listeners=[],this._disposed=!1}t.EventEmitter=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){this._isDisposed=!0,this._disposables.forEach(function(e){return e.dispose()}),this._disposables.length=0},n.prototype.register=function(e){this._disposables.push(e)},n.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},n);function n(){this._disposables=[],this._isDisposed=!1}t.Disposable=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(14);t.ICharSizeService=r.createDecorator("CharSizeService"),t.ICoreBrowserService=r.createDecorator("CoreBrowserService"),t.IMouseService=r.createDecorator("MouseService"),t.IRenderService=r.createDecorator("RenderService"),t.ISelectionService=r.createDecorator("SelectionService"),t.ISoundService=r.createDecorator("SoundService")},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(7),a=i(3),c=(o=i(6).AttributeData,n(l,o),l.fromCharData=function(e){var t=new l;return t.setFromCharData(e),t},l.prototype.isCombined=function(){return 2097152&this.content},l.prototype.getWidth=function(){return this.content>>22},l.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?s.stringFromCodePoint(2097151&this.content):""},l.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},l.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(2<e[a.CHAR_DATA_CHAR_INDEX].length)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var i=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=i&&i<=56319){var r=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(i-55296)+r-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l);function l(){var e=null!==o&&o.apply(this,arguments)||this;return e.content=0,e.fg=0,e.bg=0,e.combinedData="",e}t.CellData=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},n.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},n.prototype.clone=function(){var e=new n;return e.fg=this.fg,e.bg=this.bg,e},n.prototype.isInverse=function(){return 67108864&this.fg},n.prototype.isBold=function(){return 134217728&this.fg},n.prototype.isUnderline=function(){return 268435456&this.fg},n.prototype.isBlink=function(){return 536870912&this.fg},n.prototype.isInvisible=function(){return 1073741824&this.fg},n.prototype.isItalic=function(){return 67108864&this.bg},n.prototype.isDim=function(){return 134217728&this.bg},n.prototype.getFgColorMode=function(){return 50331648&this.fg},n.prototype.getBgColorMode=function(){return 50331648&this.bg},n.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},n.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},n.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},n.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},n.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},n.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},n.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},n.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},n.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},n);function n(){this.fg=0,this.bg=0}t.AttributeData=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return 65535<e?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=e.length);for(var r="",n=t;n<i;++n){var o=e[n];65535<o?(o-=65536,r+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):r+=String.fromCharCode(o)}return r};var r=(n.prototype.clear=function(){this._interim=0},n.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var r=0,n=0;this._interim&&(56320<=(a=e.charCodeAt(n++))&&a<=57343?t[r++]=1024*(this._interim-55296)+a-56320+65536:(t[r++]=this._interim,t[r++]=a),this._interim=0);for(var o=n;o<i;++o){var s=e.charCodeAt(o);if(55296<=s&&s<=56319){if(++o>=i)return this._interim=s,r;var a;56320<=(a=e.charCodeAt(o))&&a<=57343?t[r++]=1024*(s-55296)+a-56320+65536:(t[r++]=s,t[r++]=a)}else t[r++]=s}return r},n);function n(){this._interim=0}t.StringToUtf32=r;var o=(s.prototype.clear=function(){this.interim.fill(0)},s.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var r,n,o,s,a=0,c=0,l=0;if(this.interim[0]){var h=!1,u=this.interim[0];u&=192==(224&u)?31:224==(240&u)?15:7;for(var f=0,_=void 0;(_=63&this.interim[++f])&&f<4;)u<<=6,u|=_;for(var d=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,p=d-f;l<p;){if(i<=l)return 0;if(128!=(192&(_=e[l++]))){l--,h=!0;break}u<<=6,u|=63&(this.interim[f++]=_)}h||(2==d?u<128?l--:t[a++]=u:3==d?u<2048||55296<=u&&u<=57343||(t[a++]=u):u<65536||1114111<u||(t[a++]=u)),this.interim.fill(0)}for(var v=i-4,g=l;g<i;){for(;!(!(g<v)||128&(r=e[g])||128&(n=e[g+1])||128&(o=e[g+2])||128&(s=e[g+3]));)t[a++]=r,t[a++]=n,t[a++]=o,t[a++]=s,g+=4;if((r=e[g++])<128)t[a++]=r;else if(192==(224&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if((c=(31&r)<<6|63&n)<128){g--;continue}t[a++]=c}else if(224==(240&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if((c=(15&r)<<12|(63&n)<<6|63&o)<2048||55296<=c&&c<=57343)continue;t[a++]=c}else if(240==(248&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,this.interim[2]=o,a;if(128!=(192&(s=e[g++]))){g--;continue}if((c=(7&r)<<18|(63&n)<<12|(63&o)<<6|63&s)<65536||1114111<c)continue;t[a++]=c}}return a},s);function s(){this.interim=new Uint8Array(3)}t.Utf8ToUtf32=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,i,r){e.addEventListener(t,i,r);var n=!1;return{dispose:function(){n&&(n=!0,e.removeEventListener(t,i,r))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,i){"use strict";var f,r,h,s,n,o,a;function c(e){var t=e.toString(16);return t.length<2?"0"+t:t}function u(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}function l(e,t,i){for(var r=e>>24&255,n=e>>16&255,o=e>>8&255,s=t>>24&255,a=t>>16&255,c=t>>8&255,l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));l<i&&(0<s||0<a||0<c);)s-=Math.max(0,Math.ceil(.1*s)),a-=Math.max(0,Math.ceil(.1*a)),c-=Math.max(0,Math.ceil(.1*c)),l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));return(s<<24|a<<16|c<<8|255)>>>0}function _(e,t,i){for(var r=e>>24&255,n=e>>16&255,o=e>>8&255,s=t>>24&255,a=t>>16&255,c=t>>8&255,l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));l<i&&(s<255||a<255||c<255);)s=Math.min(255,s+Math.ceil(.1*(255-s))),a=Math.min(255,a+Math.ceil(.1*(255-a))),c=Math.min(255,c+Math.ceil(.1*(255-c))),l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));return(s<<24|a<<16|c<<8|255)>>>0}function d(e,t,i){var r=e/255,n=t/255,o=i/255;return.2126*(r<=.03928?r/12.92:Math.pow((.055+r)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((.055+o)/1.055,2.4))}Object.defineProperty(t,"__esModule",{value:!0}),(a=f=t.channels||(t.channels={})).toCss=function(e,t,i,r){return void 0!==r?"#"+c(e)+c(t)+c(i)+c(r):"#"+c(e)+c(t)+c(i)},a.toRgba=function(e,t,i,r){return void 0===r&&(r=255),(e<<24|t<<16|i<<8|r)>>>0},(r=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1==i)return{css:t.css,rgba:t.rgba};var r=t.rgba>>24&255,n=t.rgba>>16&255,o=t.rgba>>8&255,s=e.rgba>>24&255,a=e.rgba>>16&255,c=e.rgba>>8&255,l=s+Math.round((r-s)*i),h=a+Math.round((n-a)*i),u=c+Math.round((o-c)*i);return{css:f.toCss(l,h,u),rgba:f.toRgba(l,h,u)}},r.ensureContrastRatio=function(e,t,i){var r=s.ensureContrastRatio(e.rgba,t.rgba,i);if(r)return s.toColor(r>>24&255,r>>16&255,r>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,i=s.toChannels(t),r=i[0],n=i[1],o=i[2];return{css:f.toCss(r,n,o),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},(o=h=t.rgb||(t.rgb={})).relativeLuminance=function(e){return d(e>>16&255,e>>8&255,255&e)},o.relativeLuminance2=d,(n=s=t.rgba||(t.rgba={})).ensureContrastRatio=function(e,t,i){var r=h.relativeLuminance(e>>8),n=h.relativeLuminance(t>>8);if(u(r,n)<i)return n<r?l(e,t,i):_(e,t,i)},n.reduceLuminance=l,n.increaseLuminance=_,n.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},n.toColor=function(e,t,i){return{css:f.toCss(e,t,i),rgba:f.toRgba(e,t,i)}},t.toPaddedHex=c,t.contrastRatio=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="undefined"==typeof navigator,n=r?"node":navigator.userAgent,o=r?"node":navigator.platform;function s(e,t){return 0<=e.indexOf(t)}t.isFirefox=!!~n.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(n),t.isMac=s(["Macintosh","MacIntel","MacPPC","Mac68K"],o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=s(["Windows","Win16","Win32","WinCE"],o),t.isLinux=0<=o.indexOf("Linux")},function(e,t,i){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.C0||(t.C0={})).NUL="\0",n.SOH="",n.STX="",n.ETX="",n.EOT="",n.ENQ="",n.ACK="",n.BEL="",n.BS="\b",n.HT="\t",n.LF="\n",n.VT="\v",n.FF="\f",n.CR="\r",n.SO="",n.SI="",n.DLE="",n.DC1="",n.DC2="",n.DC3="",n.DC4="",n.NAK="",n.SYN="",n.ETB="",n.CAN="",n.EM="",n.SUB="",n.ESC="",n.FS="",n.GS="",n.RS="",n.US="",n.SP=" ",n.DEL="",(r=t.C1||(t.C1={})).PAD="",r.HOP="",r.BPH="",r.NBH="",r.IND="",r.NEL="
",r.SSA="",r.ESA="",r.HTS="",r.HTJ="",r.VTS="",r.PLD="",r.PLU="",r.RI="",r.SS2="",r.SS3="",r.DCS="",r.PU1="",r.PU2="",r.STS="",r.CCH="",r.MW="",r.SPA="",r.EPA="",r.SOS="",r.SGCI="",r.SCI="",r.CSI="",r.ST="",r.OSC="",r.PM="",r.APC=""},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(3),a=i(9),r=i(23),c=i(6),n=i(26),d=i(10),o=(l.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},l.prototype._initCanvas=function(){this._ctx=n.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},l.prototype.onOptionsChanged=function(){},l.prototype.onBlur=function(){},l.prototype.onFocus=function(){},l.prototype.onCursorMove=function(){},l.prototype.onGridChanged=function(e,t){},l.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1)},l.prototype.setColors=function(e){this._refreshCharAtlas(e)},l.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},l.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=r.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},l.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},l.prototype._fillCells=function(e,t,i,r){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight)},l.prototype._fillBottomLineAtCells=function(e,t,i){void 0===i&&(i=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,i*this._scaledCellWidth,window.devicePixelRatio)},l.prototype._fillLeftLineAtCell=function(e,t,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*i,this._scaledCellHeight)},l.prototype._strokeRectAtCell=function(e,t,i,r){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,i*this._scaledCellWidth-window.devicePixelRatio,r*this._scaledCellHeight-window.devicePixelRatio)},l.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},l.prototype._clearCells=function(e,t,i,r){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight))},l.prototype._fillCharTrueColor=function(e,t,i){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(i),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},l.prototype._drawChars=function(e,t,i){var r,n,o=this._getContrastColor(e);o||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,i,o):(e.isInverse()?(r=e.isBgDefault()?a.INVERTED_DEFAULT_COLOR:e.getBgColor(),n=e.isFgDefault()?a.INVERTED_DEFAULT_COLOR:e.getFgColor()):(n=e.isBgDefault()?s.DEFAULT_COLOR:e.getBgColor(),r=e.isFgDefault()?s.DEFAULT_COLOR:e.getFgColor()),r+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&r<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||s.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||s.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=n,this._currentGlyphIdentifier.fg=r,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,i))},l.prototype._drawUncachedChars=function(e,t,i,r){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(r)this._ctx.fillStyle=r.css;else if(e.isBgDefault())this._ctx.fillStyle=d.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var n=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&n<8&&(n+=8),this._ctx.fillStyle=this._colors.ansi[n].css}else if(r)this._ctx.fillStyle=r.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}this._clipRow(i),e.isDim()&&(this._ctx.globalAlpha=a.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},l.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},l.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},l.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var i=e.getFgColor(),r=e.getFgColorMode(),n=e.getBgColor(),o=e.getBgColorMode(),s=!!e.isInverse(),a=!!e.isInverse();if(s){var c=i;i=n,n=c;var l=r;r=o,o=l}var h=this._resolveBackgroundRgba(o,n,s),u=this._resolveForegroundRgba(r,i,s,a),f=d.rgba.ensureContrastRatio(h,u,this._optionsService.options.minimumContrastRatio);if(f){var _={css:d.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,_),_}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},l.prototype._resolveBackgroundRgba=function(e,t,i){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.foreground.rgba:this._colors.background.rgba}},l.prototype._resolveForegroundRgba=function(e,t,i,r){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&r&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.background.rgba:this._colors.foreground.rgba}},l);function l(e,t,i,r,n,o,s,a){this._container=e,this._alpha=r,this._colors=n,this._rendererId=o,this._bufferService=s,this._optionsService=a,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=i.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}t.BaseRenderLayer=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="di$target",o="di$dependencies";t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[o]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var r=function(e,t,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,i){t[n]===t?t[o].push({id:e,index:i}):(t[o]=[{id:e,index:i}],t[n]=t)}(r,e,i)};return r.toString=function(){return e},t.serviceRegistry.set(e,r),r}},function(e,t,i){"use strict";function n(e,t,i,r){if(void 0===i&&(i=0),void 0===r&&(r=e.length),i>=e.length)return e;i=(e.length+i)%e.length,r=r>=e.length?e.length:(e.length+r)%e.length;for(var n=i;n<r;++n)e[n]=t;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.fill=function(e,t,i,r){return e.fill?e.fill(t,i,r):n(e,t,i,r)},t.fillFallback=n,t.concat=function(e,t){var i=new e.constructor(e.length+t.length);return i.set(e),i.set(t,e.length),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(7),a=i(3),h=i(5),r=i(6);t.DEFAULT_ATTR_DATA=Object.freeze(new r.AttributeData);var n=(o.prototype.get=function(e){var t=this._data[3*e+0],i=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:i?s.stringFromCodePoint(i):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):i]},o.prototype.set=function(e,t){this._data[3*e+1]=t[a.CHAR_DATA_ATTR_INDEX],1<t[a.CHAR_DATA_CHAR_INDEX].length?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[a.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[a.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(e){return this._data[3*e+0]>>22},o.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},o.prototype.getFg=function(e){return this._data[3*e+1]},o.prototype.getBg=function(e){return this._data[3*e+2]},o.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},o.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},o.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},o.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?s.stringFromCodePoint(2097151&t):""},o.prototype.loadCell=function(e,t){var i=3*e;return t.content=this._data[0+i],t.fg=this._data[1+i],t.bg=this._data[2+i],2097152&t.content&&(t.combinedData=this._combined[e]),t},o.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},o.prototype.setCellFromCodePoint=function(e,t,i,r,n){this._data[3*e+0]=t|i<<22,this._data[3*e+1]=r,this._data[3*e+2]=n},o.prototype.addCodepointToCell=function(e,t){var i=this._data[3*e+0];2097152&i?this._combined[e]+=s.stringFromCodePoint(t):(2097151&i?(this._combined[e]=s.stringFromCodePoint(2097151&i)+s.stringFromCodePoint(t),i&=-2097152,i|=2097152):i=t|1<<22,this._data[3*e+0]=i)},o.prototype.insertCells=function(e,t,i,r){var n,o,s,a;if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(n=r)||void 0===n?void 0:n.fg)||0,(null===(o=r)||void 0===o?void 0:o.bg)||0),t<this.length-e){for(var c=new h.CellData,l=this.length-e-t-1;0<=l;--l)this.setCell(e+t+l,this.loadCell(e+l,c));for(l=0;l<t;++l)this.setCell(e+l,i)}else for(l=e;l<this.length;++l)this.setCell(l,i);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null===(s=r)||void 0===s?void 0:s.fg)||0,(null===(a=r)||void 0===a?void 0:a.bg)||0)},o.prototype.deleteCells=function(e,t,i,r){var n,o,s,a;if(e%=this.length,t<this.length-e){for(var c=new h.CellData,l=0;l<this.length-e-t;++l)this.setCell(e+l,this.loadCell(e+t+l,c));for(l=this.length-t;l<this.length;++l)this.setCell(l,i)}else for(l=e;l<this.length;++l)this.setCell(l,i);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(n=r)||void 0===n?void 0:n.fg)||0,(null===(o=r)||void 0===o?void 0:o.bg)||0),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null===(s=r)||void 0===s?void 0:s.fg)||0,(null===(a=r)||void 0===a?void 0:a.bg)||0)},o.prototype.replaceCells=function(e,t,i,r){var n,o,s,a;for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===(n=r)||void 0===n?void 0:n.fg)||0,(null===(o=r)||void 0===o?void 0:o.bg)||0),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null===(s=r)||void 0===s?void 0:s.fg)||0,(null===(a=r)||void 0===a?void 0:a.bg)||0);e<t&&e<this.length;)this.setCell(e++,i)},o.prototype.resize=function(e,t){if(e!==this.length){if(e>this.length){var i=new Uint32Array(3*e);this.length&&(3*e<this._data.length?i.set(this._data.subarray(0,3*e)):i.set(this._data)),this._data=i;for(var r=this.length;r<e;++r)this.setCell(r,t)}else if(e){(i=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=i;var n=Object.keys(this._combined);for(r=0;r<n.length;r++){var o=parseInt(n[r],10);e<=o&&delete this._combined[o]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},o.prototype.fill=function(e){this._combined={};for(var t=0;t<this.length;++t)this.setCell(t,e)},o.prototype.copyFrom=function(e){for(var t in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[t]=e._combined[t];this.isWrapped=e.isWrapped},o.prototype.clone=function(){var e=new o(0);for(var t in e._data=new Uint32Array(this._data),e.length=this.length,this._combined)e._combined[t]=this._combined[t];return e.isWrapped=this.isWrapped,e},o.prototype.getTrimmedLength=function(){for(var e=this.length-1;0<=e;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},o.prototype.copyCellsFrom=function(e,t,i,r,n){var o=e._data;if(n)for(var s=r-1;0<=s;s--)for(var a=0;a<3;a++)this._data[3*(i+s)+a]=o[3*(t+s)+a];else for(s=0;s<r;s++)for(a=0;a<3;a++)this._data[3*(i+s)+a]=o[3*(t+s)+a];var c=Object.keys(e._combined);for(a=0;a<c.length;a++){var l=parseInt(c[a],10);t<=l&&(this._combined[l-t+i]=e._combined[l])}},o.prototype.translateToString=function(e,t,i){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===i&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var r="";t<i;){var n=this._data[3*t+0],o=2097151&n;r+=2097152&n?this._combined[t]:o?s.stringFromCodePoint(o):a.WHITESPACE_CELL_CHAR,t+=n>>22||1}return r},o);function o(e,t,i){void 0===i&&(i=!1),this.isWrapped=i,this._combined={},this._data=new Uint32Array(3*e);for(var r=t||h.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),n=0;n<e;++n)this.setCell(n,r);this.length=e}t.BufferLine=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.fromArray=function(e){var t=new o;if(!e.length)return t;for(var i=e[0]instanceof Array?1:0;i<e.length;++i){var r=e[i];if(r instanceof Array)for(var n=0;n<r.length;++n)t.addSubParam(r[n]);else t.addParam(r)}return t},o.prototype.clone=function(){var e=new o(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e},o.prototype.toArray=function(){for(var e=[],t=0;t<this.length;++t){e.push(this.params[t]);var i=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];0<r-i&&e.push(Array.prototype.slice.call(this._subParams,i,r))}return e},o.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},o.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=2147483647<e?2147483647:e}},o.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=2147483647<e?2147483647:e,this._subParamsIdx[this.length-1]++}},o.prototype.hasSubParams=function(e){return 0<(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)},o.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,i=255&this._subParamsIdx[e];return 0<i-t?this._subParams.subarray(t,i):null},o.prototype.getSubParamsAll=function(){for(var e={},t=0;t<this.length;++t){var i=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];0<r-i&&(e[t]=this._subParams.slice(i,r))}return e},o.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,r=i[t-1];i[t-1]=~r?Math.min(10*r+e,2147483647):e}},o);function o(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,256<(this.maxSubParamsLength=t))throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}t.Params=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(21),o=i(7),n=(s.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},s.prototype.setHandler=function(e,t){this._handlers[e]=[t]},s.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},s.prototype.setHandlerFallback=function(e){this._handlerFb=e},s.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},s.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},s.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;0<=t;t--)e[t].start();else this._handlerFb(this._id,"START")},s.prototype._put=function(e,t,i){var r=this._handlers[this._id];if(r)for(var n=r.length-1;0<=n;n--)r[n].put(e,t,i);else this._handlerFb(this._id,"PUT",o.utf32ToString(e,t,i))},s.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var i=t.length-1;0<=i&&!1===t[i].end(e);i--);for(i--;0<=i;i--)t[i].end(!1)}else this._handlerFb(this._id,"END",e)},s.prototype.start=function(){this.reset(),this._id=-1,this._state=1},s.prototype.put=function(e,t,i){if(3!==this._state){if(1===this._state)for(;t<i;){var r=e[t++];if(59===r){this._state=2,this._start();break}if(r<48||57<r)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+r-48}2===this._state&&0<i-t&&this._put(e,t,i)}},s.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},s);function s(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}t.OscParser=n;var a=(c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(e,t,i){this._hitLimit||(this._data+=o.utf32ToString(e,t,i),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},c);function c(e){this._handler=e,this._data="",this._hitLimit=!1}t.OscHandler=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7),r=i(19),o=i(21),s=[],a=(c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},c.prototype.setHandler=function(e,t){this._handlers[e]=[t]},c.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},c.prototype.setHandlerFallback=function(e){this._handlerFb=e},c.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=s,this._ident=0},c.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||s,this._active.length)for(var i=this._active.length-1;0<=i;i--)this._active[i].hook(t);else this._handlerFb(this._ident,"HOOK",t)},c.prototype.put=function(e,t,i){if(this._active.length)for(var r=this._active.length-1;0<=r;r--)this._active[r].put(e,t,i);else this._handlerFb(this._ident,"PUT",n.utf32ToString(e,t,i))},c.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;0<=t&&!1===this._active[t].unhook(e);t--);for(t--;0<=t;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=s,this._ident=0},c);function c(){this._handlers=Object.create(null),this._active=s,this._ident=0,this._handlerFb=function(){}}t.DcsParser=a;var l=(h.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},h.prototype.put=function(e,t,i){this._hitLimit||(this._data+=n.utf32ToString(e,t,i),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},h.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},h);function h(e){this._handler=e,this._data="",this._hitLimit=!1}t.DcsHandler=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(24),u=i(42),f=[];t.acquireCharAtlas=function(e,t,i,r,n){for(var o=h.generateConfig(r,n,e,i),s=0;s<f.length;s++){var a=(c=f[s]).ownedBy.indexOf(t);if(0<=a){if(h.configEquals(c.config,o))return c.atlas;1===c.ownedBy.length?(c.atlas.dispose(),f.splice(s,1)):c.ownedBy.splice(a,1);break}}for(s=0;s<f.length;s++){var c=f[s];if(h.configEquals(c.config,o))return c.ownedBy.push(t),c.atlas}var l={atlas:new u.DynamicCharAtlas(document,o),config:o,ownedBy:[t]};return f.push(l),l.atlas},t.removeTerminalFromCache=function(e){for(var t=0;t<f.length;t++){var i=f[t].ownedBy.indexOf(e);if(-1!==i){1===f[t].ownedBy.length?(f[t].atlas.dispose(),f.splice(t,1)):f[t].ownedBy.splice(i,1);break}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(3);t.generateConfig=function(e,t,i,r){var n={foreground:r.foreground,background:r.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:r.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:i.fontFamily,fontSize:i.fontSize,fontWeight:i.fontWeight,fontWeightBold:i.fontWeightBold,allowTransparency:i.allowTransparency,colors:n}},t.configEquals=function(e,t){for(var i=0;i<e.colors.ansi.length;i++)if(e.colors.ansi[i].rgba!==t.colors.ansi[i].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.scaledCharWidth===t.scaledCharWidth&&e.scaledCharHeight===t.scaledCharHeight&&e.colors.foreground===t.colors.foreground&&e.colors.background===t.colors.background},t.is256Color=function(e){return e<r.DEFAULT_COLOR}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var h=t(10),o=t(44),s=h.css.toColor("#ffffff"),a=h.css.toColor("#000000"),c=h.css.toColor("#ffffff"),l=h.css.toColor("#000000"),u={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};n.DEFAULT_ANSI_COLORS=function(){for(var e=[h.css.toColor("#2e3436"),h.css.toColor("#cc0000"),h.css.toColor("#4e9a06"),h.css.toColor("#c4a000"),h.css.toColor("#3465a4"),h.css.toColor("#75507b"),h.css.toColor("#06989a"),h.css.toColor("#d3d7cf"),h.css.toColor("#555753"),h.css.toColor("#ef2929"),h.css.toColor("#8ae234"),h.css.toColor("#fce94f"),h.css.toColor("#729fcf"),h.css.toColor("#ad7fa8"),h.css.toColor("#34e2e2"),h.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],i=0;i<216;i++){var r=t[i/36%6|0],n=t[i/6%6|0],o=t[i%6];e.push({css:h.channels.toCss(r,n,o),rgba:h.channels.toRgba(r,n,o)})}for(i=0;i<24;i++){var s=8+10*i;e.push({css:h.channels.toCss(s,s,s),rgba:h.channels.toRgba(s,s,s)})}return e}();var i=(r.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},r.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,s),this.colors.background=this._parseColor(e.background,a),this.colors.cursor=this._parseColor(e.cursor,c,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,l,!0),this.colors.selection=this._parseColor(e.selection,u,!0),this.colors.selectionOpaque=h.color.blend(this.colors.background,this.colors.selection),this.colors.ansi[0]=this._parseColor(e.black,n.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,n.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,n.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,n.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,n.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,n.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,n.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,n.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,n.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,n.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,n.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,n.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,n.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,n.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,n.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,n.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},r.prototype._parseColor=function(e,t,i){if(void 0===i&&(i=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var r=this._ctx.getImageData(0,0,1,1).data;if(255===r[3])return{css:this._ctx.fillStyle,rgba:h.channels.toRgba(r[0],r[1],r[2],r[3])};if(!i)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var n=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(e){return Number(e)}),o=n[0],s=n[1],a=n[2],c=n[3],l=Math.round(255*c);return{rgba:h.channels.toRgba(o,s,a,l),css:h.channels.toCss(o,s,a,l)}},r);function r(e,t){this.allowTransparency=t;var i=e.createElement("canvas");i.width=1,i.height=1;var r=i.getContext("2d");if(!r)throw new Error("Could not get rendering context");this._ctx=r,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new o.ColorContrastCache,this.colors={foreground:s,background:a,cursor:c,cursorAccent:l,selection:u,selectionOpaque:h.color.blend(a,u),ansi:n.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}n.ColorManager=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(6),f=i(3),a=i(5),c=(o=s.AttributeData,n(l,o),l.prototype.isCombined=function(){return 2097152},l.prototype.getWidth=function(){return this._width},l.prototype.getChars=function(){return this.combinedData},l.prototype.getCode=function(){return 2097151},l.prototype.setFromCharData=function(e){throw new Error("not implemented")},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l);function l(e,t,i){var r=o.call(this)||this;return r.content=0,r.combinedData="",r.fg=e.fg,r.bg=e.bg,r.combinedData=t,r._width=i,r}t.JoinedCellData=c;var h=(u.prototype.registerCharacterJoiner=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},u.prototype.deregisterCharacterJoiner=function(e){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1},u.prototype.getJoinedCharacters=function(e){if(0===this._characterJoiners.length)return[];var t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];for(var i=[],r=t.translateToString(!0),n=0,o=0,s=0,a=t.getFg(0),c=t.getBg(0),l=0;l<t.getTrimmedLength();l++)if(t.loadCell(l,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==a||this._workCell.bg!==c){if(1<l-n)for(var h=this._getJoinedRanges(r,s,o,t,n),u=0;u<h.length;u++)i.push(h[u]);n=l,s=o,a=this._workCell.fg,c=this._workCell.bg}o+=this._workCell.getChars().length||f.WHITESPACE_CELL_CHAR.length}if(1<this._bufferService.cols-n)for(h=this._getJoinedRanges(r,s,o,t,n),u=0;u<h.length;u++)i.push(h[u]);return i},u.prototype._getJoinedRanges=function(e,t,i,r,n){for(var o=e.substring(t,i),s=this._characterJoiners[0].handler(o),a=1;a<this._characterJoiners.length;a++)for(var c=this._characterJoiners[a].handler(o),l=0;l<c.length;l++)u._mergeRanges(s,c[l]);return this._stringRangesToCellRanges(s,r,n),s},u.prototype._stringRangesToCellRanges=function(e,t,i){var r=0,n=!1,o=0,s=e[r];if(s){for(var a=i;a<this._bufferService.cols;a++){var c=t.getWidth(a),l=t.getString(a).length||f.WHITESPACE_CELL_CHAR.length;if(0!==c){if(!n&&s[0]<=o&&(s[0]=a,n=!0),s[1]<=o){if(s[1]=a,!(s=e[++r]))break;n=s[0]<=o&&(s[0]=a,!0)}o+=l}}s&&(s[1]=this._bufferService.cols)}},u._mergeRanges=function(e,t){for(var i=!1,r=0;r<e.length;r++){var n=e[r];if(i){if(t[1]<=n[0])return e[r-1][1]=t[1],e;if(t[1]<=n[1])return e[r-1][1]=Math.max(t[1],n[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=n[0])return e.splice(r,0,t),e;if(t[1]<=n[1])return n[0]=Math.min(t[0],n[0]),e;t[0]<n[1]&&(n[0]=Math.min(t[0],n[0]),i=!0)}}return i?e[e.length-1][1]=t[1]:e.push(t),e},u);function u(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.CellData}t.CharacterJoinerRegistry=h},function(e,t,i){"use strict";function l(e,t){var i=t.getBoundingClientRect();return[e.clientX-i.left,e.clientY-i.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoordsRelativeToElement=l,t.getCoords=function(e,t,i,r,n,o,s,a){if(n){var c=l(e,t);if(c)return c[0]=Math.ceil((c[0]+(a?o/2:0))/o),c[1]=Math.ceil(c[1]/s),c[0]=Math.min(Math.max(c[0],1),i+(a?1:0)),c[1]=Math.min(Math.max(c[1],1),r),c}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.refresh=function(e,t,i){var r=this;this._rowCount=i,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return r._innerRefresh()}))},n.prototype._innerRefresh=function(){void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount&&(this._rowStart=Math.max(this._rowStart,0),this._rowEnd=Math.min(this._rowEnd,this._rowCount-1),this._renderCallback(this._rowStart,this._rowEnd),this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0)},n);function n(e){this._renderCallback=e}t.RenderDebouncer=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=(o=i(2).Disposable,n(a,o),a.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},a.prototype.dispose=function(){o.prototype.dispose.call(this),this.clearListener()},a.prototype._updateDpr=function(){this._resolutionMediaMatchList&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},a.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},a);function a(){var e=null!==o&&o.apply(this,arguments)||this;return e._currentDevicePixelRatio=window.devicePixelRatio,e}t.ScreenDprMonitor=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t,i){if(void 0===i&&(i=5),"object"!=typeof t)return t;var r=Array.isArray(t)?[]:{};for(var n in t)r[n]=i<=1?t[n]:t[n]?e(t[n],i-1):t[n];return r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(5),n=i(33),o=i(17),s=i(80),a=(Object.defineProperty(c.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onData",{get:function(){return this._core.onData},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"element",{get:function(){return this._core.element},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"parser",{get:function(){return this._parser||(this._parser=new u(this._core)),this._parser},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"unicode",{get:function(){return new f(this._core)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rows",{get:function(){return this._core.rows},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"cols",{get:function(){return this._core.cols},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"buffer",{get:function(){return new l(this._core.buffer)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"markers",{get:function(){return this._core.markers},enumerable:!0,configurable:!0}),c.prototype.blur=function(){this._core.blur()},c.prototype.focus=function(){this._core.focus()},c.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},c.prototype.open=function(e){this._core.open(e)},c.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},c.prototype.registerLinkMatcher=function(e,t,i){return this._core.registerLinkMatcher(e,t,i)},c.prototype.deregisterLinkMatcher=function(e){this._core.deregisterLinkMatcher(e)},c.prototype.registerCharacterJoiner=function(e){return this._core.registerCharacterJoiner(e)},c.prototype.deregisterCharacterJoiner=function(e){this._core.deregisterCharacterJoiner(e)},c.prototype.registerMarker=function(e){return this._verifyIntegers(e),this._core.addMarker(e)},c.prototype.addMarker=function(e){return this.registerMarker(e)},c.prototype.hasSelection=function(){return this._core.hasSelection()},c.prototype.select=function(e,t,i){this._verifyIntegers(e,t,i),this._core.select(e,t,i)},c.prototype.getSelection=function(){return this._core.getSelection()},c.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},c.prototype.clearSelection=function(){this._core.clearSelection()},c.prototype.selectAll=function(){this._core.selectAll()},c.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},c.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},c.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},c.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},c.prototype.scrollToTop=function(){this._core.scrollToTop()},c.prototype.scrollToBottom=function(){this._core.scrollToBottom()},c.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},c.prototype.clear=function(){this._core.clear()},c.prototype.write=function(e,t){this._core.write(e,t)},c.prototype.writeUtf8=function(e,t){this._core.write(e,t)},c.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},c.prototype.paste=function(e){this._core.paste(e)},c.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},c.prototype.setOption=function(e,t){this._core.optionsService.setOption(e,t)},c.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},c.prototype.reset=function(){this._core.reset()},c.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(c,"strings",{get:function(){return o},enumerable:!0,configurable:!0}),c.prototype._verifyIntegers=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach(function(e){if(e===1/0||isNaN(e)||e%1!=0)throw new Error("This API only accepts integers")})},c);function c(e){this._core=new n.Terminal(e),this._addonManager=new s.AddonManager}t.Terminal=a;var l=(Object.defineProperty(v.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!0,configurable:!0}),v.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new h(t)},v.prototype.getNullCell=function(){return new r.CellData},v),h=(Object.defineProperty(p.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"length",{get:function(){return this._line.length},enumerable:!0,configurable:!0}),p.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)},p.prototype.translateToString=function(e,t,i){return this._line.translateToString(e,t,i)},p),u=(d.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,function(e){return t(e.toArray())})},d.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},d.prototype.registerDcsHandler=function(e,i){return this._core.addDcsHandler(e,function(e,t){return i(e,t.toArray())})},d.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},d.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},d.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},d.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},d.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},d),f=(_.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(_.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),_);function _(e){this._core=e}function d(e){this._core=e}function p(e){this._line=e}function v(e){this._buffer=e}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(34),a=i(35),c=i(36),h=i(12),l=i(37),u=i(39),f=i(49),_=i(50),d=i(11),p=i(8),v=i(17),g=i(53),y=i(54),b=i(55),m=i(56),S=i(58),C=i(1),w=i(16),E=i(59),L=i(25),A=i(60),R=i(0),x=i(61),k=i(4),D=i(62),T=i(63),O=i(2),M=i(69),P=i(70),H=i(71),I=i(72),B=i(73),F=i(74),j=i(75),W=i(76),q=i(77),U=i(79),N="undefined"!=typeof window?window.document:null,z=(o=O.Disposable,n(K,o),Object.defineProperty(K.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),K.prototype.dispose=function(){var e,t,i,r;this._isDisposed||(o.prototype.dispose.call(this),null===(e=this._windowsMode)||void 0===e||e.dispose(),this._windowsMode=void 0,null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(i=this.element)||void 0===i?void 0:i.parentNode)||void 0===r||r.removeChild(this.element))},K.prototype._setup=function(){var i=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell(function(){return i.bell()}),this._inputHandler.onRequestRefreshRows(function(e,t){return i.refresh(e,t)}),this._inputHandler.onRequestReset(function(){return i.reset()}),this._inputHandler.onCursorMove(function(){return i._onCursorMove.fire()}),this._inputHandler.onLineFeed(function(){return i._onLineFeed.fire()}),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new f.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},K.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(E.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},function(){return E.updateWindowsModeWrappedState(e._bufferService),!1})),this._windowsMode={dispose:function(){t.forEach(function(e){return e.dispose()})}}}},Object.defineProperty(K.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),K.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},K.prototype._setupOptionsListeners=function(){var s=this;this.optionsService.onOptionChange(function(e){var t,i,r,n,o;switch(e){case"fontFamily":case"fontSize":null===(t=s._renderService)||void 0===t||t.clear(),null===(i=s._charSizeService)||void 0===i||i.measure();break;case"cursorBlink":case"cursorStyle":s.refresh(s.buffer.y,s.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":s._renderService&&(s._renderService.clear(),s._renderService.onResize(s.cols,s.rows),s.refresh(0,s.rows-1));break;case"rendererType":s._renderService&&(s._renderService.setRenderer(s._createRenderer()),s._renderService.onResize(s.cols,s.rows));break;case"scrollback":s.buffers.resize(s.cols,s.rows),null===(r=s.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":s.optionsService.options.screenReaderMode?!s._accessibilityManager&&s._renderService&&(s._accessibilityManager=new b.AccessibilityManager(s,s._renderService)):(null===(n=s._accessibilityManager)||void 0===n||n.dispose(),s._accessibilityManager=null);break;case"tabStopWidth":s.buffers.setupTabStops();break;case"theme":s._setTheme(s.optionsService.options.theme);break;case"windowsMode":s.optionsService.options.windowsMode?s._enableWindowsMode():(null===(o=s._windowsMode)||void 0===o||o.dispose(),s._windowsMode=void 0)}})},K.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(h.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},K.prototype.blur=function(){return this.textarea.blur()},K.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(h.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},K.prototype._initGlobal=function(){var t=this;function e(e){return c.handlePasteEvent(e,t.textarea,t.bracketedPasteMode,t._coreService)}this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",function(e){t.hasSelection()&&c.copyHandler(e,t._selectionService)})),this.register(p.addDisposableDomListener(this.textarea,"paste",e)),this.register(p.addDisposableDomListener(this.element,"paste",e)),d.isFirefox?this.register(p.addDisposableDomListener(this.element,"mousedown",function(e){2===e.button&&c.rightClickHandler(e,t.textarea,t.screenElement,t._selectionService,t.options.rightClickSelectsWord)})):this.register(p.addDisposableDomListener(this.element,"contextmenu",function(e){c.rightClickHandler(e,t.textarea,t.screenElement,t._selectionService,t.options.rightClickSelectsWord)})),d.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",function(e){1===e.button&&c.moveTextAreaUnderMouseCursor(e,t.textarea,t.screenElement)}))},K.prototype._bindKeys=function(){var t=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",function(e){return t._keyUp(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",function(e){return t._keyDown(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",function(e){return t._keyPress(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",function(){return t._compositionHelper.compositionstart()})),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",function(e){return t._compositionHelper.compositionupdate(e)})),this.register(p.addDisposableDomListener(this.textarea,"compositionend",function(){return t._compositionHelper.compositionend()})),this.register(this.onRender(function(){return t._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(e){return t._queueLinkification(e.start,e.end)}))},K.prototype.open=function(e){var i=this;if(!e)throw new Error("Terminal requires a parent element.");N.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var t=N.createDocumentFragment();this._viewportElement=N.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),t.appendChild(this._viewportElement),this._viewportScrollArea=N.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=N.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=N.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),t.appendChild(this.screenElement),this.textarea=N.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",v.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",function(e){return i._onTextAreaFocus(e)})),this.register(p.addDisposableDomListener(this.textarea,"blur",function(){return i._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(k.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(D.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(k.ICharSizeService,this._charSizeService),this._compositionView=N.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(s.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(t),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new L.ColorManager(N,this.options.allowTransparency),this.optionsService.onOptionChange(function(e){return i._colorManager.onOptionsChange(e)}),this._colorManager.setTheme(this._theme);var n=this._createRenderer();this._renderService=this._instantiationService.createInstance(A.RenderService,n,this.rows,this.screenElement),this._instantiationService.setService(k.IRenderService,this._renderService),this._renderService.onRender(function(e){return i._onRender.fire(e)}),this.onResize(function(e){return i._renderService.resize(e.cols,e.rows)}),this._soundService=this._instantiationService.createInstance(g.SoundService),this._instantiationService.setService(k.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(M.MouseService),this._instantiationService.setService(k.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,function(e,t){return i.scrollLines(e,t)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove(function(){return i._renderService.onCursorMove()})),this.register(this.onResize(function(){return i._renderService.onResize(i.cols,i.rows)})),this.register(this.onBlur(function(){return i._renderService.onBlur()})),this.register(this.onFocus(function(){return i._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return i.viewport.syncScrollArea()})),this._selectionService=this._instantiationService.createInstance(_.SelectionService,function(e,t){return i.scrollLines(e,t)},this.element,this.screenElement),this._instantiationService.setService(k.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange(function(){return i._onSelectionChange.fire()})),this.register(this._selectionService.onRedrawRequest(function(e){return i._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(e){i.textarea.value=e,i.textarea.focus(),i.textarea.select()})),this.register(this.onScroll(function(){i.viewport.syncScrollArea(),i._selectionService.refresh()})),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",function(){return i._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return i._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",function(e){return i._selectionService.onMouseDown(e)})),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new b.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},K.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(u.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(m.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},K.prototype._setTheme=function(e){var t,i,r;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(i=this._renderService)||void 0===i||i.setColors(this._colorManager.colors),null===(r=this.viewport)||void 0===r||r.onThemeChange(this._colorManager.colors)},K.prototype.bindMouse=function(){var o=this,n=this,t=this.element;function i(e){var t,i,r;if(!(t=n._mouseService.getRawByteCoords(e,n.screenElement,n.cols,n.rows)))return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(i=3,void 0!==e.button&&(i=e.button<3?e.button:3)):i=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,i=e.button<3?e.button:3;break;case"mousedown":r=1,i=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),i=4;break;default:return!1}return!(void 0===r||void 0===i||4<i)&&n._coreMouseService.triggerMouseEvent({col:t.x-33,row:t.y-33,button:i,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}function r(e){return i(e),e.buttons||(o._document.removeEventListener("mouseup",l.mouseup),l.mousedrag&&o._document.removeEventListener("mousemove",l.mousedrag)),o.cancel(e)}function s(e){return i(e),e.preventDefault(),o.cancel(e)}function a(e){e.buttons&&i(e)}function c(e){e.buttons||i(e)}var l={mouseup:null,wheel:null,mousedrag:null,mousemove:null};this._coreMouseService.onProtocolChange(function(e){(o.mouseEvents=e)?("debug"===o.optionsService.options.logLevel&&o._logService.debug("Binding to mouse events:",o._coreMouseService.explainEvents(e)),o.element.classList.add("enable-mouse-events"),o._selectionService.disable()):(o._logService.debug("Unbinding from mouse events."),o.element.classList.remove("enable-mouse-events"),o._selectionService.enable()),8&e?l.mousemove||(t.addEventListener("mousemove",c),l.mousemove=c):(t.removeEventListener("mousemove",l.mousemove),l.mousemove=null),16&e?l.wheel||(t.addEventListener("wheel",s),l.wheel=s):(t.removeEventListener("wheel",l.wheel),l.wheel=null),2&e?l.mouseup||(l.mouseup=r):(o._document.removeEventListener("mouseup",l.mouseup),l.mouseup=null),4&e?l.mousedrag||(l.mousedrag=a):(o._document.removeEventListener("mousemove",l.mousedrag),l.mousedrag=null)}),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(t,"mousedown",function(e){if(e.preventDefault(),o.focus(),o.mouseEvents&&!o._selectionService.shouldForceSelection(e))return i(e),l.mouseup&&o._document.addEventListener("mouseup",l.mouseup),l.mousedrag&&o._document.addEventListener("mousemove",l.mousedrag),o.cancel(e)})),this.register(p.addDisposableDomListener(t,"wheel",function(e){if(!l.wheel&&!o.buffer.hasScrollback){var t=o.viewport.getLinesScrolled(e);if(0===t)return;for(var i=h.C0.ESC+(o._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(e.deltaY<0?"A":"B"),r="",n=0;n<Math.abs(t);n++)r+=i;o._coreService.triggerDataEvent(r,!0)}})),this.register(p.addDisposableDomListener(t,"wheel",function(e){if(!l.wheel)return o.viewport.onWheel(e)?void 0:o.cancel(e)})),this.register(p.addDisposableDomListener(t,"touchstart",function(e){if(!o.mouseEvents)return o.viewport.onTouchStart(e),o.cancel(e)})),this.register(p.addDisposableDomListener(t,"touchmove",function(e){if(!o.mouseEvents)return o.viewport.onTouchMove(e)?void 0:o.cancel(e)}))},K.prototype.refresh=function(e,t){var i;null===(i=this._renderService)||void 0===i||i.refreshRows(e,t)},K.prototype._queueLinkification=function(e,t){var i;null===(i=this.linkifier)||void 0===i||i.linkifyRows(e,t)},K.prototype.updateCursorStyle=function(e){this._selectionService&&this._selectionService.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},K.prototype.showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},K.prototype.scroll=function(e,t){var i;void 0===t&&(t=!1),(i=this._blankLine)&&i.length===this.cols&&i.getFg(0)===e.fg&&i.getBg(0)===e.bg||(i=this.buffer.getBlankLine(e,t),this._blankLine=i),i.isWrapped=t;var r=this.buffer.ybase+this.buffer.scrollTop,n=this.buffer.ybase+this.buffer.scrollBottom;if(0===this.buffer.scrollTop){var o=this.buffer.lines.isFull;n===this.buffer.lines.length-1?o?this.buffer.lines.recycle().copyFrom(i):this.buffer.lines.push(i.clone()):this.buffer.lines.splice(n+1,0,i.clone()),o?this._userScrolling&&(this.buffer.ydisp=Math.max(this.buffer.ydisp-1,0)):(this.buffer.ybase++,this._userScrolling||this.buffer.ydisp++)}else{var s=n-r+1;this.buffer.lines.shiftElements(r+1,s-1,-1),this.buffer.lines.set(n,i.clone())}this._userScrolling||(this.buffer.ydisp=this.buffer.ybase),this._dirtyRowService.markRangeDirty(this.buffer.scrollTop,this.buffer.scrollBottom),this._onScroll.fire(this.buffer.ydisp)},K.prototype.scrollLines=function(e,t){if(e<0){if(0===this.buffer.ydisp)return;this._userScrolling=!0}else e+this.buffer.ydisp>=this.buffer.ybase&&(this._userScrolling=!1);var i=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),i!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},K.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},K.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},K.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},K.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!=t&&this.scrollLines(t)},K.prototype.paste=function(e){c.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},K.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},K.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},K.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},K.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},K.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},K.prototype.registerLinkMatcher=function(e,t,i){var r=this.linkifier.registerLinkMatcher(e,t,i);return this.refresh(0,this.rows-1),r},K.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},K.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},K.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(K.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),K.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},K.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},K.prototype.select=function(e,t,i){this._selectionService.setSelection(e,t,i)},K.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},K.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},K.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},K.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},K.prototype.selectLines=function(e,t){var i;null===(i=this._selectionService)||void 0===i||i.selectLines(e,t)},K.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=S.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3!==t.type&&2!==t.type)return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==h.C0.ETX&&t.key!==h.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)));var i=this.rows-1;return this.scrollLines(2===t.type?-i:i),this.cancel(e,!0)},K.prototype._isThirdLevelShift=function(e,t){var i=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?i:i&&(!t.keyCode||47<t.keyCode)},K.prototype._keyUp=function(e){var t;this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(16===(t=e).keyCode||17===t.keyCode||18===t.keyCode||this.focus(),this.updateCursorStyle(e))},K.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},K.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout(function(){e.element.classList.remove("visual-bell-active")},200))},K.prototype.resize=function(e,t){var i,r;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e<T.MINIMUM_COLS&&(e=T.MINIMUM_COLS),t<T.MINIMUM_ROWS&&(t=T.MINIMUM_ROWS),this.buffers.resize(e,t),this._bufferService.resize(e,t),this.buffers.setupTabStops(this.cols),null===(i=this._charSizeService)||void 0===i||i.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0),this.refresh(0,this.rows-1),this._onResize.fire({cols:e,rows:t})):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure())},K.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},K.prototype.is=function(e){return 0===(this.options.termName+"").indexOf(e)},K.prototype.handleTitle=function(e){this._onTitleChange.fire(e)},K.prototype.reset=function(){var e,t;this.options.rows=this.rows,this.options.cols=this.cols;var i=this._customKeyEventHandler,r=this._userScrolling;this._setup(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset(),null===(e=this._selectionService)||void 0===e||e.reset(),this._customKeyEventHandler=i,this._userScrolling=r,this.refresh(0,this.rows-1),null===(t=this.viewport)||void 0===t||t.syncScrollArea()},K.prototype.cancel=function(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1},K.prototype._visualBell=function(){return!1},K.prototype._soundBell=function(){return"sound"===this.options.bellStyle},K.prototype.write=function(e,t){this._writeBuffer.write(e,t)},K.prototype.writeSync=function(e){this._writeBuffer.writeSync(e)},K);function K(e){void 0===e&&(e={});var t=o.call(this)||this;return t.browser=d,t.mouseEvents=0,t._keyDownHandled=!1,t._blankLine=null,t._onCursorMove=new C.EventEmitter,t._onData=new C.EventEmitter,t._onBinary=new C.EventEmitter,t._onKey=new C.EventEmitter,t._onLineFeed=new C.EventEmitter,t._onRender=new C.EventEmitter,t._onResize=new C.EventEmitter,t._onScroll=new C.EventEmitter,t._onSelectionChange=new C.EventEmitter,t._onTitleChange=new C.EventEmitter,t._onFocus=new C.EventEmitter,t._onBlur=new C.EventEmitter,t.onA11yCharEmitter=new C.EventEmitter,t.onA11yTabEmitter=new C.EventEmitter,t._instantiationService=new B.InstantiationService,t.optionsService=new x.OptionsService(e),t._instantiationService.setService(R.IOptionsService,t.optionsService),t._bufferService=t._instantiationService.createInstance(T.BufferService),t._instantiationService.setService(R.IBufferService,t._bufferService),t._logService=t._instantiationService.createInstance(H.LogService),t._instantiationService.setService(R.ILogService,t._logService),t._coreService=t._instantiationService.createInstance(P.CoreService,function(){return t.scrollToBottom()}),t._instantiationService.setService(R.ICoreService,t._coreService),t._coreService.onData(function(e){return t._onData.fire(e)}),t._coreService.onBinary(function(e){return t._onBinary.fire(e)}),t._coreMouseService=t._instantiationService.createInstance(F.CoreMouseService),t._instantiationService.setService(R.ICoreMouseService,t._coreMouseService),t._dirtyRowService=t._instantiationService.createInstance(I.DirtyRowService),t._instantiationService.setService(R.IDirtyRowService,t._dirtyRowService),t.unicodeService=t._instantiationService.createInstance(q.UnicodeService),t._instantiationService.setService(R.IUnicodeService,t.unicodeService),t._charsetService=t._instantiationService.createInstance(U.CharsetService),t._instantiationService.setService(R.ICharsetService,t._charsetService),t._setupOptionsListeners(),t._setup(),t._writeBuffer=new j.WriteBuffer(function(e){return t._inputHandler.parse(e)}),t}t.Terminal=z},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(4),s=i(0),a=(c.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},c.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){t._compositionPosition.end=t._textarea.value.length},0)},c.prototype.compositionend=function(){this._finalizeComposition(!0)},c.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},c.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e){var i={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(i.start,i.end):t._textarea.value.substring(i.start),t._coreService.triggerDataEvent(e,!0))},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},c.prototype._handleAnyTextareaChanges=function(){var t=this,i=this._textarea.value;setTimeout(function(){if(!t._isComposing){var e=t._textarea.value.replace(i,"");0<e.length&&t._coreService.triggerDataEvent(e,!0)}},0)},c.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var i=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*i,n=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=n+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=i+"px",this._compositionView.style.lineHeight=i+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var o=this._compositionView.getBoundingClientRect();this._textarea.style.left=n+"px",this._textarea.style.top=r+"px",this._textarea.style.width=o.width+"px",this._textarea.style.height=o.height+"px",this._textarea.style.lineHeight=o.height+"px"}e||setTimeout(function(){return t.updateCompositionElements(!0)},0)}},c.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},r([n(2,s.IBufferService),n(3,s.IOptionsService),n(4,o.ICharSizeService),n(5,s.ICoreService)],c));function c(e,t,i,r,n,o){this._textarea=e,this._compositionView=t,this._bufferService=i,this._optionsService=r,this._charSizeService=n,this._coreService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}t.CompositionHelper=a},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var c,a=i(2),l=i(8),h=i(4),u=i(0),f=(c=a.Disposable,n(_,c),_.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},_.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return t._innerRefresh()}))},_.prototype._innerRefresh=function(){if(0<this._charSizeService.height){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},_.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===t&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},_.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},_.prototype._bubbleScroll=function(e,t){var i=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||0<t&&i<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},_.prototype.onWheel=function(e){var t=this._getPixelsScrolled(e);return 0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},_.prototype._getPixelsScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t},_.prototype.getLinesScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(0<this._wheelPartialScroll?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},_.prototype._applyScrollModifier=function(e,t){var i=this._optionsService.options.fastScrollModifier;return"alt"===i&&t.altKey||"ctrl"===i&&t.ctrlKey||"shift"===i&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},_.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},_.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!=t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},o([s(3,u.IBufferService),s(4,u.IOptionsService),s(5,h.ICharSizeService),s(6,h.IRenderService)],_));function _(e,t,i,r,n,o,s){var a=c.call(this)||this;return a._scrollLines=e,a._viewportElement=t,a._scrollArea=i,a._bufferService=r,a._optionsService=n,a._charSizeService=o,a._renderService=s,a.scrollBarWidth=0,a._currentRowHeight=0,a._lastRecordedBufferLength=0,a._lastRecordedViewportHeight=0,a._lastRecordedBufferHeight=0,a._lastTouchY=0,a._lastScrollTop=0,a._wheelPartialScroll=0,a._refreshAnimationFrame=null,a._ignoreNextScrollEvent=!1,a.scrollBarWidth=a._viewportElement.offsetWidth-a._scrollArea.offsetWidth||15,a.register(l.addDisposableDomListener(a._viewportElement,"scroll",a._onScroll.bind(a))),setTimeout(function(){return a.syncScrollArea()},0),a}t.Viewport=f},function(e,t,i){"use strict";function n(e){return e.replace(/\r?\n/g,"\r")}function o(e,t){return t?"[200~"+e+"[201~":e}function s(e,t,i,r){e=o(e=n(e),i),r.triggerDataEvent(e,!0),t.value=""}function a(e,t,i){var r=i.getBoundingClientRect(),n=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=n+"px",t.style.top=o+"px",t.style.zIndex="1000",t.focus(),setTimeout(function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""},200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=n,t.bracketTextForPaste=o,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,i,r){e.stopPropagation(),e.clipboardData&&s(e.clipboardData.getData("text/plain"),t,i,r)},t.paste=s,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,i,r,n){a(e,t,i),n&&!r.isClickInSelection(e)&&r.selectWordAtCursor(e),t.value=r.selectionText,t.select()}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var p=i(12),v=i(18),g=i(38),o=i(2),s=i(15),y=i(7),b=i(16),m=i(1),S=i(3),C=i(5),c=i(6),w=i(20),a=i(22),l=i(4),h={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function u(e,t){if(24<e)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}var E,L=(d.prototype.hook=function(e){this._data=new Uint32Array(0)},d.prototype.put=function(e,t,i){this._data=s.concat(this._data,e.subarray(t,i))},d.prototype.unhook=function(e){if(e){var t=y.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r0"q'+p.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r61;1"p'+p.C0.ESC+"\\");case"r":var i=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+i+p.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r0m"+p.C0.ESC+"\\");case" q":var r={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return r-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+r+" q"+p.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(p.C0.ESC+"P0$r"+p.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},d),f=(E=o.Disposable,n(_,E),Object.defineProperty(_.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),_.prototype.dispose=function(){E.prototype.dispose.call(this)},_.prototype.parse=function(e){var t=this._bufferService.buffer,i=t.x,r=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length<e.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(e.length,131072))),this._dirtyRowService.clearRange(),131072<e.length)for(var n=0;n<e.length;n+=131072){var o=n+131072<e.length?n+131072:e.length,s="string"==typeof e?this._stringDecoder.decode(e.substring(n,o),this._parseBuffer):this._utf8Decoder.decode(e.subarray(n,o),this._parseBuffer);this._parser.parse(this._parseBuffer,s)}else s="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),this._parser.parse(this._parseBuffer,s);(t=this._bufferService.buffer).x===i&&t.y===r||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},_.prototype.print=function(e,t,i){var r,n,o=this._bufferService.buffer,s=this._charsetService.charset,a=this._optionsService.options.screenReaderMode,c=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,h=this._terminal.insertMode,u=this._curAttrData,f=o.lines.get(o.y+o.ybase);this._dirtyRowService.markDirty(o.y),o.x&&0<i-t&&2===f.getWidth(o.x-1)&&f.setCellFromCodePoint(o.x-1,0,1,u.fg,u.bg);for(var _=t;_<i;++_){if(r=e[_],n=this._unicodeService.wcwidth(r),r<127&&s){var d=s[String.fromCharCode(r)];d&&(r=d.charCodeAt(0))}if(a&&this._terminal.onA11yCharEmitter.fire(y.stringFromCodePoint(r)),n||!o.x){if(o.x+n-1>=c)if(l)o.x=0,o.y++,o.y===o.scrollBottom+1?(o.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(o.y>=this._bufferService.rows&&(o.y=this._bufferService.rows-1),o.lines.get(o.y).isWrapped=!0),f=o.lines.get(o.y+o.ybase);else if(o.x=c-1,2===n)continue;if(h&&(f.insertCells(o.x,n,o.getNullCell(u),u),2===f.getWidth(c-1)&&f.setCellFromCodePoint(c-1,S.NULL_CELL_CODE,S.NULL_CELL_WIDTH,u.fg,u.bg)),f.setCellFromCodePoint(o.x++,r,n,u.fg,u.bg),0<n)for(;--n;)f.setCellFromCodePoint(o.x++,0,0,u.fg,u.bg)}else f.getWidth(o.x-1)?f.addCodepointToCell(o.x-1,r):f.addCodepointToCell(o.x-2,r)}0<i-t&&(f.loadCell(o.x-1,this._workCell),2===this._workCell.getWidth()||65535<this._workCell.getCode()?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),o.x<c&&0<i-t&&0===f.getWidth(o.x)&&!f.hasContent(o.x)&&f.setCellFromCodePoint(o.x,0,1,u.fg,u.bg),this._dirtyRowService.markDirty(o.y)},_.prototype.addCsiHandler=function(e,t){var i=this;return"t"!==e.final||e.prefix||e.intermediates?this._parser.addCsiHandler(e,t):this._parser.addCsiHandler(e,function(e){return!u(e.params[0],i._optionsService.options.windowOptions)||t(e)})},_.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new a.DcsHandler(t))},_.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},_.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new w.OscHandler(t))},_.prototype.bell=function(){this._onRequestBell.fire()},_.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},_.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},_.prototype.backspace=function(){this._restrictCursor(),0<this._bufferService.buffer.x&&this._bufferService.buffer.x--},_.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e)}},_.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},_.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},_.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},_.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;0<=t?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1))},_.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;0<=t?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1)},_.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},_.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},_.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},_.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},_.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.cursorPosition=function(e){this._setCursor(2<=e.length?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},_.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},_.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},_.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},_.prototype.hVPosition=function(e){this.cursorPosition(e)},_.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},_.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},_.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.x=i.prevStop()},_.prototype._eraseInBufferLine=function(e,t,i,r){void 0===r&&(r=!1);var n=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);n.replaceCells(t,i,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r&&(n.isWrapped=!1)},_.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},_.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t<this._bufferService.rows;t++)this._resetBufferLine(t);this._dirtyRowService.markDirty(t);break;case 1:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var i=this._bufferService.buffer.lines.length-this._bufferService.rows;0<i&&(this._bufferService.buffer.lines.trimStart(i),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-i,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-i,0),this._onScroll.fire(0))}},_.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.y<i.scrollTop)){for(var r=i.y+i.ybase,n=this._bufferService.rows-1-i.scrollBottom,o=this._bufferService.rows-1+i.ybase-n+1;t--;)i.lines.splice(o-1,1),i.lines.splice(r,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.y,i.scrollBottom),i.x=0}},_.prototype.deleteLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.y<i.scrollTop)){var r,n=i.y+i.ybase;for(r=this._bufferService.rows-1-i.scrollBottom,r=this._bufferService.rows-1+i.ybase-r;t--;)i.lines.splice(n,1),i.lines.splice(r,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.y,i.scrollBottom),i.x=0}},_.prototype.insertChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.insertCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.deleteChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.deleteCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.scrollUp=function(e){for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.lines.splice(i.ybase+i.scrollTop,1),i.lines.splice(i.ybase+i.scrollBottom,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.scrollTop,i.scrollBottom)},_.prototype.scrollDown=function(e){for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.lines.splice(i.ybase+i.scrollBottom,1),i.lines.splice(i.ybase+i.scrollTop,0,i.getBlankLine(b.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(i.scrollTop,i.scrollBottom)},_.prototype.scrollLeft=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.deleteCells(0,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.scrollRight=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.insertCells(0,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.insertColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=this._bufferService.buffer.lines.get(t.ybase+r);n.insertCells(t.x,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.deleteColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.deleteCells(t.x,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.eraseChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(e.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.repeatPrecedingCharacter=function(e){if(this._parser.precedingCodepoint){for(var t=e.params[0]||1,i=new Uint32Array(t),r=0;r<t;++r)i[r]=this._parser.precedingCodepoint;this.print(i,0,i.length)}},_.prototype.sendDeviceAttributesPrimary=function(e){0<e.params[0]||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(p.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(p.C0.ESC+"[?6c"))},_.prototype.sendDeviceAttributesSecondary=function(e){0<e.params[0]||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(p.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(p.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(p.C0.ESC+"[>83;40003;0c"))},_.prototype.setMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._terminal.insertMode=!0}},_.prototype.setModePrivate=function(e){for(var t,i,r=0;r<e.length;r++)switch(e.params[r]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,v.DEFAULT_CHARSET),this._charsetService.setgCharset(1,v.DEFAULT_CHARSET),this._charsetService.setgCharset(2,v.DEFAULT_CHARSET),this._charsetService.setgCharset(3,v.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._terminal.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._terminal.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),null===(i=this._terminal.viewport)||void 0===i||i.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!0}},_.prototype.resetMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._terminal.insertMode=!1}},_.prototype.resetModePrivate=function(e){for(var t,i,r=0;r<e.length;r++)switch(e.params[r]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._terminal.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._terminal.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[r]&&this.restoreCursor(),this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),null===(i=this._terminal.viewport)||void 0===i||i.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!1}},_.prototype._extractColor=function(e,t,i){var r=[0,0,-1,0,0,0],n=0,o=0;do{if(r[o+n]=e.params[t+o],e.hasSubParams(t+o)){for(var s=e.getSubParams(t+o),a=0;5===r[1]&&(n=1),r[o+a+1+n]=s[a],++a<s.length&&a+o+1+n<r.length;);break}if(5===r[1]&&2<=o+n||2===r[1]&&5<=o+n)break;r[1]&&(n=1)}while(++o+t<e.length&&o+n<r.length);for(a=2;a<r.length;++a)-1===r[a]&&(r[a]=0);return 38===r[0]?2===r[1]?(i.fg|=50331648,i.fg&=-16777216,i.fg|=c.AttributeData.fromColorRGB([r[3],r[4],r[5]])):5===r[1]&&(i.fg&=-50331904,i.fg|=33554432|255&r[3]):48===r[0]&&(2===r[1]?(i.bg|=50331648,i.bg&=-16777216,i.bg|=c.AttributeData.fromColorRGB([r[3],r[4],r[5]])):5===r[1]&&(i.bg&=-50331904,i.bg|=33554432|255&r[3])),o},_.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=b.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=b.DEFAULT_ATTR_DATA.bg);for(var t,i=e.length,r=this._curAttrData,n=0;n<i;n++)30<=(t=e.params[n])&&t<=37?(r.fg&=-50331904,r.fg|=16777216|t-30):40<=t&&t<=47?(r.bg&=-50331904,r.bg|=16777216|t-40):90<=t&&t<=97?(r.fg&=-50331904,r.fg|=16777224|t-90):100<=t&&t<=107?(r.bg&=-50331904,r.bg|=16777224|t-100):0===t?(r.fg=b.DEFAULT_ATTR_DATA.fg,r.bg=b.DEFAULT_ATTR_DATA.bg):1===t?r.fg|=134217728:3===t?r.bg|=67108864:4===t?r.fg|=268435456:5===t?r.fg|=536870912:7===t?r.fg|=67108864:8===t?r.fg|=1073741824:2===t?r.bg|=134217728:22===t?(r.fg&=-134217729,r.bg&=-134217729):23===t?r.bg&=-67108865:24===t?r.fg&=-268435457:25===t?r.fg&=-536870913:27===t?r.fg&=-67108865:28===t?r.fg&=-1073741825:39===t?(r.fg&=-67108864,r.fg|=16777215&b.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&b.DEFAULT_ATTR_DATA.bg):38===t||48===t?n+=this._extractColor(e,n,r):100===t?(r.fg&=-67108864,r.fg|=16777215&b.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&b.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},_.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(p.C0.ESC+"[0n");break;case 6:var t=this._bufferService.buffer.y+1,i=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"["+t+";"+i+"R")}},_.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:var t=this._bufferService.buffer.y+1,i=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"[?"+t+";"+i+"R")}},_.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=b.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},_.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var i=t%2==1;this._optionsService.options.cursorBlink=i},_.prototype.setScrollRegion=function(e){var t,i=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),i<t&&(this._bufferService.buffer.scrollTop=i-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},_.prototype.windowOptions=function(e){if(u(e.params[0],this._optionsService.options.windowOptions)){var t=1<e.length?e.params[1]:0,i=this._instantiationService.getService(l.IRenderService);switch(e.params[0]){case 14:if(i&&2!==t){console.log(i.dimensions);var r=i.dimensions.scaledCanvasWidth.toFixed(0),n=i.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(p.C0.ESC+"[4;"+n+";"+r+"t")}break;case 16:i&&(r=i.dimensions.scaledCellWidth.toFixed(0),n=i.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(p.C0.ESC+"[6;"+n+";"+r+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(p.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),10<this._windowTitleStack.length&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),10<this._iconNameStack.length&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},_.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},_.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},_.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},_.prototype.setIconName=function(e){this._iconName=e},_.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},_.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},_.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},_.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,v.DEFAULT_CHARSET)},_.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(h[e[0]],v.CHARSETS[e[1]]||v.DEFAULT_CHARSET):this.selectDefaultCharset()},_.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},_.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},_.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;if(e.y===e.scrollTop){var t=e.scrollBottom-e.scrollTop;e.lines.shiftElements(e.y+e.ybase,t,1),e.lines.set(e.y+e.ybase,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)}else e.y--,this._restrictCursor()},_.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},_.prototype.reset=function(){this._curAttrData=b.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=b.DEFAULT_ATTR_DATA.clone()},_.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},_.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},_.prototype.screenAlignmentPattern=function(){var e=new C.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var i=0;i<this._bufferService.rows;++i){var r=t.y+t.ybase+i;t.lines.get(r).fill(e),t.lines.get(r).isWrapped=!1}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},_);function _(e,t,i,r,n,o,s,a,c,l,h){void 0===h&&(h=new g.EscapeSequenceParser);var u=E.call(this)||this;u._terminal=e,u._bufferService=t,u._charsetService=i,u._coreService=r,u._dirtyRowService=n,u._logService=o,u._optionsService=s,u._coreMouseService=a,u._unicodeService=c,u._instantiationService=l,u._parser=h,u._parseBuffer=new Uint32Array(4096),u._stringDecoder=new y.StringToUtf32,u._utf8Decoder=new y.Utf8ToUtf32,u._workCell=new C.CellData,u._windowTitle="",u._iconName="",u._windowTitleStack=[],u._iconNameStack=[],u._curAttrData=b.DEFAULT_ATTR_DATA.clone(),u._eraseAttrDataInternal=b.DEFAULT_ATTR_DATA.clone(),u._onRequestRefreshRows=new m.EventEmitter,u._onRequestReset=new m.EventEmitter,u._onRequestBell=new m.EventEmitter,u._onCursorMove=new m.EventEmitter,u._onLineFeed=new m.EventEmitter,u._onScroll=new m.EventEmitter,u.register(u._parser),u._parser.setCsiHandlerFallback(function(e,t){u._logService.debug("Unknown CSI code: ",{identifier:u._parser.identToString(e),params:t.toArray()})}),u._parser.setEscHandlerFallback(function(e){u._logService.debug("Unknown ESC code: ",{identifier:u._parser.identToString(e)})}),u._parser.setExecuteHandlerFallback(function(e){u._logService.debug("Unknown EXECUTE code: ",{code:e})}),u._parser.setOscHandlerFallback(function(e,t,i){u._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:i})}),u._parser.setDcsHandlerFallback(function(e,t,i){"HOOK"===t&&(i=i.toArray()),u._logService.debug("Unknown DCS code: ",{identifier:u._parser.identToString(e),action:t,payload:i})}),u._parser.setPrintHandler(function(e,t,i){return u.print(e,t,i)}),u._parser.setCsiHandler({final:"@"},function(e){return u.insertChars(e)}),u._parser.setCsiHandler({intermediates:" ",final:"@"},function(e){return u.scrollLeft(e)}),u._parser.setCsiHandler({final:"A"},function(e){return u.cursorUp(e)}),u._parser.setCsiHandler({intermediates:" ",final:"A"},function(e){return u.scrollRight(e)}),u._parser.setCsiHandler({final:"B"},function(e){return u.cursorDown(e)}),u._parser.setCsiHandler({final:"C"},function(e){return u.cursorForward(e)}),u._parser.setCsiHandler({final:"D"},function(e){return u.cursorBackward(e)}),u._parser.setCsiHandler({final:"E"},function(e){return u.cursorNextLine(e)}),u._parser.setCsiHandler({final:"F"},function(e){return u.cursorPrecedingLine(e)}),u._parser.setCsiHandler({final:"G"},function(e){return u.cursorCharAbsolute(e)}),u._parser.setCsiHandler({final:"H"},function(e){return u.cursorPosition(e)}),u._parser.setCsiHandler({final:"I"},function(e){return u.cursorForwardTab(e)}),u._parser.setCsiHandler({final:"J"},function(e){return u.eraseInDisplay(e)}),u._parser.setCsiHandler({prefix:"?",final:"J"},function(e){return u.eraseInDisplay(e)}),u._parser.setCsiHandler({final:"K"},function(e){return u.eraseInLine(e)}),u._parser.setCsiHandler({prefix:"?",final:"K"},function(e){return u.eraseInLine(e)}),u._parser.setCsiHandler({final:"L"},function(e){return u.insertLines(e)}),u._parser.setCsiHandler({final:"M"},function(e){return u.deleteLines(e)}),u._parser.setCsiHandler({final:"P"},function(e){return u.deleteChars(e)}),u._parser.setCsiHandler({final:"S"},function(e){return u.scrollUp(e)}),u._parser.setCsiHandler({final:"T"},function(e){return u.scrollDown(e)}),u._parser.setCsiHandler({final:"X"},function(e){return u.eraseChars(e)}),u._parser.setCsiHandler({final:"Z"},function(e){return u.cursorBackwardTab(e)}),u._parser.setCsiHandler({final:"`"},function(e){return u.charPosAbsolute(e)}),u._parser.setCsiHandler({final:"a"},function(e){return u.hPositionRelative(e)}),u._parser.setCsiHandler({final:"b"},function(e){return u.repeatPrecedingCharacter(e)}),u._parser.setCsiHandler({final:"c"},function(e){return u.sendDeviceAttributesPrimary(e)}),u._parser.setCsiHandler({prefix:">",final:"c"},function(e){return u.sendDeviceAttributesSecondary(e)}),u._parser.setCsiHandler({final:"d"},function(e){return u.linePosAbsolute(e)}),u._parser.setCsiHandler({final:"e"},function(e){return u.vPositionRelative(e)}),u._parser.setCsiHandler({final:"f"},function(e){return u.hVPosition(e)}),u._parser.setCsiHandler({final:"g"},function(e){return u.tabClear(e)}),u._parser.setCsiHandler({final:"h"},function(e){return u.setMode(e)}),u._parser.setCsiHandler({prefix:"?",final:"h"},function(e){return u.setModePrivate(e)}),u._parser.setCsiHandler({final:"l"},function(e){return u.resetMode(e)}),u._parser.setCsiHandler({prefix:"?",final:"l"},function(e){return u.resetModePrivate(e)}),u._parser.setCsiHandler({final:"m"},function(e){return u.charAttributes(e)}),u._parser.setCsiHandler({final:"n"},function(e){return u.deviceStatus(e)}),u._parser.setCsiHandler({prefix:"?",final:"n"},function(e){return u.deviceStatusPrivate(e)}),u._parser.setCsiHandler({intermediates:"!",final:"p"},function(e){return u.softReset(e)}),u._parser.setCsiHandler({intermediates:" ",final:"q"},function(e){return u.setCursorStyle(e)}),u._parser.setCsiHandler({final:"r"},function(e){return u.setScrollRegion(e)}),u._parser.setCsiHandler({final:"s"},function(e){return u.saveCursor(e)}),u._parser.setCsiHandler({final:"t"},function(e){return u.windowOptions(e)}),u._parser.setCsiHandler({final:"u"},function(e){return u.restoreCursor(e)}),u._parser.setCsiHandler({intermediates:"'",final:"}"},function(e){return u.insertColumns(e)}),u._parser.setCsiHandler({intermediates:"'",final:"~"},function(e){return u.deleteColumns(e)}),u._parser.setExecuteHandler(p.C0.BEL,function(){return u.bell()}),u._parser.setExecuteHandler(p.C0.LF,function(){return u.lineFeed()}),u._parser.setExecuteHandler(p.C0.VT,function(){return u.lineFeed()}),u._parser.setExecuteHandler(p.C0.FF,function(){return u.lineFeed()}),u._parser.setExecuteHandler(p.C0.CR,function(){return u.carriageReturn()}),u._parser.setExecuteHandler(p.C0.BS,function(){return u.backspace()}),u._parser.setExecuteHandler(p.C0.HT,function(){return u.tab()}),u._parser.setExecuteHandler(p.C0.SO,function(){return u.shiftOut()}),u._parser.setExecuteHandler(p.C0.SI,function(){return u.shiftIn()}),u._parser.setExecuteHandler(p.C1.IND,function(){return u.index()}),u._parser.setExecuteHandler(p.C1.NEL,function(){return u.nextLine()}),u._parser.setExecuteHandler(p.C1.HTS,function(){return u.tabSet()}),u._parser.setOscHandler(0,new w.OscHandler(function(e){u.setTitle(e),u.setIconName(e)})),u._parser.setOscHandler(1,new w.OscHandler(function(e){return u.setIconName(e)})),u._parser.setOscHandler(2,new w.OscHandler(function(e){return u.setTitle(e)})),u._parser.setEscHandler({final:"7"},function(){return u.saveCursor()}),u._parser.setEscHandler({final:"8"},function(){return u.restoreCursor()}),u._parser.setEscHandler({final:"D"},function(){return u.index()}),u._parser.setEscHandler({final:"E"},function(){return u.nextLine()}),u._parser.setEscHandler({final:"H"},function(){return u.tabSet()}),u._parser.setEscHandler({final:"M"},function(){return u.reverseIndex()}),u._parser.setEscHandler({final:"="},function(){return u.keypadApplicationMode()}),u._parser.setEscHandler({final:">"},function(){return u.keypadNumericMode()}),u._parser.setEscHandler({final:"c"},function(){return u.fullReset()}),u._parser.setEscHandler({final:"n"},function(){return u.setgLevel(2)}),u._parser.setEscHandler({final:"o"},function(){return u.setgLevel(3)}),u._parser.setEscHandler({final:"|"},function(){return u.setgLevel(3)}),u._parser.setEscHandler({final:"}"},function(){return u.setgLevel(2)}),u._parser.setEscHandler({final:"~"},function(){return u.setgLevel(1)}),u._parser.setEscHandler({intermediates:"%",final:"@"},function(){return u.selectDefaultCharset()}),u._parser.setEscHandler({intermediates:"%",final:"G"},function(){return u.selectDefaultCharset()});function f(e){_._parser.setEscHandler({intermediates:"(",final:e},function(){return u.selectCharset("("+e)}),_._parser.setEscHandler({intermediates:")",final:e},function(){return u.selectCharset(")"+e)}),_._parser.setEscHandler({intermediates:"*",final:e},function(){return u.selectCharset("*"+e)}),_._parser.setEscHandler({intermediates:"+",final:e},function(){return u.selectCharset("+"+e)}),_._parser.setEscHandler({intermediates:"-",final:e},function(){return u.selectCharset("-"+e)}),_._parser.setEscHandler({intermediates:".",final:e},function(){return u.selectCharset("."+e)}),_._parser.setEscHandler({intermediates:"/",final:e},function(){return u.selectCharset("/"+e)})}var _=this;for(var d in v.CHARSETS)f(d);return u._parser.setEscHandler({intermediates:"#",final:"8"},function(){return u.screenAlignmentPattern()}),u._parser.setErrorHandler(function(e){return u._logService.error("Parsing error: ",e),e}),u._parser.setDcsHandler({intermediates:"$",final:"q"},new L(u._bufferService,u._coreService,u._logService,u._optionsService)),u}function d(e,t,i,r){this._bufferService=e,this._coreService=t,this._logService=i,this._optionsService=r,this._data=new Uint32Array(0)}t.InputHandler=f},function(e,i,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0});var o=t(2),s=t(15),a=t(19),c=t(20),l=t(22),h=(u.prototype.setDefault=function(e,t){s.fill(this.table,e<<4|t)},u.prototype.add=function(e,t,i,r){this.table[t<<8|e]=i<<4|r},u.prototype.addMany=function(e,t,i,r){for(var n=0;n<e.length;n++)this.table[t<<8|e[n]]=i<<4|r},u);function u(e){this.table=new Uint8Array(e)}i.TransitionTable=h,i.VT500_TRANSITION_TABLE=function(){function e(e,t){return i.slice(e,t)}var t=new h(4095),i=Array.apply(null,Array(256)).map(function(e,t){return t}),r=e(32,127),n=e(0,24);n.push(25),n.push.apply(n,e(28,32));var o,s=e(0,14);for(o in t.setDefault(1,0),t.addMany(r,0,2,0),s)t.addMany([24,26,153,154],o,3,0),t.addMany(e(128,144),o,3,0),t.addMany(e(144,152),o,3,0),t.add(156,o,0,0),t.add(27,o,11,1),t.add(157,o,4,8),t.addMany([152,158,159],o,0,7),t.add(155,o,11,3),t.add(144,o,11,9);return t.addMany(n,0,3,0),t.addMany(n,1,3,1),t.add(127,1,0,1),t.addMany(n,8,0,8),t.addMany(n,3,3,3),t.add(127,3,0,3),t.addMany(n,4,3,4),t.add(127,4,0,4),t.addMany(n,6,3,6),t.addMany(n,5,3,5),t.add(127,5,0,5),t.addMany(n,2,3,2),t.add(127,2,0,2),t.add(93,1,4,8),t.addMany(r,8,5,8),t.add(127,8,5,8),t.addMany([156,27,24,26,7],8,6,0),t.addMany(e(28,32),8,0,8),t.addMany([88,94,95],1,0,7),t.addMany(r,7,0,7),t.addMany(n,7,0,7),t.add(156,7,0,0),t.add(127,7,0,7),t.add(91,1,11,3),t.addMany(e(64,127),3,7,0),t.addMany(e(48,60),3,8,4),t.addMany([60,61,62,63],3,9,4),t.addMany(e(48,60),4,8,4),t.addMany(e(64,127),4,7,0),t.addMany([60,61,62,63],4,0,6),t.addMany(e(32,64),6,0,6),t.add(127,6,0,6),t.addMany(e(64,127),6,0,0),t.addMany(e(32,48),3,9,5),t.addMany(e(32,48),5,9,5),t.addMany(e(48,64),5,0,6),t.addMany(e(64,127),5,7,0),t.addMany(e(32,48),4,9,5),t.addMany(e(32,48),1,9,2),t.addMany(e(32,48),2,9,2),t.addMany(e(48,127),2,10,0),t.addMany(e(48,80),1,10,0),t.addMany(e(81,88),1,10,0),t.addMany([89,90,92],1,10,0),t.addMany(e(96,127),1,10,0),t.add(80,1,11,9),t.addMany(n,9,0,9),t.add(127,9,0,9),t.addMany(e(28,32),9,0,9),t.addMany(e(32,48),9,9,12),t.addMany(e(48,60),9,8,10),t.addMany([60,61,62,63],9,9,10),t.addMany(n,11,0,11),t.addMany(e(32,128),11,0,11),t.addMany(e(28,32),11,0,11),t.addMany(n,10,0,10),t.add(127,10,0,10),t.addMany(e(28,32),10,0,10),t.addMany(e(48,60),10,8,10),t.addMany([60,61,62,63],10,0,11),t.addMany(e(32,48),10,9,12),t.addMany(n,12,0,12),t.add(127,12,0,12),t.addMany(e(28,32),12,0,12),t.addMany(e(32,48),12,9,12),t.addMany(e(48,64),12,0,11),t.addMany(e(64,127),12,12,13),t.addMany(e(64,127),10,12,13),t.addMany(e(64,127),9,12,13),t.addMany(n,13,13,13),t.addMany(r,13,13,13),t.add(127,13,0,13),t.addMany([27,156,24,26],13,14,0),t.add(160,0,2,0),t.add(160,8,5,8),t.add(160,6,0,6),t.add(160,11,0,11),t.add(160,13,13,13),t}();var f,_=(f=o.Disposable,n(d,f),d.prototype._identifier=function(e,t){void 0===t&&(t=[64,126]);var i=0;if(e.prefix){if(1<e.prefix.length)throw new Error("only one byte as prefix supported");if((i=e.prefix.charCodeAt(0))&&i<60||63<i)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(2<e.intermediates.length)throw new Error("only two bytes as intermediates are supported");for(var r=0;r<e.intermediates.length;++r){var n=e.intermediates.charCodeAt(r);if(n<32||47<n)throw new Error("intermediate must be in range 0x20 .. 0x2f");i<<=8,i|=n}}if(1!==e.final.length)throw new Error("final must be a single byte");var o=e.final.charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(i<<=8)|o},d.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},d.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},d.prototype.setPrintHandler=function(e){this._printHandler=e},d.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},d.prototype.addEscHandler=function(e,t){var i=this._identifier(e,[48,126]);void 0===this._escHandlers[i]&&(this._escHandlers[i]=[]);var r=this._escHandlers[i];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},d.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},d.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},d.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},d.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},d.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},d.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},d.prototype.addCsiHandler=function(e,t){var i=this._identifier(e);void 0===this._csiHandlers[i]&&(this._csiHandlers[i]=[]);var r=this._csiHandlers[i];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},d.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},d.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},d.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},d.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},d.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},d.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},d.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},d.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},d.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},d.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},d.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},d.prototype.setErrorHandler=function(e){this._errorHandler=e},d.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},d.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},d.prototype.parse=function(e,t){for(var i=0,r=0,n=this.currentState,o=this._oscParser,s=this._dcsParser,a=this._collect,c=this._params,l=this.TRANSITIONS.table,h=0;h<t;++h){switch((r=l[n<<8|((i=e[h])<160?i:160)])>>4){case 2:for(var u=h+1;;++u){if(t<=u||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:h,code:i,currentState:n,collect:a,params:c,abort:!1}).abort)return;break;case 7:for(var f=this._csiHandlers[a<<8|i],_=f?f.length-1:-1;0<=_&&!1===f[_](c);_--);_<0&&this._csiHandlerFb(a<<8|i,c),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(i-48)}}while(++h<t&&47<(i=e[h])&&i<60);h--;break;case 9:a<<=8,a|=i;break;case 10:for(var d=this._escHandlers[a<<8|i],p=d?d.length-1:-1;0<=p&&!1===d[p]();p--);p<0&&this._escHandlerFb(a<<8|i),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),a=0;break;case 12:s.hook(a<<8|i,c);break;case 13:for(var v=h+1;;++v)if(t<=v||24===(i=e[v])||26===i||27===i||127<i&&i<160){s.put(e,h,v),h=v-1;break}break;case 14:s.unhook(24!==i&&26!==i),27===i&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0;break;case 4:o.start();break;case 5:for(var g=h+1;;g++)if(t<=g||(i=e[g])<32||127<i&&i<=159){o.put(e,h,g),h=g-1;break}break;case 6:o.end(24!==i&&26!==i),27===i&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0}n=15&r}this._collect=a,this.currentState=n},d);function d(e){void 0===e&&(e=i.VT500_TRANSITION_TABLE);var t=f.call(this)||this;return t.TRANSITIONS=e,t.initialState=0,t.currentState=t.initialState,t._params=new a.Params,t._params.addParam(0),t._collect=0,t.precedingCodepoint=0,t._printHandlerFb=function(e,t,i){},t._executeHandlerFb=function(e){},t._csiHandlerFb=function(e,t){},t._escHandlerFb=function(e){},t._errorHandlerFb=function(e){return e},t._printHandler=t._printHandlerFb,t._executeHandlers=Object.create(null),t._csiHandlers=Object.create(null),t._escHandlers=Object.create(null),t._oscParser=new c.OscParser,t._dcsParser=new l.DcsParser,t._errorHandler=t._errorHandlerFb,t.setEscHandler({final:"\\"},function(){}),t}i.EscapeSequenceParser=_},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var h,u=i(40),f=i(46),_=i(47),d=i(48),p=i(27),a=i(2),c=i(4),l=i(0),v=i(23),g=i(1),y=1,b=(h=a.Disposable,n(m,h),Object.defineProperty(m.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),m.prototype.dispose=function(){h.prototype.dispose.call(this),this._renderLayers.forEach(function(e){return e.dispose()}),v.removeTerminalFromCache(this._id)},m.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},m.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach(function(e){e.setColors(t._colors),e.reset()})},m.prototype.onResize=function(e,t){var i=this;this._updateDimensions(),this._renderLayers.forEach(function(e){return e.resize(i.dimensions)}),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},m.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},m.prototype.onBlur=function(){this._runOperation(function(e){return e.onBlur()})},m.prototype.onFocus=function(){this._runOperation(function(e){return e.onFocus()})},m.prototype.onSelectionChanged=function(t,i,r){void 0===r&&(r=!1),this._runOperation(function(e){return e.onSelectionChanged(t,i,r)})},m.prototype.onCursorMove=function(){this._runOperation(function(e){return e.onCursorMove()})},m.prototype.onOptionsChanged=function(){this._runOperation(function(e){return e.onOptionsChanged()})},m.prototype.clear=function(){this._runOperation(function(e){return e.reset()})},m.prototype._runOperation=function(t){this._renderLayers.forEach(function(e){return t(e)})},m.prototype.renderRows=function(t,i){this._renderLayers.forEach(function(e){return e.onGridChanged(t,i)})},m.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},m.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},m.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},o([s(3,l.IBufferService),s(4,c.ICharSizeService),s(5,l.IOptionsService),s(6,l.ICoreService),s(7,c.ICoreBrowserService)],m));function m(e,t,i,r,n,o,s,a){var c=h.call(this)||this;c._colors=e,c._screenElement=t,c._linkifier=i,c._bufferService=r,c._charSizeService=n,c._optionsService=o,c.coreService=s,c.coreBrowserService=a,c._id=y++,c._onRequestRefreshRows=new g.EventEmitter;var l=c._optionsService.options.allowTransparency;return c._characterJoinerRegistry=new p.CharacterJoinerRegistry(c._bufferService),c._renderLayers=[new u.TextRenderLayer(c._screenElement,0,c._colors,c._characterJoinerRegistry,l,c._id,c._bufferService,o),new f.SelectionRenderLayer(c._screenElement,1,c._colors,c._id,c._bufferService,o),new d.LinkRenderLayer(c._screenElement,2,c._colors,c._id,c._linkifier,c._bufferService,o),new _.CursorRenderLayer(c._screenElement,3,c._colors,c._id,c._onRequestRefreshRows,c._bufferService,o,s,a)],c.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},c._devicePixelRatio=window.devicePixelRatio,c._updateDimensions(),c.onOptionsChanged(),c}t.Renderer=b},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var l,h=i(41),o=i(13),u=i(6),_=i(3),d=i(27),f=i(5),s=(l=o.BaseRenderLayer,n(a,l),a.prototype.resize=function(e){l.prototype.resize.call(this,e);var t=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===t||(this._characterWidth=e.scaledCharWidth,this._characterFont=t,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},a.prototype.reset=function(){this._state.clear(),this._clearAll()},a.prototype._forEachCell=function(e,t,i,r){for(var n=e;n<=t;n++)for(var o=n+this._bufferService.buffer.ydisp,s=this._bufferService.buffer.lines.get(o),a=i?i.getJoinedCharacters(o):[],c=0;c<this._bufferService.cols;c++){s.loadCell(c,this._workCell);var l=this._workCell,h=!1,u=c;if(0!==l.getWidth()){if(0<a.length&&c===a[0][0]){h=!0;var f=a.shift();l=new d.JoinedCellData(this._workCell,s.translateToString(!0,f[0],f[1]),f[1]-f[0]),u=f[1]-1}!h&&this._isOverlapping(l)&&u<s.length-1&&s.getCodePoint(u+1)===_.NULL_CELL_CODE&&(l.content&=-12582913,l.content|=2<<22),r(l,c,n),c=u}}},a.prototype._drawBackground=function(e,t){var n=this,o=this._ctx,s=this._bufferService.cols,a=0,c=0,l=null;o.save(),this._forEachCell(e,t,null,function(e,t,i){var r=null;e.isInverse()?r=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?r="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(r=n._colors.ansi[e.getBgColor()].css),null===l&&(a=t,c=i),i!==c?(o.fillStyle=l||"",n._fillCells(a,c,s-a,1),a=t,c=i):l!==r&&(o.fillStyle=l||"",n._fillCells(a,c,t-a,1),a=t,c=i),l=r}),null!==l&&(o.fillStyle=l,this._fillCells(a,c,s-a,1)),o.restore()},a.prototype._drawForeground=function(e,t){var o=this;this._forEachCell(e,t,this._characterJoinerRegistry,function(e,t,i){if(!e.isInvisible()&&(o._drawChars(e,t,i),e.isUnderline())){if(o._ctx.save(),e.isInverse())if(e.isBgDefault())o._ctx.fillStyle=o._colors.background.css;else if(e.isBgRGB())o._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var r=e.getBgColor();o._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&r<8&&(r+=8),o._ctx.fillStyle=o._colors.ansi[r].css}else if(e.isFgDefault())o._ctx.fillStyle=o._colors.foreground.css;else if(e.isFgRGB())o._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var n=e.getFgColor();o._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&n<8&&(n+=8),o._ctx.fillStyle=o._colors.ansi[n].css}o._fillBottomLineAtCells(t,i,e.getWidth()),o._ctx.restore()}})},a.prototype.onGridChanged=function(e,t){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,t-e+1),this._drawBackground(e,t),this._drawForeground(e,t))},a.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},a.prototype._isOverlapping=function(e){if(1!==e.getWidth())return!1;if(e.getCode()<256)return!1;var t=e.getChars();if(this._characterOverlapCache.hasOwnProperty(t))return this._characterOverlapCache[t];this._ctx.save(),this._ctx.font=this._characterFont;var i=Math.floor(this._ctx.measureText(t).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=i},a);function a(e,t,i,r,n,o,s,a){var c=l.call(this,e,"text",t,n,i,o,s,a)||this;return c.bufferService=s,c.optionsService=a,c._characterWidth=0,c._characterFont="",c._characterOverlapCache={},c._workCell=new f.CellData,c._state=new h.GridCache,c._characterJoinerRegistry=r,c}t.TextRenderLayer=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.resize=function(e,t){for(var i=0;i<e;i++){this.cache.length<=i&&this.cache.push([]);for(var r=this.cache[i].length;r<t;r++)this.cache[i].push(void 0);this.cache[i].length=t}this.cache.length=e},n.prototype.clear=function(){for(var e=0;e<this.cache.length;e++)for(var t=0;t<this.cache[e].length;t++)this.cache[e][t]=void 0},n);function n(){this.cache=[]}t.GridCache=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var h=i(9),o=i(43),s=i(25),a=i(45),c=i(11),l=i(26),u=i(10),f={css:"rgba(0, 0, 0, 0)",rgba:0};function _(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=_;var d,p=(d=o.BaseCharAtlas,n(v,d),v.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},v.prototype.beginFrame=function(){this._drawToCacheCount=0},v.prototype.draw=function(e,t,i,r){if(32===t.code)return!0;if(!this._canCache(t))return!1;var n=_(t),o=this._cacheMap.get(n);if(null!=o)return this._drawFromCache(e,o,i,r),!0;if(this._drawToCacheCount<100){var s;s=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var a=this._drawToCache(t,s);return this._cacheMap.set(n,a),this._drawFromCache(e,a,i,r),!0}return!1},v.prototype._canCache=function(e){return e.code<256},v.prototype._toCoordinateX=function(e){return e%this._width*this._config.scaledCharWidth},v.prototype._toCoordinateY=function(e){return Math.floor(e/this._width)*this._config.scaledCharHeight},v.prototype._drawFromCache=function(e,t,i,r){if(!t.isEmpty){var n=this._toCoordinateX(t.index),o=this._toCoordinateY(t.index);e.drawImage(t.inBitmap?this._bitmap:this._cacheCanvas,n,o,this._config.scaledCharWidth,this._config.scaledCharHeight,i,r,this._config.scaledCharWidth,this._config.scaledCharHeight)}},v.prototype._getColorFromAnsiIndex=function(e){return e<this._config.colors.ansi.length?this._config.colors.ansi[e]:s.DEFAULT_ANSI_COLORS[e]},v.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?f:e.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:e.bg<256?this._getColorFromAnsiIndex(e.bg):this._config.colors.background},v.prototype._getForegroundColor=function(e){return e.fg===h.INVERTED_DEFAULT_COLOR?u.color.opaque(this._config.colors.background):e.fg<256?this._getColorFromAnsiIndex(e.fg):this._config.colors.foreground},v.prototype._drawToCache=function(e,t){this._drawToCacheCount++,this._tmpCtx.save();var i=this._getBackgroundColor(e);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=i.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var r=e.bold?this._config.fontWeightBold:this._config.fontWeight,n=e.italic?"italic":"";this._tmpCtx.font=n+" "+r+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(e).css,e.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var o=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),s=!1;this._config.allowTransparency||(s=function(e,t){for(var i=!0,r=t.rgba>>>24,n=t.rgba>>>16&255,o=t.rgba>>>8&255,s=0;s<e.data.length;s+=4)e.data[s]===r&&e.data[s+1]===n&&e.data[s+2]===o?e.data[s+3]=0:i=!1;return i}(o,i));var a=this._toCoordinateX(t),c=this._toCoordinateY(t);this._cacheCtx.putImageData(o,a,c);var l={index:t,isEmpty:s,inBitmap:!1};return this._addGlyphToBitmap(l),l},v.prototype._addGlyphToBitmap=function(e){var t=this;"createImageBitmap"in window&&!c.isFirefox&&!c.isSafari&&(this._glyphsWaitingOnBitmap.push(e),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout(function(){return t._generateBitmap()},100)))},v.prototype._generateBitmap=function(){var i=this,r=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(e){i._bitmap=e;for(var t=0;t<r.length;t++)r[t].inBitmap=!0}),this._bitmapCommitTimeout=null},v);function v(e,t){var i=d.call(this)||this;i._config=t,i._drawToCacheCount=0,i._glyphsWaitingOnBitmap=[],i._bitmapCommitTimeout=null,i._bitmap=null,i._cacheCanvas=e.createElement("canvas"),i._cacheCanvas.width=1024,i._cacheCanvas.height=1024,i._cacheCtx=l.throwIfFalsy(i._cacheCanvas.getContext("2d",{alpha:!0}));var r=e.createElement("canvas");r.width=i._config.scaledCharWidth,r.height=i._config.scaledCharHeight,i._tmpCtx=l.throwIfFalsy(r.getContext("2d",{alpha:i._config.allowTransparency})),i._width=Math.floor(1024/i._config.scaledCharWidth),i._height=Math.floor(1024/i._config.scaledCharHeight);var n=i._width*i._height;return i._cacheMap=new a.LRUMap(n),i._cacheMap.prealloc(n),i}t.DynamicCharAtlas=p;var g,y=(g=o.BaseCharAtlas,n(b,g),b.prototype.draw=function(e,t,i,r){return!1},b);function b(e,t){return g.call(this)||this}t.NoneCharAtlas=y},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){},n.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},n.prototype._doWarmUp=function(){},n.prototype.beginFrame=function(){},n);function n(){this._didWarmUp=!1}t.BaseCharAtlas=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.clear=function(){this._color={},this._rgba={}},n.prototype.setCss=function(e,t,i){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=i},n.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},n.prototype.setColor=function(e,t,i){this._color[e]||(this._color[e]={}),this._color[e][t]=i},n.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},n);function n(){this._color={},this._rgba={}}t.ColorContrastCache=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype._unlinkNode=function(e){var t=e.prev,i=e.next;e===this._head&&(this._head=i),e===this._tail&&(this._tail=t),null!==t&&(t.next=i),null!==i&&(i.prev=t)},n.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},n.prototype.prealloc=function(e){for(var t=this._nodePool,i=0;i<e;i++)t.push({prev:null,next:null,key:null,value:null})},n.prototype.get=function(e){var t=this._map[e];return void 0!==t?(this._unlinkNode(t),this._appendNode(t),t.value):null},n.prototype.peekValue=function(e){var t=this._map[e];return void 0!==t?t.value:null},n.prototype.peek=function(){var e=this._head;return null===e?null:e.value},n.prototype.set=function(e,t){var i=this._map[e];if(void 0!==i)i=this._map[e],this._unlinkNode(i),i.value=t;else if(this.size>=this.capacity)i=this._head,this._unlinkNode(i),delete this._map[i.key],i.key=e,i.value=t,this._map[e]=i;else{var r=this._nodePool;0<r.length?((i=r.pop()).key=e,i.value=t):i={prev:null,next:null,key:e,value:t},this._map[e]=i,this.size++}this._appendNode(i)},n);function n(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}t.LRUMap=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var a,o=(a=i(13).BaseRenderLayer,n(s,a),s.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},s.prototype.resize=function(e){a.prototype.resize.call(this,e),this._clearState()},s.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},s.prototype.onSelectionChanged=function(e,t,i){if(this._didStateChange(e,t,i,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var r=e[1]-this._bufferService.buffer.ydisp,n=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),s=Math.min(n,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||s<0)){if(this._ctx.fillStyle=this._colors.selection.css,i){var a=e[0],c=t[0]-a,l=s-o+1;this._fillCells(a,o,c,l)}else{a=r===o?e[0]:0;var h=o===s?t[0]:this._bufferService.cols;this._fillCells(a,o,h-a,1);var u=Math.max(s-o-1,0);if(this._fillCells(0,o+1,this._bufferService.cols,u),o!==s){var f=n===s?t[0]:this._bufferService.cols;this._fillCells(0,s,f,1)}}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},s.prototype._didStateChange=function(e,t,i,r){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||i!==this._state.columnSelectMode||r!==this._state.ydisp},s.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},s);function s(e,t,i,r,n,o){var s=a.call(this,e,"selection",t,!0,i,r,n,o)||this;return s.bufferService=n,s.optionsService=o,s._clearState(),s}t.SelectionRenderLayer=o},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var h,o=i(13),u=i(5),s=(h=o.BaseRenderLayer,n(a,h),a.prototype.resize=function(e){h.prototype.resize.call(this,e),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,function(){t._render(!0)})):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=t-this._bufferService.buffer.ydisp;if(i<0||i>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var r=this._optionsService.options.cursorStyle;return r&&"block"!==r?this._cursorRenderers[r](this._bufferService.buffer.x,i,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=r,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===i&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},a.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},a.prototype._renderBarCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,i.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(i,e,t),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},a.prototype._renderBlurCursor=function(e,t,i){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,i.getWidth(),1),this._ctx.restore()},a);function a(e,t,i,r,n,o,s,a,c){var l=h.call(this,e,"cursor",t,!0,i,r,o,s)||this;return l._onRequestRefreshRowsEvent=n,l.bufferService=o,l.optionsService=s,l._coreService=a,l._coreBrowserService=c,l._cell=new u.CellData,l._state={x:0,y:0,isFocused:!1,style:"",width:0},l._cursorRenderers={bar:l._renderBarCursor.bind(l),block:l._renderBlockCursor.bind(l),underline:l._renderUnderlineCursor.bind(l)},l}t.CursorRenderLayer=s;var c=(Object.defineProperty(l.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),l.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){e._renderCallback(),e._animationFrame=void 0})))},l.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout(function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,0<e)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0}),t._blinkInterval=setInterval(function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0})},600)},e)},l.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},l);function l(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var c,o=i(13),s=i(9),a=i(24),l=(c=o.BaseRenderLayer,n(h,c),h.prototype.resize=function(e){c.prototype.resize.call(this,e),this._state=void 0},h.prototype.reset=function(){this._clearCurrentLink()},h.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;0<e&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},h.prototype._onLinkHover=function(e){if(e.fg===s.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&a.is256Color(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e},h.prototype._onLinkLeave=function(e){this._clearCurrentLink()},h);function h(e,t,i,r,n,o,s){var a=c.call(this,e,"link",t,!0,i,r,o,s)||this;return a.bufferService=o,a.optionsService=s,n.onLinkHover(function(e){return a._onLinkHover(e)}),n.onLinkLeave(function(e){return a._onLinkLeave(e)}),a}t.LinkRenderLayer=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=(Object.defineProperty(o.prototype,"onLinkHover",{get:function(){return this._onLinkHover.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onLinkLeave",{get:function(){return this._onLinkLeave.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!0,configurable:!0}),o.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},o.prototype.linkifyRows=function(e,t){var i=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=e,this._rowsToLinkify.end=t):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,e),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,t)),this._mouseZoneManager.clearAll(e,t),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},o._timeBeforeLatency))},o.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var i=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),n=this._bufferService.buffer.iterator(!1,t,i,r,r);n.hasNext();)for(var o=n.next(),s=0;s<this._linkMatchers.length;s++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[s]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},o.prototype.registerLinkMatcher=function(e,t,i){if(void 0===i&&(i={}),!t)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:e,handler:t,matchIndex:i.matchIndex,validationCallback:i.validationCallback,hoverTooltipCallback:i.tooltipCallback,hoverLeaveCallback:i.leaveCallback,willLinkActivate:i.willLinkActivate,priority:i.priority||0};return this._addLinkMatcherToList(r),r.id},o.prototype._addLinkMatcherToList=function(e){if(0!==this._linkMatchers.length){for(var t=this._linkMatchers.length-1;0<=t;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},o.prototype.deregisterLinkMatcher=function(e){for(var t=0;t<this._linkMatchers.length;t++)if(this._linkMatchers[t].id===e)return this._linkMatchers.splice(t,1),!0;return!1},o.prototype._doLinkifyRow=function(o,s,a){for(var c,l=this,h=new RegExp(a.regex.source,(a.regex.flags||"")+"g"),u=-1,e=function(){var t=c["number"!=typeof a.matchIndex?0:a.matchIndex];if(!t)return f._logService.debug("match found without corresponding matchIndex",c,a),"break";if(u=s.indexOf(t,u+1),h.lastIndex=u+t.length,u<0)return"break";var i=f._bufferService.buffer.stringIndexToBufferIndex(o,u);if(i[0]<0)return"break";var e=f._bufferService.buffer.lines.get(i[0]);if(!e)return"break";var r=e.getFg(i[1]),n=r?r>>9&511:void 0;a.validationCallback?a.validationCallback(t,function(e){l._rowsTimeoutId||e&&l._addLink(i[1],i[0]-l._bufferService.buffer.ydisp,t,a,n)}):f._addLink(i[1],i[0]-f._bufferService.buffer.ydisp,t,a,n)},f=this;null!==(c=h.exec(s))&&"break"!==e(););},o.prototype._addLink=function(e,t,i,r,n){var o=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(i),a=e%this._bufferService.cols,c=t+Math.floor(e/this._bufferService.cols),l=(a+s)%this._bufferService.cols,h=c+Math.floor((a+s)/this._bufferService.cols);0===l&&(l=this._bufferService.cols,h--),this._mouseZoneManager.add(new u(1+a,c+1,l+1,h+1,function(e){if(r.handler)return r.handler(e,i);var t=window.open();t?(t.opener=null,t.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){o._onLinkHover.fire(o._createLinkHoverEvent(a,c,l,h,n)),o._element.classList.add("xterm-cursor-pointer")},function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(a,c,l,h,n)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,i,{start:{x:a,y:c},end:{x:l,y:h}})},function(){o._onLinkLeave.fire(o._createLinkHoverEvent(a,c,l,h,n)),o._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()},function(e){return!r.willLinkActivate||r.willLinkActivate(e,i)}))}},o.prototype._createLinkHoverEvent=function(e,t,i,r,n){return{x1:e,y1:t,x2:i,y2:r,cols:this._bufferService.cols,fg:n}},o._timeBeforeLatency=200,o);function o(e,t,i,r){this._bufferService=e,this._logService=t,this._optionsService=i,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onLinkHover=new n.EventEmitter,this._onLinkLeave=new n.EventEmitter,this._onLinkTooltip=new n.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}t.Linkifier=r;var u=function(e,t,i,r,n,o,s,a,c){this.x1=e,this.y1=t,this.x2=i,this.y2=r,this.clickCallback=n,this.hoverCallback=o,this.tooltipCallback=s,this.leaveCallback=a,this.willLinkActivate=c};t.MouseZone=u},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var c=i(11),l=i(51),h=i(5),u=i(1),o=i(4),s=i(0),a=i(28),f=i(52),_=String.fromCharCode(160),d=new RegExp(_,"g"),p=(Object.defineProperty(v.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),v.prototype.dispose=function(){this._removeMouseDownListeners()},v.prototype.reset=function(){this.clearSelection()},v.prototype.disable=function(){this.clearSelection(),this._enabled=!1},v.prototype.enable=function(){this._enabled=!0},Object.defineProperty(v.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var i=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var n=e[1];n<=t[1];n++){var o=i.translateBufferLineToString(n,!0,e[0],t[0]);r.push(o)}}else{var s=e[1]===t[1]?t[0]:void 0;for(r.push(i.translateBufferLineToString(e[1],!0,e[0],s)),n=e[1]+1;n<=t[1]-1;n++){var a=i.lines.get(n);o=i.translateBufferLineToString(n,!0),a&&a.isWrapped?r[r.length-1]+=o:r.push(o)}e[1]!==t[1]&&(a=i.lines.get(t[1]),o=i.translateBufferLineToString(t[1],!0,0,t[0]),a&&a.isWrapped?r[r.length-1]+=o:r.push(o))}return r.map(function(e){return e.replace(d," ")}).join(c.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),v.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},v.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return t._refresh()})),c.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},v.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},v.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),i=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(i&&r&&t)&&this._areCoordsInSelection(t,i,r)},v.prototype._areCoordsInSelection=function(e,t,i){return e[1]>t[1]&&e[1]<i[1]||t[1]===i[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<i[0]||t[1]<i[1]&&e[1]===i[1]&&e[0]<i[0]||t[1]<i[1]&&e[1]===t[1]&&e[0]>=t[0]},v.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},v.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},v.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},v.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},v.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},v.prototype._getMouseEventScrollAmount=function(e){var t=a.getCoordsRelativeToElement(e,this._screenElement)[1],i=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return 0<=t&&t<=i?0:(i<t&&(t-=i),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},v.prototype.shouldForceSelection=function(e){return c.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},v.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},v.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return e._dragScroll()},50)},v.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},v.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},v.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},v.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},v.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},v.prototype.shouldColumnSelect=function(e){return e.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},v.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(0<this._dragScrollAmount?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var i=this._bufferService.buffer;if(this._model.selectionEnd[1]<i.lines.length){var r=i.lines.get(this._model.selectionEnd[1]);r&&0===r.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},v.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._scrollLines(this._dragScrollAmount,!1);var e=this._bufferService.buffer;0<this._dragScrollAmount?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},v.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500){if(e.altKey&&this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var i=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(i&&void 0!==i[0]&&void 0!==i[1]){var r=f.moveToCellSequence(i[0]-1,i[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(r,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},v.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim(function(e){return t._onTrim(e)})},v.prototype._convertViewportColToCharacterIndex=function(e,t){for(var i=t[0],r=0;t[0]>=r;r++){var n=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?i--:1<n&&t[0]!==r&&(i+=n-1)}return i},v.prototype.setSelection=function(e,t,i){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=i,this.refresh()},v.prototype._getWordAt=function(e,t,i,r){if(void 0===i&&(i=!0),void 0===r&&(r=!0),!(e[0]>=this._bufferService.cols)){var n=this._bufferService.buffer,o=n.lines.get(e[1]);if(o){var s=n.translateBufferLineToString(e[1],!1),a=this._convertViewportColToCharacterIndex(o,e),c=a,l=e[0]-a,h=0,u=0,f=0,_=0;if(" "===s.charAt(a)){for(;0<a&&" "===s.charAt(a-1);)a--;for(;c<s.length&&" "===s.charAt(c+1);)c++}else{var d=e[0],p=e[0];0===o.getWidth(d)&&(h++,d--),2===o.getWidth(p)&&(u++,p++);var v=o.getString(p).length;for(1<v&&(_+=v-1,c+=v-1);0<d&&0<a&&!this._isCharWordSeparator(o.loadCell(d-1,this._workCell));){o.loadCell(d-1,this._workCell);var g=this._workCell.getChars().length;0===this._workCell.getWidth()?(h++,d--):1<g&&(f+=g-1,a-=g-1),a--,d--}for(;p<o.length&&c+1<s.length&&!this._isCharWordSeparator(o.loadCell(p+1,this._workCell));){o.loadCell(p+1,this._workCell);var y=this._workCell.getChars().length;2===this._workCell.getWidth()?(u++,p++):1<y&&(_+=y-1,c+=y-1),c++,p++}}c++;var b=a+l-h+f,m=Math.min(this._bufferService.cols,c-a+h+u-f-_);if(t||""!==s.slice(a,c).trim()){if(i&&0===b&&32!==o.getCodePoint(0)){var S=n.lines.get(e[1]-1);if(S&&o.isWrapped&&32!==S.getCodePoint(this._bufferService.cols-1)){var C=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(C){var w=this._bufferService.cols-C.start;b-=w,m+=w}}}if(r&&b+m===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){var E=n.lines.get(e[1]+1);if(E&&E.isWrapped&&32!==E.getCodePoint(0)){var L=this._getWordAt([0,e[1]+1],!1,!1,!0);L&&(m+=L.length)}}return{start:b,length:m}}}}},v.prototype._selectWordAt=function(e,t){var i=this._getWordAt(e,t);if(i){for(;i.start<0;)i.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[i.start,e[1]],this._model.selectionStartLength=i.length}},v.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var i=e[1];t.start<0;)t.start+=this._bufferService.cols,i--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,i++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,i]}},v.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&0<=this._optionsService.options.wordSeparator.indexOf(e.getChars())},v.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},r([n(3,o.ICharSizeService),n(4,s.IBufferService),n(5,s.ICoreService),n(6,o.IMouseService),n(7,s.IOptionsService)],v));function v(e,t,i,r,n,o,s,a){var c=this;this._scrollLines=e,this._element=t,this._screenElement=i,this._charSizeService=r,this._bufferService=n,this._coreService=o,this._mouseService=s,this._optionsService=a,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new h.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new u.EventEmitter,this._onRedrawRequest=new u.EventEmitter,this._onSelectionChange=new u.EventEmitter,this._mouseMoveListener=function(e){return c._onMouseMove(e)},this._mouseUpListener=function(e){return c._onMouseUp(e)},this._coreService.onUserInput(function(){c.hasSelection&&c.clearSelection()}),this._trimListener=this._bufferService.buffer.lines.onTrim(function(e){return c._onTrim(e)}),this._bufferService.buffers.onBufferActivate(function(e){return c._onBufferActivate(e)}),this.enable(),this._model=new l.SelectionModel(this._bufferService),this._activeSelectionMode=0}t.SelectionService=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(n.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(this.selectionEnd&&!this.areSelectionValuesReversed())return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd;var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}},enumerable:!0,configurable:!0}),n.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},n.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},n);function n(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}t.SelectionModel=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(12);function _(e,t,i,r){var n=e-d(i,e),o=t-d(i,t);return g(Math.abs(n-o)-function(e,t,i){for(var r=0,n=e-d(i,e),o=t-d(i,t),s=0;s<Math.abs(n-o);s++){var a="A"===l(e,t)?-1:1,c=i.buffer.lines.get(n+a*s);c&&c.isWrapped&&r++}return r}(e,t,i),v(l(e,t),r))}function d(e,t){for(var i=0,r=e.buffer.lines.get(t),n=r&&r.isWrapped;n&&0<=t&&t<e.rows;)i++,n=(r=e.buffer.lines.get(--t))&&r.isWrapped;return i}function l(e,t){return t<e?"A":"B"}function p(e,t,i,r,n,o){for(var s=e,a=t,c="";s!==i||a!==r;)s+=n?1:-1,n&&s>o.cols-1?(c+=o.buffer.translateBufferLineToString(a,!1,e,s),e=s=0,a++):!n&&s<0&&(c+=o.buffer.translateBufferLineToString(a,!1,0,e+1),e=s=o.cols-1,a--);return c+o.buffer.translateBufferLineToString(a,!1,e,s)}function v(e,t){var i=t?"O":"[";return r.C0.ESC+i+e}function g(e,t){e=Math.floor(e);for(var i="",r=0;r<e;r++)i+=t;return i}t.moveToCellSequence=function(e,t,i,r){var n,o,s,a,c,l=i.buffer.x,h=i.buffer.y;if(!i.buffer.hasScrollback)return o=l,(0===_(s=h,t,a=i,c=r).length?"":g(p(o,s,o,s-d(a,s),!1,a).length,v("D",c)))+_(h,t,i,r)+function(e,t,i,r,n,o){var s;s=0<_(t,r,n,o).length?r-d(n,r):t;var a=r,c=function(e,t,i,r,n,o){var s;return s=0<_(i,r,n,o).length?r-d(n,r):t,e<i&&s<=r||i<=e&&s<r?"C":"D"}(e,t,i,r,n,o);return g(p(e,s,i,a,"C"===c,n).length,v(c,o))}(l,h,e,t,i,r);if(h===t)return n=e<l?"D":"C",g(Math.abs(l-e),v(n,r));n=t<h?"D":"C";var u,f=Math.abs(h-t);return g((u=t<h?e:l,i.cols-u+(f-1)*i.cols+1+((t<h?l:e)-1)),v(n,r))}},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=(Object.defineProperty(a,"audioContext",{get:function(){if(!a._audioContext){var e=window.AudioContext||window.webkitAudioContext;if(!e)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;a._audioContext=new e}return a._audioContext},enumerable:!0,configurable:!0}),a.prototype.playBellSound=function(){var t=a.audioContext;if(t){var i=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(e){i.buffer=e,i.connect(t.destination),i.start(0)})}},a.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),i=t.length,r=new Uint8Array(i),n=0;n<i;n++)r[n]=t.charCodeAt(n);return r.buffer},a.prototype._removeMimeType=function(e){return e.split(",")[1]},a=r([n(0,o.IOptionsService)],a));function a(e){this._optionsService=e}t.SoundService=s},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var a,c=i(2),l=i(8),h=i(4),u=i(0),f=(a=c.Disposable,n(_,a),_.prototype.dispose=function(){a.prototype.dispose.call(this),this._deactivate()},_.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},_.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var i=0;i<this._zones.length;i++){var r=this._zones[i];(r.y1>e&&r.y1<=t+1||r.y2>e&&r.y2<=t+1||r.y1<e&&r.y2>t+1)&&(this._currentZone&&this._currentZone===r&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(i--,1))}0===this._zones.length&&this._deactivate()}},_.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},_.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},_.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},_.prototype._onHover=function(e){var t=this,i=this._findZoneEventAt(e);i!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),i&&((this._currentZone=i).hoverCallback&&i.hoverCallback(e),this._tooltipTimeout=setTimeout(function(){return t._onTooltip(e)},500)))},_.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},_.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&(null===(t=this._findZoneEventAt(e))||void 0===t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())},_.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},_.prototype._onClick=function(e){var t=this._findZoneEventAt(e),i=this._getSelectionLength();t&&i===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},_.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},_.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var i=t[0],r=t[1],n=0;n<this._zones.length;n++){var o=this._zones[n];if(o.y1===o.y2){if(r===o.y1&&i>=o.x1&&i<o.x2)return o}else if(r===o.y1&&i>=o.x1||r===o.y2&&i<o.x2||r>o.y1&&r<o.y2)return o}},o([s(2,u.IBufferService),s(3,h.IMouseService),s(4,h.ISelectionService)],_));function _(e,t,i,r,n){var o=a.call(this)||this;return o._element=e,o._screenElement=t,o._bufferService=i,o._mouseService=r,o._selectionService=n,o._zones=[],o._areZonesActive=!1,o._lastHoverCoords=[void 0,void 0],o._initialSelectionLength=0,o.register(l.addDisposableDomListener(o._element,"mousedown",function(e){return o._onMouseDown(e)})),o._mouseMoveListener=function(e){return o._onMouseMove(e)},o._mouseLeaveListener=function(e){return o._onMouseLeave(e)},o._clickListener=function(e){return o._onClick(e)},o}t.MouseZoneManager=f},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(17),a=i(11),c=i(29),l=i(8),h=i(2),u=i(30),f=(o=h.Disposable,n(_,o),_.prototype.dispose=function(){o.prototype.dispose.call(this),this._terminal.element.removeChild(this._accessibilityTreeRoot),this._rowElements.length=0},_.prototype._onBoundaryFocus=function(e,t){var i=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(i.getAttribute("aria-posinset")!==(0===t?"1":""+this._terminal.buffer.lines.length)&&e.relatedTarget===r){var n,o;if(0===t?(n=i,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(n=this._rowElements.shift(),o=i,this._rowContainer.removeChild(n)),n.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){var s=this._createAccessibilityTreeNode();this._rowElements.unshift(s),this._rowContainer.insertAdjacentElement("afterbegin",s)}else s=this._createAccessibilityTreeNode(),this._rowElements.push(s),this._rowContainer.appendChild(s);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}},_.prototype._onResize=function(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var t=this._rowContainer.children.length;t<this._terminal.rows;t++)this._rowElements[t]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[t]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},_.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},_.prototype._onTab=function(e){for(var t=0;t<e;t++)this._onChar(" ")},_.prototype._onChar=function(e){var t=this;this._liveRegionLineCount<21&&(0<this._charsToConsume.length?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=s.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&0<this._liveRegion.textContent.length&&!this._liveRegion.parentNode&&setTimeout(function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)},0))},_.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},_.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},_.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},_.prototype._renderRows=function(e,t){for(var i=this._terminal.buffer,r=i.lines.length.toString(),n=e;n<=t;n++){var o=i.translateBufferLineToString(i.ydisp+n,!0),s=(i.ydisp+n+1).toString(),a=this._rowElements[n];a&&(0===o.length?a.innerHTML=" ":a.textContent=o,a.setAttribute("aria-posinset",s),a.setAttribute("aria-setsize",r))}this._announceCharacters()},_.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}},_.prototype._refreshRowDimensions=function(e){e.style.height=this._renderService.dimensions.actualCellHeight+"px"},_.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},_);function _(e,t){var i=o.call(this)||this;i._terminal=e,i._renderService=t,i._liveRegionLineCount=0,i._charsToConsume=[],i._charsToAnnounce="",i._accessibilityTreeRoot=document.createElement("div"),i._accessibilityTreeRoot.classList.add("xterm-accessibility"),i._rowContainer=document.createElement("div"),i._rowContainer.classList.add("xterm-accessibility-tree"),i._rowElements=[];for(var r=0;r<i._terminal.rows;r++)i._rowElements[r]=i._createAccessibilityTreeNode(),i._rowContainer.appendChild(i._rowElements[r]);return i._topBoundaryFocusListener=function(e){return i._onBoundaryFocus(e,0)},i._bottomBoundaryFocusListener=function(e){return i._onBoundaryFocus(e,1)},i._rowElements[0].addEventListener("focus",i._topBoundaryFocusListener),i._rowElements[i._rowElements.length-1].addEventListener("focus",i._bottomBoundaryFocusListener),i._refreshRowsDimensions(),i._accessibilityTreeRoot.appendChild(i._rowContainer),i._renderRowsDebouncer=new c.RenderDebouncer(i._renderRows.bind(i)),i._refreshRows(),i._liveRegion=document.createElement("div"),i._liveRegion.classList.add("live-region"),i._liveRegion.setAttribute("aria-live","assertive"),i._accessibilityTreeRoot.appendChild(i._liveRegion),i._terminal.element.insertAdjacentElement("afterbegin",i._accessibilityTreeRoot),i.register(i._renderRowsDebouncer),i.register(i._terminal.onResize(function(e){return i._onResize(e.rows)})),i.register(i._terminal.onRender(function(e){return i._refreshRows(e.start,e.end)})),i.register(i._terminal.onScroll(function(){return i._refreshRows()})),i.register(i._terminal.onA11yChar(function(e){return i._onChar(e)})),i.register(i._terminal.onLineFeed(function(){return i._onChar("\n")})),i.register(i._terminal.onA11yTab(function(e){return i._onTab(e)})),i.register(i._terminal.onKey(function(e){return i._onKey(e.key)})),i.register(i._terminal.onBlur(function(){return i._clearLiveRegion()})),i.register(i._renderService.onDimensionsChange(function(){return i._refreshRowsDimensions()})),i._screenDprMonitor=new u.ScreenDprMonitor,i.register(i._screenDprMonitor),i._screenDprMonitor.setListener(function(){return i._refreshRowsDimensions()}),i.register(l.addDisposableDomListener(window,"resize",function(){return i._refreshRowsDimensions()})),i}t.AccessibilityManager=f},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var l,h=i(57),a=i(9),c=i(2),u=i(4),f=i(0),_=i(1),d=i(10),p="xterm-dom-renderer-owner-",v="xterm-rows",g="xterm-selection",y=1,b=(l=c.Disposable,n(m,l),Object.defineProperty(m.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),m.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),l.prototype.dispose.call(this)},m.prototype._updateDimensions=function(){var t=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach(function(e){e.style.width=t.dimensions.canvasWidth+"px",e.style.height=t.dimensions.actualCellHeight+"px",e.style.lineHeight=t.dimensions.actualCellHeight+"px",e.style.overflow="hidden"}),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var e=this._terminalSelector+" ."+v+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=e,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},m.prototype.setColors=function(e){this._colors=e,this._injectCss()},m.prototype._injectCss=function(){var i=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var r=this._terminalSelector+" ."+v+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";r+=this._terminalSelector+" span:not(."+h.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+h.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+h.ITALIC_CLASS+" { font-style: italic;}",r+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",r+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",r+=this._terminalSelector+" ."+v+":not(.xterm-focus) ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+":not(."+h.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+v+" ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+v+" ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",r+=this._terminalSelector+" ."+g+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+g+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach(function(e,t){r+=i._terminalSelector+" .xterm-fg-"+t+" { color: "+e.css+"; }"+i._terminalSelector+" .xterm-bg-"+t+" { background-color: "+e.css+"; }"}),r+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+d.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=r},m.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},m.prototype._refreshRowElements=function(e,t){for(var i=this._rowElements.length;i<=t;i++){var r=document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},m.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},m.prototype.onCharSizeChanged=function(){this._updateDimensions()},m.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},m.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},m.prototype.onSelectionChanged=function(e,t,i){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var r=e[1]-this._bufferService.buffer.ydisp,n=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),s=Math.min(n,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||s<0)){var a=document.createDocumentFragment();if(i)a.appendChild(this._createSelectionElement(o,e[0],t[0],s-o+1));else{var c=r===o?e[0]:0,l=o===s?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(o,c,l));var h=s-o-1;if(a.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,h)),o!==s){var u=n===s?t[0]:this._bufferService.cols;a.appendChild(this._createSelectionElement(s,0,u))}}this._selectionContainer.appendChild(a)}}},m.prototype._createSelectionElement=function(e,t,i,r){void 0===r&&(r=1);var n=document.createElement("div");return n.style.height=r*this.dimensions.actualCellHeight+"px",n.style.top=e*this.dimensions.actualCellHeight+"px",n.style.left=t*this.dimensions.actualCellWidth+"px",n.style.width=this.dimensions.actualCellWidth*(i-t)+"px",n},m.prototype.onCursorMove=function(){},m.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},m.prototype.clear=function(){this._rowElements.forEach(function(e){return e.innerHTML=""})},m.prototype.renderRows=function(e,t){for(var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=this._bufferService.buffer.x,n=this._optionsService.options.cursorBlink,o=e;o<=t;o++){var s=this._rowElements[o];s.innerHTML="";var a=o+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(a),l=this._optionsService.options.cursorStyle;s.appendChild(this._rowFactory.createRow(c,a===i,l,r,n,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(m.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),m.prototype.registerCharacterJoiner=function(e){return-1},m.prototype.deregisterCharacterJoiner=function(e){return!1},m.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},m.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},m.prototype._setCellUnderline=function(e,t,i,r,n,o){for(;e!==t||i!==r;){var s=this._rowElements[i];if(!s)return;var a=s.children[e];a&&(a.style.textDecoration=o?"underline":"none"),++e>=n&&(e=0,i++)}},o([s(5,u.ICharSizeService),s(6,f.IOptionsService),s(7,f.IBufferService)],m));function m(e,t,i,r,n,o,s,a){var c=l.call(this)||this;return c._colors=e,c._element=t,c._screenElement=i,c._viewportElement=r,c._linkifier=n,c._charSizeService=o,c._optionsService=s,c._bufferService=a,c._terminalClass=y++,c._rowElements=[],c._onRequestRefreshRows=new _.EventEmitter,c._rowContainer=document.createElement("div"),c._rowContainer.classList.add(v),c._rowContainer.style.lineHeight="normal",c._rowContainer.setAttribute("aria-hidden","true"),c._refreshRowElements(c._bufferService.cols,c._bufferService.rows),c._selectionContainer=document.createElement("div"),c._selectionContainer.classList.add(g),c._selectionContainer.setAttribute("aria-hidden","true"),c.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},c._updateDimensions(),c._injectCss(),c._rowFactory=new h.DomRendererRowFactory(document,c._optionsService,c._colors),c._element.classList.add(p+c._terminalClass),c._screenElement.appendChild(c._rowContainer),c._screenElement.appendChild(c._selectionContainer),c._linkifier.onLinkHover(function(e){return c._onLinkHover(e)}),c._linkifier.onLinkLeave(function(e){return c._onLinkLeave(e)}),c}t.DomRenderer=b},function(e,m,t){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var S=t(9),C=t(3),r=t(5),w=t(10);m.BOLD_CLASS="xterm-bold",m.DIM_CLASS="xterm-dim",m.ITALIC_CLASS="xterm-italic",m.UNDERLINE_CLASS="xterm-underline",m.CURSOR_CLASS="xterm-cursor",m.CURSOR_BLINK_CLASS="xterm-cursor-blink",m.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",m.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",m.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var i=(n.prototype.setColors=function(e){this._colors=e},n.prototype.createRow=function(e,t,i,r,n,o,s){for(var a=this._document.createDocumentFragment(),c=0,l=Math.min(e.length,s)-1;0<=l;l--)if(e.loadCell(l,this._workCell).getCode()!==C.NULL_CELL_CODE||t&&l===r){c=l+1;break}for(l=0;l<c;l++){e.loadCell(l,this._workCell);var h=this._workCell.getWidth();if(0!==h){var u=this._document.createElement("span");if(1<h&&(u.style.width=o*h+"px"),t&&l===r)switch(u.classList.add(m.CURSOR_CLASS),n&&u.classList.add(m.CURSOR_BLINK_CLASS),i){case"bar":u.classList.add(m.CURSOR_STYLE_BAR_CLASS);break;case"underline":u.classList.add(m.CURSOR_STYLE_UNDERLINE_CLASS);break;default:u.classList.add(m.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&u.classList.add(m.BOLD_CLASS),this._workCell.isItalic()&&u.classList.add(m.ITALIC_CLASS),this._workCell.isDim()&&u.classList.add(m.DIM_CLASS),this._workCell.isUnderline()&&u.classList.add(m.UNDERLINE_CLASS),this._workCell.isInvisible()?u.textContent=C.WHITESPACE_CELL_CHAR:u.textContent=this._workCell.getChars()||C.WHITESPACE_CELL_CHAR;var f=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),d=this._workCell.getBgColor(),p=this._workCell.getBgColorMode(),v=!!this._workCell.isInverse();if(v){var g=f;f=d,d=g;var y=_;_=p,p=y}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&f<8&&this._optionsService.options.drawBoldTextInBrightColors&&(f+=8),this._applyMinimumContrast(u,this._colors.background,this._colors.ansi[f])||u.classList.add("xterm-fg-"+f);break;case 50331648:var b=w.rgba.toColor(f>>16&255,f>>8&255,255&f);this._applyMinimumContrast(u,this._colors.background,b)||this._addStyle(u,"color:#"+E(f.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(u,this._colors.background,this._colors.foreground)||v&&u.classList.add("xterm-fg-"+S.INVERTED_DEFAULT_COLOR)}switch(p){case 16777216:case 33554432:u.classList.add("xterm-bg-"+d);break;case 50331648:this._addStyle(u,"background-color:#"+E(d.toString(16),"0",6));break;case 0:default:v&&u.classList.add("xterm-bg-"+S.INVERTED_DEFAULT_COLOR)}a.appendChild(u)}}return a},n.prototype._applyMinimumContrast=function(e,t,i){if(1===this._optionsService.options.minimumContrastRatio)return!1;var r=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===r&&(r=w.color.ensureContrastRatio(t,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=r?r:null)),!!r&&(this._addStyle(e,"color:"+r.css),!0)},n.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},n);function n(e,t,i){this._document=e,this._optionsService=t,this._colors=i,this._workCell=new r.CellData}function E(e,t,i){for(;e.length<i;)e=t+e;return e}m.DomRendererRowFactory=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i(12),h={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,i,r){var n={type:0,cancel:!1,key:void 0},o=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?n.key=t?l.C0.ESC+"OA":l.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?n.key=t?l.C0.ESC+"OD":l.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?n.key=t?l.C0.ESC+"OC":l.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(n.key=t?l.C0.ESC+"OB":l.C0.ESC+"[B");break;case 8:if(e.shiftKey){n.key=l.C0.BS;break}if(e.altKey){n.key=l.C0.ESC+l.C0.DEL;break}n.key=l.C0.DEL;break;case 9:if(e.shiftKey){n.key=l.C0.ESC+"[Z";break}n.key=l.C0.HT,n.cancel=!0;break;case 13:n.key=l.C0.CR,n.cancel=!0;break;case 27:n.key=l.C0.ESC,n.cancel=!0;break;case 37:if(e.metaKey)break;o?(n.key=l.C0.ESC+"[1;"+(1+o)+"D",n.key===l.C0.ESC+"[1;3D"&&(n.key=l.C0.ESC+(i?"b":"[1;5D"))):n.key=t?l.C0.ESC+"OD":l.C0.ESC+"[D";break;case 39:if(e.metaKey)break;o?(n.key=l.C0.ESC+"[1;"+(1+o)+"C",n.key===l.C0.ESC+"[1;3C"&&(n.key=l.C0.ESC+(i?"f":"[1;5C"))):n.key=t?l.C0.ESC+"OC":l.C0.ESC+"[C";break;case 38:if(e.metaKey)break;o?(n.key=l.C0.ESC+"[1;"+(1+o)+"A",i||n.key!==l.C0.ESC+"[1;3A"||(n.key=l.C0.ESC+"[1;5A")):n.key=t?l.C0.ESC+"OA":l.C0.ESC+"[A";break;case 40:if(e.metaKey)break;o?(n.key=l.C0.ESC+"[1;"+(1+o)+"B",i||n.key!==l.C0.ESC+"[1;3B"||(n.key=l.C0.ESC+"[1;5B")):n.key=t?l.C0.ESC+"OB":l.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(n.key=l.C0.ESC+"[2~");break;case 46:n.key=o?l.C0.ESC+"[3;"+(1+o)+"~":l.C0.ESC+"[3~";break;case 36:n.key=o?l.C0.ESC+"[1;"+(1+o)+"H":t?l.C0.ESC+"OH":l.C0.ESC+"[H";break;case 35:n.key=o?l.C0.ESC+"[1;"+(1+o)+"F":t?l.C0.ESC+"OF":l.C0.ESC+"[F";break;case 33:e.shiftKey?n.type=2:n.key=l.C0.ESC+"[5~";break;case 34:e.shiftKey?n.type=3:n.key=l.C0.ESC+"[6~";break;case 112:n.key=o?l.C0.ESC+"[1;"+(1+o)+"P":l.C0.ESC+"OP";break;case 113:n.key=o?l.C0.ESC+"[1;"+(1+o)+"Q":l.C0.ESC+"OQ";break;case 114:n.key=o?l.C0.ESC+"[1;"+(1+o)+"R":l.C0.ESC+"OR";break;case 115:n.key=o?l.C0.ESC+"[1;"+(1+o)+"S":l.C0.ESC+"OS";break;case 116:n.key=o?l.C0.ESC+"[15;"+(1+o)+"~":l.C0.ESC+"[15~";break;case 117:n.key=o?l.C0.ESC+"[17;"+(1+o)+"~":l.C0.ESC+"[17~";break;case 118:n.key=o?l.C0.ESC+"[18;"+(1+o)+"~":l.C0.ESC+"[18~";break;case 119:n.key=o?l.C0.ESC+"[19;"+(1+o)+"~":l.C0.ESC+"[19~";break;case 120:n.key=o?l.C0.ESC+"[20;"+(1+o)+"~":l.C0.ESC+"[20~";break;case 121:n.key=o?l.C0.ESC+"[21;"+(1+o)+"~":l.C0.ESC+"[21~";break;case 122:n.key=o?l.C0.ESC+"[23;"+(1+o)+"~":l.C0.ESC+"[23~";break;case 123:n.key=o?l.C0.ESC+"[24;"+(1+o)+"~":l.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(i&&!r||!e.altKey||e.metaKey)i&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(n.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&48<=e.keyCode&&1===e.key.length?n.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(n.key=l.C0.US);else{var s=h[e.keyCode],a=s&&s[e.shiftKey?1:0];if(a)n.key=l.C0.ESC+a;else if(65<=e.keyCode&&e.keyCode<=90){var c=e.ctrlKey?e.keyCode-64:e.keyCode+32;n.key=l.C0.ESC+String.fromCharCode(c)}}else 65<=e.keyCode&&e.keyCode<=90?n.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?n.key=l.C0.NUL:51<=e.keyCode&&e.keyCode<=55?n.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?n.key=l.C0.DEL:219===e.keyCode?n.key=l.C0.ESC:220===e.keyCode?n.key=l.C0.FS:221===e.keyCode&&(n.key=l.C0.GS)}return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.updateWindowsModeWrappedState=function(e){var t,i=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&i&&(r.isWrapped=i[n.CHAR_DATA_CODE_INDEX]!==n.NULL_CELL_CODE&&i[n.CHAR_DATA_CODE_INDEX]!==n.WHITESPACE_CELL_CODE)}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var a,c=i(29),l=i(1),h=i(2),u=i(30),f=i(8),_=i(0),d=i(4),p=(a=h.Disposable,n(v,a),Object.defineProperty(v.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),v.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},v.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},v.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},v.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},v.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},v.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},v.prototype.dispose=function(){this._renderer.dispose(),a.prototype.dispose.call(this)},v.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows(function(e){return t.refreshRows(e.start,e.end)}),this.refreshRows(0,this._rowCount-1)},v.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},v.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},v.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},v.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},v.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},v.prototype.onBlur=function(){this._renderer.onBlur()},v.prototype.onFocus=function(){this._renderer.onFocus()},v.prototype.onSelectionChanged=function(e,t,i){this._renderer.onSelectionChanged(e,t,i)},v.prototype.onCursorMove=function(){this._renderer.onCursorMove()},v.prototype.clear=function(){this._renderer.clear()},v.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},v.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},o([s(3,_.IOptionsService),s(4,d.ICharSizeService)],v));function v(e,t,i,r,n){var o=a.call(this)||this;if(o._renderer=e,o._rowCount=t,o.screenElement=i,o.optionsService=r,o.charSizeService=n,o._isPaused=!1,o._needsFullRefresh=!1,o._canvasWidth=0,o._canvasHeight=0,o._onDimensionsChange=new l.EventEmitter,o._onRender=new l.EventEmitter,o._onRefreshRequest=new l.EventEmitter,o._renderDebouncer=new c.RenderDebouncer(function(e,t){return o._renderRows(e,t)}),o.register(o._renderDebouncer),o._screenDprMonitor=new u.ScreenDprMonitor,o._screenDprMonitor.setListener(function(){return o.onDevicePixelRatioChange()}),o.register(o._screenDprMonitor),o.register(r.onOptionChange(function(){return o._renderer.onOptionsChanged()})),o.register(n.onCharSizeChange(function(){return o.onCharSizeChanged()})),o._renderer.onRequestRefreshRows(function(e){return o.refreshRows(e.start,e.end)}),o.register(f.addDisposableDomListener(window,"resize",function(){return o.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var s=new IntersectionObserver(function(e){return o._onIntersectionChange(e[e.length-1])},{threshold:0});s.observe(i),o.register({dispose:function(){return s.disconnect()}})}return o}t.RenderService=p},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(1),i=t(11),s=t(31);n.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",n.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:n.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:i.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var r=["cols","rows"],a=(Object.defineProperty(c.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),c.prototype.setOption=function(e,t){if(!(e in n.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==r.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==t&&(t=this._sanitizeAndValidateOption(e,t),this.options[e]!==t&&(this.options[e]=t,this._onOptionChange.fire(e)))},c.prototype._sanitizeAndValidateOption=function(e,t){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":t=t||n.DEFAULT_OPTIONS[e];break;case"cursorWidth":t=Math.floor(t);case"lineHeight":case"tabStopWidth":if(t<1)throw new Error(e+" cannot be less than 1, value: "+t);break;case"minimumContrastRatio":t=Math.max(1,Math.min(21,Math.round(10*t)/10));break;case"scrollback":if((t=Math.min(t,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+t);break;case"fastScrollSensitivity":case"scrollSensitivity":if(t<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+t)}return t},c.prototype.getOption=function(e){if(!(e in n.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},c);function c(i){var r=this;this._onOptionChange=new o.EventEmitter,this.options=s.clone(n.DEFAULT_OPTIONS),Object.keys(i).forEach(function(e){if(e in r.options){var t=i[e];r.options[e]=t}})}n.OptionsService=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a=(Object.defineProperty(c.prototype,"hasValidSize",{get:function(){return 0<this.width&&0<this.height},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),c.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},r([n(2,o.IOptionsService)],c));function c(e,t,i){this.document=e,this.parentElement=t,this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new s.EventEmitter,this._measureStrategy=new l(e,t,this._optionsService)}t.CharSizeService=a;var l=(h.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},h);function h(e,t,i){this._document=e,this._parentElement=t,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var a=(Object.defineProperty(c.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),c.prototype.resize=function(e,t){this.cols=e,this.rows=t},c.prototype.reset=function(){this.buffers=new s.BufferSet(this._optionsService,this)},r([n(0,o.IOptionsService)],c));function c(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new s.BufferSet(e,this)}t.BufferService=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(65),n=i(1),o=(Object.defineProperty(s.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),s.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},s.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},s.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},s.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},s);function s(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new n.EventEmitter,this._normal=new r.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new r.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}t.BufferSet=o},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r=t(66),M=t(16),n=t(5),s=t(3),P=t(67),o=t(68),a=t(18);i.MAX_BUFFER_SIZE=4294967295;var c=(l.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},l.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},l.prototype.getBlankLine=function(e,t){return new M.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return 0<=e&&e<this._rows},enumerable:!0,configurable:!0}),l.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var t=e+this._optionsService.options.scrollback;return t>i.MAX_BUFFER_SIZE?i.MAX_BUFFER_SIZE:t},l.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=M.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(e,t){var i=this.getNullCell(M.DEFAULT_ATTR_DATA),r=this._getCorrectBufferLength(t);if(r>this.lines.maxLength&&(this.lines.maxLength=r),0<this.lines.length){if(this._cols<e)for(var n=0;n<this.lines.length;n++)this.lines.get(n).resize(e,i);var o=0;if(this._rows<t)for(var s=this._rows;s<t;s++)this.lines.length<t+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new M.BufferLine(e,i)):0<this.ybase&&this.lines.length<=this.ybase+this.y+o+1?(this.ybase--,o++,0<this.ydisp&&this.ydisp--):this.lines.push(new M.BufferLine(e,i)));else for(s=this._rows;t<s;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(r<this.lines.maxLength){var a=this.lines.length-r;0<a&&(this.lines.trimStart(a),this.ybase=Math.max(this.ybase-a,0),this.ydisp=Math.max(this.ydisp-a,0),this.savedY=Math.max(this.savedY-a,0)),this.lines.maxLength=r}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),o&&(this.y+=o),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(n=0;n<this.lines.length;n++)this.lines.get(n).resize(e,i);this._cols=e,this._rows=t},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!0,configurable:!0}),l.prototype._reflow=function(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},l.prototype._reflowLarger=function(e,t){var i=P.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(M.DEFAULT_ATTR_DATA));if(0<i.length){var r=P.reflowLargerCreateNewLayout(this.lines,i);P.reflowLargerApplyNewLayout(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(e,t,i){for(var r=this.getNullCell(M.DEFAULT_ATTR_DATA),n=i;0<n--;)0===this.ybase?(0<this.y&&this.y--,this.lines.length<t&&this.lines.push(new M.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-i,0)},l.prototype._reflowSmaller=function(e,t){for(var i=this.getNullCell(M.DEFAULT_ATTR_DATA),r=[],n=0,o=this.lines.length-1;0<=o;o--){var s=this.lines.get(o);if(!(!s||!s.isWrapped&&s.getTrimmedLength()<=e)){for(var a=[s];s.isWrapped&&0<o;)s=this.lines.get(--o),a.unshift(s);var c=this.ybase+this.y;if(!(o<=c&&c<o+a.length)){var l,h=a[a.length-1].getTrimmedLength(),u=P.reflowSmallerGetNewLineLengths(a,this._cols,e),f=u.length-a.length;l=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+f):Math.max(0,this.lines.length-this.lines.maxLength+f);for(var _=[],d=0;d<f;d++){var p=this.getBlankLine(M.DEFAULT_ATTR_DATA,!0);_.push(p)}0<_.length&&(r.push({start:o+a.length+n,newLines:_}),n+=_.length),a.push.apply(a,_);var v=u.length-1,g=u[v];0===g&&(g=u[--v]);for(var y=a.length-f-1,b=h;0<=y;){var m=Math.min(b,g);if(a[v].copyCellsFrom(a[y],b-m,g-m,m,!0),0==(g-=m)&&(g=u[--v]),0==(b-=m)){y--;var S=Math.max(y,0);b=P.getWrappedLineTrimmedLength(a,S,this._cols)}}for(d=0;d<a.length;d++)u[d]<e&&a[d].setCell(u[d],i);for(var C=f-l;0<C--;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+n)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+f,this.ybase+t-1)}}}if(0<r.length){var w=[],E=[];for(d=0;d<this.lines.length;d++)E.push(this.lines.get(d));var L=this.lines.length,A=L-1,R=0,x=r[R];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+n);var k=0;for(d=Math.min(this.lines.maxLength-1,L+n-1);0<=d;d--)if(x&&x.start>A+k){for(var D=x.newLines.length-1;0<=D;D--)this.lines.set(d--,x.newLines[D]);d++,w.push({index:A+1,amount:x.newLines.length}),k+=x.newLines.length,x=r[++R]}else this.lines.set(d,E[A--]);var T=0;for(d=w.length-1;0<=d;d--)w[d].index+=T,this.lines.onInsertEmitter.fire(w[d]),T+=w[d].amount;var O=Math.max(0,L+n-this.lines.maxLength);0<O&&this.lines.onTrimEmitter.fire(O)}},l.prototype.stringIndexToBufferIndex=function(e,t,i){for(void 0===i&&(i=!1);t;){var r=this.lines.get(e);if(!r)return[-1,-1];for(var n=i?r.getTrimmedLength():r.length,o=0;o<n;++o)if(r.get(o)[s.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[s.CHAR_DATA_CHAR_INDEX].length||1),t<0)return[e,o];e++}return[e,0]},l.prototype.translateBufferLineToString=function(e,t,i,r){void 0===i&&(i=0);var n=this.lines.get(e);return n?n.translateToString(t,i,r):""},l.prototype.getWrappedRangeForLine=function(e){for(var t=e,i=e;0<t&&this.lines.get(t).isWrapped;)t--;for(;i+1<this.lines.length&&this.lines.get(i+1).isWrapped;)i++;return{first:t,last:i}},l.prototype.setupTabStops=function(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},l.prototype.prevStop=function(e){for(null==e&&(e=this.x);!this.tabs[--e]&&0<e;);return e>=this._cols?this._cols-1:e<0?0:e},l.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},l.prototype.addMarker=function(e){var t=this,i=new o.Marker(e);return this.markers.push(i),i.register(this.lines.onTrim(function(e){i.line-=e,i.line<0&&i.dispose()})),i.register(this.lines.onInsert(function(e){i.line>=e.index&&(i.line+=e.amount)})),i.register(this.lines.onDelete(function(e){i.line>=e.index&&i.line<e.index+e.amount&&i.dispose(),i.line>e.index&&(i.line-=e.amount)})),i.register(i.onDispose(function(){return t._removeMarker(i)})),i},l.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},l.prototype.iterator=function(e,t,i,r,n){return new h(this,e,t,i,r,n)},l);function l(e,t,i){this._hasScrollback=e,this._optionsService=t,this._bufferService=i,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=M.DEFAULT_ATTR_DATA.clone(),this.savedCharset=a.DEFAULT_CHARSET,this.markers=[],this._nullCell=n.CellData.fromCharData([0,s.NULL_CELL_CHAR,s.NULL_CELL_WIDTH,s.NULL_CELL_CODE]),this._whitespaceCell=n.CellData.fromCharData([0,s.WHITESPACE_CELL_CHAR,s.WHITESPACE_CELL_WIDTH,s.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}i.Buffer=c;var h=(u.prototype.hasNext=function(){return this._current<this._endIndex},u.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",i=e.first;i<=e.last;++i)t+=this._buffer.translateBufferLineToString(i,this._trimRight);return this._current=e.last+1,{range:e,content:t}},u);function u(e,t,i,r,n,o){void 0===i&&(i=0),void 0===r&&(r=e.lines.length),void 0===n&&(n=0),void 0===o&&(o=0),this._buffer=e,this._trimRight=t,this._startIndex=i,this._endIndex=r,this._startOverscan=n,this._endOverscan=o,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}i.BufferStringIterator=h},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(1),n=(Object.defineProperty(o.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),i=0;i<Math.min(e,this.length);i++)t[i]=this._array[this._getCyclicIndex(i)];this._array=t,this._maxLength=e,this._startIndex=0}},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"length",{get:function(){return this._length},set:function(e){if(e>this._length)for(var t=this._length;t<e;t++)this._array[t]=void 0;this._length=e},enumerable:!0,configurable:!0}),o.prototype.get=function(e){return this._array[this._getCyclicIndex(e)]},o.prototype.set=function(e,t){this._array[this._getCyclicIndex(e)]=t},o.prototype.push=function(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},o.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(o.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!0,configurable:!0}),o.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},o.prototype.splice=function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(t){for(var n=e;n<this._length-t;n++)this._array[this._getCyclicIndex(n)]=this._array[this._getCyclicIndex(n+t)];this._length-=t}for(n=this._length-1;e<=n;n--)this._array[this._getCyclicIndex(n+i.length)]=this._array[this._getCyclicIndex(n)];for(n=0;n<i.length;n++)this._array[this._getCyclicIndex(e+n)]=i[n];if(this._length+i.length>this._maxLength){var o=this._length+i.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=i.length},o.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},o.prototype.shiftElements=function(e,t,i){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(0<i){for(var r=t-1;0<=r;r--)this.set(e+r+i,this.get(e+r));var n=e+t+i-this._length;if(0<n)for(this._length+=n;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<t;r++)this.set(e+r+i,this.get(e+r))}},o.prototype._getCyclicIndex=function(e){return(this._startIndex+e)%this._maxLength},o);function o(e){this._maxLength=e,this.onDeleteEmitter=new r.EventEmitter,this.onInsertEmitter=new r.EventEmitter,this.onTrimEmitter=new r.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}t.CircularList=n},function(e,t,i){"use strict";function m(e,t,i){if(t===e.length-1)return e[t].getTrimmedLength();var r=!e[t].hasContent(i-1)&&1===e[t].getWidth(i-1),n=2===e[t+1].getWidth(0);return r&&n?i-1:i}Object.defineProperty(t,"__esModule",{value:!0}),t.reflowLargerGetLinesToRemove=function(e,t,i,r,n){for(var o=[],s=0;s<e.length-1;s++){var a=s,c=e.get(++a);if(c.isWrapped){for(var l=[e.get(s)];a<e.length&&c.isWrapped;)l.push(c),c=e.get(++a);if(s<=r&&r<a)s+=l.length-1;else{for(var h=0,u=m(l,h,t),f=1,_=0;f<l.length;){var d=m(l,f,t),p=d-_,v=i-u,g=Math.min(p,v);l[h].copyCellsFrom(l[f],_,u,g,!1),(u+=g)===i&&(h++,u=0),(_+=g)===d&&(f++,_=0),0===u&&0!==h&&2===l[h-1].getWidth(i-1)&&(l[h].copyCellsFrom(l[h-1],i-1,u++,1,!1),l[h-1].setCell(i-1,n))}l[h].replaceCells(u,i,n);for(var y=0,b=l.length-1;0<b&&(h<b||0===l[b].getTrimmedLength());b--)y++;0<y&&(o.push(s+l.length-y),o.push(y)),s+=l.length-1}}}return o},t.reflowLargerCreateNewLayout=function(e,t){for(var i=[],r=0,n=t[r],o=0,s=0;s<e.length;s++)if(n===s){var a=t[++r];e.onDeleteEmitter.fire({index:s-o,amount:a}),s+=a-1,o+=a,n=t[++r]}else i.push(s);return{layout:i,countRemoved:o}},t.reflowLargerApplyNewLayout=function(e,t){for(var i=[],r=0;r<t.length;r++)i.push(e.get(t[r]));for(r=0;r<i.length;r++)e.set(r,i[r]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(i,r,e){for(var t=[],n=i.map(function(e,t){return m(i,t,r)}).reduce(function(e,t){return e+t}),o=0,s=0,a=0;a<n;){if(n-a<e){t.push(n-a);break}o+=e;var c=m(i,s,r);c<o&&(o-=c,s++);var l=2===i[s].getWidth(o-1);l&&o--;var h=l?e-1:e;t.push(h),a+=h}return t},t.getWrappedLineTrimmedLength=m},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(1),a=(o=i(2).Disposable,n(c,o),Object.defineProperty(c.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),c.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},c._nextId=1,c);function c(e){var t=o.call(this)||this;return t.line=e,t._id=c._nextId++,t.isDisposed=!1,t._onDispose=new s.EventEmitter,t}t.Marker=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(4),s=i(28),a=(c.prototype.getCoords=function(e,t,i,r,n){return s.getCoords(e,t,i,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,n)},c.prototype.getRawByteCoords=function(e,t,i,r){var n=this.getCoords(e,t,i,r);return s.getRawByteCoords(n)},r([n(0,o.IRenderService),n(1,o.ICharSizeService)],c));function c(e,t){this._renderService=e,this._charSizeService=t}t.MouseService=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a=i(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=(Object.defineProperty(h.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),h.prototype.reset=function(){this.decPrivateModes=a.clone(c)},h.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var i=this._bufferService.buffer;i.ybase!==i.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onData.fire(e)}},h.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onBinary.fire(e))},r([n(1,o.IBufferService),n(2,o.ILogService),n(3,o.IOptionsService)],h));function h(e,t,i,r){this._scrollToBottom=e,this._bufferService=t,this._logService=i,this._optionsService=r,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new s.EventEmitter,this._onUserInput=new s.EventEmitter,this._onBinary=new s.EventEmitter,this.decPrivateModes=a.clone(c)}t.CoreService=l},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var r=Array(e),n=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,n++)r[n]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0});var s,a,c=i(0);(a=s=t.LogLevel||(t.LogLevel={}))[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF";var l={debug:s.DEBUG,info:s.INFO,warn:s.WARN,error:s.ERROR,off:s.OFF},h=(u.prototype._updateLogLevel=function(){this._logLevel=l[this._optionsService.options.logLevel]},u.prototype._evalLazyOptionalParams=function(e){for(var t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())},u.prototype._log=function(e,t,i){this._evalLazyOptionalParams(i),e.call.apply(e,o([console,"xterm.js: "+t],i))},u.prototype.debug=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.DEBUG&&this._log(console.log,e,t)},u.prototype.info=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.INFO&&this._log(console.info,e,t)},u.prototype.warn=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.WARN&&this._log(console.warn,e,t)},u.prototype.error=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.ERROR&&this._log(console.error,e,t)},r([n(0,c.IOptionsService)],u));function u(e){var t=this;this._optionsService=e,this._updateLogLevel(),this._optionsService.onOptionChange(function(e){"logLevel"===e&&t._updateLogLevel()})}t.LogService=h},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=(Object.defineProperty(a.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),a.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},a.prototype.markDirty=function(e){e<this._start?this._start=e:e>this._end&&(this._end=e)},a.prototype.markRangeDirty=function(e,t){if(t<e){var i=e;e=t,t=i}e<this._start&&(this._start=e),t>this._end&&(this._end=t)},a.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},r([n(0,o.IBufferService)],a));function a(e){this._bufferService=e,this.clearRange()}t.DirtyRowService=s},function(e,t,i){"use strict";var h=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var r=Array(e),n=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,n++)r[n]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(14),n=(o.prototype.set=function(e,t){var i=this._entries.get(e);return this._entries.set(e,t),i},o.prototype.forEach=function(i){this._entries.forEach(function(e,t){return i(t,e)})},o.prototype.has=function(e){return this._entries.has(e)},o.prototype.get=function(e){return this._entries.get(e)},o);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],s=n[1];this.set(o,s)}}t.ServiceCollection=n;var s=(a.prototype.setService=function(e,t){this._services.set(e,t)},a.prototype.getService=function(e){return this._services.get(e)},a.prototype.createInstance=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];for(var r=u.getServiceDependencies(e).sort(function(e,t){return e.index-t.index}),n=[],o=0,s=r;o<s.length;o++){var a=s[o],c=this._services.get(a.id);if(!c)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+a.id+".");n.push(c)}var l=0<r.length?r[0].index:t.length;if(t.length!==l)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(l+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,h([void 0],h(t,n))))},a);function a(){this._services=new n,this._services.set(r.IInstantiationService,this)}t.InstantiationService=s},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,!(e.shift=!1))}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var i=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(i|=64,i|=e.action):(i|=3&e.button,4&e.button&&(i|=64),8&e.button&&(i|=128),32===e.action?i|=32:0!==e.action||t||(i|=3)),i}var l=String.fromCharCode,h={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return 255<t[0]||255<t[1]||255<t[2]?"":"[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(e,!0)+";"+e.col+";"+e.row+t}},u=(f.prototype.addProtocol=function(e,t){this._protocols[e]=t},f.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(f.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),f.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(f.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),f.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},f.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},f.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},r([n(0,o.IBufferService),n(1,o.ICoreService)],f));function f(e,t){var i=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null,Object.keys(a).forEach(function(e){return i.addProtocol(e,a[e])}),Object.keys(h).forEach(function(e){return i.addEncoding(e,h[e])}),this.reset()}t.CoreMouseService=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t<this._writeBuffer.length;++t){var i=this._writeBuffer[t],r=this._callbacks[t];this._action(i),r&&r()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(e)},n.prototype.write=function(e,t){var i=this;if(5e7<this._pendingData)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return i._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},n.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var i=this._writeBuffer[this._bufferOffset],r=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(i),this._pendingData-=i.length,r&&r(),12<=Date.now()-t)break}this._writeBuffer.length>this._bufferOffset?(50<this._bufferOffset&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return e._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},n);function n(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}t.WriteBuffer=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(Object.defineProperty(n.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),n);function n(e){this._textarea=e}t.CoreBrowserService=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(1),n=i(78),o=(Object.defineProperty(s.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),s.prototype.register=function(e){this._providers[e.version]=e},s.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},s.prototype.getStringCellWidth=function(e){for(var t=0,i=e.length,r=0;r<i;++r){var n=e.charCodeAt(r);if(55296<=n&&n<=56319){if(++r>=i)return t+this.wcwidth(n);var o=e.charCodeAt(r);56320<=o&&o<=57343?n=1024*(n-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(n)}return t},s);function s(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter;var e=new n.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}t.UnicodeService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=i(15),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],s=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],a=(c.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?r[e]:function(e,t){var i,r=0,n=t.length-1;if(e<t[0][0]||e>t[n][1])return 0;for(;r<=n;)if(e>t[i=r+n>>1][1])r=1+i;else{if(!(e<t[i][0]))return 1;n=i-1}return 0}(e,s)?0:131072<=e&&e<=196605||196608<=e&&e<=262141?2:1},c);function c(){if(this.version="6",!r){r=new Uint8Array(65536),n.fill(r,1),r[0]=0,n.fill(r,0,1,32),n.fill(r,0,127,160),n.fill(r,2,4352,4448),r[9001]=2,r[9002]=2,n.fill(r,2,11904,42192),r[12351]=1,n.fill(r,2,44032,55204),n.fill(r,2,63744,64256),n.fill(r,2,65040,65050),n.fill(r,2,65072,65136),n.fill(r,2,65280,65377),n.fill(r,2,65504,65511);for(var e=0;e<o.length;++e)n.fill(r,0,o[e][0],o[e][1]+1)}}t.UnicodeV6=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},n.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},n.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},n);function n(){this.charsets=[],this.glevel=0}t.CharsetService=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){for(var e=this._addons.length-1;0<=e;e--)this._addons[e].instance.dispose()},n.prototype.loadAddon=function(e,t){var i=this,r={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(r),t.dispose=function(){return i._wrappedAddonDispose(r)},t.activate(e)},n.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,i=0;i<this._addons.length;i++)if(this._addons[i]===e){t=i;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}},n);function n(){this._addons=[]}t.AddonManager=r}],n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32);function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r})
\ No newline at end of file
1
+!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i,r=t();for(i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(window,function(){return r={},n.m=i=[function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(14);t.IBufferService=r.createDecorator("BufferService"),t.ICoreMouseService=r.createDecorator("CoreMouseService"),t.ICoreService=r.createDecorator("CoreService"),t.ICharsetService=r.createDecorator("CharsetService"),t.IDirtyRowService=r.createDecorator("DirtyRowService"),t.IInstantiationService=r.createDecorator("InstantiationService"),t.ILogService=r.createDecorator("LogService"),t.IOptionsService=r.createDecorator("OptionsService"),t.IUnicodeService=r.createDecorator("UnicodeService")},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(Object.defineProperty(n.prototype,"event",{get:function(){var i=this;return this._event||(this._event=function(t){return i._listeners.push(t),{dispose:function(){if(!i._disposed)for(var e=0;e<i._listeners.length;e++)if(i._listeners[e]===t)return void i._listeners.splice(e,1)}}}),this._event},enumerable:!0,configurable:!0}),n.prototype.fire=function(e,t){for(var i=[],r=0;r<this._listeners.length;r++)i.push(this._listeners[r]);for(r=0;r<i.length;r++)i[r].call(void 0,e,t)},n.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},n);function n(){this._listeners=[],this._disposed=!1}t.EventEmitter=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){this._isDisposed=!0,this._disposables.forEach(function(e){return e.dispose()}),this._disposables.length=0},n.prototype.register=function(e){this._disposables.push(e)},n.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},n);function n(){this._disposables=[],this._isDisposed=!1}t.Disposable=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(14);t.ICharSizeService=r.createDecorator("CharSizeService"),t.ICoreBrowserService=r.createDecorator("CoreBrowserService"),t.IMouseService=r.createDecorator("MouseService"),t.IRenderService=r.createDecorator("RenderService"),t.ISelectionService=r.createDecorator("SelectionService"),t.ISoundService=r.createDecorator("SoundService")},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(7),a=i(3),c=(o=i(6).AttributeData,n(l,o),l.fromCharData=function(e){var t=new l;return t.setFromCharData(e),t},l.prototype.isCombined=function(){return 2097152&this.content},l.prototype.getWidth=function(){return this.content>>22},l.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?s.stringFromCodePoint(2097151&this.content):""},l.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},l.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t,i,r=!1;2<e[a.CHAR_DATA_CHAR_INDEX].length?r=!0:2===e[a.CHAR_DATA_CHAR_INDEX].length?55296<=(t=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0))&&t<=56319&&56320<=(i=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1))&&i<=57343?this.content=1024*(t-55296)+i-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:r=!0:this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22,r&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l);function l(){var e=null!==o&&o.apply(this,arguments)||this;return e.content=0,e.fg=0,e.bg=0,e.combinedData="",e}t.CellData=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},n.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},n.prototype.clone=function(){var e=new n;return e.fg=this.fg,e.bg=this.bg,e},n.prototype.isInverse=function(){return 67108864&this.fg},n.prototype.isBold=function(){return 134217728&this.fg},n.prototype.isUnderline=function(){return 268435456&this.fg},n.prototype.isBlink=function(){return 536870912&this.fg},n.prototype.isInvisible=function(){return 1073741824&this.fg},n.prototype.isItalic=function(){return 67108864&this.bg},n.prototype.isDim=function(){return 134217728&this.bg},n.prototype.getFgColorMode=function(){return 50331648&this.fg},n.prototype.getBgColorMode=function(){return 50331648&this.bg},n.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},n.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},n.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},n.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},n.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},n.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},n.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},n.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},n.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},n);function n(){this.fg=0,this.bg=0}t.AttributeData=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFromCodePoint=function(e){return 65535<e?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=e.length);for(var r="",n=t;n<i;++n){var o=e[n];65535<o?(o-=65536,r+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):r+=String.fromCharCode(o)}return r};var r=(n.prototype.clear=function(){this._interim=0},n.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var r=0,n=0;this._interim&&(56320<=(s=e.charCodeAt(n++))&&s<=57343?t[r++]=1024*(this._interim-55296)+s-56320+65536:(t[r++]=this._interim,t[r++]=s),this._interim=0);for(var o=n;o<i;++o){var s,a=e.charCodeAt(o);if(55296<=a&&a<=56319){if(++o>=i)return this._interim=a,r;56320<=(s=e.charCodeAt(o))&&s<=57343?t[r++]=1024*(a-55296)+s-56320+65536:(t[r++]=a,t[r++]=s)}else t[r++]=a}return r},n);function n(){this._interim=0}t.StringToUtf32=r;var o=(s.prototype.clear=function(){this.interim.fill(0)},s.prototype.decode=function(e,t){var i=e.length;if(!i)return 0;var r,n,o,s,a=0,c=0,l=0;if(this.interim[0]){var h=!1,u=this.interim[0];u&=192==(224&u)?31:224==(240&u)?15:7;for(var f=0,_=void 0;(_=63&this.interim[++f])&&f<4;)u<<=6,u|=_;for(var d=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,p=d-f;l<p;){if(i<=l)return 0;if(128!=(192&(_=e[l++]))){l--,h=!0;break}u<<=6,u|=63&(this.interim[f++]=_)}h||(2==d?u<128?l--:t[a++]=u:3==d?u<2048||55296<=u&&u<=57343||(t[a++]=u):u<65536||1114111<u||(t[a++]=u)),this.interim.fill(0)}for(var v=i-4,g=l;g<i;){for(;!(!(g<v)||128&(r=e[g])||128&(n=e[g+1])||128&(o=e[g+2])||128&(s=e[g+3]));)t[a++]=r,t[a++]=n,t[a++]=o,t[a++]=s,g+=4;if((r=e[g++])<128)t[a++]=r;else if(192==(224&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if((c=(31&r)<<6|63&n)<128){g--;continue}t[a++]=c}else if(224==(240&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if((c=(15&r)<<12|(63&n)<<6|63&o)<2048||55296<=c&&c<=57343)continue;t[a++]=c}else if(240==(248&r)){if(i<=g)return this.interim[0]=r,a;if(128!=(192&(n=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if(i<=g)return this.interim[0]=r,this.interim[1]=n,this.interim[2]=o,a;if(128!=(192&(s=e[g++]))){g--;continue}if((c=(7&r)<<18|(63&n)<<12|(63&o)<<6|63&s)<65536||1114111<c)continue;t[a++]=c}}return a},s);function s(){this.interim=new Uint8Array(3)}t.Utf8ToUtf32=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=function(e,t,i,r){e.addEventListener(t,i,r);var n=!1;return{dispose:function(){n&&(n=!0,e.removeEventListener(t,i,r))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,i){"use strict";var f,r,h,s,n,o,a;function c(e){var t=e.toString(16);return t.length<2?"0"+t:t}function u(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}function l(e,t,i){for(var r=e>>24&255,n=e>>16&255,o=e>>8&255,s=t>>24&255,a=t>>16&255,c=t>>8&255,l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));l<i&&(0<s||0<a||0<c);)s-=Math.max(0,Math.ceil(.1*s)),a-=Math.max(0,Math.ceil(.1*a)),c-=Math.max(0,Math.ceil(.1*c)),l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));return(s<<24|a<<16|c<<8|255)>>>0}function _(e,t,i){for(var r=e>>24&255,n=e>>16&255,o=e>>8&255,s=t>>24&255,a=t>>16&255,c=t>>8&255,l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));l<i&&(s<255||a<255||c<255);)s=Math.min(255,s+Math.ceil(.1*(255-s))),a=Math.min(255,a+Math.ceil(.1*(255-a))),c=Math.min(255,c+Math.ceil(.1*(255-c))),l=u(h.relativeLuminance2(s,c,a),h.relativeLuminance2(r,n,o));return(s<<24|a<<16|c<<8|255)>>>0}function d(e,t,i){var r=e/255,n=t/255,o=i/255;return.2126*(r<=.03928?r/12.92:Math.pow((.055+r)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((.055+o)/1.055,2.4))}Object.defineProperty(t,"__esModule",{value:!0}),(a=f=t.channels||(t.channels={})).toCss=function(e,t,i,r){return void 0!==r?"#"+c(e)+c(t)+c(i)+c(r):"#"+c(e)+c(t)+c(i)},a.toRgba=function(e,t,i,r){return void 0===r&&(r=255),(e<<24|t<<16|i<<8|r)>>>0},(r=t.color||(t.color={})).blend=function(e,t){var i=(255&t.rgba)/255;if(1==i)return{css:t.css,rgba:t.rgba};var r=t.rgba>>24&255,n=t.rgba>>16&255,o=t.rgba>>8&255,s=e.rgba>>24&255,a=e.rgba>>16&255,c=e.rgba>>8&255,l=s+Math.round((r-s)*i),h=a+Math.round((n-a)*i),u=c+Math.round((o-c)*i);return{css:f.toCss(l,h,u),rgba:f.toRgba(l,h,u)}},r.ensureContrastRatio=function(e,t,i){var r=s.ensureContrastRatio(e.rgba,t.rgba,i);if(r)return s.toColor(r>>24&255,r>>16&255,r>>8&255)},r.opaque=function(e){var t=(255|e.rgba)>>>0,i=s.toChannels(t),r=i[0],n=i[1],o=i[2];return{css:f.toCss(r,n,o),rgba:t}},(t.css||(t.css={})).toColor=function(e){return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0}},(o=h=t.rgb||(t.rgb={})).relativeLuminance=function(e){return d(e>>16&255,e>>8&255,255&e)},o.relativeLuminance2=d,(n=s=t.rgba||(t.rgba={})).ensureContrastRatio=function(e,t,i){var r=h.relativeLuminance(e>>8),n=h.relativeLuminance(t>>8);if(u(r,n)<i)return(n<r?l:_)(e,t,i)},n.reduceLuminance=l,n.increaseLuminance=_,n.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},n.toColor=function(e,t,i){return{css:f.toCss(e,t,i),rgba:f.toRgba(e,t,i)}},t.toPaddedHex=c,t.contrastRatio=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="undefined"==typeof navigator,n=r?"node":navigator.userAgent,o=r?"node":navigator.platform;function s(e,t){return 0<=e.indexOf(t)}t.isFirefox=!!~n.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(n),t.isMac=s(["Macintosh","MacIntel","MacPPC","Mac68K"],o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=s(["Windows","Win16","Win32","WinCE"],o),t.isLinux=0<=o.indexOf("Linux")},function(e,t,i){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.C0||(t.C0={})).NUL="\0",n.SOH="",n.STX="",n.ETX="",n.EOT="",n.ENQ="",n.ACK="",n.BEL="",n.BS="\b",n.HT="\t",n.LF="\n",n.VT="\v",n.FF="\f",n.CR="\r",n.SO="",n.SI="",n.DLE="",n.DC1="",n.DC2="",n.DC3="",n.DC4="",n.NAK="",n.SYN="",n.ETB="",n.CAN="",n.EM="",n.SUB="",n.ESC="",n.FS="",n.GS="",n.RS="",n.US="",n.SP=" ",n.DEL="",(r=t.C1||(t.C1={})).PAD="",r.HOP="",r.BPH="",r.NBH="",r.IND="",r.NEL="
",r.SSA="",r.ESA="",r.HTS="",r.HTJ="",r.VTS="",r.PLD="",r.PLU="",r.RI="",r.SS2="",r.SS3="",r.DCS="",r.PU1="",r.PU2="",r.STS="",r.CCH="",r.MW="",r.SPA="",r.EPA="",r.SOS="",r.SGCI="",r.SCI="",r.CSI="",r.ST="",r.OSC="",r.PM="",r.APC=""},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(3),a=i(9),r=i(23),c=i(6),n=i(26),d=i(10),o=(l.prototype.dispose=function(){var e;this._container.removeChild(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},l.prototype._initCanvas=function(){this._ctx=n.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},l.prototype.onOptionsChanged=function(){},l.prototype.onBlur=function(){},l.prototype.onFocus=function(){},l.prototype.onCursorMove=function(){},l.prototype.onGridChanged=function(e,t){},l.prototype.onSelectionChanged=function(e,t,i){void 0===i&&(i=!1)},l.prototype.setColors=function(e){this._refreshCharAtlas(e)},l.prototype._setTransparency=function(e){var t;e!==this._alpha&&(t=this._canvas,this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1))},l.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=r.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},l.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},l.prototype._fillCells=function(e,t,i,r){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight)},l.prototype._fillBottomLineAtCells=function(e,t,i){void 0===i&&(i=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,i*this._scaledCellWidth,window.devicePixelRatio)},l.prototype._fillLeftLineAtCell=function(e,t,i){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*i,this._scaledCellHeight)},l.prototype._strokeRectAtCell=function(e,t,i,r){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,i*this._scaledCellWidth-window.devicePixelRatio,r*this._scaledCellHeight-window.devicePixelRatio)},l.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},l.prototype._clearCells=function(e,t,i,r){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,i*this._scaledCellWidth,r*this._scaledCellHeight))},l.prototype._fillCharTrueColor=function(e,t,i){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(i),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},l.prototype._drawChars=function(e,t,i){var r,n,o=this._getContrastColor(e);o||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,i,o):(e.isInverse()?(r=e.isBgDefault()?a.INVERTED_DEFAULT_COLOR:e.getBgColor(),n=e.isFgDefault()?a.INVERTED_DEFAULT_COLOR:e.getFgColor()):(n=e.isBgDefault()?s.DEFAULT_COLOR:e.getBgColor(),r=e.isFgDefault()?s.DEFAULT_COLOR:e.getFgColor()),r+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&r<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||s.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||s.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=n,this._currentGlyphIdentifier.fg=r,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,i))},l.prototype._drawUncachedChars=function(e,t,i,r){var n,o;this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse()?r?this._ctx.fillStyle=r.css:e.isBgDefault()?this._ctx.fillStyle=d.color.opaque(this._colors.background).css:e.isBgRGB()?this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":(n=e.getBgColor(),this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&n<8&&(n+=8),this._ctx.fillStyle=this._colors.ansi[n].css):r?this._ctx.fillStyle=r.css:e.isFgDefault()?this._ctx.fillStyle=this._colors.foreground.css:e.isFgRGB()?this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":(o=e.getFgColor(),this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css),this._clipRow(i),e.isDim()&&(this._ctx.globalAlpha=a.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,i*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},l.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},l.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},l.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var i,r,n=e.getFgColor(),o=e.getFgColorMode(),s=e.getBgColor(),a=e.getBgColorMode(),c=!!e.isInverse(),l=!!e.isInverse();c&&(i=n,n=s,s=i,r=o,o=a,a=r);var h=this._resolveBackgroundRgba(a,s,c),u=this._resolveForegroundRgba(o,n,c,l),f=d.rgba.ensureContrastRatio(h,u,this._optionsService.options.minimumContrastRatio);if(f){var _={css:d.channels.toCss(f>>24&255,f>>16&255,f>>8&255),rgba:f};return this._colors.contrastCache.setColor(e.bg,e.fg,_),_}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},l.prototype._resolveBackgroundRgba=function(e,t,i){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.foreground.rgba:this._colors.background.rgba}},l.prototype._resolveForegroundRgba=function(e,t,i,r){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&r&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return i?this._colors.background.rgba:this._colors.foreground.rgba}},l);function l(e,t,i,r,n,o,s,a){this._container=e,this._alpha=r,this._colors=n,this._rendererId=o,this._bufferService=s,this._optionsService=a,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=i.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}t.BaseRenderLayer=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="di$target",c="di$dependencies";t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[c]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var s=function(e,t,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");var r,n,o;r=s,o=i,(n=e)[a]===n?n[c].push({id:r,index:o}):(n[c]=[{id:r,index:o}],n[a]=n)};return s.toString=function(){return e},t.serviceRegistry.set(e,s),s}},function(e,t,i){"use strict";function n(e,t,i,r){if(void 0===i&&(i=0),void 0===r&&(r=e.length),i>=e.length)return e;i=(e.length+i)%e.length,r=r>=e.length?e.length:(e.length+r)%e.length;for(var n=i;n<r;++n)e[n]=t;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.fill=function(e,t,i,r){return e.fill?e.fill(t,i,r):n(e,t,i,r)},t.fillFallback=n,t.concat=function(e,t){var i=new e.constructor(e.length+t.length);return i.set(e),i.set(t,e.length),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(7),a=i(3),c=i(5),r=i(6);t.DEFAULT_ATTR_DATA=Object.freeze(new r.AttributeData);var n=(o.prototype.get=function(e){var t=this._data[3*e+0],i=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:i?s.stringFromCodePoint(i):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):i]},o.prototype.set=function(e,t){this._data[3*e+1]=t[a.CHAR_DATA_ATTR_INDEX],1<t[a.CHAR_DATA_CHAR_INDEX].length?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[a.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[a.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(e){return this._data[3*e+0]>>22},o.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},o.prototype.getFg=function(e){return this._data[3*e+1]},o.prototype.getBg=function(e){return this._data[3*e+2]},o.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},o.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},o.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},o.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?s.stringFromCodePoint(2097151&t):""},o.prototype.loadCell=function(e,t){var i=3*e;return t.content=this._data[0+i],t.fg=this._data[1+i],t.bg=this._data[2+i],2097152&t.content&&(t.combinedData=this._combined[e]),t},o.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},o.prototype.setCellFromCodePoint=function(e,t,i,r,n){this._data[3*e+0]=t|i<<22,this._data[3*e+1]=r,this._data[3*e+2]=n},o.prototype.addCodepointToCell=function(e,t){var i=this._data[3*e+0];2097152&i?this._combined[e]+=s.stringFromCodePoint(t):(2097151&i?(this._combined[e]=s.stringFromCodePoint(2097151&i)+s.stringFromCodePoint(t),i&=-2097152,i|=2097152):i=t|1<<22,this._data[3*e+0]=i)},o.prototype.insertCells=function(e,t,i,r){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0),t<this.length-e){for(var n=new c.CellData,o=this.length-e-t-1;0<=o;--o)this.setCell(e+t+o,this.loadCell(e+o,n));for(o=0;o<t;++o)this.setCell(e+o,i)}else for(o=e;o<this.length;++o)this.setCell(o,i);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0)},o.prototype.deleteCells=function(e,t,i,r){if(e%=this.length,t<this.length-e){for(var n=new c.CellData,o=0;o<this.length-e-t;++o)this.setCell(e+o,this.loadCell(e+t+o,n));for(o=this.length-t;o<this.length;++o)this.setCell(o,i)}else for(o=e;o<this.length;++o)this.setCell(o,i);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0)},o.prototype.replaceCells=function(e,t,i,r){for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null===r||void 0===r?void 0:r.fg)||0,(null===r||void 0===r?void 0:r.bg)||0);e<t&&e<this.length;)this.setCell(e++,i)},o.prototype.resize=function(e,t){if(e!==this.length){if(e>this.length){var i=new Uint32Array(3*e);this.length&&(3*e<this._data.length?i.set(this._data.subarray(0,3*e)):i.set(this._data)),this._data=i;for(var r=this.length;r<e;++r)this.setCell(r,t)}else if(e){(i=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=i;for(var n=Object.keys(this._combined),r=0;r<n.length;r++){var o=parseInt(n[r],10);e<=o&&delete this._combined[o]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},o.prototype.fill=function(e){this._combined={};for(var t=0;t<this.length;++t)this.setCell(t,e)},o.prototype.copyFrom=function(e){for(var t in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[t]=e._combined[t];this.isWrapped=e.isWrapped},o.prototype.clone=function(){var e,t=new o(0);for(e in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[e]=this._combined[e];return t.isWrapped=this.isWrapped,t},o.prototype.getTrimmedLength=function(){for(var e=this.length-1;0<=e;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},o.prototype.copyCellsFrom=function(e,t,i,r,n){var o=e._data;if(n)for(var s=r-1;0<=s;s--)for(var a=0;a<3;a++)this._data[3*(i+s)+a]=o[3*(t+s)+a];else for(s=0;s<r;s++)for(a=0;a<3;a++)this._data[3*(i+s)+a]=o[3*(t+s)+a];for(var c=Object.keys(e._combined),a=0;a<c.length;a++){var l=parseInt(c[a],10);t<=l&&(this._combined[l-t+i]=e._combined[l])}},o.prototype.translateToString=function(e,t,i){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===i&&(i=this.length),e&&(i=Math.min(i,this.getTrimmedLength()));for(var r="";t<i;){var n=this._data[3*t+0],o=2097151&n;r+=2097152&n?this._combined[t]:o?s.stringFromCodePoint(o):a.WHITESPACE_CELL_CHAR,t+=n>>22||1}return r},o);function o(e,t,i){void 0===i&&(i=!1),this.isWrapped=i,this._combined={},this._data=new Uint32Array(3*e);for(var r=t||c.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),n=0;n<e;++n)this.setCell(n,r);this.length=e}t.BufferLine=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"◆",a:"▒",b:"␉",c:"␌",d:"␍",e:"␊",f:"°",g:"±",h:"",i:"␋",j:"┘",k:"┐",l:"┌",m:"└",n:"┼",o:"⎺",p:"⎻",q:"─",r:"⎼",s:"⎽",t:"├",u:"┤",v:"┴",w:"┬",x:"│",y:"≤",z:"≥","{":"π","|":"≠","}":"£","~":"·"},t.CHARSETS.A={"#":"£"},t.CHARSETS.B=null,t.CHARSETS[4]={"#":"£","@":"¾","[":"ij","\\":"½","]":"|","{":"¨","|":"f","}":"¼","~":"´"},t.CHARSETS.C=t.CHARSETS[5]={"[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS.R={"#":"£","@":"à","[":"°","\\":"ç","]":"§","{":"é","|":"ù","}":"è","~":"¨"},t.CHARSETS.Q={"@":"à","[":"â","\\":"ç","]":"ê","^":"î","`":"ô","{":"é","|":"ù","}":"è","~":"û"},t.CHARSETS.K={"@":"§","[":"Ä","\\":"Ö","]":"Ü","{":"ä","|":"ö","}":"ü","~":"ß"},t.CHARSETS.Y={"#":"£","@":"§","[":"°","\\":"ç","]":"é","`":"ù","{":"à","|":"ò","}":"è","~":"ì"},t.CHARSETS.E=t.CHARSETS[6]={"@":"Ä","[":"Æ","\\":"Ø","]":"Å","^":"Ü","`":"ä","{":"æ","|":"ø","}":"å","~":"ü"},t.CHARSETS.Z={"#":"£","@":"§","[":"¡","\\":"Ñ","]":"¿","{":"°","|":"ñ","}":"ç"},t.CHARSETS.H=t.CHARSETS[7]={"@":"É","[":"Ä","\\":"Ö","]":"Å","^":"Ü","`":"é","{":"ä","|":"ö","}":"å","~":"ü"},t.CHARSETS["="]={"#":"ù","@":"à","[":"é","\\":"ç","]":"ê","^":"î",_:"è","`":"ô","{":"ä","|":"ö","}":"ü","~":"û"}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.fromArray=function(e){var t=new o;if(!e.length)return t;for(var i=e[0]instanceof Array?1:0;i<e.length;++i){var r=e[i];if(r instanceof Array)for(var n=0;n<r.length;++n)t.addSubParam(r[n]);else t.addParam(r)}return t},o.prototype.clone=function(){var e=new o(this.maxLength,this.maxSubParamsLength);return e.params.set(this.params),e.length=this.length,e._subParams.set(this._subParams),e._subParamsLength=this._subParamsLength,e._subParamsIdx.set(this._subParamsIdx),e._rejectDigits=this._rejectDigits,e._rejectSubDigits=this._rejectSubDigits,e._digitIsSub=this._digitIsSub,e},o.prototype.toArray=function(){for(var e=[],t=0;t<this.length;++t){e.push(this.params[t]);var i=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];0<r-i&&e.push(Array.prototype.slice.call(this._subParams,i,r))}return e},o.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},o.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=2147483647<e?2147483647:e}},o.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=2147483647<e?2147483647:e,this._subParamsIdx[this.length-1]++}},o.prototype.hasSubParams=function(e){return 0<(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)},o.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,i=255&this._subParamsIdx[e];return 0<i-t?this._subParams.subarray(t,i):null},o.prototype.getSubParamsAll=function(){for(var e={},t=0;t<this.length;++t){var i=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];0<r-i&&(e[t]=this._subParams.slice(i,r))}return e},o.prototype.addDigit=function(e){var t,i,r;this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits||(r=(i=this._digitIsSub?this._subParams:this.params)[t-1],i[t-1]=~r?Math.min(10*r+e,2147483647):e)},o);function o(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,256<(this.maxSubParamsLength=t))throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}t.Params=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(21),o=i(7),n=(s.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},s.prototype.setHandler=function(e,t){this._handlers[e]=[t]},s.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},s.prototype.setHandlerFallback=function(e){this._handlerFb=e},s.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},s.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},s.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;0<=t;t--)e[t].start();else this._handlerFb(this._id,"START")},s.prototype._put=function(e,t,i){var r=this._handlers[this._id];if(r)for(var n=r.length-1;0<=n;n--)r[n].put(e,t,i);else this._handlerFb(this._id,"PUT",o.utf32ToString(e,t,i))},s.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var i=t.length-1;0<=i&&!1===t[i].end(e);i--);for(i--;0<=i;i--)t[i].end(!1)}else this._handlerFb(this._id,"END",e)},s.prototype.start=function(){this.reset(),this._id=-1,this._state=1},s.prototype.put=function(e,t,i){if(3!==this._state){if(1===this._state)for(;t<i;){var r=e[t++];if(59===r){this._state=2,this._start();break}if(r<48||57<r)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+r-48}2===this._state&&0<i-t&&this._put(e,t,i)}},s.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},s);function s(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}t.OscParser=n;var a=(c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(e,t,i){this._hitLimit||(this._data+=o.utf32ToString(e,t,i),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},c);function c(e){this._handler=e,this._data="",this._hitLimit=!1}t.OscHandler=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=1e7},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7),r=i(19),o=i(21),s=[],a=(c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var i=this._handlers[e];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},c.prototype.setHandler=function(e,t){this._handlers[e]=[t]},c.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},c.prototype.setHandlerFallback=function(e){this._handlerFb=e},c.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=s,this._ident=0},c.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||s,this._active.length)for(var i=this._active.length-1;0<=i;i--)this._active[i].hook(t);else this._handlerFb(this._ident,"HOOK",t)},c.prototype.put=function(e,t,i){if(this._active.length)for(var r=this._active.length-1;0<=r;r--)this._active[r].put(e,t,i);else this._handlerFb(this._ident,"PUT",n.utf32ToString(e,t,i))},c.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;0<=t&&!1===this._active[t].unhook(e);t--);for(t--;0<=t;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=s,this._ident=0},c);function c(){this._handlers=Object.create(null),this._active=s,this._ident=0,this._handlerFb=function(){}}t.DcsParser=a;var l=(h.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},h.prototype.put=function(e,t,i){this._hitLimit||(this._data+=n.utf32ToString(e,t,i),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},h.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params?this._params:new r.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},h);function h(e){this._handler=e,this._data="",this._hitLimit=!1}t.DcsHandler=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(24),u=i(42),f=[];t.acquireCharAtlas=function(e,t,i,r,n){for(var o=h.generateConfig(r,n,e,i),s=0;s<f.length;s++){var a=(c=f[s]).ownedBy.indexOf(t);if(0<=a){if(h.configEquals(c.config,o))return c.atlas;1===c.ownedBy.length?(c.atlas.dispose(),f.splice(s,1)):c.ownedBy.splice(a,1);break}}for(s=0;s<f.length;s++){var c=f[s];if(h.configEquals(c.config,o))return c.ownedBy.push(t),c.atlas}var l={atlas:new u.DynamicCharAtlas(document,o),config:o,ownedBy:[t]};return f.push(l),l.atlas},t.removeTerminalFromCache=function(e){for(var t=0;t<f.length;t++){var i=f[t].ownedBy.indexOf(e);if(-1!==i){1===f[t].ownedBy.length?(f[t].atlas.dispose(),f.splice(t,1)):f[t].ownedBy.splice(i,1);break}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(3);t.generateConfig=function(e,t,i,r){var n={foreground:r.foreground,background:r.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:r.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:i.fontFamily,fontSize:i.fontSize,fontWeight:i.fontWeight,fontWeightBold:i.fontWeightBold,allowTransparency:i.allowTransparency,colors:n}},t.configEquals=function(e,t){for(var i=0;i<e.colors.ansi.length;i++)if(e.colors.ansi[i].rgba!==t.colors.ansi[i].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.scaledCharWidth===t.scaledCharWidth&&e.scaledCharHeight===t.scaledCharHeight&&e.colors.foreground===t.colors.foreground&&e.colors.background===t.colors.background},t.is256Color=function(e){return e<r.DEFAULT_COLOR}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var h=t(10),o=t(44),s=h.css.toColor("#ffffff"),a=h.css.toColor("#000000"),c=h.css.toColor("#ffffff"),l=h.css.toColor("#000000"),u={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};n.DEFAULT_ANSI_COLORS=function(){for(var e=[h.css.toColor("#2e3436"),h.css.toColor("#cc0000"),h.css.toColor("#4e9a06"),h.css.toColor("#c4a000"),h.css.toColor("#3465a4"),h.css.toColor("#75507b"),h.css.toColor("#06989a"),h.css.toColor("#d3d7cf"),h.css.toColor("#555753"),h.css.toColor("#ef2929"),h.css.toColor("#8ae234"),h.css.toColor("#fce94f"),h.css.toColor("#729fcf"),h.css.toColor("#ad7fa8"),h.css.toColor("#34e2e2"),h.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],i=0;i<216;i++){var r=t[i/36%6|0],n=t[i/6%6|0],o=t[i%6];e.push({css:h.channels.toCss(r,n,o),rgba:h.channels.toRgba(r,n,o)})}for(i=0;i<24;i++){var s=8+10*i;e.push({css:h.channels.toCss(s,s,s),rgba:h.channels.toRgba(s,s,s)})}return e}();var i=(r.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},r.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,s),this.colors.background=this._parseColor(e.background,a),this.colors.cursor=this._parseColor(e.cursor,c,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,l,!0),this.colors.selection=this._parseColor(e.selection,u,!0),this.colors.selectionOpaque=h.color.blend(this.colors.background,this.colors.selection),this.colors.ansi[0]=this._parseColor(e.black,n.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,n.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,n.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,n.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,n.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,n.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,n.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,n.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,n.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,n.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,n.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,n.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,n.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,n.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,n.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,n.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},r.prototype._parseColor=function(e,t,i){if(void 0===i&&(i=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var r=this._ctx.getImageData(0,0,1,1).data;if(255===r[3])return{css:this._ctx.fillStyle,rgba:h.channels.toRgba(r[0],r[1],r[2],r[3])};if(!i)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var n=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(e){return Number(e)}),o=n[0],s=n[1],a=n[2],c=n[3],l=Math.round(255*c);return{rgba:h.channels.toRgba(o,s,a,l),css:h.channels.toCss(o,s,a,l)}},r);function r(e,t){this.allowTransparency=t;var i=e.createElement("canvas");i.width=1,i.height=1;var r=i.getContext("2d");if(!r)throw new Error("Could not get rendering context");this._ctx=r,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new o.ColorContrastCache,this.colors={foreground:s,background:a,cursor:c,cursorAccent:l,selection:u,selectionOpaque:h.color.blend(a,u),ansi:n.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}n.ColorManager=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(6),f=i(3),a=i(5),c=(o=s.AttributeData,n(l,o),l.prototype.isCombined=function(){return 2097152},l.prototype.getWidth=function(){return this._width},l.prototype.getChars=function(){return this.combinedData},l.prototype.getCode=function(){return 2097151},l.prototype.setFromCharData=function(e){throw new Error("not implemented")},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l);function l(e,t,i){var r=o.call(this)||this;return r.content=0,r.combinedData="",r.fg=e.fg,r.bg=e.bg,r.combinedData=t,r._width=i,r}t.JoinedCellData=c;var h=(u.prototype.registerCharacterJoiner=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},u.prototype.deregisterCharacterJoiner=function(e){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1},u.prototype.getJoinedCharacters=function(e){if(0===this._characterJoiners.length)return[];var t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];for(var i=[],r=t.translateToString(!0),n=0,o=0,s=0,a=t.getFg(0),c=t.getBg(0),l=0;l<t.getTrimmedLength();l++)if(t.loadCell(l,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==a||this._workCell.bg!==c){if(1<l-n)for(var h=this._getJoinedRanges(r,s,o,t,n),u=0;u<h.length;u++)i.push(h[u]);n=l,s=o,a=this._workCell.fg,c=this._workCell.bg}o+=this._workCell.getChars().length||f.WHITESPACE_CELL_CHAR.length}if(1<this._bufferService.cols-n)for(h=this._getJoinedRanges(r,s,o,t,n),u=0;u<h.length;u++)i.push(h[u]);return i},u.prototype._getJoinedRanges=function(e,t,i,r,n){for(var o=e.substring(t,i),s=this._characterJoiners[0].handler(o),a=1;a<this._characterJoiners.length;a++)for(var c=this._characterJoiners[a].handler(o),l=0;l<c.length;l++)u._mergeRanges(s,c[l]);return this._stringRangesToCellRanges(s,r,n),s},u.prototype._stringRangesToCellRanges=function(e,t,i){var r=0,n=!1,o=0,s=e[r];if(s){for(var a=i;a<this._bufferService.cols;a++){var c=t.getWidth(a),l=t.getString(a).length||f.WHITESPACE_CELL_CHAR.length;if(0!==c){if(!n&&s[0]<=o&&(s[0]=a,n=!0),s[1]<=o){if(s[1]=a,!(s=e[++r]))break;n=s[0]<=o&&(s[0]=a,!0)}o+=l}}s&&(s[1]=this._bufferService.cols)}},u._mergeRanges=function(e,t){for(var i=!1,r=0;r<e.length;r++){var n=e[r];if(i){if(t[1]<=n[0])return e[r-1][1]=t[1],e;if(t[1]<=n[1])return e[r-1][1]=Math.max(t[1],n[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=n[0])return e.splice(r,0,t),e;if(t[1]<=n[1])return n[0]=Math.min(t[0],n[0]),e;t[0]<n[1]&&(n[0]=Math.min(t[0],n[0]),i=!0)}}return i?e[e.length-1][1]=t[1]:e.push(t),e},u);function u(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.CellData}t.CharacterJoinerRegistry=h},function(e,t,i){"use strict";function l(e,t){var i=t.getBoundingClientRect();return[e.clientX-i.left,e.clientY-i.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoordsRelativeToElement=l,t.getCoords=function(e,t,i,r,n,o,s,a){if(n){var c=l(e,t);if(c)return c[0]=Math.ceil((c[0]+(a?o/2:0))/o),c[1]=Math.ceil(c[1]/s),c[0]=Math.min(Math.max(c[0],1),i+(a?1:0)),c[1]=Math.min(Math.max(c[1],1),r),c}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.refresh=function(e,t,i){var r=this;this._rowCount=i,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return r._innerRefresh()}))},n.prototype._innerRefresh=function(){void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount&&(this._rowStart=Math.max(this._rowStart,0),this._rowEnd=Math.min(this._rowEnd,this._rowCount-1),this._renderCallback(this._rowStart,this._rowEnd),this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0)},n);function n(e){this._renderCallback=e}t.RenderDebouncer=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=(o=i(2).Disposable,n(a,o),a.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},a.prototype.dispose=function(){o.prototype.dispose.call(this),this.clearListener()},a.prototype._updateDpr=function(){this._resolutionMediaMatchList&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},a.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},a);function a(){var e=null!==o&&o.apply(this,arguments)||this;return e._currentDevicePixelRatio=window.devicePixelRatio,e}t.ScreenDprMonitor=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t,i){if(void 0===i&&(i=5),"object"!=typeof t)return t;var r,n=Array.isArray(t)?[]:{};for(r in t)n[r]=!(i<=1)&&t[r]?e(t[r],i-1):t[r];return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(5),n=i(33),o=i(17),s=i(80),a=(Object.defineProperty(c.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onData",{get:function(){return this._core.onData},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"element",{get:function(){return this._core.element},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"parser",{get:function(){return this._parser||(this._parser=new u(this._core)),this._parser},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"unicode",{get:function(){return new f(this._core)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rows",{get:function(){return this._core.rows},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"cols",{get:function(){return this._core.cols},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"buffer",{get:function(){return new l(this._core.buffer)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"markers",{get:function(){return this._core.markers},enumerable:!0,configurable:!0}),c.prototype.blur=function(){this._core.blur()},c.prototype.focus=function(){this._core.focus()},c.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},c.prototype.open=function(e){this._core.open(e)},c.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},c.prototype.registerLinkMatcher=function(e,t,i){return this._core.registerLinkMatcher(e,t,i)},c.prototype.deregisterLinkMatcher=function(e){this._core.deregisterLinkMatcher(e)},c.prototype.registerCharacterJoiner=function(e){return this._core.registerCharacterJoiner(e)},c.prototype.deregisterCharacterJoiner=function(e){this._core.deregisterCharacterJoiner(e)},c.prototype.registerMarker=function(e){return this._verifyIntegers(e),this._core.addMarker(e)},c.prototype.addMarker=function(e){return this.registerMarker(e)},c.prototype.hasSelection=function(){return this._core.hasSelection()},c.prototype.select=function(e,t,i){this._verifyIntegers(e,t,i),this._core.select(e,t,i)},c.prototype.getSelection=function(){return this._core.getSelection()},c.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},c.prototype.clearSelection=function(){this._core.clearSelection()},c.prototype.selectAll=function(){this._core.selectAll()},c.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},c.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},c.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},c.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},c.prototype.scrollToTop=function(){this._core.scrollToTop()},c.prototype.scrollToBottom=function(){this._core.scrollToBottom()},c.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},c.prototype.clear=function(){this._core.clear()},c.prototype.write=function(e,t){this._core.write(e,t)},c.prototype.writeUtf8=function(e,t){this._core.write(e,t)},c.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},c.prototype.paste=function(e){this._core.paste(e)},c.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},c.prototype.setOption=function(e,t){this._core.optionsService.setOption(e,t)},c.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},c.prototype.reset=function(){this._core.reset()},c.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(c,"strings",{get:function(){return o},enumerable:!0,configurable:!0}),c.prototype._verifyIntegers=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach(function(e){if(e===1/0||isNaN(e)||e%1!=0)throw new Error("This API only accepts integers")})},c);function c(e){this._core=new n.Terminal(e),this._addonManager=new s.AddonManager}t.Terminal=a;var l=(Object.defineProperty(v.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!0,configurable:!0}),v.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new h(t)},v.prototype.getNullCell=function(){return new r.CellData},v),h=(Object.defineProperty(p.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"length",{get:function(){return this._line.length},enumerable:!0,configurable:!0}),p.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)},p.prototype.translateToString=function(e,t,i){return this._line.translateToString(e,t,i)},p),u=(d.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,function(e){return t(e.toArray())})},d.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},d.prototype.registerDcsHandler=function(e,i){return this._core.addDcsHandler(e,function(e,t){return i(e,t.toArray())})},d.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},d.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},d.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},d.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},d.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},d),f=(_.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(_.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!0,configurable:!0}),_);function _(e){this._core=e}function d(e){this._core=e}function p(e){this._line=e}function v(e){this._buffer=e}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(34),a=i(35),c=i(36),h=i(12),l=i(37),u=i(39),f=i(49),_=i(50),d=i(11),p=i(8),v=i(17),g=i(53),y=i(54),b=i(55),m=i(56),S=i(58),C=i(1),w=i(16),E=i(59),L=i(25),A=i(60),R=i(0),x=i(61),k=i(4),D=i(62),T=i(63),O=i(2),M=i(69),P=i(70),H=i(71),I=i(72),B=i(73),F=i(74),j=i(75),W=i(76),q=i(77),U=i(79),N="undefined"!=typeof window?window.document:null,z=(o=O.Disposable,n(K,o),Object.defineProperty(K.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onA11yChar",{get:function(){return this.onA11yCharEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"onA11yTab",{get:function(){return this.onA11yTabEmitter.event},enumerable:!0,configurable:!0}),K.prototype.dispose=function(){var e,t,i,r;this._isDisposed||(o.prototype.dispose.call(this),null===(e=this._windowsMode)||void 0===e||e.dispose(),this._windowsMode=void 0,null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=null,this.write=function(){},null===(r=null===(i=this.element)||void 0===i?void 0:i.parentNode)||void 0===r||r.removeChild(this.element))},K.prototype._setup=function(){var i=this;this._customKeyEventHandler=null,this.insertMode=!1,this.bracketedPasteMode=!1,this._userScrolling=!1,this._inputHandler?this._inputHandler.reset():(this._inputHandler=new l.InputHandler(this,this._bufferService,this._charsetService,this._coreService,this._dirtyRowService,this._logService,this.optionsService,this._coreMouseService,this.unicodeService,this._instantiationService),this._inputHandler.onRequestBell(function(){return i.bell()}),this._inputHandler.onRequestRefreshRows(function(e,t){return i.refresh(e,t)}),this._inputHandler.onRequestReset(function(){return i.reset()}),this._inputHandler.onCursorMove(function(){return i._onCursorMove.fire()}),this._inputHandler.onLineFeed(function(){return i._onLineFeed.fire()}),this.register(this._inputHandler)),this.linkifier||(this.linkifier=new f.Linkifier(this._bufferService,this._logService,this.optionsService,this.unicodeService)),this.options.windowsMode&&this._enableWindowsMode()},K.prototype._enableWindowsMode=function(){var e,t=this;this._windowsMode||((e=[]).push(this.onLineFeed(E.updateWindowsModeWrappedState.bind(null,this._bufferService))),e.push(this.addCsiHandler({final:"H"},function(){return E.updateWindowsModeWrappedState(t._bufferService),!1})),this._windowsMode={dispose:function(){e.forEach(function(e){return e.dispose()})}})},Object.defineProperty(K.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),Object.defineProperty(K.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!0,configurable:!0}),K.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},K.prototype._setupOptionsListeners=function(){var s=this;this.optionsService.onOptionChange(function(e){var t,i,r,n,o;switch(e){case"fontFamily":case"fontSize":null===(t=s._renderService)||void 0===t||t.clear(),null===(i=s._charSizeService)||void 0===i||i.measure();break;case"cursorBlink":case"cursorStyle":s.refresh(s.buffer.y,s.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":s._renderService&&(s._renderService.clear(),s._renderService.onResize(s.cols,s.rows),s.refresh(0,s.rows-1));break;case"rendererType":s._renderService&&(s._renderService.setRenderer(s._createRenderer()),s._renderService.onResize(s.cols,s.rows));break;case"scrollback":s.buffers.resize(s.cols,s.rows),null===(r=s.viewport)||void 0===r||r.syncScrollArea();break;case"screenReaderMode":s.optionsService.options.screenReaderMode?!s._accessibilityManager&&s._renderService&&(s._accessibilityManager=new b.AccessibilityManager(s,s._renderService)):(null===(n=s._accessibilityManager)||void 0===n||n.dispose(),s._accessibilityManager=null);break;case"tabStopWidth":s.buffers.setupTabStops();break;case"theme":s._setTheme(s.optionsService.options.theme);break;case"windowsMode":s.optionsService.options.windowsMode?s._enableWindowsMode():(null===(o=s._windowsMode)||void 0===o||o.dispose(),s._windowsMode=void 0)}})},K.prototype._onTextAreaFocus=function(e){this.sendFocus&&this._coreService.triggerDataEvent(h.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this.showCursor(),this._onFocus.fire()},K.prototype.blur=function(){return this.textarea.blur()},K.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.sendFocus&&this._coreService.triggerDataEvent(h.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},K.prototype._initGlobal=function(){var t=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",function(e){t.hasSelection()&&c.copyHandler(e,t._selectionService)}));function e(e){return c.handlePasteEvent(e,t.textarea,t.bracketedPasteMode,t._coreService)}this.register(p.addDisposableDomListener(this.textarea,"paste",e)),this.register(p.addDisposableDomListener(this.element,"paste",e)),d.isFirefox?this.register(p.addDisposableDomListener(this.element,"mousedown",function(e){2===e.button&&c.rightClickHandler(e,t.textarea,t.screenElement,t._selectionService,t.options.rightClickSelectsWord)})):this.register(p.addDisposableDomListener(this.element,"contextmenu",function(e){c.rightClickHandler(e,t.textarea,t.screenElement,t._selectionService,t.options.rightClickSelectsWord)})),d.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",function(e){1===e.button&&c.moveTextAreaUnderMouseCursor(e,t.textarea,t.screenElement)}))},K.prototype._bindKeys=function(){var t=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",function(e){return t._keyUp(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",function(e){return t._keyDown(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",function(e){return t._keyPress(e)},!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",function(){return t._compositionHelper.compositionstart()})),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",function(e){return t._compositionHelper.compositionupdate(e)})),this.register(p.addDisposableDomListener(this.textarea,"compositionend",function(){return t._compositionHelper.compositionend()})),this.register(this.onRender(function(){return t._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(e){return t._queueLinkification(e.start,e.end)}))},K.prototype.open=function(e){var i=this;if(!e)throw new Error("Terminal requires a parent element.");N.body.contains(e)||this._logService.warn("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var t=N.createDocumentFragment();this._viewportElement=N.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),t.appendChild(this._viewportElement),this._viewportScrollArea=N.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=N.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=N.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),t.appendChild(this.screenElement),this.textarea=N.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",v.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",function(e){return i._onTextAreaFocus(e)})),this.register(p.addDisposableDomListener(this.textarea,"blur",function(){return i._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(W.CoreBrowserService,this.textarea);this._instantiationService.setService(k.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(D.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(k.ICharSizeService,this._charSizeService),this._compositionView=N.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(s.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(t),this._theme=this.options.theme||this._theme,this.options.theme=void 0,this._colorManager=new L.ColorManager(N,this.options.allowTransparency),this.optionsService.onOptionChange(function(e){return i._colorManager.onOptionsChange(e)}),this._colorManager.setTheme(this._theme);var n=this._createRenderer();this._renderService=this._instantiationService.createInstance(A.RenderService,n,this.rows,this.screenElement),this._instantiationService.setService(k.IRenderService,this._renderService),this._renderService.onRender(function(e){return i._onRender.fire(e)}),this.onResize(function(e){return i._renderService.resize(e.cols,e.rows)}),this._soundService=this._instantiationService.createInstance(g.SoundService),this._instantiationService.setService(k.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(M.MouseService),this._instantiationService.setService(k.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,function(e,t){return i.scrollLines(e,t)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this.viewport),this.register(this.onCursorMove(function(){return i._renderService.onCursorMove()})),this.register(this.onResize(function(){return i._renderService.onResize(i.cols,i.rows)})),this.register(this.onBlur(function(){return i._renderService.onBlur()})),this.register(this.onFocus(function(){return i._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return i.viewport.syncScrollArea()})),this._selectionService=this._instantiationService.createInstance(_.SelectionService,function(e,t){return i.scrollLines(e,t)},this.element,this.screenElement),this._instantiationService.setService(k.ISelectionService,this._selectionService),this.register(this._selectionService.onSelectionChange(function(){return i._onSelectionChange.fire()})),this.register(this._selectionService.onRedrawRequest(function(e){return i._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(e){i.textarea.value=e,i.textarea.focus(),i.textarea.select()})),this.register(this.onScroll(function(){i.viewport.syncScrollArea(),i._selectionService.refresh()})),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",function(){return i._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return i._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.register(p.addDisposableDomListener(this.element,"mousedown",function(e){return i._selectionService.onMouseDown(e)})),this.mouseEvents?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new b.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},K.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(u.Renderer,this._colorManager.colors,this.screenElement,this.linkifier);case"dom":return this._instantiationService.createInstance(m.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},K.prototype._setTheme=function(e){var t,i,r;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(i=this._renderService)||void 0===i||i.setColors(this._colorManager.colors),null===(r=this.viewport)||void 0===r||r.onThemeChange(this._colorManager.colors)},K.prototype.bindMouse=function(){var o=this,n=this,t=this.element;function i(e){var t,i,r;if(t=n._mouseService.getRawByteCoords(e,n.screenElement,n.cols,n.rows)){switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(i=3,void 0!==e.button&&(i=e.button<3?e.button:3)):i=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,i=e.button<3?e.button:3;break;case"mousedown":r=1,i=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),i=4;break;default:return}return!(void 0===r||void 0===i||4<i)&&n._coreMouseService.triggerMouseEvent({col:t.x-33,row:t.y-33,button:i,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}}function r(e){return i(e),e.buttons||(o._document.removeEventListener("mouseup",l.mouseup),l.mousedrag&&o._document.removeEventListener("mousemove",l.mousedrag)),o.cancel(e)}function s(e){return i(e),e.preventDefault(),o.cancel(e)}function a(e){e.buttons&&i(e)}function c(e){e.buttons||i(e)}var l={mouseup:null,wheel:null,mousedrag:null,mousemove:null};this._coreMouseService.onProtocolChange(function(e){(o.mouseEvents=e)?("debug"===o.optionsService.options.logLevel&&o._logService.debug("Binding to mouse events:",o._coreMouseService.explainEvents(e)),o.element.classList.add("enable-mouse-events"),o._selectionService.disable()):(o._logService.debug("Unbinding from mouse events."),o.element.classList.remove("enable-mouse-events"),o._selectionService.enable()),8&e?l.mousemove||(t.addEventListener("mousemove",c),l.mousemove=c):(t.removeEventListener("mousemove",l.mousemove),l.mousemove=null),16&e?l.wheel||(t.addEventListener("wheel",s),l.wheel=s):(t.removeEventListener("wheel",l.wheel),l.wheel=null),2&e?l.mouseup||(l.mouseup=r):(o._document.removeEventListener("mouseup",l.mouseup),l.mouseup=null),4&e?l.mousedrag||(l.mousedrag=a):(o._document.removeEventListener("mousemove",l.mousedrag),l.mousedrag=null)}),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(t,"mousedown",function(e){if(e.preventDefault(),o.focus(),o.mouseEvents&&!o._selectionService.shouldForceSelection(e))return i(e),l.mouseup&&o._document.addEventListener("mouseup",l.mouseup),l.mousedrag&&o._document.addEventListener("mousemove",l.mousedrag),o.cancel(e)})),this.register(p.addDisposableDomListener(t,"wheel",function(e){if(!l.wheel&&!o.buffer.hasScrollback){var t=o.viewport.getLinesScrolled(e);if(0===t)return;for(var i=h.C0.ESC+(o._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(e.deltaY<0?"A":"B"),r="",n=0;n<Math.abs(t);n++)r+=i;o._coreService.triggerDataEvent(r,!0)}})),this.register(p.addDisposableDomListener(t,"wheel",function(e){if(!l.wheel)return o.viewport.onWheel(e)?void 0:o.cancel(e)})),this.register(p.addDisposableDomListener(t,"touchstart",function(e){if(!o.mouseEvents)return o.viewport.onTouchStart(e),o.cancel(e)})),this.register(p.addDisposableDomListener(t,"touchmove",function(e){if(!o.mouseEvents)return o.viewport.onTouchMove(e)?void 0:o.cancel(e)}))},K.prototype.refresh=function(e,t){var i;null===(i=this._renderService)||void 0===i||i.refreshRows(e,t)},K.prototype._queueLinkification=function(e,t){var i;null===(i=this.linkifier)||void 0===i||i.linkifyRows(e,t)},K.prototype.updateCursorStyle=function(e){this._selectionService&&this._selectionService.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},K.prototype.showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},K.prototype.scroll=function(e,t){var i;void 0===t&&(t=!1),(i=this._blankLine)&&i.length===this.cols&&i.getFg(0)===e.fg&&i.getBg(0)===e.bg||(i=this.buffer.getBlankLine(e,t),this._blankLine=i),i.isWrapped=t;var r,n,o=this.buffer.ybase+this.buffer.scrollTop,s=this.buffer.ybase+this.buffer.scrollBottom;0===this.buffer.scrollTop?(r=this.buffer.lines.isFull,s===this.buffer.lines.length-1?r?this.buffer.lines.recycle().copyFrom(i):this.buffer.lines.push(i.clone()):this.buffer.lines.splice(s+1,0,i.clone()),r?this._userScrolling&&(this.buffer.ydisp=Math.max(this.buffer.ydisp-1,0)):(this.buffer.ybase++,this._userScrolling||this.buffer.ydisp++)):(n=s-o+1,this.buffer.lines.shiftElements(o+1,n-1,-1),this.buffer.lines.set(s,i.clone())),this._userScrolling||(this.buffer.ydisp=this.buffer.ybase),this._dirtyRowService.markRangeDirty(this.buffer.scrollTop,this.buffer.scrollBottom),this._onScroll.fire(this.buffer.ydisp)},K.prototype.scrollLines=function(e,t){if(e<0){if(0===this.buffer.ydisp)return;this._userScrolling=!0}else e+this.buffer.ydisp>=this.buffer.ybase&&(this._userScrolling=!1);var i=this.buffer.ydisp;this.buffer.ydisp=Math.max(Math.min(this.buffer.ydisp+e,this.buffer.ybase),0),i!==this.buffer.ydisp&&(t||this._onScroll.fire(this.buffer.ydisp),this.refresh(0,this.rows-1))},K.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},K.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},K.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},K.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!=t&&this.scrollLines(t)},K.prototype.paste=function(e){c.paste(e,this.textarea,this.bracketedPasteMode,this._coreService)},K.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},K.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},K.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},K.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},K.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},K.prototype.registerLinkMatcher=function(e,t,i){var r=this.linkifier.registerLinkMatcher(e,t,i);return this.refresh(0,this.rows-1),r},K.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},K.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},K.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(K.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!0,configurable:!0}),K.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},K.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},K.prototype.select=function(e,t,i){this._selectionService.setSelection(e,t,i)},K.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},K.prototype.getSelectionPosition=function(){if(this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},K.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},K.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},K.prototype.selectLines=function(e,t){var i;null===(i=this._selectionService)||void 0===i||i.selectLines(e,t)},K.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=S.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3!==t.type&&2!==t.type)return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==h.C0.ETX&&t.key!==h.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)));var i=this.rows-1;return this.scrollLines(2===t.type?-i:i),this.cancel(e,!0)},K.prototype._isThirdLevelShift=function(e,t){var i=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?i:i&&(!t.keyCode||47<t.keyCode)},K.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(16===e.keyCode||17===e.keyCode||18===e.keyCode||this.focus(),this.updateCursorStyle(e))},K.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null===e.which||void 0===e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this.showCursor(),this._coreService.triggerDataEvent(t,!0),0))},K.prototype.bell=function(){var e=this;this._soundBell()&&this._soundService.playBellSound(),this._visualBell()&&(this.element.classList.add("visual-bell-active"),clearTimeout(this._visualBellTimer),this._visualBellTimer=window.setTimeout(function(){e.element.classList.remove("visual-bell-active")},200))},K.prototype.resize=function(e,t){var i,r;isNaN(e)||isNaN(t)||(e!==this.cols||t!==this.rows?(e<T.MINIMUM_COLS&&(e=T.MINIMUM_COLS),t<T.MINIMUM_ROWS&&(t=T.MINIMUM_ROWS),this.buffers.resize(e,t),this._bufferService.resize(e,t),this.buffers.setupTabStops(this.cols),null===(i=this._charSizeService)||void 0===i||i.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0),this.refresh(0,this.rows-1),this._onResize.fire({cols:e,rows:t})):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure())},K.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(w.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},K.prototype.is=function(e){return 0===(this.options.termName+"").indexOf(e)},K.prototype.handleTitle=function(e){this._onTitleChange.fire(e)},K.prototype.reset=function(){var e,t;this.options.rows=this.rows,this.options.cols=this.cols;var i=this._customKeyEventHandler,r=this._userScrolling;this._setup(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset(),null===(e=this._selectionService)||void 0===e||e.reset(),this._customKeyEventHandler=i,this._userScrolling=r,this.refresh(0,this.rows-1),null===(t=this.viewport)||void 0===t||t.syncScrollArea()},K.prototype.cancel=function(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1},K.prototype._visualBell=function(){return!1},K.prototype._soundBell=function(){return"sound"===this.options.bellStyle},K.prototype.write=function(e,t){this._writeBuffer.write(e,t)},K.prototype.writeSync=function(e){this._writeBuffer.writeSync(e)},K);function K(e){void 0===e&&(e={});var t=o.call(this)||this;return t.browser=d,t.mouseEvents=0,t._keyDownHandled=!1,t._blankLine=null,t._onCursorMove=new C.EventEmitter,t._onData=new C.EventEmitter,t._onBinary=new C.EventEmitter,t._onKey=new C.EventEmitter,t._onLineFeed=new C.EventEmitter,t._onRender=new C.EventEmitter,t._onResize=new C.EventEmitter,t._onScroll=new C.EventEmitter,t._onSelectionChange=new C.EventEmitter,t._onTitleChange=new C.EventEmitter,t._onFocus=new C.EventEmitter,t._onBlur=new C.EventEmitter,t.onA11yCharEmitter=new C.EventEmitter,t.onA11yTabEmitter=new C.EventEmitter,t._instantiationService=new B.InstantiationService,t.optionsService=new x.OptionsService(e),t._instantiationService.setService(R.IOptionsService,t.optionsService),t._bufferService=t._instantiationService.createInstance(T.BufferService),t._instantiationService.setService(R.IBufferService,t._bufferService),t._logService=t._instantiationService.createInstance(H.LogService),t._instantiationService.setService(R.ILogService,t._logService),t._coreService=t._instantiationService.createInstance(P.CoreService,function(){return t.scrollToBottom()}),t._instantiationService.setService(R.ICoreService,t._coreService),t._coreService.onData(function(e){return t._onData.fire(e)}),t._coreService.onBinary(function(e){return t._onBinary.fire(e)}),t._coreMouseService=t._instantiationService.createInstance(F.CoreMouseService),t._instantiationService.setService(R.ICoreMouseService,t._coreMouseService),t._dirtyRowService=t._instantiationService.createInstance(I.DirtyRowService),t._instantiationService.setService(R.IDirtyRowService,t._dirtyRowService),t.unicodeService=t._instantiationService.createInstance(q.UnicodeService),t._instantiationService.setService(R.IUnicodeService,t.unicodeService),t._charsetService=t._instantiationService.createInstance(U.CharsetService),t._instantiationService.setService(R.ICharsetService,t._charsetService),t._setupOptionsListeners(),t._setup(),t._writeBuffer=new j.WriteBuffer(function(e){return t._inputHandler.parse(e)}),t}t.Terminal=z},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(4),s=i(0),a=(c.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},c.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout(function(){t._compositionPosition.end=t._textarea.value.length},0)},c.prototype.compositionend=function(){this._finalizeComposition(!0)},c.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},c.prototype._finalizeComposition=function(e){var t,i,r=this;this._compositionView.classList.remove("active"),this._isComposing=!1,this._clearTextareaPosition(),e?(t={start:this._compositionPosition.start,end:this._compositionPosition.end},this._isSendingComposition=!0,setTimeout(function(){var e;r._isSendingComposition&&(r._isSendingComposition=!1,e=void 0,e=r._isComposing?r._textarea.value.substring(t.start,t.end):r._textarea.value.substring(t.start),r._coreService.triggerDataEvent(e,!0))},0)):(this._isSendingComposition=!1,i=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end),this._coreService.triggerDataEvent(i,!0))},c.prototype._handleAnyTextareaChanges=function(){var t=this,i=this._textarea.value;setTimeout(function(){var e;t._isComposing||0<(e=t._textarea.value.replace(i,"")).length&&t._coreService.triggerDataEvent(e,!0)},0)},c.prototype.updateCompositionElements=function(e){var t,i,r,n,o=this;this._isComposing&&(this._bufferService.buffer.isCursorInViewport&&(t=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),i=this._bufferService.buffer.y*t,r=this._bufferService.buffer.x*this._charSizeService.width,this._compositionView.style.left=r+"px",this._compositionView.style.top=i+"px",this._compositionView.style.height=t+"px",this._compositionView.style.lineHeight=t+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px",n=this._compositionView.getBoundingClientRect(),this._textarea.style.left=r+"px",this._textarea.style.top=i+"px",this._textarea.style.width=n.width+"px",this._textarea.style.height=n.height+"px",this._textarea.style.lineHeight=n.height+"px"),e||setTimeout(function(){return o.updateCompositionElements(!0)},0))},c.prototype._clearTextareaPosition=function(){this._textarea.style.left="",this._textarea.style.top=""},r([n(2,s.IBufferService),n(3,s.IOptionsService),n(4,o.ICharSizeService),n(5,s.ICoreService)],c));function c(e,t,i,r,n,o){this._textarea=e,this._compositionView=t,this._bufferService=i,this._optionsService=r,this._charSizeService=n,this._coreService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}t.CompositionHelper=a},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var c,a=i(2),l=i(8),h=i(4),u=i(0),f=(c=a.Disposable,n(_,c),_.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},_.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return t._innerRefresh()}))},_.prototype._innerRefresh=function(){var e;0<this._charSizeService.height&&(this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight,e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight),this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px"));var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},_.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);var t;this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight?(t=this._bufferService.buffer.ydisp*this._currentRowHeight,this._lastScrollTop===t&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)):this._refresh(e)},_.prototype._onScroll=function(e){var t;this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent&&(this._ignoreNextScrollEvent?this._ignoreNextScrollEvent=!1:(t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp,this._scrollLines(t,!0)))},_.prototype._bubbleScroll=function(e,t){var i=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(t<0&&0!==this._viewportElement.scrollTop||0<t&&i<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},_.prototype.onWheel=function(e){var t=this._getPixelsScrolled(e);return 0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},_.prototype._getPixelsScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t},_.prototype.getLinesScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(t/=this._currentRowHeight+0,this._wheelPartialScroll+=t,t=Math.floor(Math.abs(this._wheelPartialScroll))*(0<this._wheelPartialScroll?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},_.prototype._applyScrollModifier=function(e,t){var i=this._optionsService.options.fastScrollModifier;return"alt"===i&&t.altKey||"ctrl"===i&&t.ctrlKey||"shift"===i&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},_.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},_.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!=t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},o([s(3,u.IBufferService),s(4,u.IOptionsService),s(5,h.ICharSizeService),s(6,h.IRenderService)],_));function _(e,t,i,r,n,o,s){var a=c.call(this)||this;return a._scrollLines=e,a._viewportElement=t,a._scrollArea=i,a._bufferService=r,a._optionsService=n,a._charSizeService=o,a._renderService=s,a.scrollBarWidth=0,a._currentRowHeight=0,a._lastRecordedBufferLength=0,a._lastRecordedViewportHeight=0,a._lastRecordedBufferHeight=0,a._lastTouchY=0,a._lastScrollTop=0,a._wheelPartialScroll=0,a._refreshAnimationFrame=null,a._ignoreNextScrollEvent=!1,a.scrollBarWidth=a._viewportElement.offsetWidth-a._scrollArea.offsetWidth||15,a.register(l.addDisposableDomListener(a._viewportElement,"scroll",a._onScroll.bind(a))),setTimeout(function(){return a.syncScrollArea()},0),a}t.Viewport=f},function(e,t,i){"use strict";function n(e){return e.replace(/\r?\n/g,"\r")}function o(e,t){return t?"[200~"+e+"[201~":e}function s(e,t,i,r){e=o(e=n(e),i),r.triggerDataEvent(e,!0),t.value=""}function a(e,t,i){var r=i.getBoundingClientRect(),n=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.position="absolute",t.style.width="20px",t.style.height="20px",t.style.left=n+"px",t.style.top=o+"px",t.style.zIndex="1000",t.focus(),setTimeout(function(){t.style.position="",t.style.width="",t.style.height="",t.style.left="",t.style.top="",t.style.zIndex=""},200)}Object.defineProperty(t,"__esModule",{value:!0}),t.prepareTextForTerminal=n,t.bracketTextForPaste=o,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,i,r){e.stopPropagation(),e.clipboardData&&s(e.clipboardData.getData("text/plain"),t,i,r)},t.paste=s,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,i,r,n){a(e,t,i),n&&!r.isClickInSelection(e)&&r.selectWordAtCursor(e),t.value=r.selectionText,t.select()}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var d=i(12),p=i(18),v=i(38),o=i(2),s=i(15),g=i(7),y=i(16),b=i(1),m=i(3),S=i(5),c=i(6),C=i(20),a=i(22),l=i(4),h={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function u(e,t){if(24<e)return t.setWinLines;switch(e){case 1:return t.restoreWin;case 2:return t.minimizeWin;case 3:return t.setWinPosition;case 4:return t.setWinSizePixels;case 5:return t.raiseWin;case 6:return t.lowerWin;case 7:return t.refreshWin;case 8:return t.setWinSizeChars;case 9:return t.maximizeWin;case 10:return t.fullscreenWin;case 11:return t.getWinState;case 13:return t.getWinPosition;case 14:return t.getWinSizePixels;case 15:return t.getScreenSizePixels;case 16:return t.getCellSizePixels;case 18:return t.getWinSizeChars;case 19:return t.getScreenSizeChars;case 20:return t.getIconTitle;case 21:return t.getWinTitle;case 22:return t.pushTitle;case 23:return t.popTitle;case 24:return t.setWinLines}}var w,E=(L.prototype.hook=function(e){this._data=new Uint32Array(0)},L.prototype.put=function(e,t,i){this._data=s.concat(this._data,e.subarray(t,i))},L.prototype.unhook=function(e){if(e){var t=g.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r0"q'+d.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r61;1"p'+d.C0.ESC+"\\");case"r":var i=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+i+d.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r0m"+d.C0.ESC+"\\");case" q":var r={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return r-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+r+" q"+d.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(d.C0.ESC+"P0$r"+d.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},L),f=(w=o.Disposable,n(_,w),Object.defineProperty(_.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),_.prototype.dispose=function(){w.prototype.dispose.call(this)},_.prototype.parse=function(e){var t=this._bufferService.buffer,i=t.x,r=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length<e.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(e.length,131072))),this._dirtyRowService.clearRange(),131072<e.length)for(var n=0;n<e.length;n+=131072){var o=n+131072<e.length?n+131072:e.length,s="string"==typeof e?this._stringDecoder.decode(e.substring(n,o),this._parseBuffer):this._utf8Decoder.decode(e.subarray(n,o),this._parseBuffer);this._parser.parse(this._parseBuffer,s)}else s="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),this._parser.parse(this._parseBuffer,s);(t=this._bufferService.buffer).x===i&&t.y===r||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},_.prototype.print=function(e,t,i){var r=this._bufferService.buffer,n=this._charsetService.charset,o=this._optionsService.options.screenReaderMode,s=this._bufferService.cols,a=this._coreService.decPrivateModes.wraparound,c=this._terminal.insertMode,l=this._curAttrData,h=r.lines.get(r.y+r.ybase);this._dirtyRowService.markDirty(r.y),r.x&&0<i-t&&2===h.getWidth(r.x-1)&&h.setCellFromCodePoint(r.x-1,0,1,l.fg,l.bg);for(var u=t;u<i;++u){var f,_=e[u],d=this._unicodeService.wcwidth(_);if(_<127&&n&&(f=n[String.fromCharCode(_)])&&(_=f.charCodeAt(0)),o&&this._terminal.onA11yCharEmitter.fire(g.stringFromCodePoint(_)),d||!r.x){if(r.x+d-1>=s)if(a)r.x=0,r.y++,r.y===r.scrollBottom+1?(r.y--,this._terminal.scroll(this._eraseAttrData(),!0)):(r.y>=this._bufferService.rows&&(r.y=this._bufferService.rows-1),r.lines.get(r.y).isWrapped=!0),h=r.lines.get(r.y+r.ybase);else if(r.x=s-1,2===d)continue;if(c&&(h.insertCells(r.x,d,r.getNullCell(l),l),2===h.getWidth(s-1)&&h.setCellFromCodePoint(s-1,m.NULL_CELL_CODE,m.NULL_CELL_WIDTH,l.fg,l.bg)),h.setCellFromCodePoint(r.x++,_,d,l.fg,l.bg),0<d)for(;--d;)h.setCellFromCodePoint(r.x++,0,0,l.fg,l.bg)}else h.getWidth(r.x-1)?h.addCodepointToCell(r.x-1,_):h.addCodepointToCell(r.x-2,_)}0<i-t&&(h.loadCell(r.x-1,this._workCell),2===this._workCell.getWidth()||65535<this._workCell.getCode()?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),r.x<s&&0<i-t&&0===h.getWidth(r.x)&&!h.hasContent(r.x)&&h.setCellFromCodePoint(r.x,0,1,l.fg,l.bg),this._dirtyRowService.markDirty(r.y)},_.prototype.addCsiHandler=function(e,t){var i=this;return"t"!==e.final||e.prefix||e.intermediates?this._parser.addCsiHandler(e,t):this._parser.addCsiHandler(e,function(e){return!u(e.params[0],i._optionsService.options.windowOptions)||t(e)})},_.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new a.DcsHandler(t))},_.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},_.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new C.OscHandler(t))},_.prototype.bell=function(){this._onRequestBell.fire()},_.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},_.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},_.prototype.backspace=function(){this._restrictCursor(),0<this._bufferService.buffer.x&&this._bufferService.buffer.x--},_.prototype.tab=function(){var e;this._bufferService.buffer.x>=this._bufferService.cols||(e=this._bufferService.buffer.x,this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._terminal.onA11yTabEmitter.fire(this._bufferService.buffer.x-e))},_.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},_.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},_.prototype._restrictCursor=function(){this._bufferService.buffer.x=Math.min(this._bufferService.cols-1,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},_.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;0<=t?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1))},_.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;0<=t?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1)},_.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},_.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},_.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},_.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},_.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.cursorPosition=function(e){this._setCursor(2<=e.length?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},_.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},_.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},_.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},_.prototype.hVPosition=function(e){this.cursorPosition(e)},_.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},_.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},_.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.x=i.prevStop()},_.prototype._eraseInBufferLine=function(e,t,i,r){void 0===r&&(r=!1);var n=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);n.replaceCells(t,i,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r&&(n.isWrapped=!1)},_.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},_.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t<this._bufferService.rows;t++)this._resetBufferLine(t);this._dirtyRowService.markDirty(t);break;case 1:for(t=this._bufferService.buffer.y,this._dirtyRowService.markDirty(t),this._eraseInBufferLine(t,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(t=this._bufferService.rows,this._dirtyRowService.markDirty(t-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var i=this._bufferService.buffer.lines.length-this._bufferService.rows;0<i&&(this._bufferService.buffer.lines.trimStart(i),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-i,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-i,0),this._onScroll.fire(0))}},_.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.y<i.scrollTop)){for(var r=i.y+i.ybase,n=this._bufferService.rows-1-i.scrollBottom,o=this._bufferService.rows-1+i.ybase-n+1;t--;)i.lines.splice(o-1,1),i.lines.splice(r,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.y,i.scrollBottom),i.x=0}},_.prototype.deleteLines=function(e){this._restrictCursor();var t=e.params[0]||1,i=this._bufferService.buffer;if(!(i.y>i.scrollBottom||i.y<i.scrollTop)){var r=i.y+i.ybase,n=this._bufferService.rows-1-i.scrollBottom;for(n=this._bufferService.rows-1+i.ybase-n;t--;)i.lines.splice(r,1),i.lines.splice(n,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.y,i.scrollBottom),i.x=0}},_.prototype.insertChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.insertCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.deleteChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.deleteCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.scrollUp=function(e){for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.lines.splice(i.ybase+i.scrollTop,1),i.lines.splice(i.ybase+i.scrollBottom,0,i.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(i.scrollTop,i.scrollBottom)},_.prototype.scrollDown=function(e){for(var t=e.params[0]||1,i=this._bufferService.buffer;t--;)i.lines.splice(i.ybase+i.scrollBottom,1),i.lines.splice(i.ybase+i.scrollTop,0,i.getBlankLine(y.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(i.scrollTop,i.scrollBottom)},_.prototype.scrollLeft=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.deleteCells(0,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.scrollRight=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.insertCells(0,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.insertColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=this._bufferService.buffer.lines.get(t.ybase+r);n.insertCells(t.x,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.deleteColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var i=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var n=t.lines.get(t.ybase+r);n.deleteCells(t.x,i,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),n.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},_.prototype.eraseChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.y+this._bufferService.buffer.ybase);t&&(t.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(e.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.repeatPrecedingCharacter=function(e){if(this._parser.precedingCodepoint){for(var t=e.params[0]||1,i=new Uint32Array(t),r=0;r<t;++r)i[r]=this._parser.precedingCodepoint;this.print(i,0,i.length)}},_.prototype.sendDeviceAttributesPrimary=function(e){0<e.params[0]||(this._terminal.is("xterm")||this._terminal.is("rxvt-unicode")||this._terminal.is("screen")?this._coreService.triggerDataEvent(d.C0.ESC+"[?1;2c"):this._terminal.is("linux")&&this._coreService.triggerDataEvent(d.C0.ESC+"[?6c"))},_.prototype.sendDeviceAttributesSecondary=function(e){0<e.params[0]||(this._terminal.is("xterm")?this._coreService.triggerDataEvent(d.C0.ESC+"[>0;276;0c"):this._terminal.is("rxvt-unicode")?this._coreService.triggerDataEvent(d.C0.ESC+"[>85;95;0c"):this._terminal.is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._terminal.is("screen")&&this._coreService.triggerDataEvent(d.C0.ESC+"[>83;40003;0c"))},_.prototype.setMode=function(e){for(var t=0;t<e.length;t++)4===e.params[t]&&(this._terminal.insertMode=!0)},_.prototype.setModePrivate=function(e){for(var t,i,r=0;r<e.length;r++)switch(e.params[r]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,p.DEFAULT_CHARSET),this._charsetService.setgCharset(1,p.DEFAULT_CHARSET),this._charsetService.setgCharset(2,p.DEFAULT_CHARSET),this._charsetService.setgCharset(3,p.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._terminal.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._terminal.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),null===(i=this._terminal.viewport)||void 0===i||i.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!0}},_.prototype.resetMode=function(e){for(var t=0;t<e.length;t++)4===e.params[t]&&(this._terminal.insertMode=!1)},_.prototype.resetModePrivate=function(e){for(var t,i,r=0;r<e.length;r++)switch(e.params[r]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._terminal.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._terminal.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[r]&&this.restoreCursor(),this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),null===(i=this._terminal.viewport)||void 0===i||i.syncScrollArea(),this._terminal.showCursor();break;case 2004:this._terminal.bracketedPasteMode=!1}},_.prototype._extractColor=function(e,t,i){var r=[0,0,-1,0,0,0],n=0,o=0;do{if(r[o+n]=e.params[t+o],e.hasSubParams(t+o)){for(var s=e.getSubParams(t+o),a=0;5===r[1]&&(n=1),r[o+a+1+n]=s[a],++a<s.length&&a+o+1+n<r.length;);break}if(5===r[1]&&2<=o+n||2===r[1]&&5<=o+n)break;r[1]&&(n=1)}while(++o+t<e.length&&o+n<r.length);for(a=2;a<r.length;++a)-1===r[a]&&(r[a]=0);return 38===r[0]?2===r[1]?(i.fg|=50331648,i.fg&=-16777216,i.fg|=c.AttributeData.fromColorRGB([r[3],r[4],r[5]])):5===r[1]&&(i.fg&=-50331904,i.fg|=33554432|255&r[3]):48===r[0]&&(2===r[1]?(i.bg|=50331648,i.bg&=-16777216,i.bg|=c.AttributeData.fromColorRGB([r[3],r[4],r[5]])):5===r[1]&&(i.bg&=-50331904,i.bg|=33554432|255&r[3])),o},_.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=y.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=y.DEFAULT_ATTR_DATA.bg);for(var t,i=e.length,r=this._curAttrData,n=0;n<i;n++)30<=(t=e.params[n])&&t<=37?(r.fg&=-50331904,r.fg|=16777216|t-30):40<=t&&t<=47?(r.bg&=-50331904,r.bg|=16777216|t-40):90<=t&&t<=97?(r.fg&=-50331904,r.fg|=16777224|t-90):100<=t&&t<=107?(r.bg&=-50331904,r.bg|=16777224|t-100):0===t?(r.fg=y.DEFAULT_ATTR_DATA.fg,r.bg=y.DEFAULT_ATTR_DATA.bg):1===t?r.fg|=134217728:3===t?r.bg|=67108864:4===t?r.fg|=268435456:5===t?r.fg|=536870912:7===t?r.fg|=67108864:8===t?r.fg|=1073741824:2===t?r.bg|=134217728:22===t?(r.fg&=-134217729,r.bg&=-134217729):23===t?r.bg&=-67108865:24===t?r.fg&=-268435457:25===t?r.fg&=-536870913:27===t?r.fg&=-67108865:28===t?r.fg&=-1073741825:39===t?(r.fg&=-67108864,r.fg|=16777215&y.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&y.DEFAULT_ATTR_DATA.bg):38===t||48===t?n+=this._extractColor(e,n,r):100===t?(r.fg&=-67108864,r.fg|=16777215&y.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&y.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},_.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(d.C0.ESC+"[0n");break;case 6:var t=this._bufferService.buffer.y+1,i=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"["+t+";"+i+"R")}},_.prototype.deviceStatusPrivate=function(e){var t,i;6===e.params[0]&&(t=this._bufferService.buffer.y+1,i=this._bufferService.buffer.x+1,this._coreService.triggerDataEvent(d.C0.ESC+"[?"+t+";"+i+"R"))},_.prototype.softReset=function(e){var t;this._coreService.isCursorHidden=!1,this._terminal.insertMode=!1,null===(t=this._terminal.viewport)||void 0===t||t.syncScrollArea(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=y.DEFAULT_ATTR_DATA.clone(),this._bufferService.buffer.x=this._bufferService.buffer.y=0,this._coreService.reset(),this._charsetService.reset()},_.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var i=t%2==1;this._optionsService.options.cursorBlink=i},_.prototype.setScrollRegion=function(e){var t,i=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),i<t&&(this._bufferService.buffer.scrollTop=i-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},_.prototype.windowOptions=function(e){if(u(e.params[0],this._optionsService.options.windowOptions)){var t,i,r=1<e.length?e.params[1]:0,n=this._instantiationService.getService(l.IRenderService);switch(e.params[0]){case 14:n&&2!==r&&(console.log(n.dimensions),t=n.dimensions.scaledCanvasWidth.toFixed(0),i=n.dimensions.scaledCanvasHeight.toFixed(0),this._coreService.triggerDataEvent(d.C0.ESC+"[4;"+i+";"+t+"t"));break;case 16:n&&(t=n.dimensions.scaledCellWidth.toFixed(0),i=n.dimensions.scaledCellHeight.toFixed(0),this._coreService.triggerDataEvent(d.C0.ESC+"[6;"+i+";"+t+"t"));break;case 18:this._bufferService&&this._coreService.triggerDataEvent(d.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==r&&2!==r||(this._windowTitleStack.push(this._windowTitle),10<this._windowTitleStack.length&&this._windowTitleStack.shift()),0!==r&&1!==r||(this._iconNameStack.push(this._iconName),10<this._iconNameStack.length&&this._iconNameStack.shift());break;case 23:0!==r&&2!==r||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==r&&1!==r||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},_.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},_.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},_.prototype.setTitle=function(e){this._windowTitle=e,this._terminal.handleTitle(e)},_.prototype.setIconName=function(e){this._iconName=e},_.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},_.prototype.keypadApplicationMode=function(){var e;this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},_.prototype.keypadNumericMode=function(){var e;this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,null===(e=this._terminal.viewport)||void 0===e||e.syncScrollArea()},_.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,p.DEFAULT_CHARSET)},_.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(h[e[0]],p.CHARSETS[e[1]]||p.DEFAULT_CHARSET):this.selectDefaultCharset()},_.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._terminal.scroll(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},_.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},_.prototype.reverseIndex=function(){this._restrictCursor();var e,t=this._bufferService.buffer;t.y===t.scrollTop?(e=t.scrollBottom-t.scrollTop,t.lines.shiftElements(t.y+t.ybase,e,1),t.lines.set(t.y+t.ybase,t.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)):(t.y--,this._restrictCursor())},_.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},_.prototype.reset=function(){this._curAttrData=y.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=y.DEFAULT_ATTR_DATA.clone()},_.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},_.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},_.prototype.screenAlignmentPattern=function(){var e=new S.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var i=0;i<this._bufferService.rows;++i){var r=t.y+t.ybase+i;t.lines.get(r).fill(e),t.lines.get(r).isWrapped=!1}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},_);function _(e,t,i,r,n,o,s,a,c,l,h){void 0===h&&(h=new v.EscapeSequenceParser);var u=w.call(this)||this;u._terminal=e,u._bufferService=t,u._charsetService=i,u._coreService=r,u._dirtyRowService=n,u._logService=o,u._optionsService=s,u._coreMouseService=a,u._unicodeService=c,u._instantiationService=l,u._parser=h,u._parseBuffer=new Uint32Array(4096),u._stringDecoder=new g.StringToUtf32,u._utf8Decoder=new g.Utf8ToUtf32,u._workCell=new S.CellData,u._windowTitle="",u._iconName="",u._windowTitleStack=[],u._iconNameStack=[],u._curAttrData=y.DEFAULT_ATTR_DATA.clone(),u._eraseAttrDataInternal=y.DEFAULT_ATTR_DATA.clone(),u._onRequestRefreshRows=new b.EventEmitter,u._onRequestReset=new b.EventEmitter,u._onRequestBell=new b.EventEmitter,u._onCursorMove=new b.EventEmitter,u._onLineFeed=new b.EventEmitter,u._onScroll=new b.EventEmitter,u.register(u._parser),u._parser.setCsiHandlerFallback(function(e,t){u._logService.debug("Unknown CSI code: ",{identifier:u._parser.identToString(e),params:t.toArray()})}),u._parser.setEscHandlerFallback(function(e){u._logService.debug("Unknown ESC code: ",{identifier:u._parser.identToString(e)})}),u._parser.setExecuteHandlerFallback(function(e){u._logService.debug("Unknown EXECUTE code: ",{code:e})}),u._parser.setOscHandlerFallback(function(e,t,i){u._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:i})}),u._parser.setDcsHandlerFallback(function(e,t,i){"HOOK"===t&&(i=i.toArray()),u._logService.debug("Unknown DCS code: ",{identifier:u._parser.identToString(e),action:t,payload:i})}),u._parser.setPrintHandler(function(e,t,i){return u.print(e,t,i)}),u._parser.setCsiHandler({final:"@"},function(e){return u.insertChars(e)}),u._parser.setCsiHandler({intermediates:" ",final:"@"},function(e){return u.scrollLeft(e)}),u._parser.setCsiHandler({final:"A"},function(e){return u.cursorUp(e)}),u._parser.setCsiHandler({intermediates:" ",final:"A"},function(e){return u.scrollRight(e)}),u._parser.setCsiHandler({final:"B"},function(e){return u.cursorDown(e)}),u._parser.setCsiHandler({final:"C"},function(e){return u.cursorForward(e)}),u._parser.setCsiHandler({final:"D"},function(e){return u.cursorBackward(e)}),u._parser.setCsiHandler({final:"E"},function(e){return u.cursorNextLine(e)}),u._parser.setCsiHandler({final:"F"},function(e){return u.cursorPrecedingLine(e)}),u._parser.setCsiHandler({final:"G"},function(e){return u.cursorCharAbsolute(e)}),u._parser.setCsiHandler({final:"H"},function(e){return u.cursorPosition(e)}),u._parser.setCsiHandler({final:"I"},function(e){return u.cursorForwardTab(e)}),u._parser.setCsiHandler({final:"J"},function(e){return u.eraseInDisplay(e)}),u._parser.setCsiHandler({prefix:"?",final:"J"},function(e){return u.eraseInDisplay(e)}),u._parser.setCsiHandler({final:"K"},function(e){return u.eraseInLine(e)}),u._parser.setCsiHandler({prefix:"?",final:"K"},function(e){return u.eraseInLine(e)}),u._parser.setCsiHandler({final:"L"},function(e){return u.insertLines(e)}),u._parser.setCsiHandler({final:"M"},function(e){return u.deleteLines(e)}),u._parser.setCsiHandler({final:"P"},function(e){return u.deleteChars(e)}),u._parser.setCsiHandler({final:"S"},function(e){return u.scrollUp(e)}),u._parser.setCsiHandler({final:"T"},function(e){return u.scrollDown(e)}),u._parser.setCsiHandler({final:"X"},function(e){return u.eraseChars(e)}),u._parser.setCsiHandler({final:"Z"},function(e){return u.cursorBackwardTab(e)}),u._parser.setCsiHandler({final:"`"},function(e){return u.charPosAbsolute(e)}),u._parser.setCsiHandler({final:"a"},function(e){return u.hPositionRelative(e)}),u._parser.setCsiHandler({final:"b"},function(e){return u.repeatPrecedingCharacter(e)}),u._parser.setCsiHandler({final:"c"},function(e){return u.sendDeviceAttributesPrimary(e)}),u._parser.setCsiHandler({prefix:">",final:"c"},function(e){return u.sendDeviceAttributesSecondary(e)}),u._parser.setCsiHandler({final:"d"},function(e){return u.linePosAbsolute(e)}),u._parser.setCsiHandler({final:"e"},function(e){return u.vPositionRelative(e)}),u._parser.setCsiHandler({final:"f"},function(e){return u.hVPosition(e)}),u._parser.setCsiHandler({final:"g"},function(e){return u.tabClear(e)}),u._parser.setCsiHandler({final:"h"},function(e){return u.setMode(e)}),u._parser.setCsiHandler({prefix:"?",final:"h"},function(e){return u.setModePrivate(e)}),u._parser.setCsiHandler({final:"l"},function(e){return u.resetMode(e)}),u._parser.setCsiHandler({prefix:"?",final:"l"},function(e){return u.resetModePrivate(e)}),u._parser.setCsiHandler({final:"m"},function(e){return u.charAttributes(e)}),u._parser.setCsiHandler({final:"n"},function(e){return u.deviceStatus(e)}),u._parser.setCsiHandler({prefix:"?",final:"n"},function(e){return u.deviceStatusPrivate(e)}),u._parser.setCsiHandler({intermediates:"!",final:"p"},function(e){return u.softReset(e)}),u._parser.setCsiHandler({intermediates:" ",final:"q"},function(e){return u.setCursorStyle(e)}),u._parser.setCsiHandler({final:"r"},function(e){return u.setScrollRegion(e)}),u._parser.setCsiHandler({final:"s"},function(e){return u.saveCursor(e)}),u._parser.setCsiHandler({final:"t"},function(e){return u.windowOptions(e)}),u._parser.setCsiHandler({final:"u"},function(e){return u.restoreCursor(e)}),u._parser.setCsiHandler({intermediates:"'",final:"}"},function(e){return u.insertColumns(e)}),u._parser.setCsiHandler({intermediates:"'",final:"~"},function(e){return u.deleteColumns(e)}),u._parser.setExecuteHandler(d.C0.BEL,function(){return u.bell()}),u._parser.setExecuteHandler(d.C0.LF,function(){return u.lineFeed()}),u._parser.setExecuteHandler(d.C0.VT,function(){return u.lineFeed()}),u._parser.setExecuteHandler(d.C0.FF,function(){return u.lineFeed()}),u._parser.setExecuteHandler(d.C0.CR,function(){return u.carriageReturn()}),u._parser.setExecuteHandler(d.C0.BS,function(){return u.backspace()}),u._parser.setExecuteHandler(d.C0.HT,function(){return u.tab()}),u._parser.setExecuteHandler(d.C0.SO,function(){return u.shiftOut()}),u._parser.setExecuteHandler(d.C0.SI,function(){return u.shiftIn()}),u._parser.setExecuteHandler(d.C1.IND,function(){return u.index()}),u._parser.setExecuteHandler(d.C1.NEL,function(){return u.nextLine()}),u._parser.setExecuteHandler(d.C1.HTS,function(){return u.tabSet()}),u._parser.setOscHandler(0,new C.OscHandler(function(e){u.setTitle(e),u.setIconName(e)})),u._parser.setOscHandler(1,new C.OscHandler(function(e){return u.setIconName(e)})),u._parser.setOscHandler(2,new C.OscHandler(function(e){return u.setTitle(e)})),u._parser.setEscHandler({final:"7"},function(){return u.saveCursor()}),u._parser.setEscHandler({final:"8"},function(){return u.restoreCursor()}),u._parser.setEscHandler({final:"D"},function(){return u.index()}),u._parser.setEscHandler({final:"E"},function(){return u.nextLine()}),u._parser.setEscHandler({final:"H"},function(){return u.tabSet()}),u._parser.setEscHandler({final:"M"},function(){return u.reverseIndex()}),u._parser.setEscHandler({final:"="},function(){return u.keypadApplicationMode()}),u._parser.setEscHandler({final:">"},function(){return u.keypadNumericMode()}),u._parser.setEscHandler({final:"c"},function(){return u.fullReset()}),u._parser.setEscHandler({final:"n"},function(){return u.setgLevel(2)}),u._parser.setEscHandler({final:"o"},function(){return u.setgLevel(3)}),u._parser.setEscHandler({final:"|"},function(){return u.setgLevel(3)}),u._parser.setEscHandler({final:"}"},function(){return u.setgLevel(2)}),u._parser.setEscHandler({final:"~"},function(){return u.setgLevel(1)}),u._parser.setEscHandler({intermediates:"%",final:"@"},function(){return u.selectDefaultCharset()}),u._parser.setEscHandler({intermediates:"%",final:"G"},function(){return u.selectDefaultCharset()});var f,_=this;for(f in p.CHARSETS)!function(e){_._parser.setEscHandler({intermediates:"(",final:e},function(){return u.selectCharset("("+e)}),_._parser.setEscHandler({intermediates:")",final:e},function(){return u.selectCharset(")"+e)}),_._parser.setEscHandler({intermediates:"*",final:e},function(){return u.selectCharset("*"+e)}),_._parser.setEscHandler({intermediates:"+",final:e},function(){return u.selectCharset("+"+e)}),_._parser.setEscHandler({intermediates:"-",final:e},function(){return u.selectCharset("-"+e)}),_._parser.setEscHandler({intermediates:".",final:e},function(){return u.selectCharset("."+e)}),_._parser.setEscHandler({intermediates:"/",final:e},function(){return u.selectCharset("/"+e)})}(f);return u._parser.setEscHandler({intermediates:"#",final:"8"},function(){return u.screenAlignmentPattern()}),u._parser.setErrorHandler(function(e){return u._logService.error("Parsing error: ",e),e}),u._parser.setDcsHandler({intermediates:"$",final:"q"},new E(u._bufferService,u._coreService,u._logService,u._optionsService)),u}function L(e,t,i,r){this._bufferService=e,this._coreService=t,this._logService=i,this._optionsService=r,this._data=new Uint32Array(0)}t.InputHandler=f},function(e,i,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(i,"__esModule",{value:!0});var o=t(2),s=t(15),a=t(19),c=t(20),l=t(22),h=(u.prototype.setDefault=function(e,t){s.fill(this.table,e<<4|t)},u.prototype.add=function(e,t,i,r){this.table[t<<8|e]=i<<4|r},u.prototype.addMany=function(e,t,i,r){for(var n=0;n<e.length;n++)this.table[t<<8|e[n]]=i<<4|r},u);function u(e){this.table=new Uint8Array(e)}i.TransitionTable=h,i.VT500_TRANSITION_TABLE=function(){function e(e,t){return i.slice(e,t)}var t=new h(4095),i=Array.apply(null,Array(256)).map(function(e,t){return t}),r=e(32,127),n=e(0,24);n.push(25),n.push.apply(n,e(28,32));var o,s=e(0,14);for(o in t.setDefault(1,0),t.addMany(r,0,2,0),s)t.addMany([24,26,153,154],o,3,0),t.addMany(e(128,144),o,3,0),t.addMany(e(144,152),o,3,0),t.add(156,o,0,0),t.add(27,o,11,1),t.add(157,o,4,8),t.addMany([152,158,159],o,0,7),t.add(155,o,11,3),t.add(144,o,11,9);return t.addMany(n,0,3,0),t.addMany(n,1,3,1),t.add(127,1,0,1),t.addMany(n,8,0,8),t.addMany(n,3,3,3),t.add(127,3,0,3),t.addMany(n,4,3,4),t.add(127,4,0,4),t.addMany(n,6,3,6),t.addMany(n,5,3,5),t.add(127,5,0,5),t.addMany(n,2,3,2),t.add(127,2,0,2),t.add(93,1,4,8),t.addMany(r,8,5,8),t.add(127,8,5,8),t.addMany([156,27,24,26,7],8,6,0),t.addMany(e(28,32),8,0,8),t.addMany([88,94,95],1,0,7),t.addMany(r,7,0,7),t.addMany(n,7,0,7),t.add(156,7,0,0),t.add(127,7,0,7),t.add(91,1,11,3),t.addMany(e(64,127),3,7,0),t.addMany(e(48,60),3,8,4),t.addMany([60,61,62,63],3,9,4),t.addMany(e(48,60),4,8,4),t.addMany(e(64,127),4,7,0),t.addMany([60,61,62,63],4,0,6),t.addMany(e(32,64),6,0,6),t.add(127,6,0,6),t.addMany(e(64,127),6,0,0),t.addMany(e(32,48),3,9,5),t.addMany(e(32,48),5,9,5),t.addMany(e(48,64),5,0,6),t.addMany(e(64,127),5,7,0),t.addMany(e(32,48),4,9,5),t.addMany(e(32,48),1,9,2),t.addMany(e(32,48),2,9,2),t.addMany(e(48,127),2,10,0),t.addMany(e(48,80),1,10,0),t.addMany(e(81,88),1,10,0),t.addMany([89,90,92],1,10,0),t.addMany(e(96,127),1,10,0),t.add(80,1,11,9),t.addMany(n,9,0,9),t.add(127,9,0,9),t.addMany(e(28,32),9,0,9),t.addMany(e(32,48),9,9,12),t.addMany(e(48,60),9,8,10),t.addMany([60,61,62,63],9,9,10),t.addMany(n,11,0,11),t.addMany(e(32,128),11,0,11),t.addMany(e(28,32),11,0,11),t.addMany(n,10,0,10),t.add(127,10,0,10),t.addMany(e(28,32),10,0,10),t.addMany(e(48,60),10,8,10),t.addMany([60,61,62,63],10,0,11),t.addMany(e(32,48),10,9,12),t.addMany(n,12,0,12),t.add(127,12,0,12),t.addMany(e(28,32),12,0,12),t.addMany(e(32,48),12,9,12),t.addMany(e(48,64),12,0,11),t.addMany(e(64,127),12,12,13),t.addMany(e(64,127),10,12,13),t.addMany(e(64,127),9,12,13),t.addMany(n,13,13,13),t.addMany(r,13,13,13),t.add(127,13,0,13),t.addMany([27,156,24,26],13,14,0),t.add(160,0,2,0),t.add(160,8,5,8),t.add(160,6,0,6),t.add(160,11,0,11),t.add(160,13,13,13),t}();var f,_=(f=o.Disposable,n(d,f),d.prototype._identifier=function(e,t){void 0===t&&(t=[64,126]);var i=0;if(e.prefix){if(1<e.prefix.length)throw new Error("only one byte as prefix supported");if((i=e.prefix.charCodeAt(0))&&i<60||63<i)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(2<e.intermediates.length)throw new Error("only two bytes as intermediates are supported");for(var r=0;r<e.intermediates.length;++r){var n=e.intermediates.charCodeAt(r);if(n<32||47<n)throw new Error("intermediate must be in range 0x20 .. 0x2f");i<<=8,i|=n}}if(1!==e.final.length)throw new Error("final must be a single byte");var o=e.final.charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(i<<=8)|o},d.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},d.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},d.prototype.setPrintHandler=function(e){this._printHandler=e},d.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},d.prototype.addEscHandler=function(e,t){var i=this._identifier(e,[48,126]);void 0===this._escHandlers[i]&&(this._escHandlers[i]=[]);var r=this._escHandlers[i];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},d.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},d.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},d.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},d.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},d.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},d.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},d.prototype.addCsiHandler=function(e,t){var i=this._identifier(e);void 0===this._csiHandlers[i]&&(this._csiHandlers[i]=[]);var r=this._csiHandlers[i];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},d.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},d.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},d.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},d.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},d.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},d.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},d.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},d.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},d.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},d.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},d.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},d.prototype.setErrorHandler=function(e){this._errorHandler=e},d.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},d.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},d.prototype.parse=function(e,t){for(var i=0,r=0,n=this.currentState,o=this._oscParser,s=this._dcsParser,a=this._collect,c=this._params,l=this.TRANSITIONS.table,h=0;h<t;++h){switch((r=l[n<<8|((i=e[h])<160?i:160)])>>4){case 2:for(var u=h+1;;++u){if(t<=u||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}if(++u>=t||(i=e[u])<32||126<i&&i<160){this._printHandler(e,h,u),h=u-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:h,code:i,currentState:n,collect:a,params:c,abort:!1}).abort)return;break;case 7:for(var f=this._csiHandlers[a<<8|i],_=f?f.length-1:-1;0<=_&&!1===f[_](c);_--);_<0&&this._csiHandlerFb(a<<8|i,c),this.precedingCodepoint=0;break;case 8:do{switch(i){case 59:c.addParam(0);break;case 58:c.addSubParam(-1);break;default:c.addDigit(i-48)}}while(++h<t&&47<(i=e[h])&&i<60);h--;break;case 9:a<<=8,a|=i;break;case 10:for(var d=this._escHandlers[a<<8|i],p=d?d.length-1:-1;0<=p&&!1===d[p]();p--);p<0&&this._escHandlerFb(a<<8|i),this.precedingCodepoint=0;break;case 11:c.reset(),c.addParam(0),a=0;break;case 12:s.hook(a<<8|i,c);break;case 13:for(var v=h+1;;++v)if(t<=v||24===(i=e[v])||26===i||27===i||127<i&&i<160){s.put(e,h,v),h=v-1;break}break;case 14:s.unhook(24!==i&&26!==i),27===i&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0;break;case 4:o.start();break;case 5:for(var g=h+1;;g++)if(t<=g||(i=e[g])<32||127<i&&i<=159){o.put(e,h,g),h=g-1;break}break;case 6:o.end(24!==i&&26!==i),27===i&&(r|=1),c.reset(),c.addParam(0),a=0,this.precedingCodepoint=0}n=15&r}this._collect=a,this.currentState=n},d);function d(e){void 0===e&&(e=i.VT500_TRANSITION_TABLE);var t=f.call(this)||this;return t.TRANSITIONS=e,t.initialState=0,t.currentState=t.initialState,t._params=new a.Params,t._params.addParam(0),t._collect=0,t.precedingCodepoint=0,t._printHandlerFb=function(e,t,i){},t._executeHandlerFb=function(e){},t._csiHandlerFb=function(e,t){},t._escHandlerFb=function(e){},t._errorHandlerFb=function(e){return e},t._printHandler=t._printHandlerFb,t._executeHandlers=Object.create(null),t._csiHandlers=Object.create(null),t._escHandlers=Object.create(null),t._oscParser=new c.OscParser,t._dcsParser=new l.DcsParser,t._errorHandler=t._errorHandlerFb,t.setEscHandler({final:"\\"},function(){}),t}i.EscapeSequenceParser=_},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var h,u=i(40),f=i(46),_=i(47),d=i(48),p=i(27),a=i(2),c=i(4),l=i(0),v=i(23),g=i(1),y=1,b=(h=a.Disposable,n(m,h),Object.defineProperty(m.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),m.prototype.dispose=function(){h.prototype.dispose.call(this),this._renderLayers.forEach(function(e){return e.dispose()}),v.removeTerminalFromCache(this._id)},m.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},m.prototype.setColors=function(e){var t=this;this._colors=e,this._renderLayers.forEach(function(e){e.setColors(t._colors),e.reset()})},m.prototype.onResize=function(e,t){var i=this;this._updateDimensions(),this._renderLayers.forEach(function(e){return e.resize(i.dimensions)}),this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},m.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},m.prototype.onBlur=function(){this._runOperation(function(e){return e.onBlur()})},m.prototype.onFocus=function(){this._runOperation(function(e){return e.onFocus()})},m.prototype.onSelectionChanged=function(t,i,r){void 0===r&&(r=!1),this._runOperation(function(e){return e.onSelectionChanged(t,i,r)})},m.prototype.onCursorMove=function(){this._runOperation(function(e){return e.onCursorMove()})},m.prototype.onOptionsChanged=function(){this._runOperation(function(e){return e.onOptionsChanged()})},m.prototype.clear=function(){this._runOperation(function(e){return e.reset()})},m.prototype._runOperation=function(t){this._renderLayers.forEach(function(e){return t(e)})},m.prototype.renderRows=function(t,i){this._renderLayers.forEach(function(e){return e.onGridChanged(t,i)})},m.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},m.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},m.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},o([s(3,l.IBufferService),s(4,c.ICharSizeService),s(5,l.IOptionsService),s(6,l.ICoreService),s(7,c.ICoreBrowserService)],m));function m(e,t,i,r,n,o,s,a){var c=h.call(this)||this;c._colors=e,c._screenElement=t,c._linkifier=i,c._bufferService=r,c._charSizeService=n,c._optionsService=o,c.coreService=s,c.coreBrowserService=a,c._id=y++,c._onRequestRefreshRows=new g.EventEmitter;var l=c._optionsService.options.allowTransparency;return c._characterJoinerRegistry=new p.CharacterJoinerRegistry(c._bufferService),c._renderLayers=[new u.TextRenderLayer(c._screenElement,0,c._colors,c._characterJoinerRegistry,l,c._id,c._bufferService,o),new f.SelectionRenderLayer(c._screenElement,1,c._colors,c._id,c._bufferService,o),new d.LinkRenderLayer(c._screenElement,2,c._colors,c._id,c._linkifier,c._bufferService,o),new _.CursorRenderLayer(c._screenElement,3,c._colors,c._id,c._onRequestRefreshRows,c._bufferService,o,s,a)],c.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},c._devicePixelRatio=window.devicePixelRatio,c._updateDimensions(),c.onOptionsChanged(),c}t.Renderer=b},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var l,h=i(41),o=i(13),u=i(6),_=i(3),d=i(27),f=i(5),s=(l=o.BaseRenderLayer,n(a,l),a.prototype.resize=function(e){l.prototype.resize.call(this,e);var t=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===t||(this._characterWidth=e.scaledCharWidth,this._characterFont=t,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},a.prototype.reset=function(){this._state.clear(),this._clearAll()},a.prototype._forEachCell=function(e,t,i,r){for(var n=e;n<=t;n++)for(var o=n+this._bufferService.buffer.ydisp,s=this._bufferService.buffer.lines.get(o),a=i?i.getJoinedCharacters(o):[],c=0;c<this._bufferService.cols;c++){s.loadCell(c,this._workCell);var l,h=this._workCell,u=!1,f=c;0!==h.getWidth()&&(0<a.length&&c===a[0][0]&&(u=!0,l=a.shift(),h=new d.JoinedCellData(this._workCell,s.translateToString(!0,l[0],l[1]),l[1]-l[0]),f=l[1]-1),!u&&this._isOverlapping(h)&&f<s.length-1&&s.getCodePoint(f+1)===_.NULL_CELL_CODE&&(h.content&=-12582913,h.content|=2<<22),r(h,c,n),c=f)}},a.prototype._drawBackground=function(e,t){var n=this,o=this._ctx,s=this._bufferService.cols,a=0,c=0,l=null;o.save(),this._forEachCell(e,t,null,function(e,t,i){var r=null;e.isInverse()?r=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?r="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(r=n._colors.ansi[e.getBgColor()].css),null===l&&(a=t,c=i),i!==c?(o.fillStyle=l||"",n._fillCells(a,c,s-a,1),a=t,c=i):l!==r&&(o.fillStyle=l||"",n._fillCells(a,c,t-a,1),a=t,c=i),l=r}),null!==l&&(o.fillStyle=l,this._fillCells(a,c,s-a,1)),o.restore()},a.prototype._drawForeground=function(e,t){var o=this;this._forEachCell(e,t,this._characterJoinerRegistry,function(e,t,i){var r,n;!e.isInvisible()&&(o._drawChars(e,t,i),e.isUnderline())&&(o._ctx.save(),e.isInverse()?e.isBgDefault()?o._ctx.fillStyle=o._colors.background.css:e.isBgRGB()?o._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":(r=e.getBgColor(),o._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&r<8&&(r+=8),o._ctx.fillStyle=o._colors.ansi[r].css):e.isFgDefault()?o._ctx.fillStyle=o._colors.foreground.css:e.isFgRGB()?o._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":(n=e.getFgColor(),o._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&n<8&&(n+=8),o._ctx.fillStyle=o._colors.ansi[n].css),o._fillBottomLineAtCells(t,i,e.getWidth()),o._ctx.restore())})},a.prototype.onGridChanged=function(e,t){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,t-e+1),this._drawBackground(e,t),this._drawForeground(e,t))},a.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},a.prototype._isOverlapping=function(e){if(1!==e.getWidth())return!1;if(e.getCode()<256)return!1;var t=e.getChars();if(this._characterOverlapCache.hasOwnProperty(t))return this._characterOverlapCache[t];this._ctx.save(),this._ctx.font=this._characterFont;var i=Math.floor(this._ctx.measureText(t).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=i},a);function a(e,t,i,r,n,o,s,a){var c=l.call(this,e,"text",t,n,i,o,s,a)||this;return c.bufferService=s,c.optionsService=a,c._characterWidth=0,c._characterFont="",c._characterOverlapCache={},c._workCell=new f.CellData,c._state=new h.GridCache,c._characterJoinerRegistry=r,c}t.TextRenderLayer=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.resize=function(e,t){for(var i=0;i<e;i++){this.cache.length<=i&&this.cache.push([]);for(var r=this.cache[i].length;r<t;r++)this.cache[i].push(void 0);this.cache[i].length=t}this.cache.length=e},n.prototype.clear=function(){for(var e=0;e<this.cache.length;e++)for(var t=0;t<this.cache[e].length;t++)this.cache[e][t]=void 0},n);function n(){this.cache=[]}t.GridCache=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var h=i(9),o=i(43),s=i(25),a=i(45),c=i(11),l=i(26),u=i(10),f={css:"rgba(0, 0, 0, 0)",rgba:0};function _(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=_;var d,p=(d=o.BaseCharAtlas,n(v,d),v.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},v.prototype.beginFrame=function(){this._drawToCacheCount=0},v.prototype.draw=function(e,t,i,r){if(32===t.code)return!0;if(!this._canCache(t))return!1;var n=_(t),o=this._cacheMap.get(n);if(null!=o)return this._drawFromCache(e,o,i,r),!0;if(this._drawToCacheCount<100){var s=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index,a=this._drawToCache(t,s);return this._cacheMap.set(n,a),this._drawFromCache(e,a,i,r),!0}return!1},v.prototype._canCache=function(e){return e.code<256},v.prototype._toCoordinateX=function(e){return e%this._width*this._config.scaledCharWidth},v.prototype._toCoordinateY=function(e){return Math.floor(e/this._width)*this._config.scaledCharHeight},v.prototype._drawFromCache=function(e,t,i,r){var n,o;t.isEmpty||(n=this._toCoordinateX(t.index),o=this._toCoordinateY(t.index),e.drawImage(t.inBitmap?this._bitmap:this._cacheCanvas,n,o,this._config.scaledCharWidth,this._config.scaledCharHeight,i,r,this._config.scaledCharWidth,this._config.scaledCharHeight))},v.prototype._getColorFromAnsiIndex=function(e){return e<this._config.colors.ansi.length?this._config.colors.ansi[e]:s.DEFAULT_ANSI_COLORS[e]},v.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?f:e.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:e.bg<256?this._getColorFromAnsiIndex(e.bg):this._config.colors.background},v.prototype._getForegroundColor=function(e){return e.fg===h.INVERTED_DEFAULT_COLOR?u.color.opaque(this._config.colors.background):e.fg<256?this._getColorFromAnsiIndex(e.fg):this._config.colors.foreground},v.prototype._drawToCache=function(e,t){this._drawToCacheCount++,this._tmpCtx.save();var s=this._getBackgroundColor(e);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=s.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var i=e.bold?this._config.fontWeightBold:this._config.fontWeight,r=e.italic?"italic":"";this._tmpCtx.font=r+" "+i+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(e).css,e.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var n=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),o=!1;this._config.allowTransparency||(o=function(e){for(var t=!0,i=s.rgba>>>24,r=s.rgba>>>16&255,n=s.rgba>>>8&255,o=0;o<e.data.length;o+=4)e.data[o]===i&&e.data[o+1]===r&&e.data[o+2]===n?e.data[o+3]=0:t=!1;return t}(n));var a=this._toCoordinateX(t),c=this._toCoordinateY(t);this._cacheCtx.putImageData(n,a,c);var l={index:t,isEmpty:o,inBitmap:!1};return this._addGlyphToBitmap(l),l},v.prototype._addGlyphToBitmap=function(e){var t=this;"createImageBitmap"in window&&!c.isFirefox&&!c.isSafari&&(this._glyphsWaitingOnBitmap.push(e),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout(function(){return t._generateBitmap()},100)))},v.prototype._generateBitmap=function(){var i=this,r=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(e){i._bitmap=e;for(var t=0;t<r.length;t++)r[t].inBitmap=!0}),this._bitmapCommitTimeout=null},v);function v(e,t){var i=d.call(this)||this;i._config=t,i._drawToCacheCount=0,i._glyphsWaitingOnBitmap=[],i._bitmapCommitTimeout=null,i._bitmap=null,i._cacheCanvas=e.createElement("canvas"),i._cacheCanvas.width=1024,i._cacheCanvas.height=1024,i._cacheCtx=l.throwIfFalsy(i._cacheCanvas.getContext("2d",{alpha:!0}));var r=e.createElement("canvas");r.width=i._config.scaledCharWidth,r.height=i._config.scaledCharHeight,i._tmpCtx=l.throwIfFalsy(r.getContext("2d",{alpha:i._config.allowTransparency})),i._width=Math.floor(1024/i._config.scaledCharWidth),i._height=Math.floor(1024/i._config.scaledCharHeight);var n=i._width*i._height;return i._cacheMap=new a.LRUMap(n),i._cacheMap.prealloc(n),i}t.DynamicCharAtlas=p;var g,y=(g=o.BaseCharAtlas,n(b,g),b.prototype.draw=function(e,t,i,r){return!1},b);function b(e,t){return g.call(this)||this}t.NoneCharAtlas=y},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){},n.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},n.prototype._doWarmUp=function(){},n.prototype.beginFrame=function(){},n);function n(){this._didWarmUp=!1}t.BaseCharAtlas=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.clear=function(){this._color={},this._rgba={}},n.prototype.setCss=function(e,t,i){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=i},n.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},n.prototype.setColor=function(e,t,i){this._color[e]||(this._color[e]={}),this._color[e][t]=i},n.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},n);function n(){this._color={},this._rgba={}}t.ColorContrastCache=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype._unlinkNode=function(e){var t=e.prev,i=e.next;e===this._head&&(this._head=i),e===this._tail&&(this._tail=t),null!==t&&(t.next=i),null!==i&&(i.prev=t)},n.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},n.prototype.prealloc=function(e){for(var t=this._nodePool,i=0;i<e;i++)t.push({prev:null,next:null,key:null,value:null})},n.prototype.get=function(e){var t=this._map[e];return void 0!==t?(this._unlinkNode(t),this._appendNode(t),t.value):null},n.prototype.peekValue=function(e){var t=this._map[e];return void 0!==t?t.value:null},n.prototype.peek=function(){var e=this._head;return null===e?null:e.value},n.prototype.set=function(e,t){var i,r=this._map[e];void 0!==r?(r=this._map[e],this._unlinkNode(r),r.value=t):this.size>=this.capacity?(r=this._head,this._unlinkNode(r),delete this._map[r.key],r.key=e,r.value=t,this._map[e]=r):(0<(i=this._nodePool).length?((r=i.pop()).key=e,r.value=t):r={prev:null,next:null,key:e,value:t},this._map[e]=r,this.size++),this._appendNode(r)},n);function n(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}t.LRUMap=r},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var a,o=(a=i(13).BaseRenderLayer,n(s,a),s.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},s.prototype.resize=function(e){a.prototype.resize.call(this,e),this._clearState()},s.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},s.prototype.onSelectionChanged=function(e,t,i){var r,n,o,s,a,c,l,h,u,f;this._didStateChange(e,t,i,this._bufferService.buffer.ydisp)&&(this._clearAll(),e&&t?(r=e[1]-this._bufferService.buffer.ydisp,n=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),s=Math.min(n,this._bufferService.rows-1),o>=this._bufferService.rows||s<0||(this._ctx.fillStyle=this._colors.selection.css,i?(a=e[0],c=t[0]-a,l=s-o+1,this._fillCells(a,o,c,l)):(a=r===o?e[0]:0,h=o===s?t[0]:this._bufferService.cols,this._fillCells(a,o,h-a,1),u=Math.max(s-o-1,0),this._fillCells(0,o+1,this._bufferService.cols,u),o!==s&&(f=n===s?t[0]:this._bufferService.cols,this._fillCells(0,s,f,1))),this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp)):this._clearState())},s.prototype._didStateChange=function(e,t,i,r){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||i!==this._state.columnSelectMode||r!==this._state.ydisp},s.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},s);function s(e,t,i,r,n,o){var s=a.call(this,e,"selection",t,!0,i,r,n,o)||this;return s.bufferService=n,s.optionsService=o,s._clearState(),s}t.SelectionRenderLayer=o},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var h,o=i(13),u=i(5),s=(h=o.BaseRenderLayer,n(a,h),a.prototype.resize=function(e){h.prototype.resize.call(this,e),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new c(this._coreBrowserService.isFocused,function(){t._render(!0)})):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,i=t-this._bufferService.buffer.ydisp;if(i<0||i>=this._bufferService.rows)this._clearCursor();else if(this._bufferService.buffer.lines.get(t).loadCell(this._bufferService.buffer.x,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var r=this._optionsService.options.cursorStyle;return r&&"block"!==r?this._cursorRenderers[r](this._bufferService.buffer.x,i,this._cell):this._renderBlurCursor(this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=r,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===this._bufferService.buffer.x&&this._state.y===i&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](this._bufferService.buffer.x,i,this._cell),this._ctx.restore(),this._state.x=this._bufferService.buffer.x,this._state.y=i,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}else this._clearCursor()},a.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},a.prototype._renderBarCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,i.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(i,e,t),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(e,t,i){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},a.prototype._renderBlurCursor=function(e,t,i){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,i.getWidth(),1),this._ctx.restore()},a);function a(e,t,i,r,n,o,s,a,c){var l=h.call(this,e,"cursor",t,!0,i,r,o,s)||this;return l._onRequestRefreshRowsEvent=n,l.bufferService=o,l.optionsService=s,l._coreService=a,l._coreBrowserService=c,l._cell=new u.CellData,l._state={x:0,y:0,isFocused:!1,style:"",width:0},l._cursorRenderers={bar:l._renderBarCursor.bind(l),block:l._renderBlockCursor.bind(l),underline:l._renderUnderlineCursor.bind(l)},l}t.CursorRenderLayer=s;var c=(Object.defineProperty(l.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!0,configurable:!0}),l.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){e._renderCallback(),e._animationFrame=void 0})))},l.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=setTimeout(function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,0<e)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0}),t._blinkInterval=setInterval(function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame(function(){t._renderCallback(),t._animationFrame=void 0})},600)},e)},l.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},l.prototype.resume=function(){this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},l);function l(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var c,o=i(13),s=i(9),a=i(24),l=(c=o.BaseRenderLayer,n(h,c),h.prototype.resize=function(e){c.prototype.resize.call(this,e),this._state=void 0},h.prototype.reset=function(){this._clearCurrentLink()},h.prototype._clearCurrentLink=function(){var e;this._state&&(this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1),0<(e=this._state.y2-this._state.y1-1)&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0)},h.prototype._onLinkHover=function(e){if(e.fg===s.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:e.fg&&a.is256Color(e.fg)?this._ctx.fillStyle=this._colors.ansi[e.fg].css:this._ctx.fillStyle=this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e},h.prototype._onLinkLeave=function(e){this._clearCurrentLink()},h);function h(e,t,i,r,n,o,s){var a=c.call(this,e,"link",t,!0,i,r,o,s)||this;return a.bufferService=o,a.optionsService=s,n.onLinkHover(function(e){return a._onLinkHover(e)}),n.onLinkLeave(function(e){return a._onLinkLeave(e)}),a}t.LinkRenderLayer=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=(Object.defineProperty(o.prototype,"onLinkHover",{get:function(){return this._onLinkHover.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onLinkLeave",{get:function(){return this._onLinkLeave.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!0,configurable:!0}),o.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},o.prototype.linkifyRows=function(e,t){var i=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=e,this._rowsToLinkify.end=t):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,e),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,t)),this._mouseZoneManager.clearAll(e,t),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return i._linkifyRows()},o._timeBeforeLatency))},o.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var i=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),n=this._bufferService.buffer.iterator(!1,t,i,r,r);n.hasNext();)for(var o=n.next(),s=0;s<this._linkMatchers.length;s++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[s]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},o.prototype.registerLinkMatcher=function(e,t,i){if(void 0===i&&(i={}),!t)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:e,handler:t,matchIndex:i.matchIndex,validationCallback:i.validationCallback,hoverTooltipCallback:i.tooltipCallback,hoverLeaveCallback:i.leaveCallback,willLinkActivate:i.willLinkActivate,priority:i.priority||0};return this._addLinkMatcherToList(r),r.id},o.prototype._addLinkMatcherToList=function(e){if(0!==this._linkMatchers.length){for(var t=this._linkMatchers.length-1;0<=t;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},o.prototype.deregisterLinkMatcher=function(e){for(var t=0;t<this._linkMatchers.length;t++)if(this._linkMatchers[t].id===e)return this._linkMatchers.splice(t,1),!0;return!1},o.prototype._doLinkifyRow=function(o,s,a){for(var c,l=this,h=new RegExp(a.regex.source,(a.regex.flags||"")+"g"),u=-1,f=this;null!==(c=h.exec(s))&&"break"!==function(){var t=c["number"!=typeof a.matchIndex?0:a.matchIndex];if(!t)return f._logService.debug("match found without corresponding matchIndex",c,a),"break";if(u=s.indexOf(t,u+1),h.lastIndex=u+t.length,u<0)return"break";var i=f._bufferService.buffer.stringIndexToBufferIndex(o,u);if(i[0]<0)return"break";var e=f._bufferService.buffer.lines.get(i[0]);if(!e)return"break";var r=e.getFg(i[1]),n=r?r>>9&511:void 0;a.validationCallback?a.validationCallback(t,function(e){l._rowsTimeoutId||e&&l._addLink(i[1],i[0]-l._bufferService.buffer.ydisp,t,a,n)}):f._addLink(i[1],i[0]-f._bufferService.buffer.ydisp,t,a,n)}(););},o.prototype._addLink=function(e,t,i,r,n){var o,s,a,c,l,h=this;this._mouseZoneManager&&this._element&&(o=this._unicodeService.getStringCellWidth(i),s=e%this._bufferService.cols,a=t+Math.floor(e/this._bufferService.cols),c=(s+o)%this._bufferService.cols,l=a+Math.floor((s+o)/this._bufferService.cols),0===c&&(c=this._bufferService.cols,l--),this._mouseZoneManager.add(new u(1+s,a+1,c+1,l+1,function(e){if(r.handler)return r.handler(e,i);var t=window.open();t?(t.opener=null,t.location.href=i):console.warn("Opening link blocked as opener could not be cleared")},function(){h._onLinkHover.fire(h._createLinkHoverEvent(s,a,c,l,n)),h._element.classList.add("xterm-cursor-pointer")},function(e){h._onLinkTooltip.fire(h._createLinkHoverEvent(s,a,c,l,n)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,i,{start:{x:s,y:a},end:{x:c,y:l}})},function(){h._onLinkLeave.fire(h._createLinkHoverEvent(s,a,c,l,n)),h._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()},function(e){return!r.willLinkActivate||r.willLinkActivate(e,i)})))},o.prototype._createLinkHoverEvent=function(e,t,i,r,n){return{x1:e,y1:t,x2:i,y2:r,cols:this._bufferService.cols,fg:n}},o._timeBeforeLatency=200,o);function o(e,t,i,r){this._bufferService=e,this._logService=t,this._optionsService=i,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onLinkHover=new n.EventEmitter,this._onLinkLeave=new n.EventEmitter,this._onLinkTooltip=new n.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}t.Linkifier=r;var u=function(e,t,i,r,n,o,s,a,c){this.x1=e,this.y1=t,this.x2=i,this.y2=r,this.clickCallback=n,this.hoverCallback=o,this.tooltipCallback=s,this.leaveCallback=a,this.willLinkActivate=c};t.MouseZone=u},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var c=i(11),l=i(51),h=i(5),u=i(1),o=i(4),s=i(0),a=i(28),f=i(52),_=String.fromCharCode(160),d=new RegExp(_,"g"),p=(Object.defineProperty(v.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRedrawRequest",{get:function(){return this._onRedrawRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!0,configurable:!0}),v.prototype.dispose=function(){this._removeMouseDownListeners()},v.prototype.reset=function(){this.clearSelection()},v.prototype.disable=function(){this.clearSelection(),this._enabled=!1},v.prototype.enable=function(){this._enabled=!0},Object.defineProperty(v.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var i=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var n=e[1];n<=t[1];n++){var o=i.translateBufferLineToString(n,!0,e[0],t[0]);r.push(o)}}else{var s=e[1]===t[1]?t[0]:void 0;for(r.push(i.translateBufferLineToString(e[1],!0,e[0],s)),n=e[1]+1;n<=t[1]-1;n++){var a=i.lines.get(n),o=i.translateBufferLineToString(n,!0);a&&a.isWrapped?r[r.length-1]+=o:r.push(o)}e[1]!==t[1]&&(a=i.lines.get(t[1]),o=i.translateBufferLineToString(t[1],!0,0,t[0]),a&&a.isWrapped?r[r.length-1]+=o:r.push(o))}return r.map(function(e){return e.replace(d," ")}).join(c.isWindows?"\r\n":"\n")},enumerable:!0,configurable:!0}),v.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},v.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return t._refresh()})),c.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},v.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},v.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),i=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(i&&r&&t)&&this._areCoordsInSelection(t,i,r)},v.prototype._areCoordsInSelection=function(e,t,i){return e[1]>t[1]&&e[1]<i[1]||t[1]===i[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<i[0]||t[1]<i[1]&&e[1]===i[1]&&e[0]<i[0]||t[1]<i[1]&&e[1]===t[1]&&e[0]>=t[0]},v.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},v.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},v.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},v.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},v.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},v.prototype._getMouseEventScrollAmount=function(e){var t=a.getCoordsRelativeToElement(e,this._screenElement)[1],i=this._bufferService.rows*Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight);return 0<=t&&t<=i?0:(i<t&&(t-=i),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},v.prototype.shouldForceSelection=function(e){return c.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},v.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},v.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return e._dragScroll()},50)},v.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},v.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},v.prototype._onSingleClick=function(e){var t;this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart&&(this._model.selectionEnd=void 0,(t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]))&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++)},v.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},v.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},v.prototype.shouldColumnSelect=function(e){return e.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},v.prototype._onMouseMove=function(e){var t,i,r;e.stopImmediatePropagation(),this._model.selectionStart&&(t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null,this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd?(2===this._activeSelectionMode?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(0<this._dragScrollAmount?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0)),i=this._bufferService.buffer,this._model.selectionEnd[1]<i.lines.length&&((r=i.lines.get(this._model.selectionEnd[1]))&&0===r.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++),t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)):this.refresh(!0))},v.prototype._dragScroll=function(){var e;this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount&&(this._scrollLines(this._dragScrollAmount,!1),e=this._bufferService.buffer,0<this._dragScrollAmount?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh())},v.prototype._onMouseUp=function(e){var t,i,r=e.timeStamp-this._mouseDownTimeStamp;this._removeMouseDownListeners(),this.selectionText.length<=1&&r<500?!e.altKey||this._bufferService.buffer.ybase!==this._bufferService.buffer.ydisp||(t=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1))&&void 0!==t[0]&&void 0!==t[1]&&(i=f.moveToCellSequence(t[0]-1,t[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys),this._coreService.triggerDataEvent(i,!0)):this.hasSelection&&this._onSelectionChange.fire()},v.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim(function(e){return t._onTrim(e)})},v.prototype._convertViewportColToCharacterIndex=function(e,t){for(var i=t[0],r=0;t[0]>=r;r++){var n=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?i--:1<n&&t[0]!==r&&(i+=n-1)}return i},v.prototype.setSelection=function(e,t,i){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=i,this.refresh()},v.prototype._getWordAt=function(e,t,i,r){if(void 0===i&&(i=!0),void 0===r&&(r=!0),!(e[0]>=this._bufferService.cols)){var n=this._bufferService.buffer,o=n.lines.get(e[1]);if(o){var s=n.translateBufferLineToString(e[1],!1),a=this._convertViewportColToCharacterIndex(o,e),c=a,l=e[0]-a,h=0,u=0,f=0,_=0;if(" "===s.charAt(a)){for(;0<a&&" "===s.charAt(a-1);)a--;for(;c<s.length&&" "===s.charAt(c+1);)c++}else{var d=e[0],p=e[0];0===o.getWidth(d)&&(h++,d--),2===o.getWidth(p)&&(u++,p++);var v=o.getString(p).length;for(1<v&&(_+=v-1,c+=v-1);0<d&&0<a&&!this._isCharWordSeparator(o.loadCell(d-1,this._workCell));){o.loadCell(d-1,this._workCell);var g=this._workCell.getChars().length;0===this._workCell.getWidth()?(h++,d--):1<g&&(f+=g-1,a-=g-1),a--,d--}for(;p<o.length&&c+1<s.length&&!this._isCharWordSeparator(o.loadCell(p+1,this._workCell));){o.loadCell(p+1,this._workCell);var y=this._workCell.getChars().length;2===this._workCell.getWidth()?(u++,p++):1<y&&(_+=y-1,c+=y-1),c++,p++}}c++;var b,m,S,C,w,E=a+l-h+f,L=Math.min(this._bufferService.cols,c-a+h+u-f-_);if(t||""!==s.slice(a,c).trim())return!i||0!==E||32===o.getCodePoint(0)||(b=n.lines.get(e[1]-1))&&o.isWrapped&&32!==b.getCodePoint(this._bufferService.cols-1)&&((m=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1))&&(E-=S=this._bufferService.cols-m.start,L+=S)),!r||E+L!==this._bufferService.cols||32===o.getCodePoint(this._bufferService.cols-1)||(C=n.lines.get(e[1]+1))&&C.isWrapped&&32!==C.getCodePoint(0)&&((w=this._getWordAt([0,e[1]+1],!1,!1,!0))&&(L+=w.length)),{start:E,length:L}}}},v.prototype._selectWordAt=function(e,t){var i=this._getWordAt(e,t);if(i){for(;i.start<0;)i.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[i.start,e[1]],this._model.selectionStartLength=i.length}},v.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var i=e[1];t.start<0;)t.start+=this._bufferService.cols,i--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,i++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,i]}},v.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&0<=this._optionsService.options.wordSeparator.indexOf(e.getChars())},v.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},r([n(3,o.ICharSizeService),n(4,s.IBufferService),n(5,s.ICoreService),n(6,o.IMouseService),n(7,s.IOptionsService)],v));function v(e,t,i,r,n,o,s,a){var c=this;this._scrollLines=e,this._element=t,this._screenElement=i,this._charSizeService=r,this._bufferService=n,this._coreService=o,this._mouseService=s,this._optionsService=a,this._dragScrollAmount=0,this._enabled=!0,this._workCell=new h.CellData,this._mouseDownTimeStamp=0,this._onLinuxMouseSelection=new u.EventEmitter,this._onRedrawRequest=new u.EventEmitter,this._onSelectionChange=new u.EventEmitter,this._mouseMoveListener=function(e){return c._onMouseMove(e)},this._mouseUpListener=function(e){return c._onMouseUp(e)},this._coreService.onUserInput(function(){c.hasSelection&&c.clearSelection()}),this._trimListener=this._bufferService.buffer.lines.onTrim(function(e){return c._onTrim(e)}),this._bufferService.buffers.onBufferActivate(function(e){return c._onBufferActivate(e)}),this.enable(),this._model=new l.SelectionModel(this._bufferService),this._activeSelectionMode=0}t.SelectionService=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(n.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(this.selectionEnd&&!this.areSelectionValuesReversed())return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd;var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}},enumerable:!0,configurable:!0}),n.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},n.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},n);function n(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}t.SelectionModel=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(12);function x(e,t,i,r){var n=e-k(i,e),o=t-k(i,t);return O(Math.abs(n-o)-function(e,t,i){for(var r=0,n=e-k(i,e),o=t-k(i,t),s=0;s<Math.abs(n-o);s++){var a="A"===l(e,t)?-1:1,c=i.buffer.lines.get(n+a*s);c&&c.isWrapped&&r++}return r}(e,t,i),T(l(e,t),r))}function k(e,t){for(var i=0,r=e.buffer.lines.get(t),n=r&&r.isWrapped;n&&0<=t&&t<e.rows;)i++,n=(r=e.buffer.lines.get(--t))&&r.isWrapped;return i}function l(e,t){return t<e?"A":"B"}function D(e,t,i,r,n,o){for(var s=e,a=t,c="";s!==i||a!==r;)s+=n?1:-1,n&&s>o.cols-1?(c+=o.buffer.translateBufferLineToString(a,!1,e,s),e=s=0,a++):!n&&s<0&&(c+=o.buffer.translateBufferLineToString(a,!1,0,e+1),e=s=o.cols-1,a--);return c+o.buffer.translateBufferLineToString(a,!1,e,s)}function T(e,t){var i=t?"O":"[";return r.C0.ESC+i+e}function O(e,t){e=Math.floor(e);for(var i="",r=0;r<e;r++)i+=t;return i}t.moveToCellSequence=function(e,t,i,r){var n,o,s,a,c,l,h,u,f,_,d,p,v,g,y,b,m,S,C,w,E=i.buffer.x,L=i.buffer.y;if(!i.buffer.hasScrollback)return m=E,(0===x(S=L,t,C=i,w=r).length?"":O(D(m,S,m,S-k(C,S),!1,C).length,T("D",w)))+x(L,t,i,r)+(o=E,a=e,g=0<x(s=L,c=t,l=i,h=r).length?c-k(l,c):s,u=o,f=s,v=0<x(_=a,d=y=c,p=l,h).length?d-k(p,d):f,O(D(o,g,a,y,"C"==(b=u<_&&v<=d||_<=u&&v<d?"C":"D"),l).length,T(b,h)));if(L===t)return n=e<E?"D":"C",O(Math.abs(E-e),T(n,r));n=t<L?"D":"C";var A,R=Math.abs(L-t);return O((A=t<L?e:E,i.cols-A+(R-1)*i.cols+1+((t<L?E:e)-1)),T(n,r))}},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=(Object.defineProperty(a,"audioContext",{get:function(){if(!a._audioContext){var e=window.AudioContext||window.webkitAudioContext;if(!e)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;a._audioContext=new e}return a._audioContext},enumerable:!0,configurable:!0}),a.prototype.playBellSound=function(){var t,i=a.audioContext;i&&(t=i.createBufferSource(),i.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(e){t.buffer=e,t.connect(i.destination),t.start(0)}))},a.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),i=t.length,r=new Uint8Array(i),n=0;n<i;n++)r[n]=t.charCodeAt(n);return r.buffer},a.prototype._removeMimeType=function(e){return e.split(",")[1]},a=r([n(0,o.IOptionsService)],a));function a(e){this._optionsService=e}t.SoundService=s},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var a,c=i(2),l=i(8),h=i(4),u=i(0),f=(a=c.Disposable,n(_,a),_.prototype.dispose=function(){a.prototype.dispose.call(this),this._deactivate()},_.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},_.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var i=0;i<this._zones.length;i++){var r=this._zones[i];(r.y1>e&&r.y1<=t+1||r.y2>e&&r.y2<=t+1||r.y1<e&&r.y2>t+1)&&(this._currentZone&&this._currentZone===r&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(i--,1))}0===this._zones.length&&this._deactivate()}},_.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},_.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},_.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},_.prototype._onHover=function(e){var t=this,i=this._findZoneEventAt(e);i!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),i&&((this._currentZone=i).hoverCallback&&i.hoverCallback(e),this._tooltipTimeout=setTimeout(function(){return t._onTooltip(e)},500)))},_.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},_.prototype._onMouseDown=function(e){var t;this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive&&null!==(t=this._findZoneEventAt(e))&&void 0!==t&&t.willLinkActivate(e)&&(e.preventDefault(),e.stopImmediatePropagation())},_.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},_.prototype._onClick=function(e){var t=this._findZoneEventAt(e),i=this._getSelectionLength();t&&i===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},_.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},_.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var i=t[0],r=t[1],n=0;n<this._zones.length;n++){var o=this._zones[n];if(o.y1===o.y2){if(r===o.y1&&i>=o.x1&&i<o.x2)return o}else if(r===o.y1&&i>=o.x1||r===o.y2&&i<o.x2||r>o.y1&&r<o.y2)return o}},o([s(2,u.IBufferService),s(3,h.IMouseService),s(4,h.ISelectionService)],_));function _(e,t,i,r,n){var o=a.call(this)||this;return o._element=e,o._screenElement=t,o._bufferService=i,o._mouseService=r,o._selectionService=n,o._zones=[],o._areZonesActive=!1,o._lastHoverCoords=[void 0,void 0],o._initialSelectionLength=0,o.register(l.addDisposableDomListener(o._element,"mousedown",function(e){return o._onMouseDown(e)})),o._mouseMoveListener=function(e){return o._onMouseMove(e)},o._mouseLeaveListener=function(e){return o._onMouseLeave(e)},o._clickListener=function(e){return o._onClick(e)},o}t.MouseZoneManager=f},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(17),a=i(11),c=i(29),l=i(8),h=i(2),u=i(30),f=(o=h.Disposable,n(_,o),_.prototype.dispose=function(){o.prototype.dispose.call(this),this._terminal.element.removeChild(this._accessibilityTreeRoot),this._rowElements.length=0},_.prototype._onBoundaryFocus=function(e,t){var i,r,n,o=e.target,s=this._rowElements[0===t?1:this._rowElements.length-2];o.getAttribute("aria-posinset")!==(0===t?"1":""+this._terminal.buffer.lines.length)&&e.relatedTarget===s&&(0===t?(i=o,r=this._rowElements.pop(),this._rowContainer.removeChild(r)):(i=this._rowElements.shift(),r=o,this._rowContainer.removeChild(i)),i.removeEventListener("focus",this._topBoundaryFocusListener),r.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t?(n=this._createAccessibilityTreeNode(),this._rowElements.unshift(n),this._rowContainer.insertAdjacentElement("afterbegin",n)):(n=this._createAccessibilityTreeNode(),this._rowElements.push(n),this._rowContainer.appendChild(n)),this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation())},_.prototype._onResize=function(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var t=this._rowContainer.children.length;t<this._terminal.rows;t++)this._rowElements[t]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[t]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},_.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},_.prototype._onTab=function(e){for(var t=0;t<e;t++)this._onChar(" ")},_.prototype._onChar=function(e){var t=this;this._liveRegionLineCount<21&&(0<this._charsToConsume.length&&this._charsToConsume.shift()===e||(this._charsToAnnounce+=e),"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=s.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&0<this._liveRegion.textContent.length&&!this._liveRegion.parentNode&&setTimeout(function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)},0))},_.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&this._liveRegion.parentNode&&this._accessibilityTreeRoot.removeChild(this._liveRegion)},_.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},_.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},_.prototype._renderRows=function(e,t){for(var i=this._terminal.buffer,r=i.lines.length.toString(),n=e;n<=t;n++){var o=i.translateBufferLineToString(i.ydisp+n,!0),s=(i.ydisp+n+1).toString(),a=this._rowElements[n];a&&(0===o.length?a.innerHTML=" ":a.textContent=o,a.setAttribute("aria-posinset",s),a.setAttribute("aria-setsize",r))}this._announceCharacters()},_.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}},_.prototype._refreshRowDimensions=function(e){e.style.height=this._renderService.dimensions.actualCellHeight+"px"},_.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},_);function _(e,t){var i=o.call(this)||this;i._terminal=e,i._renderService=t,i._liveRegionLineCount=0,i._charsToConsume=[],i._charsToAnnounce="",i._accessibilityTreeRoot=document.createElement("div"),i._accessibilityTreeRoot.classList.add("xterm-accessibility"),i._rowContainer=document.createElement("div"),i._rowContainer.classList.add("xterm-accessibility-tree"),i._rowElements=[];for(var r=0;r<i._terminal.rows;r++)i._rowElements[r]=i._createAccessibilityTreeNode(),i._rowContainer.appendChild(i._rowElements[r]);return i._topBoundaryFocusListener=function(e){return i._onBoundaryFocus(e,0)},i._bottomBoundaryFocusListener=function(e){return i._onBoundaryFocus(e,1)},i._rowElements[0].addEventListener("focus",i._topBoundaryFocusListener),i._rowElements[i._rowElements.length-1].addEventListener("focus",i._bottomBoundaryFocusListener),i._refreshRowsDimensions(),i._accessibilityTreeRoot.appendChild(i._rowContainer),i._renderRowsDebouncer=new c.RenderDebouncer(i._renderRows.bind(i)),i._refreshRows(),i._liveRegion=document.createElement("div"),i._liveRegion.classList.add("live-region"),i._liveRegion.setAttribute("aria-live","assertive"),i._accessibilityTreeRoot.appendChild(i._liveRegion),i._terminal.element.insertAdjacentElement("afterbegin",i._accessibilityTreeRoot),i.register(i._renderRowsDebouncer),i.register(i._terminal.onResize(function(e){return i._onResize(e.rows)})),i.register(i._terminal.onRender(function(e){return i._refreshRows(e.start,e.end)})),i.register(i._terminal.onScroll(function(){return i._refreshRows()})),i.register(i._terminal.onA11yChar(function(e){return i._onChar(e)})),i.register(i._terminal.onLineFeed(function(){return i._onChar("\n")})),i.register(i._terminal.onA11yTab(function(e){return i._onTab(e)})),i.register(i._terminal.onKey(function(e){return i._onKey(e.key)})),i.register(i._terminal.onBlur(function(){return i._clearLiveRegion()})),i.register(i._renderService.onDimensionsChange(function(){return i._refreshRowsDimensions()})),i._screenDprMonitor=new u.ScreenDprMonitor,i.register(i._screenDprMonitor),i._screenDprMonitor.setListener(function(){return i._refreshRowsDimensions()}),i.register(l.addDisposableDomListener(window,"resize",function(){return i._refreshRowsDimensions()})),i}t.AccessibilityManager=f},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var l,h=i(57),a=i(9),c=i(2),u=i(4),f=i(0),_=i(1),d=i(10),p="xterm-dom-renderer-owner-",v="xterm-rows",g="xterm-selection",y=1,b=(l=c.Disposable,n(m,l),Object.defineProperty(m.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!0,configurable:!0}),m.prototype.dispose=function(){this._element.classList.remove(p+this._terminalClass),this._screenElement.removeChild(this._rowContainer),this._screenElement.removeChild(this._selectionContainer),this._screenElement.removeChild(this._themeStyleElement),this._screenElement.removeChild(this._dimensionsStyleElement),l.prototype.dispose.call(this)},m.prototype._updateDimensions=function(){var t=this;this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this._rowElements.forEach(function(e){e.style.width=t.dimensions.canvasWidth+"px",e.style.height=t.dimensions.actualCellHeight+"px",e.style.lineHeight=t.dimensions.actualCellHeight+"px",e.style.overflow="hidden"}),this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var e=this._terminalSelector+" ."+v+" span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=e,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},m.prototype.setColors=function(e){this._colors=e,this._injectCss()},m.prototype._injectCss=function(){var i=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var r=this._terminalSelector+" ."+v+" { color: "+this._colors.foreground.css+"; background-color: "+this._colors.background.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";r+=this._terminalSelector+" span:not(."+h.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+h.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+h.ITALIC_CLASS+" { font-style: italic;}",r+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",r+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",r+=this._terminalSelector+" ."+v+":not(.xterm-focus) ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+":not(."+h.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" ."+v+".xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" ."+v+" ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" ."+v+" ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",r+=this._terminalSelector+" ."+g+" { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" ."+g+" div { position: absolute; background-color: "+this._colors.selection.css+";}",this._colors.ansi.forEach(function(e,t){r+=i._terminalSelector+" .xterm-fg-"+t+" { color: "+e.css+"; }"+i._terminalSelector+" .xterm-bg-"+t+" { background-color: "+e.css+"; }"}),r+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+d.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=r},m.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},m.prototype._refreshRowElements=function(e,t){for(var i=this._rowElements.length;i<=t;i++){var r=document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},m.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},m.prototype.onCharSizeChanged=function(){this._updateDimensions()},m.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},m.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},m.prototype.onSelectionChanged=function(e,t,i){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);var r,n,o,s,a,c,l,h,u;e&&t&&(r=e[1]-this._bufferService.buffer.ydisp,n=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),s=Math.min(n,this._bufferService.rows-1),o>=this._bufferService.rows||s<0||(a=document.createDocumentFragment(),i?a.appendChild(this._createSelectionElement(o,e[0],t[0],s-o+1)):(c=r===o?e[0]:0,l=o===s?t[0]:this._bufferService.cols,a.appendChild(this._createSelectionElement(o,c,l)),h=s-o-1,a.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,h)),o!==s&&(u=n===s?t[0]:this._bufferService.cols,a.appendChild(this._createSelectionElement(s,0,u)))),this._selectionContainer.appendChild(a)))},m.prototype._createSelectionElement=function(e,t,i,r){void 0===r&&(r=1);var n=document.createElement("div");return n.style.height=r*this.dimensions.actualCellHeight+"px",n.style.top=e*this.dimensions.actualCellHeight+"px",n.style.left=t*this.dimensions.actualCellWidth+"px",n.style.width=this.dimensions.actualCellWidth*(i-t)+"px",n},m.prototype.onCursorMove=function(){},m.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},m.prototype.clear=function(){this._rowElements.forEach(function(e){return e.innerHTML=""})},m.prototype.renderRows=function(e,t){for(var i=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=this._bufferService.buffer.x,n=this._optionsService.options.cursorBlink,o=e;o<=t;o++){var s=this._rowElements[o];s.innerHTML="";var a=o+this._bufferService.buffer.ydisp,c=this._bufferService.buffer.lines.get(a),l=this._optionsService.options.cursorStyle;s.appendChild(this._rowFactory.createRow(c,a===i,l,r,n,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(m.prototype,"_terminalSelector",{get:function(){return"."+p+this._terminalClass},enumerable:!0,configurable:!0}),m.prototype.registerCharacterJoiner=function(e){return-1},m.prototype.deregisterCharacterJoiner=function(e){return!1},m.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},m.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},m.prototype._setCellUnderline=function(e,t,i,r,n,o){for(;e!==t||i!==r;){var s=this._rowElements[i];if(!s)return;var a=s.children[e];a&&(a.style.textDecoration=o?"underline":"none"),++e>=n&&(e=0,i++)}},o([s(5,u.ICharSizeService),s(6,f.IOptionsService),s(7,f.IBufferService)],m));function m(e,t,i,r,n,o,s,a){var c=l.call(this)||this;return c._colors=e,c._element=t,c._screenElement=i,c._viewportElement=r,c._linkifier=n,c._charSizeService=o,c._optionsService=s,c._bufferService=a,c._terminalClass=y++,c._rowElements=[],c._onRequestRefreshRows=new _.EventEmitter,c._rowContainer=document.createElement("div"),c._rowContainer.classList.add(v),c._rowContainer.style.lineHeight="normal",c._rowContainer.setAttribute("aria-hidden","true"),c._refreshRowElements(c._bufferService.cols,c._bufferService.rows),c._selectionContainer=document.createElement("div"),c._selectionContainer.classList.add(g),c._selectionContainer.setAttribute("aria-hidden","true"),c.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},c._updateDimensions(),c._injectCss(),c._rowFactory=new h.DomRendererRowFactory(document,c._optionsService,c._colors),c._element.classList.add(p+c._terminalClass),c._screenElement.appendChild(c._rowContainer),c._screenElement.appendChild(c._selectionContainer),c._linkifier.onLinkHover(function(e){return c._onLinkHover(e)}),c._linkifier.onLinkLeave(function(e){return c._onLinkLeave(e)}),c}t.DomRenderer=b},function(e,m,t){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var S=t(9),C=t(3),r=t(5),w=t(10);m.BOLD_CLASS="xterm-bold",m.DIM_CLASS="xterm-dim",m.ITALIC_CLASS="xterm-italic",m.UNDERLINE_CLASS="xterm-underline",m.CURSOR_CLASS="xterm-cursor",m.CURSOR_BLINK_CLASS="xterm-cursor-blink",m.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",m.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",m.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var i=(n.prototype.setColors=function(e){this._colors=e},n.prototype.createRow=function(e,t,i,r,n,o,s){for(var a=this._document.createDocumentFragment(),c=0,l=Math.min(e.length,s)-1;0<=l;l--)if(e.loadCell(l,this._workCell).getCode()!==C.NULL_CELL_CODE||t&&l===r){c=l+1;break}for(l=0;l<c;l++){e.loadCell(l,this._workCell);var h=this._workCell.getWidth();if(0!==h){var u=this._document.createElement("span");if(1<h&&(u.style.width=o*h+"px"),t&&l===r)switch(u.classList.add(m.CURSOR_CLASS),n&&u.classList.add(m.CURSOR_BLINK_CLASS),i){case"bar":u.classList.add(m.CURSOR_STYLE_BAR_CLASS);break;case"underline":u.classList.add(m.CURSOR_STYLE_UNDERLINE_CLASS);break;default:u.classList.add(m.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&u.classList.add(m.BOLD_CLASS),this._workCell.isItalic()&&u.classList.add(m.ITALIC_CLASS),this._workCell.isDim()&&u.classList.add(m.DIM_CLASS),this._workCell.isUnderline()&&u.classList.add(m.UNDERLINE_CLASS),this._workCell.isInvisible()?u.textContent=C.WHITESPACE_CELL_CHAR:u.textContent=this._workCell.getChars()||C.WHITESPACE_CELL_CHAR;var f,_,d=this._workCell.getFgColor(),p=this._workCell.getFgColorMode(),v=this._workCell.getBgColor(),g=this._workCell.getBgColorMode(),y=!!this._workCell.isInverse();switch(y&&(f=d,d=v,v=f,_=p,p=g,g=_),p){case 16777216:case 33554432:this._workCell.isBold()&&d<8&&this._optionsService.options.drawBoldTextInBrightColors&&(d+=8),this._applyMinimumContrast(u,this._colors.background,this._colors.ansi[d])||u.classList.add("xterm-fg-"+d);break;case 50331648:var b=w.rgba.toColor(d>>16&255,d>>8&255,255&d);this._applyMinimumContrast(u,this._colors.background,b)||this._addStyle(u,"color:#"+E(d.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(u,this._colors.background,this._colors.foreground)||y&&u.classList.add("xterm-fg-"+S.INVERTED_DEFAULT_COLOR)}switch(g){case 16777216:case 33554432:u.classList.add("xterm-bg-"+v);break;case 50331648:this._addStyle(u,"background-color:#"+E(v.toString(16),"0",6));break;case 0:default:y&&u.classList.add("xterm-bg-"+S.INVERTED_DEFAULT_COLOR)}a.appendChild(u)}}return a},n.prototype._applyMinimumContrast=function(e,t,i){if(1===this._optionsService.options.minimumContrastRatio)return!1;var r=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===r&&(r=w.color.ensureContrastRatio(t,i,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=r?r:null)),!!r&&(this._addStyle(e,"color:"+r.css),!0)},n.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},n);function n(e,t,i){this._document=e,this._optionsService=t,this._colors=i,this._workCell=new r.CellData}function E(e,t,i){for(;e.length<i;)e=t+e;return e}m.DomRendererRowFactory=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i(12),h={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,i,r){var n,o,s,a={type:0,cancel:!1,key:void 0},c=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?l.C0.ESC+"OA":l.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?l.C0.ESC+"OD":l.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?l.C0.ESC+"OC":l.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?l.C0.ESC+"OB":l.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=l.C0.BS;break}if(e.altKey){a.key=l.C0.ESC+l.C0.DEL;break}a.key=l.C0.DEL;break;case 9:if(e.shiftKey){a.key=l.C0.ESC+"[Z";break}a.key=l.C0.HT,a.cancel=!0;break;case 13:a.key=l.C0.CR,a.cancel=!0;break;case 27:a.key=l.C0.ESC,a.cancel=!0;break;case 37:if(e.metaKey)break;c?(a.key=l.C0.ESC+"[1;"+(1+c)+"D",a.key===l.C0.ESC+"[1;3D"&&(a.key=l.C0.ESC+(i?"b":"[1;5D"))):a.key=t?l.C0.ESC+"OD":l.C0.ESC+"[D";break;case 39:if(e.metaKey)break;c?(a.key=l.C0.ESC+"[1;"+(1+c)+"C",a.key===l.C0.ESC+"[1;3C"&&(a.key=l.C0.ESC+(i?"f":"[1;5C"))):a.key=t?l.C0.ESC+"OC":l.C0.ESC+"[C";break;case 38:if(e.metaKey)break;c?(a.key=l.C0.ESC+"[1;"+(1+c)+"A",i||a.key!==l.C0.ESC+"[1;3A"||(a.key=l.C0.ESC+"[1;5A")):a.key=t?l.C0.ESC+"OA":l.C0.ESC+"[A";break;case 40:if(e.metaKey)break;c?(a.key=l.C0.ESC+"[1;"+(1+c)+"B",i||a.key!==l.C0.ESC+"[1;3B"||(a.key=l.C0.ESC+"[1;5B")):a.key=t?l.C0.ESC+"OB":l.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=l.C0.ESC+"[2~");break;case 46:a.key=c?l.C0.ESC+"[3;"+(1+c)+"~":l.C0.ESC+"[3~";break;case 36:a.key=c?l.C0.ESC+"[1;"+(1+c)+"H":t?l.C0.ESC+"OH":l.C0.ESC+"[H";break;case 35:a.key=c?l.C0.ESC+"[1;"+(1+c)+"F":t?l.C0.ESC+"OF":l.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:a.key=l.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:a.key=l.C0.ESC+"[6~";break;case 112:a.key=c?l.C0.ESC+"[1;"+(1+c)+"P":l.C0.ESC+"OP";break;case 113:a.key=c?l.C0.ESC+"[1;"+(1+c)+"Q":l.C0.ESC+"OQ";break;case 114:a.key=c?l.C0.ESC+"[1;"+(1+c)+"R":l.C0.ESC+"OR";break;case 115:a.key=c?l.C0.ESC+"[1;"+(1+c)+"S":l.C0.ESC+"OS";break;case 116:a.key=c?l.C0.ESC+"[15;"+(1+c)+"~":l.C0.ESC+"[15~";break;case 117:a.key=c?l.C0.ESC+"[17;"+(1+c)+"~":l.C0.ESC+"[17~";break;case 118:a.key=c?l.C0.ESC+"[18;"+(1+c)+"~":l.C0.ESC+"[18~";break;case 119:a.key=c?l.C0.ESC+"[19;"+(1+c)+"~":l.C0.ESC+"[19~";break;case 120:a.key=c?l.C0.ESC+"[20;"+(1+c)+"~":l.C0.ESC+"[20~";break;case 121:a.key=c?l.C0.ESC+"[21;"+(1+c)+"~":l.C0.ESC+"[21~";break;case 122:a.key=c?l.C0.ESC+"[23;"+(1+c)+"~":l.C0.ESC+"[23~";break;case 123:a.key=c?l.C0.ESC+"[24;"+(1+c)+"~":l.C0.ESC+"[24~";break;default:!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?i&&!r||!e.altKey||e.metaKey?i&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(a.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&48<=e.keyCode&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(a.key=l.C0.US):(o=(n=h[e.keyCode])&&n[e.shiftKey?1:0])?a.key=l.C0.ESC+o:65<=e.keyCode&&e.keyCode<=90&&(s=e.ctrlKey?e.keyCode-64:e.keyCode+32,a.key=l.C0.ESC+String.fromCharCode(s)):65<=e.keyCode&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=l.C0.NUL:51<=e.keyCode&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=l.C0.DEL:219===e.keyCode?a.key=l.C0.ESC:220===e.keyCode?a.key=l.C0.FS:221===e.keyCode&&(a.key=l.C0.GS)}return a}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.updateWindowsModeWrappedState=function(e){var t,i=null===(t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1))||void 0===t?void 0:t.get(e.cols-1),r=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);r&&i&&(r.isWrapped=i[n.CHAR_DATA_CODE_INDEX]!==n.NULL_CELL_CODE&&i[n.CHAR_DATA_CODE_INDEX]!==n.WHITESPACE_CELL_CODE)}},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var a,c=i(29),l=i(1),h=i(2),u=i(30),f=i(8),_=i(0),d=i(4),p=(a=h.Disposable,n(v,a),Object.defineProperty(v.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!0,configurable:!0}),v.prototype._onIntersectionChange=function(e){this._isPaused=0===e.intersectionRatio,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},v.prototype.refreshRows=function(e,t){this._isPaused?this._needsFullRefresh=!0:this._renderDebouncer.refresh(e,t,this._rowCount)},v.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._onRender.fire({start:e,end:t})},v.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},v.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},v.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},v.prototype.dispose=function(){this._renderer.dispose(),a.prototype.dispose.call(this)},v.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRefreshRows(function(e){return t.refreshRows(e.start,e.end)}),this.refreshRows(0,this._rowCount-1)},v.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},v.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},v.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},v.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},v.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},v.prototype.onBlur=function(){this._renderer.onBlur()},v.prototype.onFocus=function(){this._renderer.onFocus()},v.prototype.onSelectionChanged=function(e,t,i){this._renderer.onSelectionChanged(e,t,i)},v.prototype.onCursorMove=function(){this._renderer.onCursorMove()},v.prototype.clear=function(){this._renderer.clear()},v.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},v.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},o([s(3,_.IOptionsService),s(4,d.ICharSizeService)],v));function v(e,t,i,r,n){var o,s=a.call(this)||this;return s._renderer=e,s._rowCount=t,s.screenElement=i,s.optionsService=r,s.charSizeService=n,s._isPaused=!1,s._needsFullRefresh=!1,s._canvasWidth=0,s._canvasHeight=0,s._onDimensionsChange=new l.EventEmitter,s._onRender=new l.EventEmitter,s._onRefreshRequest=new l.EventEmitter,s._renderDebouncer=new c.RenderDebouncer(function(e,t){return s._renderRows(e,t)}),s.register(s._renderDebouncer),s._screenDprMonitor=new u.ScreenDprMonitor,s._screenDprMonitor.setListener(function(){return s.onDevicePixelRatioChange()}),s.register(s._screenDprMonitor),s.register(r.onOptionChange(function(){return s._renderer.onOptionsChanged()})),s.register(n.onCharSizeChange(function(){return s.onCharSizeChanged()})),s._renderer.onRequestRefreshRows(function(e){return s.refreshRows(e.start,e.end)}),s.register(f.addDisposableDomListener(window,"resize",function(){return s.onDevicePixelRatioChange()})),"IntersectionObserver"in window&&((o=new IntersectionObserver(function(e){return s._onIntersectionChange(e[e.length-1])},{threshold:0})).observe(i),s.register({dispose:function(){return o.disconnect()}})),s}t.RenderService=p},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(1),i=t(11),s=t(31);n.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",n.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:n.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:i.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var r=["cols","rows"],a=(Object.defineProperty(c.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!0,configurable:!0}),c.prototype.setOption=function(e,t){if(!(e in n.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==r.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==t&&(t=this._sanitizeAndValidateOption(e,t),this.options[e]!==t&&(this.options[e]=t,this._onOptionChange.fire(e)))},c.prototype._sanitizeAndValidateOption=function(e,t){switch(e){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":t=t||n.DEFAULT_OPTIONS[e];break;case"cursorWidth":t=Math.floor(t);case"lineHeight":case"tabStopWidth":if(t<1)throw new Error(e+" cannot be less than 1, value: "+t);break;case"minimumContrastRatio":t=Math.max(1,Math.min(21,Math.round(10*t)/10));break;case"scrollback":if((t=Math.min(t,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+t);break;case"fastScrollSensitivity":case"scrollSensitivity":if(t<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+t)}return t},c.prototype.getOption=function(e){if(!(e in n.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},c);function c(i){var r=this;this._onOptionChange=new o.EventEmitter,this.options=s.clone(n.DEFAULT_OPTIONS),Object.keys(i).forEach(function(e){var t;e in r.options&&(t=i[e],r.options[e]=t)})}n.OptionsService=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a=(Object.defineProperty(c.prototype,"hasValidSize",{get:function(){return 0<this.width&&0<this.height},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!0,configurable:!0}),c.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},r([n(2,o.IOptionsService)],c));function c(e,t,i){this.document=e,this.parentElement=t,this._optionsService=i,this.width=0,this.height=0,this._onCharSizeChange=new s.EventEmitter,this._measureStrategy=new l(e,t,this._optionsService)}t.CharSizeService=a;var l=(h.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},h);function h(e,t,i){this._document=e,this._parentElement=t,this._optionsService=i,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(64);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var a=(Object.defineProperty(c.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!0,configurable:!0}),c.prototype.resize=function(e,t){this.cols=e,this.rows=t},c.prototype.reset=function(){this.buffers=new s.BufferSet(this._optionsService,this)},r([n(0,o.IOptionsService)],c));function c(e){this._optionsService=e,this.cols=Math.max(e.options.cols,t.MINIMUM_COLS),this.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),this.buffers=new s.BufferSet(e,this)}t.BufferService=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(65),n=i(1),o=(Object.defineProperty(s.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"alt",{get:function(){return this._alt},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"normal",{get:function(){return this._normal},enumerable:!0,configurable:!0}),s.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},s.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},s.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},s.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},s);function s(e,t){this.optionsService=e,this.bufferService=t,this._onBufferActivate=new n.EventEmitter,this._normal=new r.Buffer(!0,e,t),this._normal.fillViewportRows(),this._alt=new r.Buffer(!1,e,t),this._activeBuffer=this._normal,this.setupTabStops()}t.BufferSet=o},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r=t(66),M=t(16),n=t(5),s=t(3),P=t(67),o=t(68),a=t(18);i.MAX_BUFFER_SIZE=4294967295;var c=(l.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg):(this._nullCell.fg=0,this._nullCell.bg=0),this._nullCell},l.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0),this._whitespaceCell},l.prototype.getBlankLine=function(e,t){return new M.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return 0<=e&&e<this._rows},enumerable:!0,configurable:!0}),l.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var t=e+this._optionsService.options.scrollback;return t>i.MAX_BUFFER_SIZE?i.MAX_BUFFER_SIZE:t},l.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=M.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(e,t){var i=this.getNullCell(M.DEFAULT_ATTR_DATA),r=this._getCorrectBufferLength(t);if(r>this.lines.maxLength&&(this.lines.maxLength=r),0<this.lines.length){if(this._cols<e)for(var n=0;n<this.lines.length;n++)this.lines.get(n).resize(e,i);var o,s=0;if(this._rows<t)for(var a=this._rows;a<t;a++)this.lines.length<t+this.ybase&&(!this._optionsService.options.windowsMode&&0<this.ybase&&this.lines.length<=this.ybase+this.y+s+1?(this.ybase--,s++,0<this.ydisp&&this.ydisp--):this.lines.push(new M.BufferLine(e,i)));else for(a=this._rows;t<a;a--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));r<this.lines.maxLength&&(0<(o=this.lines.length-r)&&(this.lines.trimStart(o),this.ybase=Math.max(this.ybase-o,0),this.ydisp=Math.max(this.ydisp-o,0),this.savedY=Math.max(this.savedY-o,0)),this.lines.maxLength=r),this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),s&&(this.y+=s),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(n=0;n<this.lines.length;n++)this.lines.get(n).resize(e,i);this._cols=e,this._rows=t},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!0,configurable:!0}),l.prototype._reflow=function(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},l.prototype._reflowLarger=function(e,t){var i,r=P.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(M.DEFAULT_ATTR_DATA));0<r.length&&(i=P.reflowLargerCreateNewLayout(this.lines,r),P.reflowLargerApplyNewLayout(this.lines,i.layout),this._reflowLargerAdjustViewport(e,t,i.countRemoved))},l.prototype._reflowLargerAdjustViewport=function(e,t,i){for(var r=this.getNullCell(M.DEFAULT_ATTR_DATA),n=i;0<n--;)0===this.ybase?(0<this.y&&this.y--,this.lines.length<t&&this.lines.push(new M.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-i,0)},l.prototype._reflowSmaller=function(e,t){for(var i=this.getNullCell(M.DEFAULT_ATTR_DATA),r=[],n=0,o=this.lines.length-1;0<=o;o--){var s=this.lines.get(o);if(!(!s||!s.isWrapped&&s.getTrimmedLength()<=e)){for(var a=[s];s.isWrapped&&0<o;)s=this.lines.get(--o),a.unshift(s);var c=this.ybase+this.y;if(!(o<=c&&c<o+a.length)){for(var l=a[a.length-1].getTrimmedLength(),h=P.reflowSmallerGetNewLineLengths(a,this._cols,e),u=h.length-a.length,f=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+u):Math.max(0,this.lines.length-this.lines.maxLength+u),_=[],d=0;d<u;d++){var p=this.getBlankLine(M.DEFAULT_ATTR_DATA,!0);_.push(p)}0<_.length&&(r.push({start:o+a.length+n,newLines:_}),n+=_.length),a.push.apply(a,_);var v=h.length-1,g=h[v];0===g&&(g=h[--v]);for(var y=a.length-u-1,b=l;0<=y;){var m,S=Math.min(b,g);a[v].copyCellsFrom(a[y],b-S,g-S,S,!0),0==(g-=S)&&(g=h[--v]),0==(b-=S)&&(y--,m=Math.max(y,0),b=P.getWrappedLineTrimmedLength(a,m,this._cols))}for(d=0;d<a.length;d++)h[d]<e&&a[d].setCell(h[d],i);for(var C=u-f;0<C--;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+n)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+u,this.ybase+t-1)}}}if(0<r.length){for(var w=[],E=[],d=0;d<this.lines.length;d++)E.push(this.lines.get(d));var L=this.lines.length,A=L-1,R=0,x=r[R];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+n);var k=0;for(d=Math.min(this.lines.maxLength-1,L+n-1);0<=d;d--)if(x&&x.start>A+k){for(var D=x.newLines.length-1;0<=D;D--)this.lines.set(d--,x.newLines[D]);d++,w.push({index:A+1,amount:x.newLines.length}),k+=x.newLines.length,x=r[++R]}else this.lines.set(d,E[A--]);var T=0;for(d=w.length-1;0<=d;d--)w[d].index+=T,this.lines.onInsertEmitter.fire(w[d]),T+=w[d].amount;var O=Math.max(0,L+n-this.lines.maxLength);0<O&&this.lines.onTrimEmitter.fire(O)}},l.prototype.stringIndexToBufferIndex=function(e,t,i){for(void 0===i&&(i=!1);t;){var r=this.lines.get(e);if(!r)return[-1,-1];for(var n=i?r.getTrimmedLength():r.length,o=0;o<n;++o)if(r.get(o)[s.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[s.CHAR_DATA_CHAR_INDEX].length||1),t<0)return[e,o];e++}return[e,0]},l.prototype.translateBufferLineToString=function(e,t,i,r){void 0===i&&(i=0);var n=this.lines.get(e);return n?n.translateToString(t,i,r):""},l.prototype.getWrappedRangeForLine=function(e){for(var t=e,i=e;0<t&&this.lines.get(t).isWrapped;)t--;for(;i+1<this.lines.length&&this.lines.get(i+1).isWrapped;)i++;return{first:t,last:i}},l.prototype.setupTabStops=function(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},l.prototype.prevStop=function(e){for(null==e&&(e=this.x);!this.tabs[--e]&&0<e;);return e>=this._cols?this._cols-1:e<0?0:e},l.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},l.prototype.addMarker=function(e){var t=this,i=new o.Marker(e);return this.markers.push(i),i.register(this.lines.onTrim(function(e){i.line-=e,i.line<0&&i.dispose()})),i.register(this.lines.onInsert(function(e){i.line>=e.index&&(i.line+=e.amount)})),i.register(this.lines.onDelete(function(e){i.line>=e.index&&i.line<e.index+e.amount&&i.dispose(),i.line>e.index&&(i.line-=e.amount)})),i.register(i.onDispose(function(){return t._removeMarker(i)})),i},l.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},l.prototype.iterator=function(e,t,i,r,n){return new h(this,e,t,i,r,n)},l);function l(e,t,i){this._hasScrollback=e,this._optionsService=t,this._bufferService=i,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=M.DEFAULT_ATTR_DATA.clone(),this.savedCharset=a.DEFAULT_CHARSET,this.markers=[],this._nullCell=n.CellData.fromCharData([0,s.NULL_CELL_CHAR,s.NULL_CELL_WIDTH,s.NULL_CELL_CODE]),this._whitespaceCell=n.CellData.fromCharData([0,s.WHITESPACE_CELL_CHAR,s.WHITESPACE_CELL_WIDTH,s.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}i.Buffer=c;var h=(u.prototype.hasNext=function(){return this._current<this._endIndex},u.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",i=e.first;i<=e.last;++i)t+=this._buffer.translateBufferLineToString(i,this._trimRight);return this._current=e.last+1,{range:e,content:t}},u);function u(e,t,i,r,n,o){void 0===i&&(i=0),void 0===r&&(r=e.lines.length),void 0===n&&(n=0),void 0===o&&(o=0),this._buffer=e,this._trimRight=t,this._startIndex=i,this._endIndex=r,this._startOverscan=n,this._endOverscan=o,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}i.BufferStringIterator=h},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(1),n=(Object.defineProperty(o.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),i=0;i<Math.min(e,this.length);i++)t[i]=this._array[this._getCyclicIndex(i)];this._array=t,this._maxLength=e,this._startIndex=0}},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"length",{get:function(){return this._length},set:function(e){if(e>this._length)for(var t=this._length;t<e;t++)this._array[t]=void 0;this._length=e},enumerable:!0,configurable:!0}),o.prototype.get=function(e){return this._array[this._getCyclicIndex(e)]},o.prototype.set=function(e,t){this._array[this._getCyclicIndex(e)]=t},o.prototype.push=function(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},o.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(o.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!0,configurable:!0}),o.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},o.prototype.splice=function(e,t){for(var i,r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(t){for(var o=e;o<this._length-t;o++)this._array[this._getCyclicIndex(o)]=this._array[this._getCyclicIndex(o+t)];this._length-=t}for(o=this._length-1;e<=o;o--)this._array[this._getCyclicIndex(o+r.length)]=this._array[this._getCyclicIndex(o)];for(o=0;o<r.length;o++)this._array[this._getCyclicIndex(e+o)]=r[o];this._length+r.length>this._maxLength?(i=this._length+r.length-this._maxLength,this._startIndex+=i,this._length=this._maxLength,this.onTrimEmitter.fire(i)):this._length+=r.length},o.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},o.prototype.shiftElements=function(e,t,i){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(0<i){for(var r=t-1;0<=r;r--)this.set(e+r+i,this.get(e+r));var n=e+t+i-this._length;if(0<n)for(this._length+=n;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<t;r++)this.set(e+r+i,this.get(e+r))}},o.prototype._getCyclicIndex=function(e){return(this._startIndex+e)%this._maxLength},o);function o(e){this._maxLength=e,this.onDeleteEmitter=new r.EventEmitter,this.onInsertEmitter=new r.EventEmitter,this.onTrimEmitter=new r.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}t.CircularList=n},function(e,t,i){"use strict";function m(e,t,i){if(t===e.length-1)return e[t].getTrimmedLength();var r=!e[t].hasContent(i-1)&&1===e[t].getWidth(i-1),n=2===e[t+1].getWidth(0);return r&&n?i-1:i}Object.defineProperty(t,"__esModule",{value:!0}),t.reflowLargerGetLinesToRemove=function(e,t,i,r,n){for(var o=[],s=0;s<e.length-1;s++){var a=s,c=e.get(++a);if(c.isWrapped){for(var l=[e.get(s)];a<e.length&&c.isWrapped;)l.push(c),c=e.get(++a);if(s<=r&&r<a)s+=l.length-1;else{for(var h=0,u=m(l,h,t),f=1,_=0;f<l.length;){var d=m(l,f,t),p=d-_,v=i-u,g=Math.min(p,v);l[h].copyCellsFrom(l[f],_,u,g,!1),(u+=g)===i&&(h++,u=0),(_+=g)===d&&(f++,_=0),0===u&&0!==h&&2===l[h-1].getWidth(i-1)&&(l[h].copyCellsFrom(l[h-1],i-1,u++,1,!1),l[h-1].setCell(i-1,n))}l[h].replaceCells(u,i,n);for(var y=0,b=l.length-1;0<b&&(h<b||0===l[b].getTrimmedLength());b--)y++;0<y&&(o.push(s+l.length-y),o.push(y)),s+=l.length-1}}}return o},t.reflowLargerCreateNewLayout=function(e,t){for(var i,r=[],n=0,o=t[n],s=0,a=0;a<e.length;a++){o===a?(i=t[++n],e.onDeleteEmitter.fire({index:a-s,amount:i}),a+=i-1,s+=i,o=t[++n]):r.push(a)}return{layout:r,countRemoved:s}},t.reflowLargerApplyNewLayout=function(e,t){for(var i=[],r=0;r<t.length;r++)i.push(e.get(t[r]));for(r=0;r<i.length;r++)e.set(r,i[r]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(i,r,e){for(var t=[],n=i.map(function(e,t){return m(i,t,r)}).reduce(function(e,t){return e+t}),o=0,s=0,a=0;a<n;){if(n-a<e){t.push(n-a);break}o+=e;var c=m(i,s,r);c<o&&(o-=c,s++);var l=2===i[s].getWidth(o-1);l&&o--;var h=l?e-1:e;t.push(h),a+=h}return t},t.getWrappedLineTrimmedLength=m},function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=i(1),a=(o=i(2).Disposable,n(c,o),Object.defineProperty(c.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!0,configurable:!0}),c.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},c._nextId=1,c);function c(e){var t=o.call(this)||this;return t.line=e,t._id=c._nextId++,t.isDisposed=!1,t._onDispose=new s.EventEmitter,t}t.Marker=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(4),s=i(28),a=(c.prototype.getCoords=function(e,t,i,r,n){return s.getCoords(e,t,i,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,n)},c.prototype.getRawByteCoords=function(e,t,i,r){var n=this.getCoords(e,t,i,r);return s.getRawByteCoords(n)},r([n(0,o.IRenderService),n(1,o.ICharSizeService)],c));function c(e,t){this._renderService=e,this._charSizeService=t}t.MouseService=a},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a=i(31),c=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,origin:!1,wraparound:!0}),l=(Object.defineProperty(h.prototype,"onData",{get:function(){return this._onData.event},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!0,configurable:!0}),h.prototype.reset=function(){this.decPrivateModes=a.clone(c)},h.prototype.triggerDataEvent=function(e,t){var i;void 0===t&&(t=!1),this._optionsService.options.disableStdin||((i=this._bufferService.buffer).ybase!==i.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onData.fire(e))},h.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',function(){return e.split("").map(function(e){return e.charCodeAt(0)})}),this._onBinary.fire(e))},r([n(1,o.IBufferService),n(2,o.ILogService),n(3,o.IOptionsService)],h));function h(e,t,i,r){this._scrollToBottom=e,this._bufferService=t,this._logService=i,this._optionsService=r,this.isCursorInitialized=!1,this.isCursorHidden=!1,this._onData=new s.EventEmitter,this._onUserInput=new s.EventEmitter,this._onBinary=new s.EventEmitter,this.decPrivateModes=a.clone(c)}t.CoreService=l},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var r=Array(e),n=0,t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,n++)r[n]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0});var s,a,c=i(0);(a=s=t.LogLevel||(t.LogLevel={}))[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF";var l={debug:s.DEBUG,info:s.INFO,warn:s.WARN,error:s.ERROR,off:s.OFF},h=(u.prototype._updateLogLevel=function(){this._logLevel=l[this._optionsService.options.logLevel]},u.prototype._evalLazyOptionalParams=function(e){for(var t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())},u.prototype._log=function(e,t,i){this._evalLazyOptionalParams(i),e.call.apply(e,o([console,"xterm.js: "+t],i))},u.prototype.debug=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.DEBUG&&this._log(console.log,e,t)},u.prototype.info=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.INFO&&this._log(console.info,e,t)},u.prototype.warn=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.WARN&&this._log(console.warn,e,t)},u.prototype.error=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this._logLevel<=s.ERROR&&this._log(console.error,e,t)},r([n(0,c.IOptionsService)],u));function u(e){var t=this;this._optionsService=e,this._updateLogLevel(),this._optionsService.onOptionChange(function(e){"logLevel"===e&&t._updateLogLevel()})}t.LogService=h},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=(Object.defineProperty(a.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),a.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},a.prototype.markDirty=function(e){e<this._start?this._start=e:e>this._end&&(this._end=e)},a.prototype.markRangeDirty=function(e,t){var i;t<e&&(i=e,e=t,t=i),e<this._start&&(this._start=e),t>this._end&&(this._end=t)},a.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},r([n(0,o.IBufferService)],a));function a(e){this._bufferService=e,this.clearRange()}t.DirtyRowService=s},function(e,t,i){"use strict";var h=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var r=Array(e),n=0,t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,n++)r[n]=o[s];return r};Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(14),n=(o.prototype.set=function(e,t){var i=this._entries.get(e);return this._entries.set(e,t),i},o.prototype.forEach=function(i){this._entries.forEach(function(e,t){return i(t,e)})},o.prototype.has=function(e){return this._entries.has(e)},o.prototype.get=function(e){return this._entries.get(e)},o);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],s=n[1];this.set(o,s)}}t.ServiceCollection=n;var s=(a.prototype.setService=function(e,t){this._services.set(e,t)},a.prototype.getService=function(e){return this._services.get(e)},a.prototype.createInstance=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];for(var r=u.getServiceDependencies(e).sort(function(e,t){return e.index-t.index}),n=[],o=0,s=r;o<s.length;o++){var a=s[o],c=this._services.get(a.id);if(!c)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+a.id+".");n.push(c)}var l=0<r.length?r[0].index:t.length;if(t.length!==l)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(l+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,h([void 0],h(t,n))))},a);function a(){this._services=new n,this._services.set(r.IInstantiationService,this)}t.InstantiationService=s},function(e,t,i){"use strict";var r=this&&this.__decorate||function(e,t,i,r){var n,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;0<=a;a--)(n=e[a])&&(s=(o<3?n(s):3<o?n(t,i,s):n(t,i))||s);return 3<o&&s&&Object.defineProperty(t,i,s),s},n=this&&this.__param||function(i,r){return function(e,t){r(e,t,i)}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),s=i(1),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,!(e.shift=!1))}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var i=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(i|=64,i|=e.action):(i|=3&e.button,4&e.button&&(i|=64),8&e.button&&(i|=128),32===e.action?i|=32:0!==e.action||t||(i|=3)),i}var l=String.fromCharCode,h={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return 255<t[0]||255<t[1]||255<t[2]?"":"[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(e,!0)+";"+e.col+";"+e.row+t}},u=(f.prototype.addProtocol=function(e,t){this._protocols[e]=t},f.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(f.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!0,configurable:!0}),f.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(f.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!0,configurable:!0}),f.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},f.prototype.explainEvents=function(e){return{DOWN:!!(1&e),UP:!!(2&e),DRAG:!!(4&e),MOVE:!!(8&e),WHEEL:!!(16&e)}},f.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},r([n(0,o.IBufferService),n(1,o.ICoreService)],f));function f(e,t){var i=this;this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null,Object.keys(a).forEach(function(e){return i.addProtocol(e,a[e])}),Object.keys(h).forEach(function(e){return i.addEncoding(e,h[e])}),this.reset()}t.CoreMouseService=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t<this._writeBuffer.length;++t){var i=this._writeBuffer[t],r=this._callbacks[t];this._action(i),r&&r()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(e)},n.prototype.write=function(e,t){var i=this;if(5e7<this._pendingData)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return i._innerWrite()})),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},n.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var i=this._writeBuffer[this._bufferOffset],r=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(i),this._pendingData-=i.length,r&&r(),12<=Date.now()-t)break}this._writeBuffer.length>this._bufferOffset?(50<this._bufferOffset&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return e._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},n);function n(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}t.WriteBuffer=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(Object.defineProperty(n.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!0,configurable:!0}),n);function n(e){this._textarea=e}t.CoreBrowserService=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(1),n=i(78),o=(Object.defineProperty(s.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!0,configurable:!0}),s.prototype.register=function(e){this._providers[e.version]=e},s.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},s.prototype.getStringCellWidth=function(e){for(var t=0,i=e.length,r=0;r<i;++r){var n=e.charCodeAt(r);if(55296<=n&&n<=56319){if(++r>=i)return t+this.wcwidth(n);var o=e.charCodeAt(r);56320<=o&&o<=57343?n=1024*(n-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(n)}return t},s);function s(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter;var e=new n.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}t.UnicodeService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=i(15),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],s=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],a=(c.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?r[e]:function(e,t){var i,r=0,n=t.length-1;if(!(e<t[0][0]||e>t[n][1]))for(;r<=n;)if(e>t[i=r+n>>1][1])r=1+i;else{if(!(e<t[i][0]))return 1;n=i-1}}(e,s)?0:131072<=e&&e<=196605||196608<=e&&e<=262141?2:1},c);function c(){if(this.version="6",!r){r=new Uint8Array(65536),n.fill(r,1),r[0]=0,n.fill(r,0,1,32),n.fill(r,0,127,160),n.fill(r,2,4352,4448),r[9001]=2,r[9002]=2,n.fill(r,2,11904,42192),r[12351]=1,n.fill(r,2,44032,55204),n.fill(r,2,63744,64256),n.fill(r,2,65040,65050),n.fill(r,2,65072,65136),n.fill(r,2,65280,65377),n.fill(r,2,65504,65511);for(var e=0;e<o.length;++e)n.fill(r,0,o[e][0],o[e][1]+1)}}t.UnicodeV6=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.reset=function(){this.charset=void 0,this.charsets=[],this.glevel=0},n.prototype.setgLevel=function(e){this.glevel=e,this.charset=this.charsets[e]},n.prototype.setgCharset=function(e,t){this.charsets[e]=t,this.glevel===e&&(this.charset=t)},n);function n(){this.charsets=[],this.glevel=0}t.CharsetService=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n.prototype.dispose=function(){for(var e=this._addons.length-1;0<=e;e--)this._addons[e].instance.dispose()},n.prototype.loadAddon=function(e,t){var i=this,r={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(r),t.dispose=function(){return i._wrappedAddonDispose(r)},t.activate(e)},n.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,i=0;i<this._addons.length;i++)if(this._addons[i]===e){t=i;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}},n);function n(){this._addons=[]}t.AddonManager=r}],n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32);function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r})
\ No newline at end of file
public/scripts/zlib-adler32-min.js
+1
-1
@@ -1 +1 @@
1
-"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-adler32.js"),function(){var c=65521,C=5552;ZLIB.adler32=function(r,e,o,t){return"string"==typeof e?function(r,e,o,t){var a,d;if(a=r>>>16&65535,r&=65535,1==t)return r+=255&e.charCodeAt(o),c<=r&&(r-=c),c<=(a+=r)&&(a-=c),r|a<<16;if(null===e)return 1;if(t<16){for(;t--;)a+=r+=255&e.charCodeAt(o++);return c<=r&&(r-=c),r|(a%=c)<<16}for(;C<=t;){for(t-=C,d=347;a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),--d;);r%=c,a%=c}if(t){for(;16<=t;)t-=16,a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++),a+=r+=255&e.charCodeAt(o++);for(;t--;)a+=r+=255&e.charCodeAt(o++);r%=c,a%=c}return r|a<<16}(r,e,o,t):function(r,e,o,t){var a,d;if(a=r>>>16&65535,r&=65535,1==t)return r+=e[o],c<=r&&(r-=c),c<=(a+=r)&&(a-=c),r|a<<16;if(null===e)return 1;if(t<16){for(;t--;)a+=r+=e[o++];return c<=r&&(r-=c),r|(a%=c)<<16}for(;C<=t;){for(t-=C,d=347;a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],--d;);r%=c,a%=c}if(t){for(;16<=t;)t-=16,a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++],a+=r+=e[o++];for(;t--;)a+=r+=e[o++];r%=c,a%=c}return r|a<<16}(r,e,o,t)},ZLIB.adler32_combine=function(r,e,o){var t,a,d;return o<0?4294967295:(a=(d=o%=c)*(t=65535&r),a%=c,c<=(t+=(65535&e)+c-1)&&(t-=c),c<=t&&(t-=c),c<<1<=(a+=(r>>16&65535)+(e>>16&65535)+c-d)&&(a-=c<<1),c<=a&&(a-=c),t|a<<16)}}()
\ No newline at end of file
1
+"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-adler32.js"),function(){var c=65521,C=5552;ZLIB.adler32=function(r,e,o,t){return("string"==typeof e?function(r,e,o,t){var a,d=r>>>16&65535;if(r&=65535,1==t)return r+=255&e.charCodeAt(o),c<=r&&(r-=c),c<=(d+=r)&&(d-=c),r|d<<16;if(null===e)return 1;if(t<16){for(;t--;)d+=r+=255&e.charCodeAt(o++);return c<=r&&(r-=c),r|(d%=c)<<16}for(;C<=t;){for(t-=C,a=347;d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),--a;);r%=c,d%=c}if(t){for(;16<=t;)t-=16,d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++),d+=r+=255&e.charCodeAt(o++);for(;t--;)d+=r+=255&e.charCodeAt(o++);r%=c,d%=c}return r|d<<16}:function(r,e,o,t){var a,d=r>>>16&65535;if(r&=65535,1==t)return r+=e[o],c<=r&&(r-=c),c<=(d+=r)&&(d-=c),r|d<<16;if(null===e)return 1;if(t<16){for(;t--;)d+=r+=e[o++];return c<=r&&(r-=c),r|(d%=c)<<16}for(;C<=t;){for(t-=C,a=347;d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],--a;);r%=c,d%=c}if(t){for(;16<=t;)t-=16,d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++],d+=r+=e[o++];for(;t--;)d+=r+=e[o++];r%=c,d%=c}return r|d<<16})(r,e,o,t)},ZLIB.adler32_combine=function(r,e,o){var t,a;return o<0?4294967295:(a=(o%=c)*(t=65535&r),a%=c,c<=(t+=(65535&e)+c-1)&&(t-=c),c<=t&&(t-=c),c<<1<=(a+=(r>>16&65535)+(e>>16&65535)+c-o)&&(a-=c<<1),c<=a&&(a-=c),t|a<<16)}}()
\ No newline at end of file
public/scripts/zlib-crc32-min.js
+1
-1
@@ -1 +1 @@
1
-"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-crc32.js"),function(){var t=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];ZLIB.crc32=function(r,e,n,o){return"string"==typeof e?function(r,e,n,o){if(null==e)return 0;for(r^=4294967295;8<=o;)r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,o-=8;if(o)for(;r=t[255&(r^e.charCodeAt(n++))]^r>>>8,--o;);return 4294967295^r}(r,e,n,o):function(r,e,n,o){if(null==e)return 0;for(r^=4294967295;8<=o;)r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,o-=8;if(o)for(;r=t[255&(r^e[n++])]^r>>>8,--o;);return 4294967295^r}(r,e,n,o)};function i(r,e){var n,o=0;for(n=0;e;)1&e&&(n^=r[o]),e>>=1,o++;return n}function u(r,e){var n;for(n=0;n<32;n++)r[n]=i(e,e[n])}ZLIB.crc32_combine=function(r,e,n){var o,t,f,c;if(n<=0)return r;for(f=new Array(32),(c=new Array(32))[0]=3988292384,o=t=1;o<32;o++)c[o]=t,t<<=1;u(f,c),u(c,f);do{if(u(f,c),1&n&&(r=i(f,r)),0==(n>>=1))break;u(c,f),1&n&&(r=i(c,r)),n>>=1}while(0!=n);return r^=e}}()
\ No newline at end of file
1
+"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-crc32.js"),function(){var t=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];ZLIB.crc32=function(r,e,n,o){return("string"==typeof e?function(r,e,n,o){if(null==e)return 0;for(r^=4294967295;8<=o;)r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,r=t[255&(r^e.charCodeAt(n++))]^r>>>8,o-=8;if(o)for(;r=t[255&(r^e.charCodeAt(n++))]^r>>>8,--o;);return 4294967295^r}:function(r,e,n,o){if(null==e)return 0;for(r^=4294967295;8<=o;)r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,r=t[255&(r^e[n++])]^r>>>8,o-=8;if(o)for(;r=t[255&(r^e[n++])]^r>>>8,--o;);return 4294967295^r})(r,e,n,o)};function i(r,e){for(var n=0,o=0;e;)1&e&&(o^=r[n]),e>>=1,n++;return o}function u(r,e){for(var n=0;n<32;n++)r[n]=i(e,e[n])}ZLIB.crc32_combine=function(r,e,n){var o,t,f,c;if(n<=0)return r;for(f=new Array(32),(c=new Array(32))[0]=3988292384,o=t=1;o<32;o++)c[o]=t,t<<=1;u(f,c),u(c,f);do{if(u(f,c),1&n&&(r=i(f,r)),0==(n>>=1))break;u(c,f),1&n&&(r=i(c,r)),n>>=1}while(0!=n);return r^=e}}()
\ No newline at end of file
public/scripts/zlib-inflate-min.js
+1
-1
@@ -1 +1 @@
1
-"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-inflate.js"),function(){var B=11,E=29,z=852,C=592,i=z+C,T=0,y=1,M=2,K=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],D=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,203,69],F=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],N=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function _(t,a){var i,s,o,l,b,e,v,p,n,d,r,h,c,f,u,_,m,k,g,w,Z,x,I=t.next,R=a==M?t.distbits:t.lenbits,L=t.work,B=t.lens,E=a==M?t.nlen:0,A=t.codes;i=a==y?t.nlen:a==M?t.ndist:19;var O=new Array(16),S=new Array(16);for(s=0;s<=15;s++)O[s]=0;for(o=0;o<i;o++)O[B[E+o]]++;for(e=R,b=15;1<=b&&0==O[b];b--);if(b<e&&(e=b),0==b)return _={op:64,bits:1,val:0},A[I++]=_,A[I++]=_,a==M?t.distbits=1:t.lenbits=1,t.next=I,0;for(l=1;l<b&&0==O[l];l++);for(e<l&&(e=l),s=n=1;s<=15;s++)if(n<<=1,(n-=O[s])<0)return-1;if(0<n&&(a==T||1!=b))return t.next=I,-1;for(S[1]=0,s=1;s<15;s++)S[s+1]=S[s]+O[s];for(o=0;o<i;o++)0!=B[E+o]&&(L[S[B[E+o]]++]=o);switch(a){case T:k=w=L,Z=g=0,x=19;break;case y:k=K,w=D,Z=g=-257,x=256;break;default:k=F,w=N,Z=g=0,x=-1}if(s=l,m=I,p=o=r=0,f=-1,u=(d=1<<(v=e))-1,a==y&&z<=d||a==M&&C<=d)return t.next=I,1;for(;;){for(_={op:0,bits:s-p,val:0},L[o]<x?_.val=L[o]:L[o]>x?(_.op=w[Z+L[o]],_.val=k[g+L[o]]):_.op=96,h=1<<s-p,l=c=1<<v;A[m+(r>>>p)+(c-=h)]=_,0!=c;);for(h=1<<s-1;r&h;)h>>>=1;if(0!=h?(r&=h-1,r+=h):r=0,o++,0==--O[s]){if(s==b)break;s=B[E+L[o]]}if(e<s&&(r&u)!=f){for(0==p&&(p=e),m+=l,n=1<<(v=s-p);v+p<b&&!((n-=O[v+p])<=0);)v++,n<<=1;if(d+=1<<v,a==y&&z<=d||a==M&&C<=d)return t.next=I,1;A[I+(f=r&u)]={op:v,bits:e,val:m-I}}}return 0!=r&&(A[m+r]={op:64,bits:s-p,val:0}),t.next=I+d,a==M?t.distbits=e:t.lenbits=e,0}function m(t,a){var i,s,o,l,b,e,v,p,n,d,r,h,c,f,u,_,m,k,g,w,Z,x,I=-1,R=-1;i=t.state,s=t.input_data,l=(o=t.next_in)+t.avail_in-5,e=(b=t.next_out)-(a-t.avail_out),v=b+(t.avail_out-257),p=i.wsize,n=i.whave,d=i.wnext,r=i.window,h=i.hold,c=i.bits,f=i.codes,u=i.lencode,_=i.distcode,m=(1<<i.lenbits)-1,k=(1<<i.distbits)-1;t:do{c<15&&(h+=(255&s.charCodeAt(o++))<<c,c+=8,h+=(255&s.charCodeAt(o++))<<c,c+=8),g=f[u+(h&m)];a:for(;;){if(h>>>=w=g.bits,c-=w,0==(w=g.op))t.output_data+=String.fromCharCode(g.val),b++;else{if(!(16&w)){if(0==(64&w)){g=f[u+(g.val+(h&(1<<w)-1))];continue a}if(32&w){i.mode=B;break t}t.msg="invalid literal/length code",i.mode=E;break t}Z=g.val,(w&=15)&&(c<w&&(h+=(255&s.charCodeAt(o++))<<c,c+=8),Z+=h&(1<<w)-1,h>>>=w,c-=w),c<15&&(h+=(255&s.charCodeAt(o++))<<c,c+=8,h+=(255&s.charCodeAt(o++))<<c,c+=8),g=f[_+(h&k)];i:for(;;){if(h>>>=w=g.bits,c-=w,!(16&(w=g.op))){if(0==(64&w)){g=f[_+(g.val+(h&(1<<w)-1))];continue i}t.msg="invalid distance code",i.mode=E;break t}if(x=g.val,c<(w&=15)&&(h+=(255&s.charCodeAt(o++))<<c,(c+=8)<w&&(h+=(255&s.charCodeAt(o++))<<c,c+=8)),x+=h&(1<<w)-1,h>>>=w,c-=w,(w=b-e)<x){if(n<(w=x-w)&&i.sane){t.msg="invalid distance too far back",i.mode=E;break t}R=-1,(I=0)==d?(I+=p-w,w<Z&&(Z-=w,t.output_data+=r.substring(I,I+w),b+=w,w=0,I=-1,R=b-x)):(I+=d-w,w<Z&&(Z-=w,t.output_data+=r.substring(I,I+w),I=-1,R=(b+=w)-x))}else I=-1,R=b-x;if(0<=I)t.output_data+=r.substring(I,I+Z),b+=Z,I+=Z;else{var L=Z;for(b-R<L&&(L=b-R),t.output_data+=t.output_data.substring(R,R+L),b+=L,R+=L,b+=Z-=L;2<Z;)t.output_data+=t.output_data.charAt(R++),t.output_data+=t.output_data.charAt(R++),t.output_data+=t.output_data.charAt(R++),Z-=3;Z&&(t.output_data+=t.output_data.charAt(R++),1<Z&&(t.output_data+=t.output_data.charAt(R++)))}break i}}break a}}while(o<l&&b<v);o-=Z=c>>>3,h&=(1<<(c-=Z<<3))-1,t.next_in=o,t.next_out=b,t.avail_in=o<l?l-o+5:5-(o-l),t.avail_out=b<v?v-b+257:257-(b-v),i.hold=h,i.bits=c}function s(t){var a,i=new Array(t);for(a=0;a<t;a++)i[a]=0;return i}function l(t,a,i){return t&&a in t?t[a]:i}function o(){return 0}function b(){var t;this.mode=0,this.last=0,this.wrap=0,this.havedict=0,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=0,this.distcode=0,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=0,this.lens=s(320),this.work=s(288),this.codes=new Array(i);var a={op:0,bits:0,val:0};for(t=0;t<i;t++)this.codes[t]=a;this.sane=0,this.back=0,this.was=0}ZLIB.inflate_copyright=" inflate 1.2.6 Copyright 1995-2012 Mark Adler ",ZLIB.inflateResetKeep=function(t){var a;return t&&t.state?(a=t.state,t.total_in=t.total_out=a.total=0,t.msg=null,a.wrap&&(t.adler=1&a.wrap),a.mode=0,a.last=0,a.havedict=0,a.dmax=32768,a.head=null,a.hold=0,a.bits=0,a.lencode=0,a.distcode=0,a.next=0,a.sane=1,a.back=-1,ZLIB.Z_OK):ZLIB.Z_STREAM_ERROR},ZLIB.inflateReset=function(t,a){var i,s;return t&&t.state?(s=t.state,void 0===a&&(a=15),a<0?(i=0,a=-a):(i=1+(a>>>4),a<48&&(a&=15)),1==i&&"function"==typeof ZLIB.adler32?t.checksum_function=ZLIB.adler32:2==i&&"function"==typeof ZLIB.crc32?t.checksum_function=ZLIB.crc32:t.checksum_function=o,a&&(a<8||15<a)?ZLIB.Z_STREAM_ERROR:(s.window&&s.wbits!=a&&(s.window=null),s.wrap=i,s.wbits=a,s.wsize=0,s.whave=0,s.wnext=0,ZLIB.inflateResetKeep(t))):ZLIB.Z_STREAM_ERROR},ZLIB.inflateInit=function(t){var a=new ZLIB.z_stream;return a.state=new b,ZLIB.inflateReset(a,t),a},ZLIB.inflatePrime=function(t,a,i){var s;return t&&t.state?(s=t.state,a<0?(s.hold=0,s.bits=0,ZLIB.Z_OK):16<a||32<s.bits+a?ZLIB.Z_STREAM_ERROR:(i&=(1<<a)-1,s.hold+=i<<s.bits,s.bits+=a,ZLIB.Z_OK)):ZLIB.Z_STREAM_ERROR};var e=null,v=null;function k(t){var a;for(e=e||[{op:96,bits:7,val:0},{op:0,bits:8,val:80},{op:0,bits:8,val:16},{op:20,bits:8,val:115},{op:18,bits:7,val:31},{op:0,bits:8,val:112},{op:0,bits:8,val:48},{op:0,bits:9,val:192},{op:16,bits:7,val:10},{op:0,bits:8,val:96},{op:0,bits:8,val:32},{op:0,bits:9,val:160},{op:0,bits:8,val:0},{op:0,bits:8,val:128},{op:0,bits:8,val:64},{op:0,bits:9,val:224},{op:16,bits:7,val:6},{op:0,bits:8,val:88},{op:0,bits:8,val:24},{op:0,bits:9,val:144},{op:19,bits:7,val:59},{op:0,bits:8,val:120},{op:0,bits:8,val:56},{op:0,bits:9,val:208},{op:17,bits:7,val:17},{op:0,bits:8,val:104},{op:0,bits:8,val:40},{op:0,bits:9,val:176},{op:0,bits:8,val:8},{op:0,bits:8,val:136},{op:0,bits:8,val:72},{op:0,bits:9,val:240},{op:16,bits:7,val:4},{op:0,bits:8,val:84},{op:0,bits:8,val:20},{op:21,bits:8,val:227},{op:19,bits:7,val:43},{op:0,bits:8,val:116},{op:0,bits:8,val:52},{op:0,bits:9,val:200},{op:17,bits:7,val:13},{op:0,bits:8,val:100},{op:0,bits:8,val:36},{op:0,bits:9,val:168},{op:0,bits:8,val:4},{op:0,bits:8,val:132},{op:0,bits:8,val:68},{op:0,bits:9,val:232},{op:16,bits:7,val:8},{op:0,bits:8,val:92},{op:0,bits:8,val:28},{op:0,bits:9,val:152},{op:20,bits:7,val:83},{op:0,bits:8,val:124},{op:0,bits:8,val:60},{op:0,bits:9,val:216},{op:18,bits:7,val:23},{op:0,bits:8,val:108},{op:0,bits:8,val:44},{op:0,bits:9,val:184},{op:0,bits:8,val:12},{op:0,bits:8,val:140},{op:0,bits:8,val:76},{op:0,bits:9,val:248},{op:16,bits:7,val:3},{op:0,bits:8,val:82},{op:0,bits:8,val:18},{op:21,bits:8,val:163},{op:19,bits:7,val:35},{op:0,bits:8,val:114},{op:0,bits:8,val:50},{op:0,bits:9,val:196},{op:17,bits:7,val:11},{op:0,bits:8,val:98},{op:0,bits:8,val:34},{op:0,bits:9,val:164},{op:0,bits:8,val:2},{op:0,bits:8,val:130},{op:0,bits:8,val:66},{op:0,bits:9,val:228},{op:16,bits:7,val:7},{op:0,bits:8,val:90},{op:0,bits:8,val:26},{op:0,bits:9,val:148},{op:20,bits:7,val:67},{op:0,bits:8,val:122},{op:0,bits:8,val:58},{op:0,bits:9,val:212},{op:18,bits:7,val:19},{op:0,bits:8,val:106},{op:0,bits:8,val:42},{op:0,bits:9,val:180},{op:0,bits:8,val:10},{op:0,bits:8,val:138},{op:0,bits:8,val:74},{op:0,bits:9,val:244},{op:16,bits:7,val:5},{op:0,bits:8,val:86},{op:0,bits:8,val:22},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:118},{op:0,bits:8,val:54},{op:0,bits:9,val:204},{op:17,bits:7,val:15},{op:0,bits:8,val:102},{op:0,bits:8,val:38},{op:0,bits:9,val:172},{op:0,bits:8,val:6},{op:0,bits:8,val:134},{op:0,bits:8,val:70},{op:0,bits:9,val:236},{op:16,bits:7,val:9},{op:0,bits:8,val:94},{op:0,bits:8,val:30},{op:0,bits:9,val:156},{op:20,bits:7,val:99},{op:0,bits:8,val:126},{op:0,bits:8,val:62},{op:0,bits:9,val:220},{op:18,bits:7,val:27},{op:0,bits:8,val:110},{op:0,bits:8,val:46},{op:0,bits:9,val:188},{op:0,bits:8,val:14},{op:0,bits:8,val:142},{op:0,bits:8,val:78},{op:0,bits:9,val:252},{op:96,bits:7,val:0},{op:0,bits:8,val:81},{op:0,bits:8,val:17},{op:21,bits:8,val:131},{op:18,bits:7,val:31},{op:0,bits:8,val:113},{op:0,bits:8,val:49},{op:0,bits:9,val:194},{op:16,bits:7,val:10},{op:0,bits:8,val:97},{op:0,bits:8,val:33},{op:0,bits:9,val:162},{op:0,bits:8,val:1},{op:0,bits:8,val:129},{op:0,bits:8,val:65},{op:0,bits:9,val:226},{op:16,bits:7,val:6},{op:0,bits:8,val:89},{op:0,bits:8,val:25},{op:0,bits:9,val:146},{op:19,bits:7,val:59},{op:0,bits:8,val:121},{op:0,bits:8,val:57},{op:0,bits:9,val:210},{op:17,bits:7,val:17},{op:0,bits:8,val:105},{op:0,bits:8,val:41},{op:0,bits:9,val:178},{op:0,bits:8,val:9},{op:0,bits:8,val:137},{op:0,bits:8,val:73},{op:0,bits:9,val:242},{op:16,bits:7,val:4},{op:0,bits:8,val:85},{op:0,bits:8,val:21},{op:16,bits:8,val:258},{op:19,bits:7,val:43},{op:0,bits:8,val:117},{op:0,bits:8,val:53},{op:0,bits:9,val:202},{op:17,bits:7,val:13},{op:0,bits:8,val:101},{op:0,bits:8,val:37},{op:0,bits:9,val:170},{op:0,bits:8,val:5},{op:0,bits:8,val:133},{op:0,bits:8,val:69},{op:0,bits:9,val:234},{op:16,bits:7,val:8},{op:0,bits:8,val:93},{op:0,bits:8,val:29},{op:0,bits:9,val:154},{op:20,bits:7,val:83},{op:0,bits:8,val:125},{op:0,bits:8,val:61},{op:0,bits:9,val:218},{op:18,bits:7,val:23},{op:0,bits:8,val:109},{op:0,bits:8,val:45},{op:0,bits:9,val:186},{op:0,bits:8,val:13},{op:0,bits:8,val:141},{op:0,bits:8,val:77},{op:0,bits:9,val:250},{op:16,bits:7,val:3},{op:0,bits:8,val:83},{op:0,bits:8,val:19},{op:21,bits:8,val:195},{op:19,bits:7,val:35},{op:0,bits:8,val:115},{op:0,bits:8,val:51},{op:0,bits:9,val:198},{op:17,bits:7,val:11},{op:0,bits:8,val:99},{op:0,bits:8,val:35},{op:0,bits:9,val:166},{op:0,bits:8,val:3},{op:0,bits:8,val:131},{op:0,bits:8,val:67},{op:0,bits:9,val:230},{op:16,bits:7,val:7},{op:0,bits:8,val:91},{op:0,bits:8,val:27},{op:0,bits:9,val:150},{op:20,bits:7,val:67},{op:0,bits:8,val:123},{op:0,bits:8,val:59},{op:0,bits:9,val:214},{op:18,bits:7,val:19},{op:0,bits:8,val:107},{op:0,bits:8,val:43},{op:0,bits:9,val:182},{op:0,bits:8,val:11},{op:0,bits:8,val:139},{op:0,bits:8,val:75},{op:0,bits:9,val:246},{op:16,bits:7,val:5},{op:0,bits:8,val:87},{op:0,bits:8,val:23},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:119},{op:0,bits:8,val:55},{op:0,bits:9,val:206},{op:17,bits:7,val:15},{op:0,bits:8,val:103},{op:0,bits:8,val:39},{op:0,bits:9,val:174},{op:0,bits:8,val:7},{op:0,bits:8,val:135},{op:0,bits:8,val:71},{op:0,bits:9,val:238},{op:16,bits:7,val:9},{op:0,bits:8,val:95},{op:0,bits:8,val:31},{op:0,bits:9,val:158},{op:20,bits:7,val:99},{op:0,bits:8,val:127},{op:0,bits:8,val:63},{op:0,bits:9,val:222},{op:18,bits:7,val:27},{op:0,bits:8,val:111},{op:0,bits:8,val:47},{op:0,bits:9,val:190},{op:0,bits:8,val:15},{op:0,bits:8,val:143},{op:0,bits:8,val:79},{op:0,bits:9,val:254},{op:96,bits:7,val:0},{op:0,bits:8,val:80},{op:0,bits:8,val:16},{op:20,bits:8,val:115},{op:18,bits:7,val:31},{op:0,bits:8,val:112},{op:0,bits:8,val:48},{op:0,bits:9,val:193},{op:16,bits:7,val:10},{op:0,bits:8,val:96},{op:0,bits:8,val:32},{op:0,bits:9,val:161},{op:0,bits:8,val:0},{op:0,bits:8,val:128},{op:0,bits:8,val:64},{op:0,bits:9,val:225},{op:16,bits:7,val:6},{op:0,bits:8,val:88},{op:0,bits:8,val:24},{op:0,bits:9,val:145},{op:19,bits:7,val:59},{op:0,bits:8,val:120},{op:0,bits:8,val:56},{op:0,bits:9,val:209},{op:17,bits:7,val:17},{op:0,bits:8,val:104},{op:0,bits:8,val:40},{op:0,bits:9,val:177},{op:0,bits:8,val:8},{op:0,bits:8,val:136},{op:0,bits:8,val:72},{op:0,bits:9,val:241},{op:16,bits:7,val:4},{op:0,bits:8,val:84},{op:0,bits:8,val:20},{op:21,bits:8,val:227},{op:19,bits:7,val:43},{op:0,bits:8,val:116},{op:0,bits:8,val:52},{op:0,bits:9,val:201},{op:17,bits:7,val:13},{op:0,bits:8,val:100},{op:0,bits:8,val:36},{op:0,bits:9,val:169},{op:0,bits:8,val:4},{op:0,bits:8,val:132},{op:0,bits:8,val:68},{op:0,bits:9,val:233},{op:16,bits:7,val:8},{op:0,bits:8,val:92},{op:0,bits:8,val:28},{op:0,bits:9,val:153},{op:20,bits:7,val:83},{op:0,bits:8,val:124},{op:0,bits:8,val:60},{op:0,bits:9,val:217},{op:18,bits:7,val:23},{op:0,bits:8,val:108},{op:0,bits:8,val:44},{op:0,bits:9,val:185},{op:0,bits:8,val:12},{op:0,bits:8,val:140},{op:0,bits:8,val:76},{op:0,bits:9,val:249},{op:16,bits:7,val:3},{op:0,bits:8,val:82},{op:0,bits:8,val:18},{op:21,bits:8,val:163},{op:19,bits:7,val:35},{op:0,bits:8,val:114},{op:0,bits:8,val:50},{op:0,bits:9,val:197},{op:17,bits:7,val:11},{op:0,bits:8,val:98},{op:0,bits:8,val:34},{op:0,bits:9,val:165},{op:0,bits:8,val:2},{op:0,bits:8,val:130},{op:0,bits:8,val:66},{op:0,bits:9,val:229},{op:16,bits:7,val:7},{op:0,bits:8,val:90},{op:0,bits:8,val:26},{op:0,bits:9,val:149},{op:20,bits:7,val:67},{op:0,bits:8,val:122},{op:0,bits:8,val:58},{op:0,bits:9,val:213},{op:18,bits:7,val:19},{op:0,bits:8,val:106},{op:0,bits:8,val:42},{op:0,bits:9,val:181},{op:0,bits:8,val:10},{op:0,bits:8,val:138},{op:0,bits:8,val:74},{op:0,bits:9,val:245},{op:16,bits:7,val:5},{op:0,bits:8,val:86},{op:0,bits:8,val:22},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:118},{op:0,bits:8,val:54},{op:0,bits:9,val:205},{op:17,bits:7,val:15},{op:0,bits:8,val:102},{op:0,bits:8,val:38},{op:0,bits:9,val:173},{op:0,bits:8,val:6},{op:0,bits:8,val:134},{op:0,bits:8,val:70},{op:0,bits:9,val:237},{op:16,bits:7,val:9},{op:0,bits:8,val:94},{op:0,bits:8,val:30},{op:0,bits:9,val:157},{op:20,bits:7,val:99},{op:0,bits:8,val:126},{op:0,bits:8,val:62},{op:0,bits:9,val:221},{op:18,bits:7,val:27},{op:0,bits:8,val:110},{op:0,bits:8,val:46},{op:0,bits:9,val:189},{op:0,bits:8,val:14},{op:0,bits:8,val:142},{op:0,bits:8,val:78},{op:0,bits:9,val:253},{op:96,bits:7,val:0},{op:0,bits:8,val:81},{op:0,bits:8,val:17},{op:21,bits:8,val:131},{op:18,bits:7,val:31},{op:0,bits:8,val:113},{op:0,bits:8,val:49},{op:0,bits:9,val:195},{op:16,bits:7,val:10},{op:0,bits:8,val:97},{op:0,bits:8,val:33},{op:0,bits:9,val:163},{op:0,bits:8,val:1},{op:0,bits:8,val:129},{op:0,bits:8,val:65},{op:0,bits:9,val:227},{op:16,bits:7,val:6},{op:0,bits:8,val:89},{op:0,bits:8,val:25},{op:0,bits:9,val:147},{op:19,bits:7,val:59},{op:0,bits:8,val:121},{op:0,bits:8,val:57},{op:0,bits:9,val:211},{op:17,bits:7,val:17},{op:0,bits:8,val:105},{op:0,bits:8,val:41},{op:0,bits:9,val:179},{op:0,bits:8,val:9},{op:0,bits:8,val:137},{op:0,bits:8,val:73},{op:0,bits:9,val:243},{op:16,bits:7,val:4},{op:0,bits:8,val:85},{op:0,bits:8,val:21},{op:16,bits:8,val:258},{op:19,bits:7,val:43},{op:0,bits:8,val:117},{op:0,bits:8,val:53},{op:0,bits:9,val:203},{op:17,bits:7,val:13},{op:0,bits:8,val:101},{op:0,bits:8,val:37},{op:0,bits:9,val:171},{op:0,bits:8,val:5},{op:0,bits:8,val:133},{op:0,bits:8,val:69},{op:0,bits:9,val:235},{op:16,bits:7,val:8},{op:0,bits:8,val:93},{op:0,bits:8,val:29},{op:0,bits:9,val:155},{op:20,bits:7,val:83},{op:0,bits:8,val:125},{op:0,bits:8,val:61},{op:0,bits:9,val:219},{op:18,bits:7,val:23},{op:0,bits:8,val:109},{op:0,bits:8,val:45},{op:0,bits:9,val:187},{op:0,bits:8,val:13},{op:0,bits:8,val:141},{op:0,bits:8,val:77},{op:0,bits:9,val:251},{op:16,bits:7,val:3},{op:0,bits:8,val:83},{op:0,bits:8,val:19},{op:21,bits:8,val:195},{op:19,bits:7,val:35},{op:0,bits:8,val:115},{op:0,bits:8,val:51},{op:0,bits:9,val:199},{op:17,bits:7,val:11},{op:0,bits:8,val:99},{op:0,bits:8,val:35},{op:0,bits:9,val:167},{op:0,bits:8,val:3},{op:0,bits:8,val:131},{op:0,bits:8,val:67},{op:0,bits:9,val:231},{op:16,bits:7,val:7},{op:0,bits:8,val:91},{op:0,bits:8,val:27},{op:0,bits:9,val:151},{op:20,bits:7,val:67},{op:0,bits:8,val:123},{op:0,bits:8,val:59},{op:0,bits:9,val:215},{op:18,bits:7,val:19},{op:0,bits:8,val:107},{op:0,bits:8,val:43},{op:0,bits:9,val:183},{op:0,bits:8,val:11},{op:0,bits:8,val:139},{op:0,bits:8,val:75},{op:0,bits:9,val:247},{op:16,bits:7,val:5},{op:0,bits:8,val:87},{op:0,bits:8,val:23},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:119},{op:0,bits:8,val:55},{op:0,bits:9,val:207},{op:17,bits:7,val:15},{op:0,bits:8,val:103},{op:0,bits:8,val:39},{op:0,bits:9,val:175},{op:0,bits:8,val:7},{op:0,bits:8,val:135},{op:0,bits:8,val:71},{op:0,bits:9,val:239},{op:16,bits:7,val:9},{op:0,bits:8,val:95},{op:0,bits:8,val:31},{op:0,bits:9,val:159},{op:20,bits:7,val:99},{op:0,bits:8,val:127},{op:0,bits:8,val:63},{op:0,bits:9,val:223},{op:18,bits:7,val:27},{op:0,bits:8,val:111},{op:0,bits:8,val:47},{op:0,bits:9,val:191},{op:0,bits:8,val:15},{op:0,bits:8,val:143},{op:0,bits:8,val:79},{op:0,bits:9,val:255}],v=v||[{op:16,bits:5,val:1},{op:23,bits:5,val:257},{op:19,bits:5,val:17},{op:27,bits:5,val:4097},{op:17,bits:5,val:5},{op:25,bits:5,val:1025},{op:21,bits:5,val:65},{op:29,bits:5,val:16385},{op:16,bits:5,val:3},{op:24,bits:5,val:513},{op:20,bits:5,val:33},{op:28,bits:5,val:8193},{op:18,bits:5,val:9},{op:26,bits:5,val:2049},{op:22,bits:5,val:129},{op:64,bits:5,val:0},{op:16,bits:5,val:2},{op:23,bits:5,val:385},{op:19,bits:5,val:25},{op:27,bits:5,val:6145},{op:17,bits:5,val:7},{op:25,bits:5,val:1537},{op:21,bits:5,val:97},{op:29,bits:5,val:24577},{op:16,bits:5,val:4},{op:24,bits:5,val:769},{op:20,bits:5,val:49},{op:28,bits:5,val:12289},{op:18,bits:5,val:13},{op:26,bits:5,val:3073},{op:22,bits:5,val:193},{op:64,bits:5,val:0}],t.lencode=0,t.distcode=512,a=0;a<512;a++)t.codes[a]=e[a];for(a=0;a<32;a++)t.codes[a+512]=v[a];t.lenbits=9,t.distbits=5}function g(t,a){var i=[255&a,a>>>8&255];t.state.check=t.checksum_function(t.state.check,i,0,2)}function w(t,a){return a.strm=t,a.left=t.avail_out,a.next=t.next_in,a.have=t.avail_in,a.hold=t.state.hold,a.bits=t.state.bits,a}function Z(t){var a=t.strm;a.next_in=t.next,a.avail_out=t.left,a.avail_in=t.have,a.state.hold=t.hold,a.state.bits=t.bits}function x(t){t.hold=0,t.bits=0}function I(t){return 0!=t.have&&(t.have--,t.hold+=(255&t.strm.input_data.charCodeAt(t.next++))<<t.bits,t.bits+=8,!0)}function R(t,a){for(;t.bits<a;)if(!I(t))return!1;return!0}function L(t,a){return t.hold&(1<<a)-1}function A(t,a){t.hold>>>=a,t.bits-=a}function O(t){t.hold>>>=7&t.bits,t.bits-=7&t.bits}function S(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}var H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];ZLIB.inflate=function(t,a){var i,s,o,l,b,e,v,p,n,d,r,h,c=-1,f=-1;if(!t||!t.state||!t.input_data&&0!=t.avail_in)return ZLIB.Z_STREAM_ERROR;(i=t.state).mode==B&&(i.mode=12),w(t,s={}),o=s.have,l=s.left,n=ZLIB.Z_OK;t:for(;;)switch(i.mode){case 0:if(0==i.wrap){i.mode=12;break}if(!R(s,16))break t;if(2&i.wrap&&35615==s.hold){i.check=t.checksum_function(0,null,0,0),g(t,s.hold),x(s),i.mode=1;break}if(i.flags=0,null!==i.head&&(i.head.done=-1),!(1&i.wrap)||((L(s,8)<<8)+(s.hold>>>8))%31){t.msg="incorrect header check",i.mode=E;break}if(L(s,4)!=ZLIB.Z_DEFLATED){t.msg="unknown compression method",i.mode=E;break}if(A(s,4),p=L(s,4)+8,0==i.wbits)i.wbits=p;else if(p>i.wbits){t.msg="invalid window size",i.mode=E;break}i.dmax=1<<p,t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=512&s.hold?9:B,x(s);break;case 1:if(!R(s,16))break t;if(i.flags=s.hold,(255&i.flags)!=ZLIB.Z_DEFLATED){t.msg="unknown compression method",i.mode=E;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=E;break}null!==i.head&&(i.head.text=s.hold>>>8&1),512&i.flags&&g(t,s.hold),x(s),i.mode=2;case 2:if(!R(s,32))break t;null!==i.head&&(i.head.time=s.hold),512&i.flags&&(d=t,r=s.hold,void 0,h=[255&r,r>>>8&255,r>>>16&255,r>>>24&255],d.state.check=d.checksum_function(d.state.check,h,0,4)),x(s),i.mode=3;case 3:if(!R(s,16))break t;null!==i.head&&(i.head.xflags=255&s.hold,i.head.os=s.hold>>>8),512&i.flags&&g(t,s.hold),x(s),i.mode=4;case 4:if(1024&i.flags){if(!R(s,16))break t;i.length=s.hold,null!==i.head&&(i.head.extra_len=s.hold),512&i.flags&&g(t,s.hold),x(s),i.head.extra=""}else null!==i.head&&(i.head.extra=null);i.mode=5;case 5:if(1024&i.flags&&((b=i.length)>s.have&&(b=s.have),b&&(null!==i.head&&null!==i.head.extra&&(p=i.head.extra_len-i.length,i.head.extra+=t.input_data.substring(s.next,s.next+(p+b>i.head.extra_max?i.head.extra_max-p:b))),512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,i.length-=b),i.length))break t;i.length=0,i.mode=6;case 6:if(2048&i.flags){if(0==s.have)break t;null!==i.head&&null===i.head.name&&(i.head.name=""),b=0;do{if(p=t.input_data.charAt(s.next+b),b++,"\0"===p)break;null!==i.head&&i.length<i.head.name_max&&(i.head.name+=p,i.length++)}while(b<s.have);if(512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,"\0"!==p)break t}else null!==i.head&&(i.head.name=null);i.length=0,i.mode=7;case 7:if(4096&i.flags){if(0==s.have)break t;b=0,null!==i.head&&null===i.head.comment&&(i.head.comment="");do{if(p=t.input_data.charAt(s.next+b),b++,"\0"===p)break;null!==i.head&&i.length<i.head.comm_max&&(i.head.comment+=p,i.length++)}while(b<s.have);if(512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,"\0"!==p)break t}else null!==i.head&&(i.head.comment=null);i.mode=8;case 8:if(512&i.flags){if(!R(s,16))break t;if(s.hold!=(65535&i.check)){t.msg="header crc mismatch",i.mode=E;break}x(s)}null!==i.head&&(i.head.hcrc=i.flags>>>9&1,i.head.done=1),t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=B;break;case 9:if(!R(s,32))break t;t.adler=i.check=S(s.hold),x(s),i.mode=10;case 10:if(0==i.havedict)return Z(s),ZLIB.Z_NEED_DICT;t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=B;case B:if(a==ZLIB.Z_BLOCK||a==ZLIB.Z_TREES)break t;case 12:if(i.last){O(s),i.mode=26;break}if(!R(s,3))break t;switch(i.last=L(s,1),A(s,1),L(s,2)){case 0:i.mode=13;break;case 1:if(k(i),i.mode=19,a!=ZLIB.Z_TREES)break;A(s,2);break t;case 2:i.mode=16;break;case 3:t.msg="invalid block type",i.mode=E}A(s,2);break;case 13:if(O(s),!R(s,32))break t;if((65535&s.hold)!=(s.hold>>>16&65535^65535)){t.msg="invalid stored block lengths",i.mode=E;break}if(i.length=65535&s.hold,x(s),i.mode=14,a==ZLIB.Z_TREES)break t;case 14:i.mode=15;case 15:if(b=i.length){if(b>s.have&&(b=s.have),b>s.left&&(b=s.left),0==b)break t;t.output_data+=t.input_data.substring(s.next,s.next+b),t.next_out+=b,s.have-=b,s.next+=b,s.left-=b,i.length-=b;break}i.mode=B;break;case 16:if(!R(s,14))break t;if(i.nlen=L(s,5)+257,A(s,5),i.ndist=L(s,5)+1,A(s,5),i.ncode=L(s,4)+4,A(s,4),286<i.nlen||30<i.ndist){t.msg="too many length or distance symbols",i.mode=E;break}i.have=0,i.mode=17;case 17:for(;i.have<i.ncode;){if(!R(s,3))break t;var u=L(s,3);i.lens[H[i.have++]]=u,A(s,3)}for(;i.have<19;)i.lens[H[i.have++]]=0;if(i.next=0,i.lencode=0,i.lenbits=7,n=_(i,T)){t.msg="invalid code lengths set",i.mode=E;break}i.have=0,i.mode=18;case 18:for(;i.have<i.nlen+i.ndist;){for(;!((e=i.codes[i.lencode+L(s,i.lenbits)]).bits<=s.bits);)if(!I(s))break t;if(e.val<16)A(s,e.bits),i.lens[i.have++]=e.val;else{if(16==e.val){if(!R(s,e.bits+2))break t;if(A(s,e.bits),0==i.have){t.msg="invalid bit length repeat",i.mode=E;break}p=i.lens[i.have-1],b=3+L(s,2),A(s,2)}else if(17==e.val){if(!R(s,e.bits+3))break t;A(s,e.bits),p=0,b=3+L(s,3),A(s,3)}else{if(!R(s,e.bits+7))break t;A(s,e.bits),p=0,b=11+L(s,7),A(s,7)}if(i.have+b>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=E;break}for(;b--;)i.lens[i.have++]=p}}if(i.mode==E)break;if(0==i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=E;break}if(i.next=0,i.lencode=i.next,i.lenbits=9,n=_(i,y)){t.msg="invalid literal/lengths set",i.mode=E;break}if(i.distcode=i.next,i.distbits=6,n=_(i,M)){t.msg="invalid distances set",i.mode=E;break}if(i.mode=19,a==ZLIB.Z_TREES)break t;case 19:i.mode=20;case 20:if(6<=s.have&&258<=s.left){Z(s),m(t,l),w(t,s),i.mode==B&&(i.back=-1);break}for(i.back=0;!((e=i.codes[i.lencode+L(s,i.lenbits)]).bits<=s.bits);)if(!I(s))break t;if(e.op&&0==(240&e.op)){for(v=e;e=i.codes[i.lencode+v.val+(L(s,v.bits+v.op)>>>v.bits)],!(v.bits+e.bits<=s.bits);)if(!I(s))break t;A(s,v.bits),i.back+=v.bits}if(A(s,e.bits),i.back+=e.bits,i.length=e.val,0==e.op){i.mode=25;break}if(32&e.op){i.back=-1,i.mode=B;break}if(64&e.op){t.msg="invalid literal/length code",i.mode=E;break}i.extra=15&e.op,i.mode=21;case 21:if(i.extra){if(!R(s,i.extra))break t;i.length+=L(s,i.extra),A(s,i.extra),i.back+=i.extra}i.was=i.length,i.mode=22;case 22:for(;!((e=i.codes[i.distcode+L(s,i.distbits)]).bits<=s.bits);)if(!I(s))break t;if(0==(240&e.op)){for(v=e;e=i.codes[i.distcode+v.val+(L(s,v.bits+v.op)>>>v.bits)],!(v.bits+e.bits<=s.bits);)if(!I(s))break t;A(s,v.bits),i.back+=v.bits}if(A(s,e.bits),i.back+=e.bits,64&e.op){t.msg="invalid distance code",i.mode=E;break}i.offset=e.val,i.extra=15&e.op,i.mode=23;case 23:if(i.extra){if(!R(s,i.extra))break t;i.offset+=L(s,i.extra),A(s,i.extra),i.back+=i.extra}i.mode=24;case 24:if(0==s.left)break t;if(b=l-s.left,i.offset>b){if((b=i.offset-b)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=E;break}f=(c=b>i.wnext?(b-=i.wnext,i.wsize-b):i.wnext-b,-1),b>i.length&&(b=i.length)}else c=-1,f=t.next_out-i.offset,b=i.length;if(b>s.left&&(b=s.left),s.left-=b,i.length-=b,0<=c)t.output_data+=i.window.substring(c,c+b),t.next_out+=b,b=0;else for(t.next_out+=b;t.output_data+=t.output_data.charAt(f++),--b;);0==i.length&&(i.mode=20);break;case 25:if(0==s.left)break t;t.output_data+=String.fromCharCode(i.length),t.next_out++,s.left--,i.mode=20;break;case 26:if(i.wrap){if(!R(s,32))break t;if(l-=s.left,t.total_out+=l,i.total+=l,l&&(t.adler=i.check=t.checksum_function(i.check,t.output_data,t.output_data.length-l,l)),l=s.left,(i.flags?s.hold:S(s.hold))!=i.check){t.msg="incorrect data check",i.mode=E;break}x(s)}i.mode=27;case 27:if(i.wrap&&i.flags){if(!R(s,32))break t;if(s.hold!=(4294967295&i.total)){t.msg="incorrect length check",i.mode=E;break}x(s)}i.mode=28;case 28:n=ZLIB.Z_STREAM_END;break t;case E:n=ZLIB.Z_DATA_ERROR;break t;case 30:return ZLIB.Z_MEM_ERROR;case 31:default:return ZLIB.Z_STREAM_ERROR}return Z(s),(i.wsize||l!=t.avail_out&&i.mode<E&&(i.mode<26||a!=ZLIB.Z_FINISH))&&function(t){var a=t.state,i=t.output_data.length;return null===a.window&&(a.window=""),0==a.wsize&&(a.wsize=1<<a.wbits),i>=a.wsize?a.window=t.output_data.substring(i-a.wsize):a.whave+i<a.wsize?a.window+=t.output_data:a.window=a.window.substring(a.whave-(a.wsize-i))+t.output_data,a.whave=a.window.length,a.whave<a.wsize?a.wnext=a.whave:a.wnext=0,0}(t)?(i.mode=30,ZLIB.Z_MEM_ERROR):(o-=t.avail_in,l-=t.avail_out,t.total_in+=o,t.total_out+=l,i.total+=l,i.wrap&&l&&(t.adler=i.check=t.checksum_function(i.check,t.output_data,0,t.output_data.length)),t.data_type=i.bits+(i.last?64:0)+(i.mode==B?128:0)+(19==i.mode||14==i.mode?256:0),(0==o&&0==l||a==ZLIB.Z_FINISH)&&n==ZLIB.Z_OK&&(n=ZLIB.Z_BUF_ERROR),n)},ZLIB.inflateEnd=function(t){return t&&t.state?(t.state.window=null,t.state=null,ZLIB.Z_OK):ZLIB.Z_STREAM_ERROR},ZLIB.z_stream.prototype.inflate=function(t,a){var i,s;this.input_data=t,this.next_in=l(a,"next_in",0),this.avail_in=l(a,"avail_in",t.length-this.next_in),i=l(a,"flush",ZLIB.Z_SYNC_FLUSH),s=l(a,"avail_out",-1);var o="";do{if(this.avail_out=0<=s?s:16384,this.output_data="",this.next_out=0,this.error=ZLIB.inflate(this,i),0<=s)return this.output_data;if(o+=this.output_data,0<this.avail_out)break}while(this.error==ZLIB.Z_OK);return o},ZLIB.z_stream.prototype.inflateReset=function(t){return ZLIB.inflateReset(this,t)}}()
\ No newline at end of file
1
+"undefined"==typeof ZLIB&&alert("ZLIB is not defined. SRC zlib.js before zlib-inflate.js"),function(){var B=11,E=29,z=852,C=592,i=z+C,T=0,y=1,M=2,K=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],D=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,203,69],F=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],N=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function g(t,a){for(var i,s,o,l,b,e,v,p,n,d,r,h,c,f,u,_,m,k,g,w,x=t.next,Z=a==M?t.distbits:t.lenbits,I=t.work,L=t.lens,R=a==M?t.nlen:0,B=t.codes,E=a==y?t.nlen:a==M?t.ndist:19,A=new Array(16),S=new Array(16),O=0;O<=15;O++)A[O]=0;for(i=0;i<E;i++)A[L[R+i]]++;for(l=Z,o=15;1<=o&&0==A[o];o--);if(o<l&&(l=o),0==o)return f={op:64,bits:1,val:0},B[x++]=f,B[x++]=f,a==M?t.distbits=1:t.lenbits=1,t.next=x,0;for(s=1;s<o&&0==A[s];s++);for(l<s&&(l=s),O=v=1;O<=15;O++)if(v<<=1,(v-=A[O])<0)return-1;if(0<v&&(a==T||1!=o))return t.next=x,-1;for(S[1]=0,O=1;O<15;O++)S[O+1]=S[O]+A[O];for(i=0;i<E;i++)0!=L[R+i]&&(I[S[L[R+i]]++]=i);switch(a){case T:_=k=I,g=m=0,w=19;break;case y:_=K,k=D,g=m=-257,w=256;break;default:_=F,k=N,g=m=0,w=-1}if(O=s,u=x,e=i=n=0,h=-1,c=(p=1<<(b=l))-1,a==y&&z<=p||a==M&&C<=p)return t.next=x,1;for(;;){for(f={op:0,bits:O-e,val:0},I[i]<w?f.val=I[i]:I[i]>w?(f.op=k[g+I[i]],f.val=_[m+I[i]]):f.op=96,d=1<<O-e,s=r=1<<b;B[u+(n>>>e)+(r-=d)]=f,0!=r;);for(d=1<<O-1;n&d;)d>>>=1;if(0!=d?(n&=d-1,n+=d):n=0,i++,0==--A[O]){if(O==o)break;O=L[R+I[i]]}if(l<O&&(n&c)!=h){for(0==e&&(e=l),u+=s,v=1<<(b=O-e);b+e<o&&!((v-=A[b+e])<=0);)b++,v<<=1;if(p+=1<<b,a==y&&z<=p||a==M&&C<=p)return t.next=x,1;B[x+(h=n&c)]={op:b,bits:l,val:u-x}}}return 0!=n&&(B[u+n]={op:64,bits:O-e,val:0}),t.next=x+p,a==M?t.distbits=l:t.lenbits=l,0}function s(t){for(var a=new Array(t),i=0;i<t;i++)a[i]=0;return a}function l(t,a,i){return t&&a in t?t[a]:i}function o(){return 0}function b(){this.mode=0,this.last=0,this.wrap=0,this.havedict=0,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=0,this.distcode=0,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=0,this.lens=s(320),this.work=s(288),this.codes=new Array(i);for(var t={op:0,bits:0,val:0},a=0;a<i;a++)this.codes[a]=t;this.sane=0,this.back=0,this.was=0}ZLIB.inflate_copyright=" inflate 1.2.6 Copyright 1995-2012 Mark Adler ",ZLIB.inflateResetKeep=function(t){var a;return t&&t.state?(a=t.state,t.total_in=t.total_out=a.total=0,t.msg=null,a.wrap&&(t.adler=1&a.wrap),a.mode=0,a.last=0,a.havedict=0,a.dmax=32768,a.head=null,a.hold=0,a.bits=0,a.lencode=0,a.distcode=0,a.next=0,a.sane=1,a.back=-1,ZLIB.Z_OK):ZLIB.Z_STREAM_ERROR},ZLIB.inflateReset=function(t,a){var i,s;return t&&t.state?(s=t.state,void 0===a&&(a=15),a<0?(i=0,a=-a):(i=1+(a>>>4),a<48&&(a&=15)),1==i&&"function"==typeof ZLIB.adler32?t.checksum_function=ZLIB.adler32:2==i&&"function"==typeof ZLIB.crc32?t.checksum_function=ZLIB.crc32:t.checksum_function=o,a&&(a<8||15<a)?ZLIB.Z_STREAM_ERROR:(s.window&&s.wbits!=a&&(s.window=null),s.wrap=i,s.wbits=a,s.wsize=0,s.whave=0,s.wnext=0,ZLIB.inflateResetKeep(t))):ZLIB.Z_STREAM_ERROR},ZLIB.inflateInit=function(t){var a=new ZLIB.z_stream;return a.state=new b,ZLIB.inflateReset(a,t),a},ZLIB.inflatePrime=function(t,a,i){var s;return t&&t.state?(s=t.state,a<0?(s.hold=0,s.bits=0,ZLIB.Z_OK):16<a||32<s.bits+a?ZLIB.Z_STREAM_ERROR:(i&=(1<<a)-1,s.hold+=i<<s.bits,s.bits+=a,ZLIB.Z_OK)):ZLIB.Z_STREAM_ERROR};var w=null,x=null;function Z(t,a){var i=[255&a,a>>>8&255];t.state.check=t.checksum_function(t.state.check,i,0,2)}function I(t,a){return a.strm=t,a.left=t.avail_out,a.next=t.next_in,a.have=t.avail_in,a.hold=t.state.hold,a.bits=t.state.bits,a}function L(t){var a=t.strm;a.next_in=t.next,a.avail_out=t.left,a.avail_in=t.have,a.state.hold=t.hold,a.state.bits=t.bits}function R(t){t.hold=0,t.bits=0}function A(t){return 0!=t.have&&(t.have--,t.hold+=(255&t.strm.input_data.charCodeAt(t.next++))<<t.bits,t.bits+=8,1)}function S(t,a){for(;t.bits<a;)if(!A(t))return;return 1}function O(t,a){return t.hold&(1<<a)-1}function H(t,a){t.hold>>>=a,t.bits-=a}function j(t){t.hold>>>=7&t.bits,t.bits-=7&t.bits}function U(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}var P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];ZLIB.inflate=function(t,a){var i,s,o,l,b,e,v,p,n,d,r,h,c,f,u,_=-1,m=-1;if(!t||!t.state||!t.input_data&&0!=t.avail_in)return ZLIB.Z_STREAM_ERROR;(i=t.state).mode==B&&(i.mode=12),I(t,s={}),o=s.have,l=s.left,n=ZLIB.Z_OK;t:for(;;)switch(i.mode){case 0:if(0==i.wrap){i.mode=12;break}if(!S(s,16))break t;if(2&i.wrap&&35615==s.hold){i.check=t.checksum_function(0,null,0,0),Z(t,s.hold),R(s),i.mode=1;break}if(i.flags=0,null!==i.head&&(i.head.done=-1),!(1&i.wrap)||((O(s,8)<<8)+(s.hold>>>8))%31){t.msg="incorrect header check",i.mode=E;break}if(O(s,4)!=ZLIB.Z_DEFLATED){t.msg="unknown compression method",i.mode=E;break}if(H(s,4),p=O(s,4)+8,0==i.wbits)i.wbits=p;else if(p>i.wbits){t.msg="invalid window size",i.mode=E;break}i.dmax=1<<p,t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=512&s.hold?9:B,R(s);break;case 1:if(!S(s,16))break t;if(i.flags=s.hold,(255&i.flags)!=ZLIB.Z_DEFLATED){t.msg="unknown compression method",i.mode=E;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=E;break}null!==i.head&&(i.head.text=s.hold>>>8&1),512&i.flags&&Z(t,s.hold),R(s),i.mode=2;case 2:if(!S(s,32))break t;null!==i.head&&(i.head.time=s.hold),512&i.flags&&(d=t,r=s.hold,h=void 0,h=[255&r,r>>>8&255,r>>>16&255,r>>>24&255],d.state.check=d.checksum_function(d.state.check,h,0,4)),R(s),i.mode=3;case 3:if(!S(s,16))break t;null!==i.head&&(i.head.xflags=255&s.hold,i.head.os=s.hold>>>8),512&i.flags&&Z(t,s.hold),R(s),i.mode=4;case 4:if(1024&i.flags){if(!S(s,16))break t;i.length=s.hold,null!==i.head&&(i.head.extra_len=s.hold),512&i.flags&&Z(t,s.hold),R(s),i.head.extra=""}else null!==i.head&&(i.head.extra=null);i.mode=5;case 5:if(1024&i.flags&&((b=i.length)>s.have&&(b=s.have),b&&(null!==i.head&&null!==i.head.extra&&(p=i.head.extra_len-i.length,i.head.extra+=t.input_data.substring(s.next,s.next+(p+b>i.head.extra_max?i.head.extra_max-p:b))),512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,i.length-=b),i.length))break t;i.length=0,i.mode=6;case 6:if(2048&i.flags){if(0==s.have)break t;null!==i.head&&null===i.head.name&&(i.head.name=""),b=0;do{if(p=t.input_data.charAt(s.next+b),b++,"\0"===p)break;null!==i.head&&i.length<i.head.name_max&&(i.head.name+=p,i.length++)}while(b<s.have);if(512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,"\0"!==p)break t}else null!==i.head&&(i.head.name=null);i.length=0,i.mode=7;case 7:if(4096&i.flags){if(0==s.have)break t;b=0,null!==i.head&&null===i.head.comment&&(i.head.comment="");do{if(p=t.input_data.charAt(s.next+b),b++,"\0"===p)break;null!==i.head&&i.length<i.head.comm_max&&(i.head.comment+=p,i.length++)}while(b<s.have);if(512&i.flags&&(i.check=t.checksum_function(i.check,t.input_data,s.next,b)),s.have-=b,s.next+=b,"\0"!==p)break t}else null!==i.head&&(i.head.comment=null);i.mode=8;case 8:if(512&i.flags){if(!S(s,16))break t;if(s.hold!=(65535&i.check)){t.msg="header crc mismatch",i.mode=E;break}R(s)}null!==i.head&&(i.head.hcrc=i.flags>>>9&1,i.head.done=1),t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=B;break;case 9:if(!S(s,32))break t;t.adler=i.check=U(s.hold),R(s),i.mode=10;case 10:if(0==i.havedict)return L(s),ZLIB.Z_NEED_DICT;t.adler=i.check=t.checksum_function(0,null,0,0),i.mode=B;case B:if(a==ZLIB.Z_BLOCK||a==ZLIB.Z_TREES)break t;case 12:if(i.last){j(s),i.mode=26;break}if(!S(s,3))break t;switch(i.last=O(s,1),H(s,1),O(s,2)){case 0:i.mode=13;break;case 1:if(!function(t){var a;for(w=w||[{op:96,bits:7,val:0},{op:0,bits:8,val:80},{op:0,bits:8,val:16},{op:20,bits:8,val:115},{op:18,bits:7,val:31},{op:0,bits:8,val:112},{op:0,bits:8,val:48},{op:0,bits:9,val:192},{op:16,bits:7,val:10},{op:0,bits:8,val:96},{op:0,bits:8,val:32},{op:0,bits:9,val:160},{op:0,bits:8,val:0},{op:0,bits:8,val:128},{op:0,bits:8,val:64},{op:0,bits:9,val:224},{op:16,bits:7,val:6},{op:0,bits:8,val:88},{op:0,bits:8,val:24},{op:0,bits:9,val:144},{op:19,bits:7,val:59},{op:0,bits:8,val:120},{op:0,bits:8,val:56},{op:0,bits:9,val:208},{op:17,bits:7,val:17},{op:0,bits:8,val:104},{op:0,bits:8,val:40},{op:0,bits:9,val:176},{op:0,bits:8,val:8},{op:0,bits:8,val:136},{op:0,bits:8,val:72},{op:0,bits:9,val:240},{op:16,bits:7,val:4},{op:0,bits:8,val:84},{op:0,bits:8,val:20},{op:21,bits:8,val:227},{op:19,bits:7,val:43},{op:0,bits:8,val:116},{op:0,bits:8,val:52},{op:0,bits:9,val:200},{op:17,bits:7,val:13},{op:0,bits:8,val:100},{op:0,bits:8,val:36},{op:0,bits:9,val:168},{op:0,bits:8,val:4},{op:0,bits:8,val:132},{op:0,bits:8,val:68},{op:0,bits:9,val:232},{op:16,bits:7,val:8},{op:0,bits:8,val:92},{op:0,bits:8,val:28},{op:0,bits:9,val:152},{op:20,bits:7,val:83},{op:0,bits:8,val:124},{op:0,bits:8,val:60},{op:0,bits:9,val:216},{op:18,bits:7,val:23},{op:0,bits:8,val:108},{op:0,bits:8,val:44},{op:0,bits:9,val:184},{op:0,bits:8,val:12},{op:0,bits:8,val:140},{op:0,bits:8,val:76},{op:0,bits:9,val:248},{op:16,bits:7,val:3},{op:0,bits:8,val:82},{op:0,bits:8,val:18},{op:21,bits:8,val:163},{op:19,bits:7,val:35},{op:0,bits:8,val:114},{op:0,bits:8,val:50},{op:0,bits:9,val:196},{op:17,bits:7,val:11},{op:0,bits:8,val:98},{op:0,bits:8,val:34},{op:0,bits:9,val:164},{op:0,bits:8,val:2},{op:0,bits:8,val:130},{op:0,bits:8,val:66},{op:0,bits:9,val:228},{op:16,bits:7,val:7},{op:0,bits:8,val:90},{op:0,bits:8,val:26},{op:0,bits:9,val:148},{op:20,bits:7,val:67},{op:0,bits:8,val:122},{op:0,bits:8,val:58},{op:0,bits:9,val:212},{op:18,bits:7,val:19},{op:0,bits:8,val:106},{op:0,bits:8,val:42},{op:0,bits:9,val:180},{op:0,bits:8,val:10},{op:0,bits:8,val:138},{op:0,bits:8,val:74},{op:0,bits:9,val:244},{op:16,bits:7,val:5},{op:0,bits:8,val:86},{op:0,bits:8,val:22},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:118},{op:0,bits:8,val:54},{op:0,bits:9,val:204},{op:17,bits:7,val:15},{op:0,bits:8,val:102},{op:0,bits:8,val:38},{op:0,bits:9,val:172},{op:0,bits:8,val:6},{op:0,bits:8,val:134},{op:0,bits:8,val:70},{op:0,bits:9,val:236},{op:16,bits:7,val:9},{op:0,bits:8,val:94},{op:0,bits:8,val:30},{op:0,bits:9,val:156},{op:20,bits:7,val:99},{op:0,bits:8,val:126},{op:0,bits:8,val:62},{op:0,bits:9,val:220},{op:18,bits:7,val:27},{op:0,bits:8,val:110},{op:0,bits:8,val:46},{op:0,bits:9,val:188},{op:0,bits:8,val:14},{op:0,bits:8,val:142},{op:0,bits:8,val:78},{op:0,bits:9,val:252},{op:96,bits:7,val:0},{op:0,bits:8,val:81},{op:0,bits:8,val:17},{op:21,bits:8,val:131},{op:18,bits:7,val:31},{op:0,bits:8,val:113},{op:0,bits:8,val:49},{op:0,bits:9,val:194},{op:16,bits:7,val:10},{op:0,bits:8,val:97},{op:0,bits:8,val:33},{op:0,bits:9,val:162},{op:0,bits:8,val:1},{op:0,bits:8,val:129},{op:0,bits:8,val:65},{op:0,bits:9,val:226},{op:16,bits:7,val:6},{op:0,bits:8,val:89},{op:0,bits:8,val:25},{op:0,bits:9,val:146},{op:19,bits:7,val:59},{op:0,bits:8,val:121},{op:0,bits:8,val:57},{op:0,bits:9,val:210},{op:17,bits:7,val:17},{op:0,bits:8,val:105},{op:0,bits:8,val:41},{op:0,bits:9,val:178},{op:0,bits:8,val:9},{op:0,bits:8,val:137},{op:0,bits:8,val:73},{op:0,bits:9,val:242},{op:16,bits:7,val:4},{op:0,bits:8,val:85},{op:0,bits:8,val:21},{op:16,bits:8,val:258},{op:19,bits:7,val:43},{op:0,bits:8,val:117},{op:0,bits:8,val:53},{op:0,bits:9,val:202},{op:17,bits:7,val:13},{op:0,bits:8,val:101},{op:0,bits:8,val:37},{op:0,bits:9,val:170},{op:0,bits:8,val:5},{op:0,bits:8,val:133},{op:0,bits:8,val:69},{op:0,bits:9,val:234},{op:16,bits:7,val:8},{op:0,bits:8,val:93},{op:0,bits:8,val:29},{op:0,bits:9,val:154},{op:20,bits:7,val:83},{op:0,bits:8,val:125},{op:0,bits:8,val:61},{op:0,bits:9,val:218},{op:18,bits:7,val:23},{op:0,bits:8,val:109},{op:0,bits:8,val:45},{op:0,bits:9,val:186},{op:0,bits:8,val:13},{op:0,bits:8,val:141},{op:0,bits:8,val:77},{op:0,bits:9,val:250},{op:16,bits:7,val:3},{op:0,bits:8,val:83},{op:0,bits:8,val:19},{op:21,bits:8,val:195},{op:19,bits:7,val:35},{op:0,bits:8,val:115},{op:0,bits:8,val:51},{op:0,bits:9,val:198},{op:17,bits:7,val:11},{op:0,bits:8,val:99},{op:0,bits:8,val:35},{op:0,bits:9,val:166},{op:0,bits:8,val:3},{op:0,bits:8,val:131},{op:0,bits:8,val:67},{op:0,bits:9,val:230},{op:16,bits:7,val:7},{op:0,bits:8,val:91},{op:0,bits:8,val:27},{op:0,bits:9,val:150},{op:20,bits:7,val:67},{op:0,bits:8,val:123},{op:0,bits:8,val:59},{op:0,bits:9,val:214},{op:18,bits:7,val:19},{op:0,bits:8,val:107},{op:0,bits:8,val:43},{op:0,bits:9,val:182},{op:0,bits:8,val:11},{op:0,bits:8,val:139},{op:0,bits:8,val:75},{op:0,bits:9,val:246},{op:16,bits:7,val:5},{op:0,bits:8,val:87},{op:0,bits:8,val:23},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:119},{op:0,bits:8,val:55},{op:0,bits:9,val:206},{op:17,bits:7,val:15},{op:0,bits:8,val:103},{op:0,bits:8,val:39},{op:0,bits:9,val:174},{op:0,bits:8,val:7},{op:0,bits:8,val:135},{op:0,bits:8,val:71},{op:0,bits:9,val:238},{op:16,bits:7,val:9},{op:0,bits:8,val:95},{op:0,bits:8,val:31},{op:0,bits:9,val:158},{op:20,bits:7,val:99},{op:0,bits:8,val:127},{op:0,bits:8,val:63},{op:0,bits:9,val:222},{op:18,bits:7,val:27},{op:0,bits:8,val:111},{op:0,bits:8,val:47},{op:0,bits:9,val:190},{op:0,bits:8,val:15},{op:0,bits:8,val:143},{op:0,bits:8,val:79},{op:0,bits:9,val:254},{op:96,bits:7,val:0},{op:0,bits:8,val:80},{op:0,bits:8,val:16},{op:20,bits:8,val:115},{op:18,bits:7,val:31},{op:0,bits:8,val:112},{op:0,bits:8,val:48},{op:0,bits:9,val:193},{op:16,bits:7,val:10},{op:0,bits:8,val:96},{op:0,bits:8,val:32},{op:0,bits:9,val:161},{op:0,bits:8,val:0},{op:0,bits:8,val:128},{op:0,bits:8,val:64},{op:0,bits:9,val:225},{op:16,bits:7,val:6},{op:0,bits:8,val:88},{op:0,bits:8,val:24},{op:0,bits:9,val:145},{op:19,bits:7,val:59},{op:0,bits:8,val:120},{op:0,bits:8,val:56},{op:0,bits:9,val:209},{op:17,bits:7,val:17},{op:0,bits:8,val:104},{op:0,bits:8,val:40},{op:0,bits:9,val:177},{op:0,bits:8,val:8},{op:0,bits:8,val:136},{op:0,bits:8,val:72},{op:0,bits:9,val:241},{op:16,bits:7,val:4},{op:0,bits:8,val:84},{op:0,bits:8,val:20},{op:21,bits:8,val:227},{op:19,bits:7,val:43},{op:0,bits:8,val:116},{op:0,bits:8,val:52},{op:0,bits:9,val:201},{op:17,bits:7,val:13},{op:0,bits:8,val:100},{op:0,bits:8,val:36},{op:0,bits:9,val:169},{op:0,bits:8,val:4},{op:0,bits:8,val:132},{op:0,bits:8,val:68},{op:0,bits:9,val:233},{op:16,bits:7,val:8},{op:0,bits:8,val:92},{op:0,bits:8,val:28},{op:0,bits:9,val:153},{op:20,bits:7,val:83},{op:0,bits:8,val:124},{op:0,bits:8,val:60},{op:0,bits:9,val:217},{op:18,bits:7,val:23},{op:0,bits:8,val:108},{op:0,bits:8,val:44},{op:0,bits:9,val:185},{op:0,bits:8,val:12},{op:0,bits:8,val:140},{op:0,bits:8,val:76},{op:0,bits:9,val:249},{op:16,bits:7,val:3},{op:0,bits:8,val:82},{op:0,bits:8,val:18},{op:21,bits:8,val:163},{op:19,bits:7,val:35},{op:0,bits:8,val:114},{op:0,bits:8,val:50},{op:0,bits:9,val:197},{op:17,bits:7,val:11},{op:0,bits:8,val:98},{op:0,bits:8,val:34},{op:0,bits:9,val:165},{op:0,bits:8,val:2},{op:0,bits:8,val:130},{op:0,bits:8,val:66},{op:0,bits:9,val:229},{op:16,bits:7,val:7},{op:0,bits:8,val:90},{op:0,bits:8,val:26},{op:0,bits:9,val:149},{op:20,bits:7,val:67},{op:0,bits:8,val:122},{op:0,bits:8,val:58},{op:0,bits:9,val:213},{op:18,bits:7,val:19},{op:0,bits:8,val:106},{op:0,bits:8,val:42},{op:0,bits:9,val:181},{op:0,bits:8,val:10},{op:0,bits:8,val:138},{op:0,bits:8,val:74},{op:0,bits:9,val:245},{op:16,bits:7,val:5},{op:0,bits:8,val:86},{op:0,bits:8,val:22},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:118},{op:0,bits:8,val:54},{op:0,bits:9,val:205},{op:17,bits:7,val:15},{op:0,bits:8,val:102},{op:0,bits:8,val:38},{op:0,bits:9,val:173},{op:0,bits:8,val:6},{op:0,bits:8,val:134},{op:0,bits:8,val:70},{op:0,bits:9,val:237},{op:16,bits:7,val:9},{op:0,bits:8,val:94},{op:0,bits:8,val:30},{op:0,bits:9,val:157},{op:20,bits:7,val:99},{op:0,bits:8,val:126},{op:0,bits:8,val:62},{op:0,bits:9,val:221},{op:18,bits:7,val:27},{op:0,bits:8,val:110},{op:0,bits:8,val:46},{op:0,bits:9,val:189},{op:0,bits:8,val:14},{op:0,bits:8,val:142},{op:0,bits:8,val:78},{op:0,bits:9,val:253},{op:96,bits:7,val:0},{op:0,bits:8,val:81},{op:0,bits:8,val:17},{op:21,bits:8,val:131},{op:18,bits:7,val:31},{op:0,bits:8,val:113},{op:0,bits:8,val:49},{op:0,bits:9,val:195},{op:16,bits:7,val:10},{op:0,bits:8,val:97},{op:0,bits:8,val:33},{op:0,bits:9,val:163},{op:0,bits:8,val:1},{op:0,bits:8,val:129},{op:0,bits:8,val:65},{op:0,bits:9,val:227},{op:16,bits:7,val:6},{op:0,bits:8,val:89},{op:0,bits:8,val:25},{op:0,bits:9,val:147},{op:19,bits:7,val:59},{op:0,bits:8,val:121},{op:0,bits:8,val:57},{op:0,bits:9,val:211},{op:17,bits:7,val:17},{op:0,bits:8,val:105},{op:0,bits:8,val:41},{op:0,bits:9,val:179},{op:0,bits:8,val:9},{op:0,bits:8,val:137},{op:0,bits:8,val:73},{op:0,bits:9,val:243},{op:16,bits:7,val:4},{op:0,bits:8,val:85},{op:0,bits:8,val:21},{op:16,bits:8,val:258},{op:19,bits:7,val:43},{op:0,bits:8,val:117},{op:0,bits:8,val:53},{op:0,bits:9,val:203},{op:17,bits:7,val:13},{op:0,bits:8,val:101},{op:0,bits:8,val:37},{op:0,bits:9,val:171},{op:0,bits:8,val:5},{op:0,bits:8,val:133},{op:0,bits:8,val:69},{op:0,bits:9,val:235},{op:16,bits:7,val:8},{op:0,bits:8,val:93},{op:0,bits:8,val:29},{op:0,bits:9,val:155},{op:20,bits:7,val:83},{op:0,bits:8,val:125},{op:0,bits:8,val:61},{op:0,bits:9,val:219},{op:18,bits:7,val:23},{op:0,bits:8,val:109},{op:0,bits:8,val:45},{op:0,bits:9,val:187},{op:0,bits:8,val:13},{op:0,bits:8,val:141},{op:0,bits:8,val:77},{op:0,bits:9,val:251},{op:16,bits:7,val:3},{op:0,bits:8,val:83},{op:0,bits:8,val:19},{op:21,bits:8,val:195},{op:19,bits:7,val:35},{op:0,bits:8,val:115},{op:0,bits:8,val:51},{op:0,bits:9,val:199},{op:17,bits:7,val:11},{op:0,bits:8,val:99},{op:0,bits:8,val:35},{op:0,bits:9,val:167},{op:0,bits:8,val:3},{op:0,bits:8,val:131},{op:0,bits:8,val:67},{op:0,bits:9,val:231},{op:16,bits:7,val:7},{op:0,bits:8,val:91},{op:0,bits:8,val:27},{op:0,bits:9,val:151},{op:20,bits:7,val:67},{op:0,bits:8,val:123},{op:0,bits:8,val:59},{op:0,bits:9,val:215},{op:18,bits:7,val:19},{op:0,bits:8,val:107},{op:0,bits:8,val:43},{op:0,bits:9,val:183},{op:0,bits:8,val:11},{op:0,bits:8,val:139},{op:0,bits:8,val:75},{op:0,bits:9,val:247},{op:16,bits:7,val:5},{op:0,bits:8,val:87},{op:0,bits:8,val:23},{op:64,bits:8,val:0},{op:19,bits:7,val:51},{op:0,bits:8,val:119},{op:0,bits:8,val:55},{op:0,bits:9,val:207},{op:17,bits:7,val:15},{op:0,bits:8,val:103},{op:0,bits:8,val:39},{op:0,bits:9,val:175},{op:0,bits:8,val:7},{op:0,bits:8,val:135},{op:0,bits:8,val:71},{op:0,bits:9,val:239},{op:16,bits:7,val:9},{op:0,bits:8,val:95},{op:0,bits:8,val:31},{op:0,bits:9,val:159},{op:20,bits:7,val:99},{op:0,bits:8,val:127},{op:0,bits:8,val:63},{op:0,bits:9,val:223},{op:18,bits:7,val:27},{op:0,bits:8,val:111},{op:0,bits:8,val:47},{op:0,bits:9,val:191},{op:0,bits:8,val:15},{op:0,bits:8,val:143},{op:0,bits:8,val:79},{op:0,bits:9,val:255}],x=x||[{op:16,bits:5,val:1},{op:23,bits:5,val:257},{op:19,bits:5,val:17},{op:27,bits:5,val:4097},{op:17,bits:5,val:5},{op:25,bits:5,val:1025},{op:21,bits:5,val:65},{op:29,bits:5,val:16385},{op:16,bits:5,val:3},{op:24,bits:5,val:513},{op:20,bits:5,val:33},{op:28,bits:5,val:8193},{op:18,bits:5,val:9},{op:26,bits:5,val:2049},{op:22,bits:5,val:129},{op:64,bits:5,val:0},{op:16,bits:5,val:2},{op:23,bits:5,val:385},{op:19,bits:5,val:25},{op:27,bits:5,val:6145},{op:17,bits:5,val:7},{op:25,bits:5,val:1537},{op:21,bits:5,val:97},{op:29,bits:5,val:24577},{op:16,bits:5,val:4},{op:24,bits:5,val:769},{op:20,bits:5,val:49},{op:28,bits:5,val:12289},{op:18,bits:5,val:13},{op:26,bits:5,val:3073},{op:22,bits:5,val:193},{op:64,bits:5,val:0}],t.lencode=0,t.distcode=512,a=0;a<512;a++)t.codes[a]=w[a];for(a=0;a<32;a++)t.codes[a+512]=x[a];t.lenbits=9,t.distbits=5}(i),i.mode=19,a!=ZLIB.Z_TREES)break;H(s,2);break t;case 2:i.mode=16;break;case 3:t.msg="invalid block type",i.mode=E}H(s,2);break;case 13:if(j(s),!S(s,32))break t;if((65535&s.hold)!=(s.hold>>>16&65535^65535)){t.msg="invalid stored block lengths",i.mode=E;break}if(i.length=65535&s.hold,R(s),i.mode=14,a==ZLIB.Z_TREES)break t;case 14:i.mode=15;case 15:if(b=i.length){if(b>s.have&&(b=s.have),b>s.left&&(b=s.left),0==b)break t;t.output_data+=t.input_data.substring(s.next,s.next+b),t.next_out+=b,s.have-=b,s.next+=b,s.left-=b,i.length-=b;break}i.mode=B;break;case 16:if(!S(s,14))break t;if(i.nlen=O(s,5)+257,H(s,5),i.ndist=O(s,5)+1,H(s,5),i.ncode=O(s,4)+4,H(s,4),286<i.nlen||30<i.ndist){t.msg="too many length or distance symbols",i.mode=E;break}i.have=0,i.mode=17;case 17:for(;i.have<i.ncode;){if(!S(s,3))break t;var k=O(s,3);i.lens[P[i.have++]]=k,H(s,3)}for(;i.have<19;)i.lens[P[i.have++]]=0;if(i.next=0,i.lencode=0,i.lenbits=7,n=g(i,T)){t.msg="invalid code lengths set",i.mode=E;break}i.have=0,i.mode=18;case 18:for(;i.have<i.nlen+i.ndist;){for(;!((e=i.codes[i.lencode+O(s,i.lenbits)]).bits<=s.bits);)if(!A(s))break t;if(e.val<16)H(s,e.bits),i.lens[i.have++]=e.val;else{if(16==e.val){if(!S(s,e.bits+2))break t;if(H(s,e.bits),0==i.have){t.msg="invalid bit length repeat",i.mode=E;break}p=i.lens[i.have-1],b=3+O(s,2),H(s,2)}else if(17==e.val){if(!S(s,e.bits+3))break t;H(s,e.bits),p=0,b=3+O(s,3),H(s,3)}else{if(!S(s,e.bits+7))break t;H(s,e.bits),p=0,b=11+O(s,7),H(s,7)}if(i.have+b>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=E;break}for(;b--;)i.lens[i.have++]=p}}if(i.mode==E)break;if(0==i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=E;break}if(i.next=0,i.lencode=i.next,i.lenbits=9,n=g(i,y)){t.msg="invalid literal/lengths set",i.mode=E;break}if(i.distcode=i.next,i.distbits=6,n=g(i,M)){t.msg="invalid distances set",i.mode=E;break}if(i.mode=19,a==ZLIB.Z_TREES)break t;case 19:i.mode=20;case 20:if(6<=s.have&&258<=s.left){L(s),function(t,a){var i,s,o,l,b=-1,e=-1,v=t.state,p=t.input_data,n=t.next_in,d=n+t.avail_in-5,r=t.next_out,h=r-(a-t.avail_out),c=r+(t.avail_out-257),f=v.wsize,u=v.whave,_=v.wnext,m=v.window,k=v.hold,g=v.bits,w=v.codes,x=v.lencode,Z=v.distcode,I=(1<<v.lenbits)-1,L=(1<<v.distbits)-1;a:do{g<15&&(k+=(255&p.charCodeAt(n++))<<g,g+=8,k+=(255&p.charCodeAt(n++))<<g,g+=8),i=w[x+(k&I)];i:for(;;){if(k>>>=s=i.bits,g-=s,0==(s=i.op))t.output_data+=String.fromCharCode(i.val),r++;else{if(!(16&s)){if(0==(64&s)){i=w[x+(i.val+(k&(1<<s)-1))];continue i}if(32&s){v.mode=B;break a}t.msg="invalid literal/length code",v.mode=E;break a}o=i.val,(s&=15)&&(g<s&&(k+=(255&p.charCodeAt(n++))<<g,g+=8),o+=k&(1<<s)-1,k>>>=s,g-=s),g<15&&(k+=(255&p.charCodeAt(n++))<<g,g+=8,k+=(255&p.charCodeAt(n++))<<g,g+=8),i=w[Z+(k&L)];s:for(;;){if(k>>>=s=i.bits,g-=s,!(16&(s=i.op))){if(0==(64&s)){i=w[Z+(i.val+(k&(1<<s)-1))];continue s}t.msg="invalid distance code",v.mode=E;break a}if(l=i.val,g<(s&=15)&&(k+=(255&p.charCodeAt(n++))<<g,(g+=8)<s&&(k+=(255&p.charCodeAt(n++))<<g,g+=8)),l+=k&(1<<s)-1,k>>>=s,g-=s,(s=r-h)<l){if(u<(s=l-s)&&v.sane){t.msg="invalid distance too far back",v.mode=E;break a}e=-1,(b=0)==_?(b+=f-s,s<o&&(o-=s,t.output_data+=m.substring(b,b+s),r+=s,s=0,b=-1,e=r-l)):(b+=_-s,s<o&&(o-=s,t.output_data+=m.substring(b,b+s),b=-1,e=(r+=s)-l))}else b=-1,e=r-l;if(0<=b)t.output_data+=m.substring(b,b+o),r+=o,b+=o;else{var R=o;for(r-e<R&&(R=r-e),t.output_data+=t.output_data.substring(e,e+R),r+=R,e+=R,r+=o-=R;2<o;)t.output_data+=t.output_data.charAt(e++),t.output_data+=t.output_data.charAt(e++),t.output_data+=t.output_data.charAt(e++),o-=3;o&&(t.output_data+=t.output_data.charAt(e++),1<o&&(t.output_data+=t.output_data.charAt(e++)))}break s}}break i}}while(n<d&&r<c);n-=o=g>>>3,k&=(1<<(g-=o<<3))-1,t.next_in=n,t.next_out=r,t.avail_in=n<d?d-n+5:5-(n-d),t.avail_out=r<c?c-r+257:257-(r-c),v.hold=k,v.bits=g}(t,l),I(t,s),i.mode==B&&(i.back=-1);break}for(i.back=0;!((e=i.codes[i.lencode+O(s,i.lenbits)]).bits<=s.bits);)if(!A(s))break t;if(e.op&&0==(240&e.op)){for(v=e;e=i.codes[i.lencode+v.val+(O(s,v.bits+v.op)>>>v.bits)],!(v.bits+e.bits<=s.bits);)if(!A(s))break t;H(s,v.bits),i.back+=v.bits}if(H(s,e.bits),i.back+=e.bits,i.length=e.val,0==e.op){i.mode=25;break}if(32&e.op){i.back=-1,i.mode=B;break}if(64&e.op){t.msg="invalid literal/length code",i.mode=E;break}i.extra=15&e.op,i.mode=21;case 21:if(i.extra){if(!S(s,i.extra))break t;i.length+=O(s,i.extra),H(s,i.extra),i.back+=i.extra}i.was=i.length,i.mode=22;case 22:for(;!((e=i.codes[i.distcode+O(s,i.distbits)]).bits<=s.bits);)if(!A(s))break t;if(0==(240&e.op)){for(v=e;e=i.codes[i.distcode+v.val+(O(s,v.bits+v.op)>>>v.bits)],!(v.bits+e.bits<=s.bits);)if(!A(s))break t;H(s,v.bits),i.back+=v.bits}if(H(s,e.bits),i.back+=e.bits,64&e.op){t.msg="invalid distance code",i.mode=E;break}i.offset=e.val,i.extra=15&e.op,i.mode=23;case 23:if(i.extra){if(!S(s,i.extra))break t;i.offset+=O(s,i.extra),H(s,i.extra),i.back+=i.extra}i.mode=24;case 24:if(0==s.left)break t;if(b=l-s.left,i.offset>b){if((b=i.offset-b)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=E;break}m=(_=b>i.wnext?(b-=i.wnext,i.wsize-b):i.wnext-b,-1),b>i.length&&(b=i.length)}else _=-1,m=t.next_out-i.offset,b=i.length;if(b>s.left&&(b=s.left),s.left-=b,i.length-=b,0<=_)t.output_data+=i.window.substring(_,_+b),t.next_out+=b,b=0;else for(t.next_out+=b;t.output_data+=t.output_data.charAt(m++),--b;);0==i.length&&(i.mode=20);break;case 25:if(0==s.left)break t;t.output_data+=String.fromCharCode(i.length),t.next_out++,s.left--,i.mode=20;break;case 26:if(i.wrap){if(!S(s,32))break t;if(l-=s.left,t.total_out+=l,i.total+=l,l&&(t.adler=i.check=t.checksum_function(i.check,t.output_data,t.output_data.length-l,l)),l=s.left,(i.flags?s.hold:U(s.hold))!=i.check){t.msg="incorrect data check",i.mode=E;break}R(s)}i.mode=27;case 27:if(i.wrap&&i.flags){if(!S(s,32))break t;if(s.hold!=(4294967295&i.total)){t.msg="incorrect length check",i.mode=E;break}R(s)}i.mode=28;case 28:n=ZLIB.Z_STREAM_END;break t;case E:n=ZLIB.Z_DATA_ERROR;break t;case 30:return ZLIB.Z_MEM_ERROR;case 31:default:return ZLIB.Z_STREAM_ERROR}return L(s),(i.wsize||l!=t.avail_out&&i.mode<E&&(i.mode<26||a!=ZLIB.Z_FINISH))&&(f=(c=t).state,u=c.output_data.length,null===f.window&&(f.window=""),0==f.wsize&&(f.wsize=1<<f.wbits),u>=f.wsize?f.window=c.output_data.substring(u-f.wsize):f.whave+u<f.wsize?f.window+=c.output_data:f.window=f.window.substring(f.whave-(f.wsize-u))+c.output_data,f.whave=f.window.length,f.whave<f.wsize?f.wnext=f.whave:f.wnext=0),o-=t.avail_in,l-=t.avail_out,t.total_in+=o,t.total_out+=l,i.total+=l,i.wrap&&l&&(t.adler=i.check=t.checksum_function(i.check,t.output_data,0,t.output_data.length)),t.data_type=i.bits+(i.last?64:0)+(i.mode==B?128:0)+(19==i.mode||14==i.mode?256:0),(0==o&&0==l||a==ZLIB.Z_FINISH)&&n==ZLIB.Z_OK&&(n=ZLIB.Z_BUF_ERROR),n},ZLIB.inflateEnd=function(t){return t&&t.state?(t.state.window=null,t.state=null,ZLIB.Z_OK):ZLIB.Z_STREAM_ERROR},ZLIB.z_stream.prototype.inflate=function(t,a){var i,s;this.input_data=t,this.next_in=l(a,"next_in",0),this.avail_in=l(a,"avail_in",t.length-this.next_in),i=l(a,"flush",ZLIB.Z_SYNC_FLUSH),s=l(a,"avail_out",-1);var o="";do{if(this.avail_out=0<=s?s:16384,this.output_data="",this.next_out=0,this.error=ZLIB.inflate(this,i),0<=s)return this.output_data;if(o+=this.output_data,0<this.avail_out)break}while(this.error==ZLIB.Z_OK);return o},ZLIB.z_stream.prototype.inflateReset=function(t){return ZLIB.inflateReset(this,t)}}()
\ No newline at end of file
translate/translate - Copy.json
new
+38356
@@ -0,0 +1,38356 @@
1
+{
2
+ "strings": [
3
+ {
4
+ "cs": " + CIRA",
5
+ "de": " + CIRA",
6
+ "en": " + CIRA",
7
+ "es": " + CIRA",
8
+ "fi": " + CIRA",
9
+ "fr": " + CIRA",
10
+ "hi": " + CIRA",
11
+ "ja": " + CIRA",
12
+ "ko": " + CIRA",
13
+ "nl": " + CIRA",
14
+ "pt": " + CIRA",
15
+ "ru": " + CIRA",
16
+ "tr": " + CIRA",
17
+ "zh-chs": " + CIRA",
18
+ "zh-cht": " + CIRA",
19
+ "xloc": [
20
+ "default.handlebars->27->1324",
21
+ "default.handlebars->27->1326"
22
+ ]
23
+ },
24
+ {
25
+ "cs": " - Resetovat za 1 den.",
26
+ "de": " - Zurücksetzen in 1 Tag.",
27
+ "en": " - Reset in 1 day.",
28
+ "es": " - Reiniciar en 1 dia.",
29
+ "fi": " - Nollaa 1 päivässä.",
30
+ "fr": " - Réinitialisation dans un jour",
31
+ "hi": " - 1 दिन में रीसेट करें।",
32
+ "ja": " - 1日でリセットします。",
33
+ "ko": " - 1일 후에 재설정합니다.",
34
+ "nl": " - Herstart in {0} dag.",
35
+ "pt": " - Redefinir em 1 dia.",
36
+ "ru": " - Сброс через 1 день.",
37
+ "tr": " - 1 gün içinde sıfırlayın.",
38
+ "zh-chs": " - 1天后重设。",
39
+ "zh-cht": " - 1天后重設。",
40
+ "xloc": [
41
+ "default-mobile.handlebars->9->46",
42
+ "default.handlebars->27->57"
43
+ ]
44
+ },
45
+ {
46
+ "cs": " - Resetovat za 1 hodinu.",
47
+ "de": " - Zurücksetzen in 1 Stunde.",
48
+ "en": " - Reset in 1 hour.",
49
+ "es": " - Reiniciar en 1 hora.",
50
+ "fi": " - Nollaa 1 tunnissa.",
51
+ "fr": " - Réinitialisation dans une heure",
52
+ "hi": " - 1 घंटे में रीसेट करें।",
53
+ "ja": " - 1時間でリセットします。",
54
+ "ko": " - 1시간 후에 재설정합니다.",
55
+ "nl": " - Herstart in 1 uur.",
56
+ "pt": " - Reinicie em 1 hora.",
57
+ "ru": " - Сброс через 1 час.",
58
+ "tr": " - 1 saat içinde sıfırlayın.",
59
+ "zh-chs": " - 1小时后重设。",
60
+ "zh-cht": " - 1小時後重設。",
61
+ "xloc": [
62
+ "default-mobile.handlebars->9->44",
63
+ "default.handlebars->27->55"
64
+ ]
65
+ },
66
+ {
67
+ "cs": " - Resetovat za 1 minutu.",
68
+ "de": " - Zurücksetzen in 1 Minute.",
69
+ "en": " - Reset in 1 minute.",
70
+ "es": " - Reiniciar en 1 minuto.",
71
+ "fi": " - Nollaa 1 minuutissa.",
72
+ "fr": " - Réinitialisation dans une minute",
73
+ "hi": " - 1 मिनट में रीसेट करें।",
74
+ "ja": " - 1分でリセットします。",
75
+ "ko": " - 1분 후에 재설정하십시오.",
76
+ "nl": " - Herstart in {0} days.",
77
+ "pt": " - Reinicie em 1 minuto.",
78
+ "ru": " - Сброс через 1 минуту.",
79
+ "tr": " - 1 dakika içinde sıfırlayın.",
80
+ "zh-chs": " - 1分钟后重设。",
81
+ "zh-cht": " - 1分鐘後重設。",
82
+ "xloc": [
83
+ "default-mobile.handlebars->9->42",
84
+ "default.handlebars->27->53"
85
+ ]
86
+ },
87
+ {
88
+ "cs": " - Resetovat za {0} dnů.",
89
+ "de": " - Zurücksetzen in {0} Tagen.",
90
+ "en": " - Reset in {0} days.",
91
+ "es": " - Reiniciar en {0} dias.",
92
+ "fi": " - Nollaa {0} päivässä.",
93
+ "fr": " - Réinitialisation dans {0} jours.",
94
+ "hi": " - {0} दिनों में रीसेट करें।",
95
+ "ja": " - {0}日後にリセットします。",
96
+ "ko": " - {0}일 후에 재설정하십시오.",
97
+ "nl": " - Herstart in {0} dagen.",
98
+ "pt": " - Redefina em {0} dias.",
99
+ "ru": " - Сброс через {0} дней.",
100
+ "tr": "- {0} gün içinde sıfırlayın.",
101
+ "zh-chs": " - 在{0}天内重置。",
102
+ "zh-cht": " - 在{0}天內重置。",
103
+ "xloc": [
104
+ "default-mobile.handlebars->9->47",
105
+ "default.handlebars->27->58"
106
+ ]
107
+ },
108
+ {
109
+ "cs": " - Resetovat za {0} hodin.",
110
+ "de": " - Zurücksetzen in {0} Stunden.",
111
+ "en": " - Reset in {0} hours.",
112
+ "es": " - Reiniciar en {0} horas.",
113
+ "fi": " - Nollaa {0} tunnissa.",
114
+ "fr": " - Réinitialisation dans {0} heures.",
115
+ "hi": " - {0} घंटे में रीसेट करें।",
116
+ "ja": " - {0}時間後にリセットします。",
117
+ "ko": " - {0}시간 후에 재설정하십시오.",
118
+ "nl": " - Herstart in {0} uren.",
119
+ "pt": " - Redefina em {0} horas.",
120
+ "ru": " - Сброс через {0} часов.",
121
+ "tr": " - {0} saat içinde sıfırlayın.",
122
+ "zh-chs": " - 在{0}小时内重置。",
123
+ "zh-cht": " - 在{0}小時內重置。",
124
+ "xloc": [
125
+ "default-mobile.handlebars->9->45",
126
+ "default.handlebars->27->56"
127
+ ]
128
+ },
129
+ {
130
+ "cs": " - Resetovat za {0} minut.",
131
+ "de": " - Zurücksetzen in {0} Minuten.",
132
+ "en": " - Reset in {0} minutes.",
133
+ "es": " - Reiniciar en {0} minutos.",
134
+ "fi": " - Nollaa {0} minuutissa.",
135
+ "fr": " - Réinitialisation dans {0} minutes.",
136
+ "hi": " - {0} मिनट में रीसेट करें।",
137
+ "ja": " - {0}分でリセットします。",
138
+ "ko": " - {0}분 후에 재설정하십시오.",
139
+ "nl": " - Herstart in {0} minuten.",
140
+ "pt": " - Redefina em {0} minutos.",
141
+ "ru": " - Сброс через {0} минут.",
142
+ "tr": " - {0} dakika içinde sıfırlayın.",
143
+ "zh-chs": " - 在{0}分钟内重置。",
144
+ "zh-cht": " - 在{0}分鐘內重置。",
145
+ "xloc": [
146
+ "default-mobile.handlebars->9->43",
147
+ "default.handlebars->27->54"
148
+ ]
149
+ },
150
+ {
151
+ "cs": " - Resetovat při příštím přihlášení.",
152
+ "de": " - Beim nächsten Anmelden zurücksetzen.",
153
+ "en": " - Reset on next login.",
154
+ "es": " - Reiniciar en el proximo inicio de sesión.",
155
+ "fi": " - Nollaa seuraavan kirjautumisen yhteydessä.",
156
+ "fr": " - Réinitialiser à la prochaine connexion.",
157
+ "hi": " - अगले लॉगिन पर रीसेट करें।",
158
+ "ja": " - 次回ログイン時にリセット。",
159
+ "ko": " - 다음에 로그인할 때 초기화하십시오.",
160
+ "nl": " - Reset bij volgende inlog.",
161
+ "pt": " - Redefinir no próximo login.",
162
+ "ru": " - Сброс при следующем входе.",
163
+ "tr": " - Sonraki girişte sıfırlayın.",
164
+ "zh-chs": " -下次登录时重置。",
165
+ "zh-cht": " -下次登入時重置。",
166
+ "xloc": [
167
+ "default-mobile.handlebars->9->40",
168
+ "default-mobile.handlebars->9->41",
169
+ "default.handlebars->27->51",
170
+ "default.handlebars->27->52"
171
+ ]
172
+ },
173
+ {
174
+ "cs": " Přidat uživatele",
175
+ "de": " Benutzer hinzufügen",
176
+ "en": " Add User",
177
+ "es": " Agregar Usuario",
178
+ "fi": "Lisää Käyttäjä",
179
+ "fr": " Ajouter un utilisateur",
180
+ "hi": " उपयोगकर्ता जोड़ें",
181
+ "ja": " ユーザーを追加する",
182
+ "ko": " 사용자 추가",
183
+ "nl": " Gebruiker toevoegen",
184
+ "pt": " Adicionar usuário",
185
+ "ru": " Добавить пользователя",
186
+ "tr": " Kullanıcı Ekle",
187
+ "zh-chs": " 添加用户",
188
+ "zh-cht": " 新增用戶"
189
+ },
190
+ {
191
+ "cs": " Je možné zadat i nápovědu pro heslo, ale nedoporučuje se to.",
192
+ "de": " Passwort-Hinweis kann verwendet werden, wird jedoch nicht empfohlen.",
193
+ "en": " Password hint can be used but is not recommanded.",
194
+ "es": "La sugerencia de contraseña se puede usar pero no se recomienda.",
195
+ "fi": " Salasanavihjeitä voidaan käyttää, mutta niitä ei suositella.",
196
+ "fr": " Un indice de mot de passe peut être utilisé mais n'est pas recommandé.",
197
+ "hi": " पासवर्ड संकेत का उपयोग किया जा सकता है, लेकिन अनुशंसित नहीं है।",
198
+ "ja": " パスワードヒントは使用できますが、推奨されません。",
199
+ "ko": " 비밀번호 힌트를 사용할 수는 있지만, 권장하지는 않습니다.",
200
+ "nl": " Een wachtwoord hint kan gebruikt worden maar wordt afgeraden",
201
+ "pt": " Dica de senha pode ser usada, mas não é recomendada.",
202
+ "ru": " Может быть использована подсказка пароля, но не рекоммендуется.",
203
+ "tr": " Parola ipucu kullanılabilir ancak tavsiye edilmez.",
204
+ "zh-chs": " 可以使用密码提示,但不建议使用。",
205
+ "zh-cht": " 可以使用密碼提示,但不建議使用。",
206
+ "xloc": [
207
+ "default.handlebars->27->1238"
208
+ ]
209
+ },
210
+ {
211
+ "cs": " Než budou moci být přiřazeni ke skupině zařízení, je třeba aby se uživatelé alespoň jednou k tomuto serveru přihlásili.",
212
+ "de": " Benutzer müssen sich an diesem Server anmelden, bevor sie einer Gerätegruppe hinzugefügt werden können.",
213
+ "en": " Users need to login to this server once before they can be added to a device group.",
214
+ "es": "Los usuarios deben iniciar sesión en este servidor una vez antes de poder agregarlos a un grupo de dispositivos.",
215
+ "fi": " Käyttäjien on kirjauduttava sisään tähän palvelimeen kerran, ennen kuin heidät voidaan lisätä laiteryhmään.",
216
+ "fr": " Les utilisateurs doivent se connecter une fois sur ce serveur avant de pouvoir être ajoutés à un groupe de périphériques..",
217
+ "hi": " डिवाइस समूह में जोड़े जाने से पहले उपयोगकर्ताओं को एक बार इस सर्वर में प्रवेश करना होगा।",
218
+ "ja": " ユーザーは、デバイスグループに追加する前にこのサーバーに1回ログインする必要があります。",
219
+ "ko": " 장치 그룹에 추가하려면 이 서버에 한 번 로그인 해야합니다.",
220
+ "nl": " Gebruikers moeten inloggen bij de server voordat ze kunnen worden toegevoegd aan een apparaatgroep.",
221
+ "pt": " Os usuários precisam fazer login neste servidor uma vez antes de poderem ser adicionados a um grupo de dispositivos.",
222
+ "ru": " Для добавления в группу устройств, пользователь должен зайти на сервер хотя бы один раз.",
223
+ "tr": " Kullanıcıların bir aygıt grubuna eklenmeden önce bu sunucuda bir kez oturum açması gerekir.",
224
+ "zh-chs": " 用户需要先登录到该服务器一次,然后才能将其添加到设备组。",
225
+ "zh-cht": " 用戶需要先登入到該伺服器一次,然後才能將其新增到裝置群。",
226
+ "xloc": [
227
+ "default.handlebars->27->1399",
228
+ "default.handlebars->27->1744"
229
+ ]
230
+ },
231
+ {
232
+ "cs": " a ověřovat se na serveru pomocí tohoto uživatelského jména a libovolného hesla.",
233
+ "de": " und gegenüber dem Server authentifizieren mittels dieses Benutzernamens und eines beliebigen Passworts.",
234
+ "en": " and authenticate to the server using this username and any password.",
235
+ "es": " y autenticarse al servidor usando este usuario y cualquier contraseña.",
236
+ "fi": " ja todenna palvelimelle tällä käyttäjänimellä ja millä tahansa salasanalla.",
237
+ "fr": " et vous authentifier sur le serveur en utilisant ce nom d'utilisateur et n'importe quel mot de passe.",
238
+ "hi": " और इस उपयोगकर्ता नाम और किसी भी पासवर्ड का उपयोग कर सर्वर को प्रमाणित करें।",
239
+ "ja": " このユーザー名とパスワードを使用してサーバーに対して認証します。",
240
+ "ko": " 이 사용자 이름과 비밀번호를 사용하여 서버를 인증하십시오.",
241
+ "nl": " verifieer bij de server met deze gebruikersnaam en elk wachtwoord.",
242
+ "pt": " e autenticar no servidor usando esse nome de usuário e qualquer senha.",
243
+ "ru": " и задайте указанное ниже имя пользователя и любой пароль.",
244
+ "tr": " ve bu kullanıcı adını ve herhangi bir şifreyi kullanarak sunucuya kimlik doğrulaması yapın.",
245
+ "zh-chs": " 并使用该用户名和任何密码对服务器进行身份验证。",
246
+ "zh-cht": " 並使用此用戶名和任何密碼對伺服器進行身份驗證。",
247
+ "xloc": [
248
+ "default.handlebars->27->315"
249
+ ]
250
+ },
251
+ {
252
+ "cs": " a ověřovat se na serveru pomocí tohoto uživatelského jména a hesla.",
253
+ "de": " und gegenüber dem Server authentifizieren mittels dieses Benutzernamens und Passworts.",
254
+ "en": " and authenticate to the server using this username and password.",
255
+ "es": " y autenticarse al servidor usando este usuario y contraseña.",
256
+ "fi": " ja todenna palvelimelle tällä käyttäjätunnuksella ja salasanalla.",
257
+ "fr": " et authentifiez-vous sur le serveur en utilisant ce nom d'utilisateur et mot de passe.",
258
+ "hi": " और इस उपयोगकर्ता नाम और पासवर्ड का उपयोग कर सर्वर को प्रमाणित करें।",
259
+ "ja": " このユーザー名とパスワードを使用してサーバーに対して認証します。",
260
+ "ko": " 이 사용자 이름과 비밀번호를 사용하여 서버를 인증하십시오.",
261
+ "nl": " verifieer bij de server met deze gebruikersnaam en wachtwoord.",
262
+ "pt": " e autenticar no servidor usando esse nome de usuário e senha.",
263
+ "ru": " и задайте указанные ниже имя пользователя и пароль.",
264
+ "tr": " ve bu kullanıcı adı ve parolayı kullanarak sunucuya kimlik doğrulaması yapın.",
265
+ "zh-chs": " 并使用该用户名和密码向服务器验证身份。",
266
+ "zh-cht": " 並使用此用戶名和密碼向伺服器驗證身份。",
267
+ "xloc": [
268
+ "default.handlebars->27->314"
269
+ ]
270
+ },
271
+ {
272
+ "cs": " uzel",
273
+ "de": " Knoten",
274
+ "en": " node",
275
+ "es": " nodo",
276
+ "fi": " solmu",
277
+ "fr": " nœud",
278
+ "hi": " नोड",
279
+ "ja": " ノード",
280
+ "ko": "기기",
281
+ "nl": " apparaat",
282
+ "pt": " nó",
283
+ "ru": " устройство",
284
+ "tr": " düğüm",
285
+ "zh-chs": " 节点",
286
+ "zh-cht": " 節點",
287
+ "xloc": [
288
+ "default-mobile.handlebars->9->205"
289
+ ]
290
+ },
291
+ {
292
+ "cs": " uzly",
293
+ "de": " Knoten",
294
+ "en": " nodes",
295
+ "es": " nodos",
296
+ "fi": " solmua",
297
+ "fr": " noeuds",
298
+ "hi": " नोड्स",
299
+ "ja": " ノード",
300
+ "ko": "기기들",
301
+ "nl": " apparaten",
302
+ "pt": " nós",
303
+ "ru": " устройства",
304
+ "tr": " düğümler",
305
+ "zh-chs": " 节点",
306
+ "zh-cht": " 節點",
307
+ "xloc": [
308
+ "default-mobile.handlebars->9->206"
309
+ ]
310
+ },
311
+ {
312
+ "cs": " s TLS.",
313
+ "de": " mit TLS.",
314
+ "en": " with TLS.",
315
+ "es": " con TLS.",
316
+ "fi": " TLS: llä.",
317
+ "fr": " avec TLS.",
318
+ "hi": " टीएलएस के साथ।",
319
+ "ja": " TLSを使用。",
320
+ "ko": " TLS 사용.",
321
+ "nl": " met TLS.",
322
+ "pt": " com TLS.",
323
+ "ru": " с TLS.",
324
+ "tr": " TLS ile.",
325
+ "zh-chs": " TLS。",
326
+ "zh-cht": " TLS。",
327
+ "xloc": [
328
+ "default.handlebars->27->170"
329
+ ]
330
+ },
331
+ {
332
+ "cs": " bez TLS.",
333
+ "de": " ohne TLS.",
334
+ "en": " without TLS.",
335
+ "es": " sin TLS.",
336
+ "fi": " ilman TLS: tä.",
337
+ "fr": " sans TLS.",
338
+ "hi": " टीएलएस के बिना।",
339
+ "ja": " TLSなし。",
340
+ "ko": " TLS 사용 안함.",
341
+ "nl": " zonder TLS.",
342
+ "pt": " sem TLS.",
343
+ "ru": " без TLS",
344
+ "tr": " TLS olmadan.",
345
+ "zh-chs": " 没有TLS。",
346
+ "zh-cht": " 沒有TLS。",
347
+ "xloc": [
348
+ "default.handlebars->27->171"
349
+ ]
350
+ },
351
+ {
352
+ "cs": "'",
353
+ "de": "'",
354
+ "en": "'",
355
+ "es": "'",
356
+ "fi": "'",
357
+ "fr": "'",
358
+ "hi": "'",
359
+ "ja": "'",
360
+ "ko": "'",
361
+ "nl": "'",
362
+ "pt": "'",
363
+ "ru": "'",
364
+ "zh-chs": "'",
365
+ "xloc": [
366
+ "agentinvite.handlebars->3->4",
367
+ "agentinvite.handlebars->3->5"
368
+ ]
369
+ },
370
+ {
371
+ "cs": "(",
372
+ "de": "(",
373
+ "en": "(",
374
+ "es": "(",
375
+ "fi": "(",
376
+ "fr": "(",
377
+ "ja": "(",
378
+ "ko": "(",
379
+ "nl": "(",
380
+ "pt": "(",
381
+ "ru": "(",
382
+ "xloc": [
383
+ "default-mobile.handlebars->container->page_content->column_l->p3->p3info->1->p3createMeshLink1",
384
+ "default.handlebars->container->column_l->p2->p2info->p2createMeshLink1"
385
+ ]
386
+ },
387
+ {
388
+ "cs": "(volitelné)",
389
+ "de": "(optional)",
390
+ "en": "(optional)",
391
+ "es": "(opcional)",
392
+ "fi": "(valinnainen)",
393
+ "fr": "(optionnel)",
394
+ "hi": "(वैकल्पिक)",
395
+ "ja": "(オプション)",
396
+ "ko": "(선택사항)",
397
+ "nl": "(optioneel)",
398
+ "pt": "(opcional)",
399
+ "ru": "(необязательно)",
400
+ "tr": "(isteğe bağlı)",
401
+ "zh-chs": "(可选的)",
402
+ "zh-cht": "(可選的)",
403
+ "xloc": [
404
+ "default.handlebars->27->354"
405
+ ]
406
+ },
407
+ {
408
+ "cs": ")",
409
+ "de": ")",
410
+ "en": ")",
411
+ "es": ")",
412
+ "fi": ")",
413
+ "fr": ")",
414
+ "ja": ")",
415
+ "ko": ")",
416
+ "nl": ")",
417
+ "pt": ")",
418
+ "ru": ")",
419
+ "xloc": [
420
+ "default-mobile.handlebars->container->page_content->column_l->p3->p3info->1->p3createMeshLink1",
421
+ "default.handlebars->container->column_l->p2->p2info->p2createMeshLink1"
422
+ ]
423
+ },
424
+ {
425
+ "cs": "* Pro BSD, nejprve spusťte „pkg install wget sudo bash“.",
426
+ "de": "* Unter BSD, führe zunächst \\\"pkg install wget sudo bash\\\" aus.",
427
+ "en": "* For BSD, run \\\"pkg install wget sudo bash\\\" first.",
428
+ "es": "* Para BSD, ejecute \\\"pkg install wget sudo bash\\\".",
429
+ "fi": "* BSDtä käyttäessa suorita ensin \\\"pkg install wget sudo bash\\\"",
430
+ "fr": "* Pour BSD, exécuter d'abord la commande \\\"pkg install wget sudo bash\\\".",
431
+ "hi": "* बीएसडी के लिए, पहले \\\"pkg install wget sudo bash\\\" को रन करें।",
432
+ "ja": "* BSDの場合、最初に\\\"pkg install wget sudo bash\\\"を実行します。",
433
+ "ko": "* BSD의 경우, 먼저 \\\"pkg install wget sudo bash\\\"를 실행하십시오.",
434
+ "nl": "* Voor BSD, start eerst \\\"pkg install wget sudo bash\\\" .",
435
+ "pt": "* Para o BSD, execute \\\"pkg install wget sudo bash\\\".",
436
+ "ru": "* Для BSD сначала запустите \\\"pkg install wget sudo bash\\\".",
437
+ "tr": "* BSD için önce \\\"pkg install wget sudo bash\\\" komutunu çalıştırın.",
438
+ "zh-chs": "*对于BSD,首先运行“ pkg install wget sudo bash ”。",
439
+ "zh-cht": "*對於BSD,首先運行“ pkg install wget sudo bash ”。",
440
+ "xloc": [
441
+ "default.handlebars->27->393"
442
+ ]
443
+ },
444
+ {
445
+ "cs": "* Pro přiřazení náhodného hesla každému ze zařízení, ponechte nevyplněné.",
446
+ "de": "* Frei lassen, um jedem Gerät ein zufälliges Passwort zuzuweisen.",
447
+ "en": "* Leave blank to assign a random password to each device.",
448
+ "es": "* Deje en blanco para asignar una contraseña random a cada dispositivo.",
449
+ "fi": "* Jätä tyhjäksi antaaksesi satunnaisen salasanan jokaiselle laitteelle.",
450
+ "fr": "* Laisser vide pour créer un mot de passe aléatoire pour chaque appareil",
451
+ "hi": "* प्रत्येक डिवाइस के लिए एक यादृच्छिक पासवर्ड असाइन करने के लिए खाली छोड़ दें।",
452
+ "ja": "* 空白のままにして、各デバイスにランダムなパスワードを割り当てます。",
453
+ "ko": "* 각 장치에 임의의 암호를 할당하려면 비워 두십시오.",
454
+ "nl": "* Laat leeg om een willekeurig wachtwoord toe te wijzen aan elk apparaat.",
455
+ "pt": "* Deixe em branco para atribuir uma senha aleatória a cada dispositivo.",
456
+ "ru": "* Оставьте пустым для установления случайного пароля каждому устройству.",
457
+ "tr": "* Her cihaza rastgele bir şifre atamak için boş bırakın.",
458
+ "zh-chs": "*保留空白可为每个设备分配一个随机密码。",
459
+ "zh-cht": "*保留空白可為每個裝置分配一個隨機密碼。",
460
+ "xloc": [
461
+ "default.handlebars->27->1371"
462
+ ]
463
+ },
464
+ {
465
+ "cs": ",",
466
+ "de": ",",
467
+ "en": ",",
468
+ "es": ",",
469
+ "fi": ",",
470
+ "fr": ",",
471
+ "ja": "、",
472
+ "ko": ",",
473
+ "nl": ",",
474
+ "pt": ",",
475
+ "ru": ",",
476
+ "xloc": [
477
+ "default-mobile.handlebars->container->page_content->column_l->p0->1->p0message",
478
+ "default.handlebars->container->column_l->p0->p0message"
479
+ ]
480
+ },
481
+ {
482
+ "cs": ", ",
483
+ "de": ", ",
484
+ "en": ", ",
485
+ "es": ", ",
486
+ "fi": ", ",
487
+ "fr": ", ",
488
+ "hi": ", ",
489
+ "ja": "、",
490
+ "ko": ", ",
491
+ "nl": ", ",
492
+ "pt": ", ",
493
+ "ru": ", ",
494
+ "tr": ",",
495
+ "zh-chs": ",",
496
+ "zh-cht": ",",
497
+ "xloc": [
498
+ "default-mobile.handlebars->9->449",
499
+ "default.handlebars->27->1466"
500
+ ]
501
+ },
502
+ {
503
+ "cs": ", Pouze Intel® AMT",
504
+ "de": ", nur Intel® AMT",
505
+ "en": ", Intel® AMT only",
506
+ "es": ", Intel® solo AMT.",
507
+ "fi": ", vain Intel® AMT",
508
+ "fr": ", Intel® AMT uniquement",
509
+ "hi": ", Intel® AMT केवल",
510
+ "ja": "、Intel® AMTのみ",
511
+ "ko": ", Intel® AMT 만",
512
+ "nl": ", Intel® AMT alleen",
513
+ "pt": ", Intel® AMT only",
514
+ "ru": ", только для Intel® AMT",
515
+ "tr": ", Yalnızca Intel® AMT",
516
+ "zh-chs": ",仅限于Intel®AMT",
517
+ "zh-cht": ",只適用於Intel®AMT",
518
+ "xloc": [
519
+ "default-mobile.handlebars->9->147",
520
+ "default.handlebars->27->203"
521
+ ]
522
+ },
523
+ {
524
+ "cs": ", MQTT je online",
525
+ "de": ", MQTT ist verbunden",
526
+ "en": ", MQTT is online",
527
+ "es": ", MQQT esta en linea.",
528
+ "fi": ", MQTT on online-tilassa",
529
+ "fr": ", MQTT est connecté",
530
+ "hi": ", MQTT ऑनलाइन है",
531
+ "ja": "、MQTTはオンラインです",
532
+ "ko": ", MQTT가 온라인 상태입니다.",
533
+ "nl": ", MQTT is online",
534
+ "pt": ", O MQTT está online",
535
+ "ru": ", MQTT онлайн",
536
+ "tr": ", MQTT çevrimiçi",
537
+ "zh-chs": ",MQTT在线",
538
+ "zh-cht": ",MQTT在線",
539
+ "xloc": [
540
+ "default.handlebars->27->980"
541
+ ]
542
+ },
543
+ {
544
+ "cs": ", Soft-KVM",
545
+ "de": ", Soft-KVM",
546
+ "en": ", Soft-KVM",
547
+ "es": ", Soft-KVM",
548
+ "fr": ", Soft-KVM",
549
+ "hi": ", शीतल-केवीएम",
550
+ "ja": "、Soft-KVM",
551
+ "ko": ", Soft-KVM",
552
+ "nl": ", Soft-KVM",
553
+ "pt": ", Soft-KVM",
554
+ "ru": ", Soft-KVM",
555
+ "tr": ", Yumuşak-KVM",
556
+ "zh-chs": ",软体KVM",
557
+ "zh-cht": ",軟體KVM",
558
+ "xloc": [
559
+ "default.handlebars->27->806",
560
+ "desktop.handlebars->3->13"
561
+ ]
562
+ },
563
+ {
564
+ "cs": ", WebRTC",
565
+ "de": ", WebRTC",
566
+ "en": ", WebRTC",
567
+ "es": ", WebRTC",
568
+ "fi": ", WebRTC",
569
+ "fr": ", WebRTC",
570
+ "hi": ", WebRTC",
571
+ "ja": "、WebRTC",
572
+ "ko": ", WebRTC",
573
+ "nl": ", WebRTC",
574
+ "pt": ", WebRTC",
575
+ "ru": ", WebRTC",
576
+ "tr": ", WebRTC",
577
+ "zh-chs": ",WebRTC",
578
+ "zh-cht": ",WebRTC",
579
+ "xloc": [
580
+ "default-mobile.handlebars->9->284",
581
+ "default-mobile.handlebars->9->293",
582
+ "default.handlebars->27->813",
583
+ "default.handlebars->27->846",
584
+ "default.handlebars->27->858",
585
+ "desktop.handlebars->3->20",
586
+ "xterm.handlebars->9->6"
587
+ ]
588
+ },
589
+ {
590
+ "cs": ", zapnete kliknutím sem.",
591
+ "de": ", zum Einschalten hier klicken.",
592
+ "en": ", click here to enable it.",
593
+ "es": ", haga click aquí para habilitarlo.",
594
+ "fi": ", ota se käyttöön napsauttamalla tätä.",
595
+ "fr": ", cliquez ici pour l'activer",
596
+ "hi": "इसे सक्षम करने के लिए यहां क्लिक करें।",
597
+ "ja": "、ここをクリックして有効にします。",
598
+ "ko": ", 사용하려면 여기를 클릭하십시오.",
599
+ "nl": ", klik hier om in te schakelen",
600
+ "pt": ", clique aqui para habilitá-lo.",
601
+ "ru": ", для включения нажмите сюда.",
602
+ "tr": ", etkinleştirmek için burayı tıklayın.",
603
+ "zh-chs": ",请点击此处启用它。",
604
+ "zh-cht": ",請點擊此處啟用它。",
605
+ "xloc": [
606
+ "default.handlebars->container->column_l->p11->p11warning->3->p11warninga",
607
+ "default.handlebars->container->column_l->p12->p12warning->3->p12warninga"
608
+ ]
609
+ },
610
+ {
611
+ "en": ", for this link to work you must download MeshCentral Router run it and click the install button.",
612
+ "es": ", para que este enlace funcione, debe descargar MeshCentral Router, ejecutarlo y hacer clic en el botón de instalación.",
613
+ "fi": ", jotta tämä linkki toimisi, sinun on ladattava MeshCentral Reititin ja suoritettava se napsauttamalla asennuspainiketta.",
614
+ "fr": ", pour que ce lien fonctionne vous devez télécharger MeshCentral Router, le lancer et cliquer sur le bouton d'installation.",
615
+ "nl": ", om deze link te laten werken, moet u MeshCentral Router downloaden, het uitvoeren en op de installatieknop klikken.",
616
+ "tr": ", bu bağlantının çalışması için MeshCentral Router'ı indirip çalıştırmanız ve kur düğmesine tıklamanız gerekir.",
617
+ "zh-chs": ",要使此连结起作用,您必须下载及运行MeshCentral Router,然后单击安装按钮。",
618
+ "zh-cht": ",要使此連結起作用,你必須下載及運行MeshCentral Router,然後單擊安裝按鈕。"
619
+ },
620
+ {
621
+ "cs": ", klikněte na něj pravým tlačítkem nebo stiskněte klávesu Ctrl a klikněte na něj levým tlačítkem. Pak vyberte „Otevřít“ a postupujte podle pokynů.",
622
+ "de": ", rechtsklicken oder \"Ctrl\" halten und Datei anklicken. Anschließend \"Öffnen\" wählen und den Anweisungen folgen.",
623
+ "en": ", right click on it or press \"control\" and click on the file. Then select \"Open\" and follow the instructions.",
624
+ "es": ", haga click derecho o presione \"Ctrl\" y de click en el archivo. Despues seleecione \"Abrir\" y siga las instrucciones.",
625
+ "fi": ", napsauta sitä hiiren kakkospainikkeella tai paina \"control\" ja napsauta tiedostoa. Valitse sitten \"Avaa\" ja seuraa ohjeita.",
626
+ "fr": ", faites un clic droit dessus ou appuyez sur \"contrôle\" et cliquez sur le fichier. Sélectionnez ensuite \"Ouvrir\" et suivez les instructions.",
627
+ "hi": ", उस पर क्लिक करें या \"नियंत्रण\" दबाएं और फ़ाइल पर क्लिक करें। फिर \"ओपन\" चुनें और निर्देशों का पालन करें।",
628
+ "ja": "、それを右クリックするか、「control」を押してファイルをクリックします。次に、「開く」を選択し、指示に従います。",
629
+ "ko": " 좌측의 링크를 마우스 오른쪽 버튼으로 클릭하거나 \"control\"을 누르고 파일을 클릭하십시오. 그리고 \"열기\"를 선택하고, 지침을 따르십시오.",
630
+ "nl": ", klik er met de rechtermuisknop op of druk op \"beheer\" en klik op het bestand. Daarna op \"open\" en volg de instructies.",
631
+ "pt": ", clique com o botão direito do mouse ou pressione \"control\".Em seguida, selecione \"Open\".",
632
+ "ru": ", нажмите правой кнопкой мыши на скачанном файле, выберите пункт \"Открыть\" и следуйте инструкциям программы.",
633
+ "tr": "üzerine sağ tıklayın veya \"kontrol\" e basın ve dosyaya tıklayın. Ardından \"Aç\" ı seçin ve talimatları izleyin.",
634
+ "zh-chs": ",右键单击它或按“控制”,然后单击档案。然后选择“打开”并遵循指示操作。",
635
+ "zh-cht": ",右鍵單擊它或按“控制”,然後單擊檔案。然後選擇“打開”並按照說明操作。",
636
+ "xloc": [
637
+ "agentinvite.handlebars->container->column_l->5->macostab->3"
638
+ ]
639
+ },
640
+ {
641
+ "cs": ", spusťte ho a zvolte „Nainstalovat“ nebo „Připojit“.",
642
+ "de": ", ausführen und \"Installieren\" oder \"Verbinden\" wählen.",
643
+ "en": ", run it and press \"Install\" or \"Connect\".",
644
+ "es": "ejecútelo y presione \"Instalar\" o \"Conectar\".",
645
+ "fi": ", suorita se ja paina \"Asenna\" tai \"Yhdistä\".",
646
+ "fr": ", exécutez le puis cliquez sur \"Install\" ou \"Connect\".",
647
+ "hi": ", इसे चलाएं और \"इंस्टॉल करें\" या \"कनेक्ट\" दबाएं।",
648
+ "ja": "、実行して「インストール」または「接続」を押します。",
649
+ "ko": ". 그리고 실행한 후에 \"설치\" 또는 \"연결\"을 누르십시오.",
650
+ "nl": ", open het en klik op \"installeren\" of \"verbinden\".",
651
+ "pt": ", execute-o e pressione \"Install\" or \"Connect\".",
652
+ "ru": ", запустите и нажмите \"Инсталлировать\" или \"Подключиться\".",
653
+ "tr": ", çalıştırın ve \"Kur\" veya \"Bağlan\" a basın.",
654
+ "zh-chs": ",运行它,然后按“安装”或“连接”。",
655
+ "zh-cht": ",運行它,然後按“安裝”或“連接”。",
656
+ "xloc": [
657
+ "agentinvite.handlebars->container->column_l->5->wintab32->3",
658
+ "agentinvite.handlebars->container->column_l->5->wintab64->3"
659
+ ]
660
+ },
661
+ {
662
+ "cs": ", nyní k němu máte přístup:",
663
+ "de": "können Sie jetzt darauf zugreifen mit:",
664
+ "en": ", you can access it now with:",
665
+ "es": ", ahora puede acceder con:",
666
+ "fi": ", voit käyttää sitä nyt:",
667
+ "fr": ", vous pouvez y accéder maintenant avec:",
668
+ "hi": ", आप इसे अभी एक्सेस कर सकते हैं:",
669
+ "ja": "、あなたは今それを使ってそれにアクセスできます:",
670
+ "ko": "이제 당신은 다음으로 접근 가능합니다:",
671
+ "nl": ", je hebt er nu toegang toe met:",
672
+ "ru": "Вы можете получить к нему доступ сейчас:",
673
+ "tr": ", şimdi şununla erişebilirsiniz:",
674
+ "zh-chs": ",您现在可以通过以下方式访问它:",
675
+ "zh-cht": ",你現在可以通過以下方式訪問它:",
676
+ "xloc": [
677
+ "account-invite.html->2->3"
678
+ ]
679
+ },
680
+ {
681
+ "en": ", {0} watching",
682
+ "es": ", {0} viendo",
683
+ "fi": ", {0} katselee",
684
+ "fr": ", {0} regarde",
685
+ "nl": ", {0} kijken",
686
+ "tr": ", {0} izliyor",
687
+ "zh-chs": ",{0}观看",
688
+ "zh-cht": ",{0}觀看",
689
+ "xloc": [
690
+ "default.handlebars->27->807",
691
+ "desktop.handlebars->3->14"
692
+ ]
693
+ },
694
+ {
695
+ "cs": "–",
696
+ "de": "-",
697
+ "en": "-",
698
+ "es": "-",
699
+ "fi": "-",
700
+ "fr": "-",
701
+ "ja": "-",
702
+ "ko": "-",
703
+ "nl": "-",
704
+ "pt": "-",
705
+ "ru": "-",
706
+ "xloc": [
707
+ "xterm.handlebars->p11->deskarea0->deskarea1->3"
708
+ ]
709
+ },
710
+ {
711
+ "cs": ".",
712
+ "de": ".",
713
+ "en": ".",
714
+ "es": ".",
715
+ "fi": ".",
716
+ "fr": ".",
717
+ "ja": "。",
718
+ "ko": ".",
719
+ "nl": ".",
720
+ "pt": ".",
721
+ "ru": ".",
722
+ "xloc": [
723
+ "default-mobile.handlebars->container->page_content->column_l->p0->1->p0message",
724
+ "default.handlebars->container->column_l->p0->p0message",
725
+ "default.handlebars->container->column_l->p1->NoMeshesPanel->1->1->0->3->getStarted1",
726
+ "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->newAccountDiv",
727
+ "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->resetAccountDiv",
728
+ "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv",
729
+ "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv",
730
+ "login2.handlebars->centralTable->1->0->logincell->loginpanel->1->newAccountDiv",
731
+ "login2.handlebars->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv",
732
+ "terms-mobile.handlebars->container->page_content->column_l->75->1",
733
+ "terms.handlebars->container->column_l->75->1"
734
+ ]
735
+ },
736
+ {
737
+ "cs": "…",
738
+ "de": "...",
739
+ "en": "...",
740
+ "es": "...",
741
+ "fi": "...",
742
+ "fr": "...",
743
+ "hi": "...",
744
+ "ja": "...",
745
+ "ko": "...",
746
+ "nl": "...",
747
+ "pt": "...",
748
+ "ru": "...",
749
+ "tr": "...",
750
+ "zh-chs": "...",
751
+ "zh-cht": "...",
752
+ "xloc": [
753
+ "default-mobile.handlebars->9->108",
754
+ "default-mobile.handlebars->9->295",
755
+ "default.handlebars->27->1507",
756
+ "default.handlebars->27->1899",
757
+ "default.handlebars->27->863"
758
+ ]
759
+ },
760
+ {
761
+ "cs": "0",
762
+ "de": "0",
763
+ "en": "0",
764
+ "es": "0",
765
+ "fi": "0",
766
+ "fr": "0",
767
+ "ja": "0",
768
+ "ko": "0",
769
+ "nl": "0",
770
+ "pt": "0",
771
+ "ru": "0",
772
+ "xloc": [
773
+ "default.handlebars->container->masthead->7->notificationCount"
774
+ ]
775
+ },
776
+ {
777
+ "cs": "00:00:00",
778
+ "de": "00:00:00",
779
+ "en": "00:00:00",
780
+ "es": "00:00:00",
781
+ "fi": "00:00:00",
782
+ "fr": "00:00:00",
783
+ "hi": "00:00:00",
784
+ "ja": "00:00:00",
785
+ "ko": "00:00:00",
786
+ "nl": "00:00:00",
787
+ "pt": "00:00:00",
788
+ "ru": "00:00:00",
789
+ "tr": "00:00:00",
790
+ "zh-chs": "00:00:00",
791
+ "zh-cht": "00:00:00",
792
+ "xloc": [
793
+ "player.handlebars->p11->deskarea0->deskarea4->1->timespan"
794
+ ]
795
+ },
796
+ {
797
+ "cs": "1 aktivní relace",
798
+ "de": "1 aktive Sitzung",
799
+ "en": "1 active session",
800
+ "es": "Una sesión activa",
801
+ "fi": "1 aktiivinen istunto",
802
+ "fr": "1 session active",
803
+ "hi": "1 सक्रिय सत्र",
804
+ "ja": "1つのアクティブなセッション",
805
+ "ko": "1개의 활성 세션",
806
+ "nl": "1 actieve sessie",
807
+ "pt": "1 sessão ativa",
808
+ "ru": "1 активная сессия",
809
+ "tr": "1 aktif oturum",
810
+ "zh-chs": "1个活跃时段",
811
+ "zh-cht": "1個活躍時段",
812
+ "xloc": [
813
+ "default.handlebars->27->1813"
814
+ ]
815
+ },
816
+ {
817
+ "cs": "1 bajt",
818
+ "de": "1 Byte",
819
+ "en": "1 byte",
820
+ "es": "Un byte",
821
+ "fi": "1 tavu",
822
+ "fr": "1 octet",
823
+ "hi": "1 बाइट",
824
+ "ja": "1バイト",
825
+ "ko": "1바이트",
826
+ "nl": "1 byte",
827
+ "pt": "1 byte",
828
+ "ru": "1 байт",
829
+ "tr": "1 bayt",
830
+ "zh-chs": "1个字节",
831
+ "zh-cht": "1個位元組",
832
+ "xloc": [
833
+ "default-mobile.handlebars->9->118",
834
+ "default-mobile.handlebars->9->453",
835
+ "default.handlebars->27->1531",
836
+ "download.handlebars->3->1",
837
+ "download2.handlebars->5->1"
838
+ ]
839
+ },
840
+ {
841
+ "en": "1 connection",
842
+ "es": "1 conexión(es)",
843
+ "fi": "1 yhteys",
844
+ "fr": "1 connexion",
845
+ "nl": "1 verbinding",
846
+ "tr": "1 bağlantı",
847
+ "zh-chs": "1条连接",
848
+ "zh-cht": "1位聯絡文",
849
+ "xloc": [
850
+ "default.handlebars->27->809",
851
+ "desktop.handlebars->3->16"
852
+ ]
853
+ },
854
+ {
855
+ "cs": "1 den",
856
+ "de": "1 Tag",
857
+ "en": "1 day",
858
+ "es": "Un dia",
859
+ "fi": "1 päivä",
860
+ "fr": "1 jour",
861
+ "hi": "एक दिन",
862
+ "ja": "1日",
863
+ "ko": "1일",
864
+ "nl": "1 dag",
865
+ "pt": "1 dia",
866
+ "ru": "1 день",
867
+ "tr": "1 gün",
868
+ "zh-chs": "1天",
869
+ "zh-cht": "1天",
870
+ "xloc": [
871
+ "default.handlebars->27->178",
872
+ "default.handlebars->27->345",
873
+ "default.handlebars->27->359"
874
+ ]
875
+ },
876
+ {
877
+ "cs": "1 skupina",
878
+ "de": "1 Gruppe",
879
+ "en": "1 group",
880
+ "es": "Un grupo",
881
+ "fi": "1 ryhmä",
882
+ "fr": "1 groupe",
883
+ "hi": "1 समूह",
884
+ "ja": "1グループ",
885
+ "ko": "1개의 그룹",
886
+ "nl": "1 groep",
887
+ "pt": "1 grupo",
888
+ "ru": "1 группа",
889
+ "tr": "1 grup",
890
+ "zh-chs": "1组",
891
+ "zh-cht": "1群",
892
+ "xloc": [
893
+ "default.handlebars->27->1778"
894
+ ]
895
+ },
896
+ {
897
+ "cs": "1 hodina",
898
+ "de": "1 Stunde",
899
+ "en": "1 hour",
900
+ "es": "Una hora",
901
+ "fi": "1 tunti",
902
+ "fr": "1 heure",
903
+ "hi": "1 घंटा",
904
+ "ja": "1時間",
905
+ "ko": "1시간",
906
+ "nl": "1 uur",
907
+ "pt": "1 hora",
908
+ "ru": "1 час",
909
+ "tr": "1 saat",
910
+ "zh-chs": "1小时",
911
+ "zh-cht": "1小時",
912
+ "xloc": [
913
+ "default.handlebars->27->176",
914
+ "default.handlebars->27->343",
915
+ "default.handlebars->27->357",
916
+ "default.handlebars->27->718"
917
+ ]
918
+ },
919
+ {
920
+ "cs": "1 minuta",
921
+ "de": "1 Minute",
922
+ "en": "1 minute",
923
+ "es": "1 minuto",
924
+ "fi": "1 minuutti",
925
+ "fr": "1 minute",
926
+ "nl": "1 minuut",
927
+ "pt": "1 minuto",
928
+ "ru": "1 минута",
929
+ "tr": "1 dakika",
930
+ "zh-chs": "1分钟",
931
+ "zh-cht": "1分鐘",
932
+ "xloc": [
933
+ "default.handlebars->27->712"
934
+ ]
935
+ },
936
+ {
937
+ "cs": "1 minuta do odpojení",
938
+ "de": "1 Minute bis zur Trennung",
939
+ "en": "1 minute until disconnect",
940
+ "es": "Un minuto hasta desconectar",
941
+ "fi": "1 minuutti yhteyden katkaisuun",
942
+ "fr": "Déconnexion dans 1 minute",
943
+ "hi": "डिस्कनेक्ट होने तक 1 मिनट",
944
+ "ja": "切断されるまで1分",
945
+ "ko": "접속해제까지 1분 남음",
946
+ "nl": "1 minuut totdat de verbinding wordt verbroken",
947
+ "pt": "1 minuto até desconectar",
948
+ "ru": "1 минута до разъединения",
949
+ "tr": "Bağlantı kesilmesine 1 dakika kaldı",
950
+ "zh-chs": "1分钟之后断开连接",
951
+ "zh-cht": "1分鐘之後離線",
952
+ "xloc": [
953
+ "default.handlebars->27->61"
954
+ ]
955
+ },
956
+ {
957
+ "cs": "1 měsíc",
958
+ "de": "1 Monat",
959
+ "en": "1 month",
960
+ "es": "Un mes",
961
+ "fi": "1 kuukausi",
962
+ "fr": "1 mois",
963
+ "hi": "1 महीना",
964
+ "ja": "1ヶ月",
965
+ "ko": "1개월",
966
+ "nl": "1 maand",
967
+ "pt": "1 mês",
968
+ "ru": "1 месяц",
969
+ "tr": "1 ay",
970
+ "zh-chs": "1个月",
971
+ "zh-cht": "1個月",
972
+ "xloc": [
973
+ "default.handlebars->27->180",
974
+ "default.handlebars->27->347",
975
+ "default.handlebars->27->361"
976
+ ]
977
+ },
978
+ {
979
+ "cs": "1 další uživatel není zobrazen, pro vyhledání uživatelů použijte kolonku pro vyhledávání…",
980
+ "de": "1 weiterer Benutzer nicht angezeigt, Suchfeld verwenden um weitere Benutzer zu suchen...",
981
+ "en": "1 more user not shown, use search box to look for users...",
982
+ "es": "No se muestra un usuario más, use el cuadro de búsqueda para buscar usuarios...",
983
+ "fi": "1 muuta käyttäjää ei näy, käytä hakukenttää etsiäksesi käyttäjiä ...",
984
+ "fr": "au moins 1 utilisateur non affiché, utilisez la recherche pour les trouver...",
985
+ "hi": "1 और उपयोगकर्ता नहीं दिखाया गया है, उपयोगकर्ताओं को देखने के लिए खोज बॉक्स का उपयोग करें ...",
986
+ "ja": "さらに1人のユーザーが表示されていません。検索ボックスを使用してユーザーを検索してください...",
987
+ "ko": "1명 이상의 사용자가 표시되지 않습니다. 검색 창을 사용하여 사용자를 찾으십시오.",
988
+ "nl": "1 gebruiker niet getoond, gebruik de zoekfunctie om gebruikers te vinden...",
989
+ "pt": "Mais 1 usuário não mostrado, use a caixa de pesquisa para procurar usuários...",
990
+ "ru": "Еще 1 пользователь не показан, используйте поиск чтобы найти пользователей...",
991
+ "tr": "1 kullanıcı daha gösterilmiyor, kullanıcıları aramak için arama kutusunu kullanın ...",
992
+ "zh-chs": "有1个用户没有显示,请使用搜索框查找用户...",
993
+ "zh-cht": "有1個用戶沒有顯示,請使用搜尋框搜尋用戶...",
994
+ "xloc": [
995
+ "default.handlebars->27->1580"
996
+ ]
997
+ },
998
+ {
999
+ "cs": "1 uzel",
1000
+ "de": "1 Knoten",
1001
+ "en": "1 node",
1002
+ "es": "Un nodo",
1003
+ "fi": "1 solmu",
1004
+ "fr": "1 appareil",
1005
+ "hi": "1 नोड",
1006
+ "ja": "1ノード",
1007
+ "ko": "1기기",
1008
+ "nl": "1 knooppunt",
1009
+ "pt": "1 nó",
1010
+ "ru": "1 устройство",
1011
+ "tr": "1 düğüm",
1012
+ "zh-chs": "1个节点",
1013
+ "zh-cht": "1個節點",
1014
+ "xloc": [
1015
+ "default.handlebars->27->411"
1016
+ ]
1017
+ },
1018
+ {
1019
+ "cs": "1 sekunda do odpojení",
1020
+ "de": "1 Sekunde bis zur Trennung",
1021
+ "en": "1 second until disconnect",
1022
+ "es": "Un segundo hasta desconectar",
1023
+ "fi": "1 sekuntti yhteyden katkaisuun",
1024
+ "fr": "Déconnexion dans 1 seconde",
1025
+ "hi": "डिस्कनेक्ट होने तक 1 सेकंड",
1026
+ "ja": "切断するまで1秒",
1027
+ "ko": "접속 해제까지 1초 남음",
1028
+ "nl": "1 seconde totdat de verbinding wordt verbroken",
1029
+ "pt": "1 segundo até desconectar",
1030
+ "ru": "1 секунда до разъединения",
1031
+ "tr": "Bağlantı kesilene kadar 1 saniye",
1032
+ "zh-chs": "1秒之后断开连接",
1033
+ "zh-cht": "1秒之後離線",
1034
+ "xloc": [
1035
+ "default.handlebars->27->59"
1036
+ ]
1037
+ },
1038
+ {
1039
+ "cs": "1 relace",
1040
+ "de": "1 Sitzung",
1041
+ "en": "1 session",
1042
+ "es": "Una sesión",
1043
+ "fi": "1 istunto",
1044
+ "fr": "1 session",
1045
+ "hi": "1 सत्र",
1046
+ "ja": "1セッション",
1047
+ "ko": "1세션",
1048
+ "nl": "1 sessie",
1049
+ "pt": "1 sessão",
1050
+ "ru": "1 сессия",
1051
+ "tr": "1 seans",
1052
+ "zh-chs": "1节",
1053
+ "zh-cht": "1節",
1054
+ "xloc": [
1055
+ "default-mobile.handlebars->9->159",
1056
+ "default-mobile.handlebars->9->162",
1057
+ "default-mobile.handlebars->9->165",
1058
+ "default-mobile.handlebars->9->168",
1059
+ "default-mobile.handlebars->9->171",
1060
+ "default-mobile.handlebars->9->174",
1061
+ "default.handlebars->27->1584",
1062
+ "default.handlebars->27->243",
1063
+ "default.handlebars->27->246",
1064
+ "default.handlebars->27->249",
1065
+ "default.handlebars->27->252",
1066
+ "default.handlebars->27->255",
1067
+ "default.handlebars->27->258"
1068
+ ]
1069
+ },
1070
+ {
1071
+ "cs": "1 týden",
1072
+ "de": "1 Woche",
1073
+ "en": "1 week",
1074
+ "es": "Una semana",
1075
+ "fi": "1 viikko",
1076
+ "fr": "1 semaine",
1077
+ "hi": "1 सप्ताह",
1078
+ "ja": "1週間",
1079
+ "ko": "1주",
1080
+ "nl": "1 week",
1081
+ "pt": "1 semana",
1082
+ "ru": "1 неделя",
1083
+ "tr": "1 hafta",
1084
+ "zh-chs": "1周",
1085
+ "zh-cht": "1週",
1086
+ "xloc": [
1087
+ "default.handlebars->27->179",
1088
+ "default.handlebars->27->346",
1089
+ "default.handlebars->27->360"
1090
+ ]
1091
+ },
1092
+ {
1093
+ "cs": "1. AJAX Control Toolkit – Nová BSD licence",
1094
+ "de": "1. AJAX Control Toolkit - Neue BSD-Lizenz",
1095
+ "en": "1. AJAX Control Toolkit - New BSD License",
1096
+ "es": "1. AJAX Control Toolkit - New BSD License",
1097
+ "fi": "1. AJAX Control Toolkit - New BSD License",
1098
+ "fr": "1. AJAX Control Toolkit - Nouvelle licence BSD",
1099
+ "hi": "1. जैक्स कंट्रोल टूलकिट - न्यू बीएसडी लाइसेंस",
1100
+ "ja": "1. AJAX Control Toolkit-新しいBSDライセンス",
1101
+ "ko": "1. AJAX 컨트롤 툴킷 -새로운 BSD 라이센스",
1102
+ "nl": "1. AJAX Control Toolkit - Nieuwe BSD Licentie",
1103
+ "pt": "1. AJAX Control Toolkit - Nova licença BSD",
1104
+ "ru": "1. AJAX Control Toolkit - Новая BSD Лицензия",
1105
+ "tr": "1. AJAX Kontrol Araç Kiti - Yeni BSD Lisansı",
1106
+ "zh-chs": "1. AJAX控制工具包-新的BSD许可证",
1107
+ "zh-cht": "1. AJAX控制工具套件-新的BSD授權條款",
1108
+ "xloc": [
1109
+ "terms-mobile.handlebars->container->page_content->column_l->9->1->0",
1110
+ "terms.handlebars->container->column_l->9->1->0"
1111
+ ]
1112
+ },
1113
+ {
1114
+ "cs": "1. Při šíření zdrojového kódu dál musí být zachováno výše uvedené upozornění o autorských právech, tento seznam podmínek a následující vyloučení odpovědnosti.",
1115
+ "de": "1. Bei der Weiterverteilung des Quellcodes müssen der oben genannte Copyright-Hinweis, diese Liste der Bedingungen und der folgende Haftungsausschluss erhalten bleiben.",
1116
+ "en": "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",
1117
+ "es": "1. Las redistribuciones del código fuente deben conservar el aviso de copyright anterior, esta lista de condiciones y el siguiente descargo de responsabilidad.",
1118
+ "fi": "1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",
1119
+ "fr": "1. La redistribution du code source doit contenir le copyright, la liste des conditions et le la décharge de responsabilité suivante.",
1120
+ "hi": "स्रोत कोड के 1.Ristributions उपरोक्त कॉपीराइट नोटिस, शर्तों की सूची और निम्नलिखित अस्वीकरण को बनाए रखना चाहिए।",
1121
+ "ja": "1. ソースコードの再配布には、上記の著作権表示、この条件リスト、および以下の免責事項を保持する必要があります。",
1122
+ "ko": "소스 코드를 재배포 할 때에는 위의 저작권 표시,이 조건 목록, 그리고 다음 면책 사항이 반드시 보존되어야 합니다.",
1123
+ "nl": "1. Herdistributies van broncode moeten de bovenstaande copyright kennisgeving en deze lijst met voorwaarden en de volgende disclaimer bevatten.",
1124
+ "pt": "1. As redistribuições do código-fonte devem manter o aviso de direitos autorais acima, esta lista de condições e o aviso de isenção de responsabilidade a seguir.",
1125
+ "ru": "1. Распространение исходного кода должно включать указанное выше уведомление об авторских правах, этот список условий и следующий отказ от ответственности.",
1126
+ "tr": "1. Kaynak kodun yeniden dağıtımları yukarıdaki telif hakkı bildirimini, bu koşullar listesini ve aşağıdaki sorumluluk reddini içermelidir.",
1127
+ "zh-chs": "1. 重新分发源代码必须保留以上版权声明,此条件列表和以下免责声明。",
1128
+ "zh-cht": "1. 重新分發源代碼必須保留上述版權聲明,此條件列表和以下免責聲明。",
1129
+ "xloc": [
1130
+ "terms-mobile.handlebars->container->page_content->column_l->15->1",
1131
+ "terms-mobile.handlebars->container->page_content->column_l->31->1",
1132
+ "terms.handlebars->container->column_l->15->1",
1133
+ "terms.handlebars->container->column_l->31->1"
1134
+ ]
1135
+ },
1136
+ {
1137
+ "cs": "1/2 rychlost",
1138
+ "de": "1/2 Geschwindigkeit",
1139
+ "en": "1/2 Speed",
1140
+ "es": "1/2 Velocidad",
1141
+ "fi": "1/2 Nopeus",
1142
+ "fr": "1/2 vitesse",
1143
+ "hi": "1/2 गति",
1144
+ "ja": "1/2速度",
1145
+ "ko": "1/2배속",
1146
+ "nl": "1/2 snelheid",
1147
+ "pt": "1/2 velocidade",
1148
+ "ru": "1/2 Скорость",
1149
+ "tr": "1/2 Hız",
1150
+ "zh-chs": "1/2速度",
1151
+ "zh-cht": "1/2速",
1152
+ "xloc": [
1153
+ "player.handlebars->p11->deskarea0->deskarea4->3->PlaySpeed->3"
1154
+ ]
1155
+ },
1156
+ {
1157
+ "cs": "1/4 rychlost",
1158
+ "de": "1/4 Geschwindigkeit",
1159
+ "en": "1/4 Speed",
1160
+ "es": "1/4 Velocidad",
1161
+ "fi": "1/4 Nopeus",
1162
+ "fr": "1/4 vitesse",
1163
+ "hi": "1/4 गति",
1164
+ "ja": "1/4スピード",
1165
+ "ko": "1/4배속",
1166
+ "nl": "1/4 snelheid",
1167
+ "pt": "1/4 de velocidade",
1168
+ "ru": "1/4 Скорость",
1169
+ "tr": "1/4 Hız",
1170
+ "zh-chs": "1/4速度",
1171
+ "zh-cht": "1/4速度",
1172
+ "xloc": [
1173
+ "player.handlebars->p11->deskarea0->deskarea4->3->PlaySpeed->1"
1174
+ ]
1175
+ },
1176
+ {
1177
+ "en": "10 minutes",
1178
+ "es": "10 minutos",
1179
+ "fr": "10 minutes",
1180
+ "nl": "10 minuten",
1181
+ "tr": "10 dakika",
1182
+ "zh-chs": "10分钟",
1183
+ "zh-cht": "10分鐘",
1184
+ "xloc": [
1185
+ "default.handlebars->27->714"
1186
+ ]
1187
+ },
1188
+ {
1189
+ "cs": "100%",
1190
+ "de": "100%",
1191
+ "en": "100%",
1192
+ "es": "100%",
1193
+ "fi": "100%",
1194
+ "fr": "100%",
1195
+ "hi": "100%",
1196
+ "ja": "100%",
1197
+ "ko": "100%",
1198
+ "nl": "100%",
1199
+ "pt": "100%",
1200
+ "ru": "100%",
1201
+ "tr": "100%",
1202
+ "zh-chs": "100%",
1203
+ "zh-cht": "100%",
1204
+ "xloc": [
1205
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->1",
1206
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->1",
1207
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->1"
1208
+ ]
1209
+ },
1210
+ {
1211
+ "cs": "100x30",
1212
+ "de": "100x30",
1213
+ "en": "100x30",
1214
+ "es": "100x30",
1215
+ "fi": "100x30",
1216
+ "fr": "100x30",
1217
+ "hi": "100x30",
1218
+ "ja": "100x30",
1219
+ "ko": "100x30",
1220
+ "nl": "100x30",
1221
+ "pt": "100x30",
1222
+ "ru": "100x30",
1223
+ "tr": "100x30",
1224
+ "zh-chs": "100x30",
1225
+ "zh-cht": "100x30",
1226
+ "xloc": [
1227
+ "default.handlebars->container->column_l->p12->termTable->1->1->6->1->1->terminalSizeDropDown->termSizeList->1"
1228
+ ]
1229
+ },
1230
+ {
1231
+ "cs": "10x rychlost",
1232
+ "de": "10x Geschwindigkeit",
1233
+ "en": "10x Speed",
1234
+ "es": "Velocidad 10x",
1235
+ "fi": "10x Nopeus",
1236
+ "fr": "10x vitesse",
1237
+ "hi": "10x स्पीड",
1238
+ "ja": "10倍速",
1239
+ "ko": "10배속",
1240
+ "nl": "10x Snelheid",
1241
+ "pt": "10x Velocidade",
1242
+ "ru": "10x Скорость",
1243
+ "tr": "10x Hız",
1244
+ "zh-chs": "10倍速度",
1245
+ "zh-cht": "10倍速度",
1246
+ "xloc": [
1247
+ "player.handlebars->p11->deskarea0->deskarea4->3->PlaySpeed->11"
1248
+ ]
1249
+ },
1250
+ {
1251
+ "cs": "12,5%",
1252
+ "de": "12.5%",
1253
+ "en": "12.5%",
1254
+ "es": "12.5%",
1255
+ "fi": "12.5%",
1256
+ "fr": "12.5%",
1257
+ "hi": "12.5%",
1258
+ "ja": "12.5%",
1259
+ "ko": "12.5%",
1260
+ "nl": "12.5%",
1261
+ "pt": "12.5%",
1262
+ "ru": "12.5%",
1263
+ "tr": "% 12.5",
1264
+ "zh-chs": "12.5%",
1265
+ "zh-cht": "12.5%",
1266
+ "xloc": [
1267
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->15",
1268
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->15",
1269
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->15"
1270
+ ]
1271
+ },
1272
+ {
1273
+ "en": "15 minutes",
1274
+ "es": "15 minutos",
1275
+ "fr": "15 minutes",
1276
+ "nl": "15 minuten",
1277
+ "tr": "15 dakika",
1278
+ "zh-chs": "15分钟",
1279
+ "zh-cht": "15分鐘",
1280
+ "xloc": [
1281
+ "default.handlebars->27->715"
1282
+ ]
1283
+ },
1284
+ {
1285
+ "cs": "aktivace 2-faktorového přihlašování se nezdařila.",
1286
+ "de": "Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen.",
1287
+ "en": "2-step login activation failed.",
1288
+ "es": "La activación de inicio de sesión en 2 pasos falló.",
1289
+ "fi": "Kaksivaiheisen kirjautumisen aktivointi epäonnistui.",
1290
+ "fr": "Echec de l'activitation de l'authentifcation à double facteur.",
1291
+ "hi": "2-चरण लॉगिन सक्रियण विफल।",
1292
+ "ja": "2段階ログインのアクティベーションに失敗しました。",
1293
+ "ko": "2단계 로그인 활성화에 실패했습니다.",
1294
+ "nl": "Tweestapsverificatie is msilukt.",
1295
+ "pt": "Falha na ativação do login em duas etapas.",
1296
+ "ru": "Активация двухэтапного входа не удалась.",
1297
+ "tr": "2 adımlı oturum açma etkinleştirilemedi.",
1298
+ "zh-chs": "两步登录激活失败。",
1299
+ "zh-cht": "兩步登入啟用失敗。",
1300
+ "xloc": [
1301
+ "default.handlebars->27->128"
1302
+ ]
1303
+ },
1304
+ {
1305
+ "cs": "odstranění 2-faktorového přihlašování se nezdařilo.",
1306
+ "de": "Entfernung der Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen.",
1307
+ "en": "2-step login activation removal failed.",
1308
+ "es": "La eliminación de activación de inicio de sesión en 2 pasos falló.",
1309
+ "fi": "Kaksivaiheisen sisäänkirjautumisen aktivoinnin poisto epäonnistui.",
1310
+ "fr": "Echec de la suppression de l'authenfication à double facteur.",
1311
+ "hi": "2-चरण लॉगिन सक्रियण निष्कासन विफल।",
1312
+ "ja": "2段階ログインアクティベーションの削除に失敗しました。",
1313
+ "ko": "2단계 로그인 활성화 제거에 실패했습니다.",
1314
+ "nl": "Tweestapsverificatie verwijdering is mislukt.",
1315
+ "pt": "A remoção da ativação do login em duas etapas falhou.",
1316
+ "ru": "Удаление активации двухэтапного входа не удалось.",
1317
+ "tr": "2 adımlı oturum açma etkinleştirme kaldırılamadı.",
1318
+ "zh-chs": "两步登录激活删除失败。",
1319
+ "zh-cht": "兩步登入啟用刪除失敗。",
1320
+ "xloc": [
1321
+ "default.handlebars->27->133"
1322
+ ]
1323
+ },
1324
+ {
1325
+ "cs": "2. OpenSSL – OpenSSL a SSLeay licence",
1326
+ "de": "2. OpenSSL - OpenSSL- und SSLeay-Lizenz",
1327
+ "en": "2. OpenSSL – OpenSSL and SSLeay License",
1328
+ "es": "2. OpenSSL – Licencia OpenSSL and SSLeay",
1329
+ "fi": "2. OpenSSL – OpenSSL and SSLeay License",
1330
+ "fr": "2. OpenSSL - Licence OpenSSL et SSLeay",
1331
+ "hi": "2. OpenSSL - OpenSSL और SSLeay लाइसेंस",
1332
+ "ja": "2. OpenSSL – OpenSSLおよびSSLeayライセンス",
1333
+ "ko": "2. OpenSSL – OpenSSL 및 SSLeay 라이센스",
1334
+ "nl": "2. OpenSSL – OpenSSL en SSLeay Licentie",
1335
+ "pt": "2. OpenSSL - Licença OpenSSL e SSLeay",
1336
+ "ru": "2. OpenSSL – OpenSSL и SSLeay Лицензия",
1337
+ "tr": "2. OpenSSL - OpenSSL ve SSLeay Lisansı",
1338
+ "zh-chs": "2. OpenSSL – OpenSSL和SSLeay许可证",
1339
+ "zh-cht": "2. OpenSSL – OpenSSL和SSLeay許可證",
1340
+ "xloc": [
1341
+ "terms-mobile.handlebars->container->page_content->column_l->23->1->0",
1342
+ "terms.handlebars->container->column_l->23->1->0"
1343
+ ]
1344
+ },
1345
+ {
1346
+ "cs": "2. Šíření dál ve zkompilované podobě musí reprodukovat výše uvedené oznámení o autorských právech, tento seznam podmínek a následující vyloučení odpovědnosti v dokumentaci a / nebo jiných materiálech dodávaných s distribucí.",
1347
+ "de": "2. Weiterverteilungen in binärer Form müssen den obigen Copyright-Hinweis, diese Liste von Bedingungen und den folgenden Haftungsausschluss in der Dokumentation und / oder anderen Materialien, die mit der Verteilung bereitgestellt werden, wiedergeben.",
1348
+ "en": "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.",
1349
+ "es": "2. Las redistribuciones en forma binaria deben reproducir el aviso de copyright anterior, esta lista de condiciones y el siguiente descargo de responsabilidad en la documentación y / u otros materiales proporcionados con la distribución.",
1350
+ "fi": "2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.",
1351
+ "fr": "2. Les redistributions sous forme binaire doivent reproduire l'avis de droit d'auteur ci-dessus, cette liste de conditions et la clause de non-responsabilité suivante dans la documentation et / ou les autres documents fournis avec la distribution.",
1352
+ "hi": "2. द्विआधारी रूप में सहायताएं उपरोक्त कॉपीराइट नोटिस, शर्तों की इस सूची और वितरण के साथ प्रदान किए गए प्रलेखन और / या अन्य सामग्रियों में निम्नलिखित अस्वीकरण को पुन: प्रस्तुत करना चाहिए।",
1353
+ "ja": "2. バイナリ形式での再配布では、上記の著作権表示、この条件リスト、および以下の免責事項を、配布物とともに提供されるドキュメントおよび/またはその他の資料に複製する必要があります。",
1354
+ "ko": "2. 바이너리 형태로 배포할 경우 위의 저작권도 함께 재배포되어야 합니다. 재배포될 목록에는 그 문서의 설명서의 고지사항과 조건들, 그리고/혹은 배포판과 함께 제공된 다른 자료들이 있습니다. ",
1355
+ "nl": "2. Herdistributies in binaire vorm moeten de bovenstaande copyright kennisgeving, deze lijst met voorwaarden en de volgende disclaimer reproduceren in de documentatie en / of andere materialen die bij de distributie worden geleverd.",
1356
+ "pt": "2. As redistribuições em formato binário devem reproduzir o aviso de direitos autorais acima, esta lista de condições e o aviso de isenção de responsabilidade a seguir na documentação e / ou outros materiais fornecidos com a distribuição.",
1357
+ "ru": "2. Распространение в двоичной форме должно включать указанное выше уведомление об авторских правах, этот список условий и следующий отказ от ответственности в документации и/или других материалов дистрибутива.",
1358
+ "tr": "2. İkili biçimdeki yeniden dağıtımlar, dağıtımla birlikte sağlanan belgelerde ve / veya diğer materyallerde yukarıdaki telif hakkı bildirimini, bu koşullar listesini ve aşağıdaki sorumluluk reddini içermelidir.",
1359
+ "zh-chs": "2. 以二进制形式重新分发必须在分发随附的文档和/或其他材料中复制上述版权声明,此条款列表以及以下免责声明。",
1360
+ "zh-cht": "2. 以二進制形式重新分發必須在分發隨附的文檔和/或其他材料中復制上述版權聲明,此條件列表以及以下免責聲明。",
1361
+ "xloc": [
1362
+ "terms-mobile.handlebars->container->page_content->column_l->17->1",
1363
+ "terms-mobile.handlebars->container->page_content->column_l->33->1",
1364
+ "terms.handlebars->container->column_l->17->1",
1365
+ "terms.handlebars->container->column_l->33->1"
1366
+ ]
1367
+ },
1368
+ {
1369
+ "cs": "25%",
1370
+ "de": "25%",
1371
+ "en": "25%",
1372
+ "es": "25%",
1373
+ "fi": "25%",
1374
+ "fr": "25%",
1375
+ "hi": "25%",
1376
+ "ja": "25%",
1377
+ "ko": "25%",
1378
+ "nl": "25%",
1379
+ "pt": "25%",
1380
+ "ru": "25%",
1381
+ "tr": "% 25",
1382
+ "zh-chs": "25%",
1383
+ "zh-cht": "25%",
1384
+ "xloc": [
1385
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->13",
1386
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->13",
1387
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->13"
1388
+ ]
1389
+ },
1390
+ {
1391
+ "en": "256 colors",
1392
+ "es": "256 colores",
1393
+ "fi": "256 väriä",
1394
+ "fr": "256 couleurs",
1395
+ "nl": "256 kleuren",
1396
+ "tr": "256 renk",
1397
+ "zh-chs": "256色",
1398
+ "zh-cht": "256色",
1399
+ "xloc": [
1400
+ "player.handlebars->3->18"
1401
+ ]
1402
+ },
1403
+ {
1404
+ "cs": "2-faktorové ověřování zapnuto",
1405
+ "de": "Zweifaktorauthentifizierung eingeschaltet",
1406
+ "en": "2nd factor authentication enabled",
1407
+ "es": "Segundo factor de autenticación habilitado.",
1408
+ "fi": "kaksivaiheinen todennus käytössä",
1409
+ "fr": "Authenfitication à double facteur activée",
1410
+ "hi": "2 कारक प्रमाणीकरण सक्षम",
1411
+ "ja": "二要素認証が有効",
1412
+ "ko": "2단계 인증 활성화됨",
1413
+ "nl": "Tweestapsverificatie ingeschakeld",
1414
+ "pt": "Autenticação de segundo fator ativada",
1415
+ "ru": "двухфакторная аутентификация включена",
1416
+ "tr": "2. faktör kimlik doğrulaması etkinleştirildi",
1417
+ "zh-chs": "启用第二因素身份验证",
1418
+ "zh-cht": "啟用第二因素身份驗證",
1419
+ "xloc": [
1420
+ "default.handlebars->27->1597",
1421
+ "default.handlebars->27->1800"
1422
+ ]
1423
+ },
1424
+ {
1425
+ "cs": "2x rychlost",
1426
+ "de": "2x Geschwindigkeit",
1427
+ "en": "2x Speed",
1428
+ "es": "Velocidad 2x",
1429
+ "fi": "2x Nopeus",
1430
+ "fr": "2x vitesse",
1431
+ "hi": "2x गति",
1432
+ "ja": "2倍速",
1433
+ "ko": "2배속",
1434
+ "nl": "2x Snelheid",
1435
+ "pt": "2x velocidade",
1436
+ "ru": "2x Скорость",
1437
+ "tr": "2x Hız",
1438
+ "zh-chs": "2倍速度",
1439
+ "zh-cht": "2倍速度",
1440
+ "xloc": [
1441
+ "player.handlebars->p11->deskarea0->deskarea4->3->PlaySpeed->7"
1442
+ ]
1443
+ },
1444
+ {
1445
+ "cs": "3",
1446
+ "de": "3",
1447
+ "en": "3",
1448
+ "es": "3",
1449
+ "fi": "3",
1450
+ "fr": "3",
1451
+ "ja": "3",
1452
+ "ko": "3",
1453
+ "nl": "3",
1454
+ "pt": "3",
1455
+ "ru": "3",
1456
+ "xloc": [
1457
+ "default-mobile.handlebars->9->321"
1458
+ ]
1459
+ },
1460
+ {
1461
+ "cs": "3. Všechny reklamní materiály zmiňující funkce nebo použití tohoto softwaru musí obsahovat následující oznámení: „Tento produkt zahrnuje software vyvinutý projektem OpenSSL pro použití v sadě OpenSSL Toolkit. (http://www.openssl.org/)“",
1462
+ "de": "3. Alle Werbematerialien, in denen Funktionen oder die Verwendung dieser Software erwähnt werden, müssen die folgende Bestätigung aufweisen: \"Dieses Produkt enthält Software, die vom OpenSSL-Projekt zur Verwendung im OpenSSL Toolkit entwickelt wurde (http://www.openssl.org/).\"",
1463
+ "en": "3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"",
1464
+ "es": "3. Todos los materiales publicitarios que mencionen características o el uso de este software deben mostrar el siguiente reconocimiento: \"Este producto incluye software desarrollado por OpenSSL Project para su uso en OpenSSL Toolkit. (Http://www.openssl.org/)\"",
1465
+ "fi": "3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"",
1466
+ "fr": "3. Tous les supports publicitaires mentionnant des fonctionnalités ou l'utilisation de ce logiciel doivent afficher la mention suivante: \"Ce produit inclut un logiciel développé par le projet OpenSSL pour une utilisation dans l'OpenSSL Toolkit. (Http://www.openssl.org/)\"",
1467
+ "hi": "3. इस सॉफ्टवेयर की विशेषताओं या उपयोग के बारे में सभी विज्ञापन सामग्री में निम्नलिखित स्वीकार्यता प्रदर्शित होनी चाहिए: \"इस उत्पाद में ओपनएसएसएल टूलकिट में उपयोग के लिए ओपनएसएसएल प्रोजेक्ट द्वारा विकसित सॉफ्टवेयर शामिल है। (http://www.openssl.org/)\"",
1468
+ "ja": "3. このソフトウェアの機能または使用について言及するすべての広告資料には、「この製品には、OpenSSL Toolkitで使用するためにOpenSSL Projectによって開発されたソフトウェアが含まれます。(http://www.openssl.org/)」",
1469
+ "ko": "3. 이 소프트웨어의 기능이나 사용을 언급하는 모든 광고 자료에는 다음 인정이 표시되어야합니다. \"이 제품에는 OpenSSL Toolkit에서 사용하기 위해 OpenSSL Project에서 개발 한 소프트웨어가 포함되어 있습니다. (http://www.openssl.org/)\"",
1470
+ "nl": "3. Alle advertentiematerialen die functies of gebruik van deze software maken, moeten de volgende tekst bevatten: \"Dit product bevat software die is ontwikkeld door het OpenSSL-project voor gebruik in de OpenSSL Toolkit. (Http://www.openssl.org/)\"",
1471
+ "pt": "3. Todos os materiais publicitários que mencionam os recursos ou o uso deste software devem exibir o seguinte reconhecimento: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"",
1472
+ "ru": "3. Все рекламные материалы, в которых упоминаются функции или использование этого программного обеспечения, должны отображать следующее подтверждение: \"Этот продукт включает программное обеспечение, разработанное OpenSSL Project для использования в OpenSSL Toolkit. (http://www.openssl.org/)\"",
1473
+ "tr": "3. Bu yazılımın özelliklerinden veya kullanımından bahseden tüm reklam materyalleri aşağıdaki beyanı göstermelidir: \"Bu ürün, OpenSSL Toolkit'te kullanılmak üzere OpenSSL Project tarafından geliştirilen yazılımı içerir. (Http://www.openssl.org/)\"",
1474
+ "zh-chs": "3. 所有提及该功能或使用该软件的广告材料都必须显示以下确认:“此产品包括由OpenSSL Project开发并在OpenSSL Toolkit中使用的软件。(http://www.openssl.org/)”",
1475
+ "zh-cht": "3. 提及功能或使用此軟體的所有廣告材料必須顯示以下確認:“此產品包括由OpenSSL Project開發的,可在OpenSSL Toolkit中使用的軟體。(http://www.openssl.org/)”",
1476
+ "xloc": [
1477
+ "terms-mobile.handlebars->container->page_content->column_l->35->1",
1478
+ "terms.handlebars->container->column_l->35->1"
1479
+ ]
1480
+ },
1481
+ {
1482
+ "cs": "3. Název nadace CodePlex Foundation ani jména jejích přispěvatelů nesmí být bez předchozího písemného svolení použita k doporučování nebo propagaci produktů odvozených od tohoto softwaru.",
1483
+ "de": "3. Weder der Name der CodePlex Foundation noch die Namen ihrer Mitwirkenden dürfen verwendet werden, um Produkte, die von dieser Software abgeleitet sind, ohne ausdrückliche vorherige schriftliche Genehmigung zu unterstützen oder zu bewerben.",
1484
+ "en": "3. Neither the name of CodePlex Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.",
1485
+ "es": "3. Ni el nombre de la Fundación CodePlex ni los nombres de sus colaboradores pueden utilizarse para respaldar o promocionar productos derivados de este software sin un permiso previo por escrito específico.",
1486
+ "fi": "3. Neither the name of CodePlex Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.",
1487
+ "fr": "3. Ni le nom de la Fondation CodePlex ni les noms de ses contributeurs ne peuvent être utilisés pour approuver ou promouvoir des produits dérivés de ce logiciel sans autorisation écrite préalable spécifique.",
1488
+ "hi": "3. न तो कोडप्लेक्स फाउंडेशन का नाम और न ही इसके योगदानकर्ताओं के नाम का उपयोग विशिष्ट पूर्व लिखित अनुमति के बिना इस सॉफ्टवेयर से प्राप्त उत्पादों को समर्थन या बढ़ावा देने के लिए किया जा सकता है।",
1489
+ "ja": "3. CodePlex Foundationの名前もその貢献者の名前も、書面による事前の許可なしに、このソフトウェアから派生した製品を推奨または宣伝するために使用することはできません。",
1490
+ "ko": "3. CodePlex Foundation의 이름이나 기여자의 이름을 사전에 서면 허가 없이 이 소프트웨어에서 파생된 제품을 보증하거나 홍보하는 데 사용할 수 없습니다.",
1491
+ "nl": "3. Noch de naam van CodePlex Foundation, noch de namen van haar bijdragers mogen worden gebruikt om producten die zijn afgeleid van deze software te ondersteunen of promoten zonder specifieke voorafgaande schriftelijke toestemming.",
1492
+ "pt": "3. Nem o nome da CodePlex Foundation nem os nomes de seus colaboradores podem ser usados \\u200b\\u200bpara endossar ou promover produtos derivados deste software sem permissão prévia por escrito específica.",
1493
+ "ru": "3. Ни имя CodePlex Foundation, ни имена его участников не могут использоваться для поддержки или продвижения продуктов, созданных на основе данного программного обеспечения, без специального предварительного письменного разрешения.",
1494
+ "tr": "3. CodePlex Foundation'ın adı veya katkıda bulunanların adları, önceden özel yazılı izin alınmadan bu yazılımdan türetilen ürünleri desteklemek veya tanıtmak için kullanılamaz.",
1495
+ "zh-chs": "3. 未经事先特别书面许可,不得使用CodePlex Foundation的名称或其贡献者的名称来认可或促销从该软件衍生的产品。",
1496
+ "zh-cht": "3. 未經事先特別書面許可,不得使用CodePlex Foundation的名稱或其貢獻者的名稱來認可或促銷從該軟體衍生的產品。",
1497
+ "xloc": [
1498
+ "terms-mobile.handlebars->container->page_content->column_l->19->1",
1499
+ "terms.handlebars->container->column_l->19->1"
1500
+ ]
1501
+ },
1502
+ {
1503
+ "de": "3. jQuery Foundation - MIT-Lizenz",
1504
+ "en": "3. jQuery Foundation - MIT License",
1505
+ "es": "3. jQuery Foundation - Licencia MIT",
1506
+ "fi": "3. jQuery Foundation - MIT License",
1507
+ "fr": "3. jQuery Foundation - Licence MIT",
1508
+ "hi": "3. jQuery फाउंडेशन - एमआईटी लाइसेंस",
1509
+ "ja": "3. jQuery Foundation-MITライセンス",
1510
+ "ko": "3. jQuery Foundation - MIT 라이센스",
1511
+ "nl": "3. jQuery Foundation - MIT Licentie",
1512
+ "pt": "3. jQuery Foundation - Licença MIT",
1513
+ "ru": "3. jQuery Foundation - MIT Лицензия",
1514
+ "tr": "3. jQuery Foundation - MIT Lisansı",
1515
+ "zh-chs": "3. jQuery Foundation-MIT许可证",
1516
+ "zh-cht": "3. jQuery Foundation-MIT授權條款",
1517
+ "xloc": [
1518
+ "terms-mobile.handlebars->container->page_content->column_l->45->1->0",
1519
+ "terms.handlebars->container->column_l->45->1->0"
1520
+ ]
1521
+ },
1522
+ {
1523
+ "en": "30 minutes",
1524
+ "es": "30 minutos",
1525
+ "fr": "30 minutes",
1526
+ "nl": "30 minuten",
1527
+ "tr": "30 dakika",
1528
+ "zh-chs": "30分钟",
1529
+ "zh-cht": "30分鐘",
1530
+ "xloc": [
1531
+ "default.handlebars->27->716"
1532
+ ]
1533
+ },
1534
+ {
1535
+ "cs": "32bit verze MeshAgent",
1536
+ "de": "32bit-Version des MeshAgents",
1537
+ "en": "32bit version of the MeshAgent",
1538
+ "es": "Version 32bits del MeshAgent",
1539
+ "fi": "MeshAgentin 32-bittinen versio",
1540
+ "fr": "Version 32bits de MeshAgent",
1541
+ "hi": "मेशएजेंट का 32 बिट संस्करण",
1542
+ "ja": "MeshAgentの32ビットバージョン",
1543
+ "ko": "MeshAgent의 32비트 버전",
1544
+ "nl": "32bit versie van de MeshAgent",
1545
+ "pt": "Versão de 32 bits do MeshAgent",
1546
+ "ru": "32-разрядная версия MeshAgent",
1547
+ "tr": "MeshAgent'ın 32 bit sürümü",
1548
+ "zh-chs": "MeshAgent的32位版本",
1549
+ "zh-cht": "MeshAgent的32位版本",
1550
+ "xloc": [
1551
+ "default.handlebars->27->383",
1552
+ "default.handlebars->27->400"
1553
+ ]
1554
+ },
1555
+ {
1556
+ "cs": "37,5%",
1557
+ "de": "37.5%",
1558
+ "en": "37.5%",
1559
+ "es": "37.5%",
1560
+ "fi": "37.5%",
1561
+ "fr": "37.5%",
1562
+ "hi": "37.5%",
1563
+ "ja": "37.5%",
1564
+ "ko": "37.5%",
1565
+ "nl": "37.5%",
1566
+ "pt": "37.5%",
1567
+ "ru": "37.5%",
1568
+ "tr": "% 37,5",
1569
+ "zh-chs": "37.5%",
1570
+ "zh-cht": "37.5%",
1571
+ "xloc": [
1572
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->11",
1573
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->11",
1574
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->11"
1575
+ ]
1576
+ },
1577
+ {
1578
+ "cs": "4. Názvy „OpenSSL Toolkit“ a „OpenSSL Project“ nesmí být bez předchozího písemného souhlasu použity k doporučování nebo propagaci produktů odvozených z tohoto softwaru. Pro písemné povolení kontaktujte na openssl-core@openssl.org.",
1579
+ "de": "4. Die Namen \"OpenSSL Toolkit\" und \"OpenSSL Project\" dürfen ohne vorherige schriftliche Genehmigung nicht verwendet werden, um von dieser Software abgeleitete Produkte zu unterstützen oder zu bewerben. Für eine schriftliche Genehmigung wenden Sie sich bitte an openssl-core@openssl.org.",
1580
+ "en": "4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact openssl-core@openssl.org.",
1581
+ "es": "4. Los nombres \"OpenSSL Toolkit\" y \"OpenSSL Project\" no deben utilizarse para respaldar o promocionar productos derivados de este software sin un permiso previo por escrito. Para obtener un permiso por escrito, comuníquese con openssl-core@openssl.org.",
1582
+ "fi": "4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact openssl-core@openssl.org.",
1583
+ "fr": "4. Les noms «OpenSSL Toolkit» et «OpenSSL Project» ne doivent pas être utilisés pour approuver ou promouvoir des produits dérivés de ce logiciel sans autorisation écrite préalable. Pour une autorisation écrite, veuillez contacter openssl-core@openssl.org.",
1584
+ "hi": "4. \"ओपनएसएसएल टूलकिट\" और \"ओपनएसएसएल प्रोजेक्ट\" नामों का उपयोग पूर्व लिखित अनुमति के बिना इस सॉफ्टवेयर से प्राप्त उत्पादों को समर्थन या बढ़ावा देने के लिए नहीं किया जाना चाहिए। लिखित अनुमति के लिए, कृपया खुलता है- whatsl-core@openssl.org।",
1585
+ "ja": "4.「OpenSSL Toolkit」および「OpenSSL Project」という名前は、事前の書面による許可なしに、このソフトウェアから派生した製品を推奨または宣伝するために使用しないでください。書面による許可については、openssl-core @ openssl.orgにお問い合わせください。",
1586
+ "ko": "4. 사전에 서면 허가없이 \"OpenSSL Toolkit\"및 \"OpenSSL Project\"라는 이름을 사용하여 이 소프트웨어에서 파생된 제품을 보증하거나 홍보해서는 안됩니다. 서면 허가를 받으려면 openssl-core@openssl.org에 문의하십시오.",
1587
+ "nl": "4. De namen \"OpenSSL Toolkit\" en \"OpenSSL Project\" mogen niet worden gebruikt om producten die zijn afgeleid van deze software te ondersteunen of promoten zonder voorafgaande schriftelijke toestemming. Neem voor schriftelijke toestemming contact op met openssl-core@openssl.org.",
1588
+ "pt": "4. Os nomes \"OpenSSL Toolkit\" e \"OpenSSL Project\" não devem ser usados para endossar ou promover produtos derivados deste software sem permissão prévia por escrito. Para permissão por escrito, entre em contato com openssl-core@openssl.org.",
1589
+ "ru": "4. Наименования «OpenSSL Toolkit» и «OpenSSL Project» не должны использоваться для поддержки или продвижения продуктов, созданных на основе данного программного обеспечения, без предварительного письменного разрешения. Для получения письменного разрешения, пожалуйста, свяжитесь с openssl-core@openssl.org.",
1590
+ "tr": "4. \"OpenSSL Toolkit\" ve \"OpenSSL Project\" adları, önceden yazılı izin alınmadan bu yazılımdan türetilen ürünleri desteklemek veya tanıtmak için kullanılmamalıdır. Yazılı izin için lütfen openssl-core@openssl.org ile iletişime geçin.",
1591
+ "zh-chs": "4. 未经事先书面许可,不得使用名称“ OpenSSL Toolkit”和“ OpenSSL Project”来认可或促销从该软件衍生的产品。要获得书面许可,请联系openssl-core@openssl.org。",
1592
+ "zh-cht": "4. 未經事先書面許可,不得使用名稱“ OpenSSL Toolkit”和“ OpenSSL Project”來認可或促銷從該軟體派生的產品。要獲得書面許可,請聯繫openssl-core@openssl.org。",
1593
+ "xloc": [
1594
+ "terms-mobile.handlebars->container->page_content->column_l->37->1",
1595
+ "terms.handlebars->container->column_l->37->1"
1596
+ ]
1597
+ },
1598
+ {
1599
+ "de": "4. jQuery-Benutzeroberfläche - MIT-Lizenz",
1600
+ "en": "4. jQuery User Interface - MIT License",
1601
+ "es": "4. jQuery User Interface - Licencia MIT",
1602
+ "fi": "4. jQuery User Interface - MIT License",
1603
+ "fr": "4. Interface utilisateur jQuery - Licence MIT",
1604
+ "hi": "4. jQuery उपयोगकर्ता इंटरफ़ेस - एमआईटी लाइसेंस",
1605
+ "ja": "4. jQueryユーザーインターフェイス-MITライセンス",
1606
+ "ko": "4. jQuery 사용자 인터페이스 - MIT 라이센스",
1607
+ "nl": "4. jQuery Gebruikers Interface - MIT Licentie",
1608
+ "pt": "4. Interface do Usuário jQuery - Licença MIT",
1609
+ "ru": "4. jQuery User Interface - MIT Лицензия",
1610
+ "tr": "4. jQuery Kullanıcı Arayüzü - MIT Lisansı",
1611
+ "zh-chs": "4. jQuery用户界面-MIT许可证",
1612
+ "zh-cht": "4. jQuery用戶界面-MIT許可證",
1613
+ "xloc": [
1614
+ "terms-mobile.handlebars->container->page_content->column_l->51->1->0",
1615
+ "terms.handlebars->container->column_l->51->1->0"
1616
+ ]
1617
+ },
1618
+ {
1619
+ "cs": "404",
1620
+ "de": "404",
1621
+ "en": "404",
1622
+ "es": "404",
1623
+ "fi": "404",
1624
+ "fr": "404",
1625
+ "hi": "404",
1626
+ "ja": "404",
1627
+ "ko": "404",
1628
+ "nl": "404",
1629
+ "pt": "404",
1630
+ "ru": "404",
1631
+ "tr": "404",
1632
+ "zh-chs": "404",
1633
+ "zh-cht": "404",
1634
+ "xloc": [
1635
+ "error404-mobile.handlebars->container->page_content->column_l->1->0",
1636
+ "error404.handlebars->container->column_l->1->0"
1637
+ ]
1638
+ },
1639
+ {
1640
+ "en": "45 minutes",
1641
+ "es": "45 minutos",
1642
+ "fr": "45 minutes",
1643
+ "nl": "45 minuten",
1644
+ "tr": "45 dakika",
1645
+ "zh-chs": "45分钟",
1646
+ "zh-cht": "45分鐘",
1647
+ "xloc": [
1648
+ "default.handlebars->27->717"
1649
+ ]
1650
+ },
1651
+ {
1652
+ "cs": "4x rychlost",
1653
+ "de": "4x Geschwindigkeit",
1654
+ "en": "4x Speed",
1655
+ "es": "Velocidad 4x",
1656
+ "fi": "4x Nopeus",
1657
+ "fr": "4x vitesse",
1658
+ "hi": "4x स्पीड",
1659
+ "ja": "4倍速",
1660
+ "ko": "4배속",
1661
+ "nl": "4x snelheid",
1662
+ "pt": "4x velocidade",
1663
+ "ru": "4x Скорость",
1664
+ "tr": "4x Hız",
1665
+ "zh-chs": "4倍速度",
1666
+ "zh-cht": "4倍速度",
1667
+ "xloc": [
1668
+ "player.handlebars->p11->deskarea0->deskarea4->3->PlaySpeed->9"
1669
+ ]
1670
+ },
1671
+ {
1672
+ "en": "5 minutes",
1673
+ "es": "5 minutos",
1674
+ "fr": "5 minutes",
1675
+ "nl": "5 minuten",
1676
+ "tr": "5 dakika",
1677
+ "zh-chs": "5分钟",
1678
+ "zh-cht": "5分鐘",
1679
+ "xloc": [
1680
+ "default.handlebars->27->713"
1681
+ ]
1682
+ },
1683
+ {
1684
+ "cs": "5. Produkty odvozené od tohoto softwaru nesmí být nazývány „OpenSSL“ ani se nesmí „OpenSSL“ objevit v jejich názvech bez předchozího písemného souhlasu projektu OpenSSL.",
1685
+ "de": "5. Von dieser Software abgeleitete Produkte dürfen ohne vorherige schriftliche Genehmigung des OpenSSL-Projekts weder \"OpenSSL\" genannt noch \"OpenSSL\" in ihren Namen angezeigt werden.",
1686
+ "en": "5. Products derived from this software may not be called \"OpenSSL\" nor may \"OpenSSL\" appear in their names without prior written permission of the OpenSSL Project.",
1687
+ "es": "5. Los productos derivados de este software no pueden llamarse \"OpenSSL\" ni \"OpenSSL\" aparecer en sus nombres sin el permiso previo por escrito del Proyecto OpenSSL.",
1688
+ "fi": "5. Products derived from this software may not be called \"OpenSSL\" nor may \"OpenSSL\" appear in their names without prior written permission of the OpenSSL Project.",
1689
+ "fr": "5. Les produits dérivés de ce logiciel ne peuvent pas être appelés \"OpenSSL\" ni \"OpenSSL\" apparaître dans leurs noms sans l'autorisation écrite préalable du projet OpenSSL.",
1690
+ "hi": "5. इस सॉफ्टवेयर से प्राप्त उत्पादों को \"ओपनएसएसएल\" नहीं कहा जा सकता है और न ही ओपनएसएसएल परियोजना की पूर्व लिखित अनुमति के बिना उनके नाम में \"ओपनएसएसएल\" दिखाई दे सकता है।",
1691
+ "ja": "5. このソフトウェアから派生した製品は、OpenSSL Projectの事前の書面による許可なしに、「OpenSSL」と呼ばれたり、名前に「OpenSSL」が表示されたりすることはありません。",
1692
+ "ko": "5. OpenSSL Project의 사전에 서면 승인없이 이 소프트웨어에서 파생 된 제품을 \"OpenSSL\"이라고하거나 이름에 \"OpenSSL\"을 표시할 수 없습니다.",
1693
+ "nl": "5. Producten die zijn afgeleid van deze software mogen niet \"OpenSSL\" worden genoemd, noch mag \"OpenSSL\" in hun naam worden weergegeven zonder voorafgaande schriftelijke toestemming van het OpenSSL-project.",
1694
+ "pt": "5. Os produtos derivados deste software não podem ser chamados de \"OpenSSL\" nem \"OpenSSL\" aparece em seus nomes sem a permissão prévia por escrito do OpenSSL Project.",
1695
+ "ru": "5. Продукты, полученные из этого программного обеспечения, не могут называться «OpenSSL», а также «OpenSSL» не может появляться в их названиях без предварительного письменного разрешения OpenSSL Project.",
1696
+ "tr": "5. Bu yazılımdan türetilen ürünler \"OpenSSL\" olarak adlandırılamaz ve OpenSSL Project'in önceden yazılı izni olmadan adlarında \"OpenSSL\" görünemez.",
1697
+ "zh-chs": "5. 未经OpenSSL Project事先书面许可,从该软件派生的产品不得称为“ OpenSSL ”,也不得在其名称中出现“ OpenSSL ”。",
1698
+ "zh-cht": "5. 未經OpenSSL Project事先書面許可,從此軟體派生的產品不得稱為“ OpenSSL ”,也不得在其名稱中出現“ OpenSSL ”。",
1699
+ "xloc": [
1700
+ "terms-mobile.handlebars->container->page_content->column_l->39->1",
1701
+ "terms.handlebars->container->column_l->39->1"
1702
+ ]
1703
+ },
1704
+ {
1705
+ "cs": "5. noVNC – Mozilla Public licence 2.0",
1706
+ "de": "5. noVNC - Mozilla Public License 2.0",
1707
+ "en": "5. noVNC - Mozilla Public License 2.0",
1708
+ "es": "5. noVNC - Mozilla Public License 2.0",
1709
+ "fi": "5. noVNC - Mozilla Public License 2.0",
1710
+ "fr": "5. noVNC - Mozilla Public License 2.0",
1711
+ "hi": "5. noVNC - मोज़िला पब्लिक लाइसेंस 2.0",
1712
+ "ja": "5. noVNC-Mozilla Public License 2.0",
1713
+ "ko": "5. noVNC - Mozilla Public License 2.0",
1714
+ "nl": "5. noVNC - Mozilla Public Licentie 2.0",
1715
+ "pt": "5. noVNC - Licença Pública Mozilla 2.0 0",
1716
+ "ru": "5. noVNC - Mozilla Public License 2.0",
1717
+ "tr": "5. noVNC - Mozilla Public License 2.0",
1718
+ "zh-chs": "5. noVNC-Mozilla公共许可证2.0",
1719
+ "zh-cht": "5. noVNC-Mozilla公眾授權條款2.0",
1720
+ "xloc": [
1721
+ "terms-mobile.handlebars->container->page_content->column_l->59->1->0",
1722
+ "terms.handlebars->container->column_l->59->1->0"
1723
+ ]
1724
+ },
1725
+ {
1726
+ "cs": "50%",
1727
+ "de": "50%",
1728
+ "en": "50%",
1729
+ "es": "50%",
1730
+ "fi": "50%",
1731
+ "fr": "50%",
1732
+ "hi": "50%",
1733
+ "ja": "50%",
1734
+ "ko": "50%",
1735
+ "nl": "50%",
1736
+ "pt": "50%",
1737
+ "ru": "50%",
1738
+ "tr": "% 50",
1739
+ "zh-chs": "50%",
1740
+ "zh-cht": "50%",
1741
+ "xloc": [
1742
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->9",
1743
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->9",
1744
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->9"
1745
+ ]
1746
+ },
1747
+ {
1748
+ "cs": "6. Rcarousel – MIT licence",
1749
+ "de": "6. Karussell - MIT LIcense",
1750
+ "en": "6. Rcarousel - MIT LIcense",
1751
+ "es": "6. Rcarousel - Licencia MIT",
1752
+ "fi": "6. Rcarousel - MIT LIcense",
1753
+ "fr": "6. Carrousel - Licence MIT",
1754
+ "hi": "6. रॉसेल - MIT LIcense",
1755
+ "ja": "6. Rcarousel - MITライセンス",
1756
+ "ko": "6. Rcarousel - MIT LIcense",
1757
+ "nl": "6. Rcarousel - MIT Licentie",
1758
+ "pt": "6. Rcarousel - License MIT",
1759
+ "ru": "6. Rcarousel - MIT Лицензия",
1760
+ "tr": "6. Rcarousel - MIT LIcense",
1761
+ "zh-chs": "6. Rcarousel-麻省理工学院许可证",
1762
+ "zh-cht": "6. Rcarousel-麻省理工學院執照",
1763
+ "xloc": [
1764
+ "terms-mobile.handlebars->container->page_content->column_l->65->1->0",
1765
+ "terms.handlebars->container->column_l->65->1->0"
1766
+ ]
1767
+ },
1768
+ {
1769
+ "cs": "6. Šíření dál v jakékoli formě si musí zachovat následující prohlášení: „Tento produkt zahrnuje software vyvinutý v rámci projektu OpenSSL pro použití v sadě OpenSSL Toolkit (http://www.openssl.org/)“.",
1770
+ "de": "6. Weiterverteilungen jeglicher Art müssen die folgende Bestätigung behalten: \"Dieses Produkt enthält Software, die vom OpenSSL-Projekt zur Verwendung im OpenSSL Toolkit (http://www.openssl.org/) entwickelt wurde.\"",
1771
+ "en": "6. Redistributions of any form whatsoever must retain the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)\".",
1772
+ "es": "6. Las redistribuciones de cualquier forma deben conservar el siguiente reconocimiento: \"Este producto incluye software desarrollado por OpenSSL Project para su uso en OpenSSL Toolkit (http://www.openssl.org/)\".",
1773
+ "fi": "6. Redistributions of any form whatsoever must retain the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)\".",
1774
+ "fr": "6. Les redistributions sous quelque forme que ce soit doivent conserver la mention suivante: \"Ce produit comprend un logiciel développé par le projet OpenSSL pour une utilisation dans la boîte à outils OpenSSL (http://www.openssl.org/)\".",
1775
+ "hi": "6. किसी भी रूप के 6.Redistributions जो भी निम्नलिखित स्वीकार्यता को बनाए रखने चाहिए: \"इस उत्पाद में OpenSSL टूलकिट (http://www.openssl.org/) में उपयोग के लिए OpenSSL प्रोजेक्ट द्वारा विकसित सॉफ्टवेयर शामिल है\"।",
1776
+ "ja": "6. いかなる形式の再配布でも、「この製品には、OpenSSL Toolkit(http://www.openssl.org/)で使用するためにOpenSSL Projectによって開発されたソフトウェアが含まれます」という承認を保持する必要があります。",
1777
+ "ko": "6. \"이 제품에는 OpenSSL 툴킷 (http://www.openssl.org/)에서 사용하기 위해 OpenSSL Project에서 개발 한 소프트웨어가 포함되어 있습니다.\"",
1778
+ "nl": "6. Herdistributies in welke vorm dan ook moet de volgende tekst behouden: \"Dit product bevat software die is ontwikkeld door het OpenSSL-project voor gebruik in de OpenSSL Toolkit (http://www.openssl.org/)\".",
1779
+ "pt": "6. As redistribuições de qualquer forma devem manter o seguinte reconhecimento: \"Este produto inclui software desenvolvido pelo OpenSSL Project para uso no OpenSSL Toolkit (http://www.openssl.org/)\".",
1780
+ "ru": "6. Распространение в любой форме должно включать следующее подтверждение: \"Этот продукт включает программное обеспечение, разработанное OpenSSL Project для использования в OpenSSL Toolkit (http://www.openssl.org/)\".",
1781
+ "tr": "6. Her ne şekilde olursa olsun yeniden dağıtımlar aşağıdaki beyanı muhafaza etmelidir: \"Bu ürün, OpenSSL Toolkit (http://www.openssl.org/) içinde kullanılmak üzere OpenSSL Project tarafından geliştirilen yazılımı içerir\".",
1782
+ "zh-chs": "6. 任何形式的重新分发都必须保留以下声明:“此产品包括由OpenSSL Project开发的,可在OpenSSL Toolkit(http://www.openssl.org/)中使用的软件”。",
1783
+ "zh-cht": "6. 任何形式的重新分發都必須保留以下聲明:“此產品包括由OpenSSL Project開發的,可在OpenSSL Toolkit(http://www.openssl.org/)中使用的軟體”。",
1784
+ "xloc": [
1785
+ "terms-mobile.handlebars->container->page_content->column_l->41->1",
1786
+ "terms.handlebars->container->column_l->41->1"
1787
+ ]
1788
+ },
1789
+ {
1790
+ "cs": "62,5%",
1791
+ "de": "62.5%",
1792
+ "en": "62.5%",
1793
+ "es": "62.5%",
1794
+ "fi": "62.5%",
1795
+ "fr": "62.5%",
1796
+ "hi": "62.5%",
1797
+ "ja": "62.5%",
1798
+ "ko": "62.5%",
1799
+ "nl": "62.5%",
1800
+ "pt": "62.5%",
1801
+ "ru": "62.5%",
1802
+ "tr": "% 62,5",
1803
+ "zh-chs": "62.5%",
1804
+ "zh-cht": "62.5%",
1805
+ "xloc": [
1806
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->7",
1807
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->7",
1808
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->7"
1809
+ ]
1810
+ },
1811
+ {
1812
+ "cs": "64bitová verze agenta macOS Mesh Agent",
1813
+ "de": "64-Bit-Version des macOS Mesh-Agenten",
1814
+ "en": "64bit version of macOS Mesh Agent",
1815
+ "es": "versión de 64bit de Agente Mesh para macOs ",
1816
+ "fr": "Version 64 bits de macOS Mesh Agent",
1817
+ "hi": "macOS मेष एजेंट का 64 बिट संस्करण",
1818
+ "ja": "macOS Mesh Agentの64ビットバージョン",
1819
+ "ko": "macOS용 MeshAgent의 64비트 버전",
1820
+ "nl": "64bit versie van de macOS Mesh Agent",
1821
+ "pt": "Versão de 64 bits do macOS Mesh Agent",
1822
+ "ru": "64-битная версия macOS Mesh Agent",
1823
+ "tr": "MacOS Mesh Agent'ın 64 bit sürümü",
1824
+ "zh-chs": "64位版本的macOS Mesh Agent",
1825
+ "zh-cht": "64位版本的macOS Mesh Agent",
1826
+ "xloc": [
1827
+ "default.handlebars->27->396"
1828
+ ]
1829
+ },
1830
+ {
1831
+ "cs": "64bit verze MeshAgent",
1832
+ "de": "64bit-Version des MeshAgents",
1833
+ "en": "64bit version of the MeshAgent",
1834
+ "es": "Version 64bits del MeshAgent",
1835
+ "fi": "MeshAgentin 64bittinen versio",
1836
+ "fr": "Version 64bits de MeshAgent",
1837
+ "hi": "मेशजेंट का 64 बिट संस्करण",
1838
+ "ja": "MeshAgentの64ビットバージョン",
1839
+ "ko": "MeshAgent의 64비트 버전",
1840
+ "nl": "64bit versie van de MeshAgent",
1841
+ "pt": "Versão de 64 bits do MeshAgent",
1842
+ "ru": "64-разрядная версия MeshAgent",
1843
+ "tr": "MeshAgent'ın 64 bit sürümü",
1844
+ "zh-chs": "MeshAgent的64位版本",
1845
+ "zh-cht": "MeshAgent的64位版本",
1846
+ "xloc": [
1847
+ "default.handlebars->27->387",
1848
+ "default.handlebars->27->403"
1849
+ ]
1850
+ },
1851
+ {
1852
+ "en": "65536 colors",
1853
+ "es": "65536 colores",
1854
+ "fi": "65536 väriä",
1855
+ "fr": "65536 couleurs",
1856
+ "nl": "65536 kleuren",
1857
+ "tr": "65536 renk",
1858
+ "zh-chs": "65536色",
1859
+ "zh-cht": "65536色",
1860
+ "xloc": [
1861
+ "player.handlebars->3->20"
1862
+ ]
1863
+ },
1864
+ {
1865
+ "cs": "Stav přihlášení za 7 dnů",
1866
+ "de": "7-Tage-Anmelde-Status",
1867
+ "en": "7 Day Login State",
1868
+ "es": "Estado de inicio de sesión de 7 días",
1869
+ "fi": "7 päivän kirjautumistila",
1870
+ "fr": "Statistiques de connexions sur 7 jours ",
1871
+ "hi": "7 दिन लॉगिन राज्य",
1872
+ "ja": "7日間のログイン状態",
1873
+ "ko": "7일간 로그인 상태",
1874
+ "nl": "Inlogstatus afgelopen 7 dagen",
1875
+ "pt": "Estado de login de 7 dias",
1876
+ "ru": "7-дневная статистика входов",
1877
+ "tr": "7 Günlük Giriş Durumu",
1878
+ "zh-chs": "7天登录状态",
1879
+ "zh-cht": "7天登入狀態"
1880
+ },
1881
+ {
1882
+ "cs": "Stav napájení za uplynulých 7 dnů",
1883
+ "de": "7-Tage-Energiezustand",
1884
+ "en": "7 Day Power State",
1885
+ "es": "Estado de energía de 7 días",
1886
+ "fi": "7 päivän virtatila",
1887
+ "fr": "Etat d'alimentation sur les 7 derniers jours",
1888
+ "hi": "7 डे पावर स्टेट",
1889
+ "ja": "7日間の電源状態",
1890
+ "ko": "7일간 전원 상태",
1891
+ "nl": "7 dagen stroom status",
1892
+ "pt": "Estado de energia de 7 dias",
1893
+ "ru": "7-дневная статистика работы",
1894
+ "tr": "7 Günlük Güç Durumu",
1895
+ "zh-chs": "7天电源状态",
1896
+ "zh-cht": "7天電源狀態",
1897
+ "xloc": [
1898
+ "default.handlebars->27->739"
1899
+ ]
1900
+ },
1901
+ {
1902
+ "cs": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK licence",
1903
+ "de": "7. Webtoolkit Javascript Base 64 - Creative Commons Attribution 2.0 UK-Lizenz",
1904
+ "en": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK License",
1905
+ "es": "7. Webtoolkit Javascript Base 64 - Creative Commons Attribution 2.0 UK Licencia",
1906
+ "fi": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK License",
1907
+ "fr": "7. Webtoolkit Javascript Base 64 - Licence Creative Commons Attribution 2.0 UK",
1908
+ "hi": "7. वेबटूलकिट जावास्क्रिप्ट बेस 64 - क्रिएटिव कॉमन्स एट्रिब्यूशन 2.0 यूके लाइसेंस",
1909
+ "ja": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UKライセンス",
1910
+ "ko": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK License",
1911
+ "nl": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK Licentie",
1912
+ "pt": "7. Webtoolkit Javascript Base 64 - Licença Creative Commons Attribution 2.0 UK",
1913
+ "ru": "7. Webtoolkit Javascript Base 64 – Creative Commons Attribution 2.0 UK Лицензия",
1914
+ "tr": "7. Webtoolkit Javascript Base 64 - Creative Commons Attribution 2.0 İngiltere Lisansı",
1915
+ "zh-chs": "7. Webtoolkit Javascript Base 64 –知识共享署名2.0英国许可证",
1916
+ "zh-cht": "7. Webtoolkit Javascript Base 64 –知識共享署名2.0英國許可證",
1917
+ "xloc": [
1918
+ "terms-mobile.handlebars->container->page_content->column_l->73->1->0",
1919
+ "terms.handlebars->container->column_l->73->1->0"
1920
+ ]
1921
+ },
1922
+ {
1923
+ "cs": "75%",
1924
+ "de": "75%",
1925
+ "en": "75%",
1926
+ "es": "75%",
1927
+ "fi": "75%",
1928
+ "fr": "75%",
1929
+ "hi": "75%",
1930
+ "ja": "75%",
1931
+ "ko": "75%",
1932
+ "nl": "75%",
1933
+ "pt": "75%",
1934
+ "ru": "75%",
1935
+ "tr": "% 75",
1936
+ "zh-chs": "75%",
1937
+ "zh-cht": "75%",
1938
+ "xloc": [
1939
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->5",
1940
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->5",
1941
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->5"
1942
+ ]
1943
+ },
1944
+ {
1945
+ "cs": "8 hodin",
1946
+ "de": "8 Stunden",
1947
+ "en": "8 hours",
1948
+ "es": "8 horas",
1949
+ "fi": "8 tuntia",
1950
+ "fr": "8 heures",
1951
+ "hi": "8 घंटे",
1952
+ "ja": "8時間",
1953
+ "ko": "8시간",
1954
+ "nl": "8 uur",
1955
+ "pt": "8 horas",
1956
+ "ru": "8 часов",
1957
+ "tr": "8 saat",
1958
+ "zh-chs": "8小時",
1959
+ "zh-cht": "8小時",
1960
+ "xloc": [
1961
+ "default.handlebars->27->344",
1962
+ "default.handlebars->27->358"
1963
+ ]
1964
+ },
1965
+ {
1966
+ "cs": "80x25",
1967
+ "de": "80x25",
1968
+ "en": "80x25",
1969
+ "es": "80x25",
1970
+ "fi": "80x25",
1971
+ "fr": "80x25",
1972
+ "hi": "80x25",
1973
+ "ja": "80x25",
1974
+ "ko": "80x25",
1975
+ "nl": "80x25",
1976
+ "pt": "80x25",
1977
+ "ru": "80x25",
1978
+ "tr": "80x25",
1979
+ "zh-chs": "80x25",
1980
+ "zh-cht": "80x25",
1981
+ "xloc": [
1982
+ "default.handlebars->container->column_l->p12->termTable->1->1->6->1->1->terminalSizeDropDown->termSizeList->0"
1983
+ ]
1984
+ },
1985
+ {
1986
+ "cs": "87,5%",
1987
+ "de": "87.5%",
1988
+ "en": "87.5%",
1989
+ "es": "87.5%",
1990
+ "fi": "87.5%",
1991
+ "fr": "87.5%",
1992
+ "hi": "87.5%",
1993
+ "ja": "87.5%",
1994
+ "ko": "87.5%",
1995
+ "nl": "87.5%",
1996
+ "pt": "87.5%",
1997
+ "ru": "87.5%",
1998
+ "tr": "% 87.5",
1999
+ "zh-chs": "87.5%",
2000
+ "zh-cht": "87.5%",
2001
+ "xloc": [
2002
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->5->d7bitmapscaling->3",
2003
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->3",
2004
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->5->d7bitmapscaling->3"
2005
+ ]
2006
+ },
2007
+ {
2008
+ "cs": ":",
2009
+ "de": ":",
2010
+ "en": ":",
2011
+ "es": ":",
2012
+ "fi": ":",
2013
+ "fr": ":",
2014
+ "hi": ":",
2015
+ "ja": ":",
2016
+ "ko": ":",
2017
+ "nl": ":",
2018
+ "pt": ":",
2019
+ "ru": ":",
2020
+ "zh-chs": ":"
2021
+ },
2022
+ {
2023
+ "cs": "<<",
2024
+ "de": "<<",
2025
+ "en": "<<",
2026
+ "es": "<<",
2027
+ "fi": "<<",
2028
+ "fr": "<<",
2029
+ "hi": "<<",
2030
+ "ja": "<<",
2031
+ "ko": "<<",
2032
+ "nl": "<<",
2033
+ "pt": "<<",
2034
+ "ru": "<<",
2035
+ "tr": "<<",
2036
+ "zh-chs": "<<",
2037
+ "zh-cht": "<<",
2038
+ "xloc": [
2039
+ "player.handlebars->p11->deskarea0->deskarea4->3"
2040
+ ]
2041
+ },
2042
+ {
2043
+ "cs": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Hardwarové klíče</a> jsou použity jako druhý faktor ověřování.",
2044
+ "de": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Hardware-Schlüssel</a> werden für Zweifaktor-Anmeldung verwendet.",
2045
+ "en": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Hardware keys</a> are used as secondary login authentication.",
2046
+ "es": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Las claves de Hardware</a> son usadas como segundo factor de autenticación.",
2047
+ "fi": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Laiteavaimia </a> käytetään toissijaisena kirjautumistunnistuksena.",
2048
+ "fr": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Les clés physiques (Yubikeys)</a> sont utilisées pour l'authentification à double facteur.",
2049
+ "hi": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\"> हार्डवेयर कुंजियाँ </a> को द्वितीयक लॉगिन प्रमाणीकरण के रूप में उपयोग किया जाता है।",
2050
+ "ja": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">ハードウェアキー</a>は、セカンダリログイン認証として使用されます。",
2051
+ "ko": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">하드웨어 전자열쇠</a>는 보조 로그인 인증으로 사용됩니다.",
2052
+ "nl": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Hardware sleutels</a> worden gebruikt als secundaire inlogverificatie.",
2053
+ "pt": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Chaves Hardware</a> são usados como autenticação de login secundária.",
2054
+ "ru": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">Аппаратные ключи</a> используются в качестве дополнительной аутентификации.",
2055
+ "tr": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\"> Donanım anahtarları </a>, ikincil oturum açma kimlik doğrulaması olarak kullanılır.",
2056
+ "zh-chs": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">硬件密钥</a>用作辅助登录身份验证。",
2057
+ "zh-cht": "<a href=\\\"https://www.yubico.com/\\\" rel=\\\"noreferrer noopener\\\" target=\\\"_blank\\\">硬件密鑰</a>用作輔助登入身份驗證。",
2058
+ "xloc": [
2059
+ "default.handlebars->27->142"
2060
+ ]
2061
+ },
2062
+ {
2063
+ "cs": "<b style=color:green>2-faktorové přihlašování odebráno</b>. Lze znovu kdykoliv znovu zapnout.",
2064
+ "de": "<b style=color:green>Aktivierung der Zweifaktor-Anmeldung entfernt</b>. Sie können dieses Merkmal jederzeit reaktivieren.",
2065
+ "en": "<b style=color:green>2-step login activation removed</b>. You can reactivate this feature at any time.",
2066
+ "es": "<b style=color:green>Activación de inicio de sesión de 2 pasos eliminada</b>. Puede reactivar esta funcion en cualqueir momento.",
2067
+ "fi": "<b style=color:green>2-vaiheisen sisäänkirjautumisen aktivointi poistettu</b>. Voit aktivoida tämän ominaisuuden uudelleen milloin tahansa.",
2068
+ "fr": "<b style=color:green>Authentification à double facteur supprimée</b>. Vous pouvez la réactiver à n'importe quel moment.",
2069
+ "hi": "<b style=color:green>2-चरण लॉगिन सक्रियण हटा दिया गया </ b>। आप किसी भी समय इस सुविधा को पुनः सक्रिय कर सकते हैं।",
2070
+ "ja": "<b style=color:green>2段階のログインアクティベーションが削除されました</ b>。この機能はいつでも再アクティブ化できます。",
2071
+ "ko": "<b style=color:green>2단계 로그인 활성화가 제거되었습니다 </b>. 언제든지 이 기능을 다시 활성화 할 수 있습니다.",
2072
+ "nl": "<b style=color:green>Tweestapsverificatie verwijderd</b>. Je kan deze functie ten allen tijde weer inschakelen.",
2073
+ "pt": "<b style=color:green>Ativação de login em duas etapas removida</b>. Você pode reativar esse recurso a qualquer momento.",
2074
+ "ru": "<b style=color:green>Активация двухэтапного входа удалена</b>. Вы можете активировать обратно эту функцию в любое время.",
2075
+ "tr": "<b style = color: green> 2 adımlı giriş aktivasyonu kaldırıldı </b>. Bu özelliği istediğiniz zaman yeniden etkinleştirebilirsiniz.",
2076
+ "zh-chs": "<b style=color:green>删除了两步登录激活</ b>。您可以随时重新激活此功能。",
2077
+ "zh-cht": "<b style = color:green>刪除了兩步登入啟用</ b>。你可以隨時重新啟用此功能。",
2078
+ "xloc": [
2079
+ "default-mobile.handlebars->9->53"
2080
+ ]
2081
+ },
2082
+ {
2083
+ "cs": "<b style=color:green>2-faktorové ověřování zapnuto</b>. Pro opětovné přihlášení nyní budete potřebovat platný token.",
2084
+ "de": "<b style=color:green>Aktivierung der Zweifaktor-Anmeldung erfolgreich</b>. Sie werden nun ein gültiges Token benötigen, um sich erneut einzuloggen.",
2085
+ "en": "<b style=color:green>2-step login activation successful</b>. You will now need a valid token to login again.",
2086
+ "es": "<b style=color:green>Segundo-factor de autentcacion activado exitosamente</b>. Ahora necesitará un token válido para iniciar sesión nuevamente.",
2087
+ "fi": "<b style=color:green>Kaksivaiheisen sisäänkirjautumisen aktivointi onnistunut</b>. Tarvitset jatkossa kelvollisen tunnuksen kirjautuaksesi uudelleen sisään.",
2088
+ "fr": "<b style=color:green>Authentification à double facteur activée</b>. Vous aurez besoin maintenant d'un jeton de connexion pour vous connecter. ",
2089
+ "hi": "<b style=color:green>2-चरण लॉगिन सक्रियण सफल </ b>। अब आपको फिर से लॉगिन करने के लिए वैध टोकन की आवश्यकता होगी।",
2090
+ "ja": "<b style=color:green>2段階ログインの有効化に成功</ b>。再度ログインするには、有効なトークンが必要になります。",
2091
+ "ko": "<b style=color:green>2 단계 로그인 활성화 성공 </b>. 이제 다시 로그인하려면 유효한 토큰이 필요합니다.",
2092
+ "nl": "<b style=color:green>Tweestapsverificatie successvol</b>. U hebt nu een geldig token nodig om opnieuw in te loggen.",
2093
+ "pt": "<b style=color:green> ativação de login em duas etapas </b>. Agora você precisará de um token válido para fazer login novamente.",
2094
+ "ru": "<b style=color:green>Активация двухэтапного входа успешна</b>. Теперь вам понадобится действительный токен, чтобы снова войти в систему.",
2095
+ "tr": "<b style = color: green> 2 adımlı oturum açma etkinleştirmesi başarılı </b>. Şimdi tekrar giriş yapmak için geçerli bir jetona ihtiyacınız olacak.",
2096
+ "zh-chs": "<b style=color:green>两步登录激活成功</ b>。您现在需要一个有效的保安编码才能再次登录。",
2097
+ "zh-cht": "<b style = color:green>兩步登入啟用成功</ b>。你現在需要一個有效的保安編碼才能再次登入。",
2098
+ "xloc": [
2099
+ "default-mobile.handlebars->9->50"
2100
+ ]
2101
+ },
2102
+ {
2103
+ "cs": "<b style=color:red>zapnutí 2-faktorového přihlášení se nezdařilo</b>. Vymažte tajemství z aplikace a zkuste to znovu. Na zadání správného kódu máte jen pár minut.",
2104
+ "de": "<b style=color:red>Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen</b>. Entfernen Sie das Geheimnis aus der Applikation und versuchen Sie es erneut. Sie haben nur wenige Minuten Zeit, um einen gültigen Code einzugeben.",
2105
+ "en": "<b style=color:red>2-step login activation failed</b>. Clear the secret from the application and try again. You only have a few minutes to enter the proper code.",
2106
+ "es": "<b style=color:red>Error de activación de inicio de sesión usando el segundo factor de autenticación</b>. Borre el código de la aplicación e intente nuevamente. Solo tiene unos minutos para ingresar el código adecuado.",
2107
+ "fi": "<b style=color:red>Kaksivaiheisen kirjautumisen aktivointi epäonnistui</b>. Poista salainen avain sovelluksesta ja yritä uudelleen. Sinulla on vain muutama minuutti oikean koodin syöttämiseen.",
2108
+ "fr": "<b style=color:red>Echec de l'authentification à double facteur</b>. Essayez à nouveau. Vous disposez de quelques minutes pour taper le bon code.",
2109
+ "hi": "<b style=color:red>2-step लॉगिन सक्रियण विफल </ b> है। एप्लिकेशन से रहस्य साफ़ करें और पुनः प्रयास करें। आपके पास उचित कोड दर्ज करने के लिए केवल कुछ मिनट हैं।",
2110
+ "ja": "<b style=color:red>2段階ログインの有効化に失敗しました</ b>。アプリケーションから秘密をクリアして、再試行してください。適切なコードを入力するのに数分しかかかりません。",
2111
+ "ko": "<b style=color:red>2 단계 로그인 활성화 실패 </b>. 응용 프로그램에서 비밀을 지우고 다시 시도하십시오. 올바른 코드를 입력하는 데 몇 분 밖에 걸리지 않습니다.",
2112
+ "nl": "<b style=color:red>Tweestapsverificatie mislukt</b>. Wis het geheim van de applicatie en probeer het opnieuw. Je hebt maar een paar minuten om de juiste code in te voeren.",
2113
+ "pt": "<b style=color:red>falha na ativação do login em duas etapas </b>. Limpe o segredo do aplicativo e tente novamente. Você tem apenas alguns minutos para inserir o código correto.",
2114
+ "ru": "<b style=color:red>Активация двухэтапного входа не удалась</b>. Удалите ключ из приложения и попробуйте еще раз. У вас есть всего несколько минут, чтобы ввести правильный код.",
2115
+ "tr": "<b style = color: red> 2 adımlı oturum açma etkinleştirilemedi </b>. Sırrı uygulamadan temizleyin ve tekrar deneyin. Doğru kodu girmek için yalnızca birkaç dakikanız var.",
2116
+ "zh-chs": "<b style=color:red>两步登录激活失败</ b>。从应用程序中清除机密,然后重试。您只有几分钟的时间来输入正确的代码。",
2117
+ "zh-cht": "<b style = color:red>兩步登入啟動失敗</ b>。從應用程序中清除秘密,然後重試。你只有幾分鐘的時間來輸入正確的代碼。",
2118
+ "xloc": [
2119
+ "default-mobile.handlebars->9->51"
2120
+ ]
2121
+ },
2122
+ {
2123
+ "cs": "<b style=color:red>Odstranění 2-faktorového přihlašování se nezdařilo</b>. Zkuste znovu.",
2124
+ "de": "<b style=color:red>Entfernen der Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen</b>. Versuchen Sie es erneut.",
2125
+ "en": "<b style=color:red>2-step login activation removal failed</b>. Try again.",
2126
+ "es": "<b style=color:red>Error al eliminar la activación del segundo factor de autenticación</b>. Inténtalo de nuevo.",
2127
+ "fi": "<b style=color:red>Kaksivaiheisen sisäänkirjautumisen aktivoinnin poisto epäonnistui</b>. Yritä uudelleen.",
2128
+ "fr": "<b style=color:red>Echec de la suppression de l'authentification à double facteur</b>. Essayer à nouveau.",
2129
+ "hi": "<b style=color:red>2-step लॉगिन सक्रियण निष्कासन </ b> विफल रहा। पुनः प्रयास करें।",
2130
+ "ja": "<b style=color:red>2段階のログインアクティベーションの削除に失敗しました</ b>。再試行する。",
2131
+ "ko": "<b style=color:red>2 단계 로그인 활성화 제거에 실패했습니다 </b>. 다시 시도하십시오.",
2132
+ "nl": "<b style=color:red>Tweestapsverificatie verwijdering mislukt</b>. Probeer het opnieuw.",
2133
+ "pt": "<b style=color:red>falha na remoção da ativação do login em duas etapas </b>. Tente novamente.",
2134
+ "ru": "<b style=color:red>Удаление активации двухэтапного входа не удалось</b>. Попытайтесь снова.",
2135
+ "tr": "<b style = color: red> 2 adımlı giriş aktivasyonu kaldırılamadı </b>. Tekrar deneyin.",
2136
+ "zh-chs": "<b style=color:red>两步登录激活删除失败</ b>。再试一次。",
2137
+ "zh-cht": "<b style = color:red>兩步登入啟動刪除失敗</ b>。再試一次。",
2138
+ "xloc": [
2139
+ "default-mobile.handlebars->9->54"
2140
+ ]
2141
+ },
2142
+ {
2143
+ "cs": ">>",
2144
+ "de": ">>",
2145
+ "en": ">>",
2146
+ "es": ">>",
2147
+ "fi": ">>",
2148
+ "fr": ">>",
2149
+ "hi": ">>",
2150
+ "ja": ">>",
2151
+ "ko": ">>",
2152
+ "nl": ">>",
2153
+ "pt": ">>",
2154
+ "ru": ">>",
2155
+ "tr": ">>",
2156
+ "zh-chs": ">>",
2157
+ "zh-cht": ">>",
2158
+ "xloc": [
2159
+ "player.handlebars->p11->deskarea0->deskarea4->3"
2160
+ ]
2161
+ },
2162
+ {
2163
+ "cs": "ACM",
2164
+ "de": "ACM",
2165
+ "en": "ACM",
2166
+ "es": "ACM",
2167
+ "fi": "ACM",
2168
+ "fr": "ACM",
2169
+ "hi": "ACM",
2170
+ "ja": "ACM",
2171
+ "ko": "ACM",
2172
+ "nl": "ACM",
2173
+ "pt": "ACM",
2174
+ "ru": "ACM",
2175
+ "tr": "ACM",
2176
+ "zh-chs": "ACM",
2177
+ "zh-cht": "ACM",
2178
+ "xloc": [
2179
+ "default-mobile.handlebars->9->231",
2180
+ "default.handlebars->27->570"
2181
+ ]
2182
+ },
2183
+ {
2184
+ "cs": "AMT",
2185
+ "de": "AMT",
2186
+ "en": "AMT",
2187
+ "es": "AMT",
2188
+ "fi": "AMT",
2189
+ "fr": "AMT",
2190
+ "hi": "AMT",
2191
+ "ja": "AMT",
2192
+ "ko": "AMT",
2193
+ "nl": "AMT",
2194
+ "pt": "AMT",
2195
+ "ru": "AMT",
2196
+ "tr": "AMT",
2197
+ "zh-chs": "AMT",
2198
+ "zh-cht": "AMT",
2199
+ "xloc": [
2200
+ "default.handlebars->27->214",
2201
+ "default.handlebars->27->439"
2202
+ ]
2203
+ },
2204
+ {
2205
+ "cs": "ARM-Linaro",
2206
+ "de": "ARM-Linaro",
2207
+ "en": "ARM-Linaro",
2208
+ "es": "ARM-Linaro",
2209
+ "fi": "ARM-Linaro",
2210
+ "fr": "ARM-Linaro",
2211
+ "hi": "ARM-Linaro",
2212
+ "ja": "ARM-Linaro",
2213
+ "ko": "ARM-Linaro",
2214
+ "nl": "ARM-Linaro",
2215
+ "pt": "ARM-Linaro",
2216
+ "ru": "ARM-Linaro",
2217
+ "tr": "ARM-Linaro",
2218
+ "zh-chs": "ARM-Linaro",
2219
+ "zh-cht": "ARM-Linaro",
2220
+ "xloc": [
2221
+ "default-mobile.handlebars->9->30",
2222
+ "default.handlebars->27->37"
2223
+ ]
2224
+ },
2225
+ {
2226
+ "cs": "ARMv6l / ARMv7l",
2227
+ "de": "ARMv6l / ARMv7l",
2228
+ "en": "ARMv6l / ARMv7l",
2229
+ "es": "ARMv6l / ARMv7l",
2230
+ "fi": "ARMv6l / ARMv7l",
2231
+ "fr": "ARMv6l / ARMv7l",
2232
+ "hi": "ARMv6l / ARMv7l",
2233
+ "ja": "ARMv6l / ARMv7l",
2234
+ "ko": "ARMv6l / ARMv7l",
2235
+ "nl": "ARMv6l / ARMv7l",
2236
+ "pt": "ARMv6l / ARMv7l",
2237
+ "ru": "ARMv6l / ARMv7l",
2238
+ "tr": "ARMv6l / ARMv7l",
2239
+ "zh-chs": "ARMv6l / ARMv7l",
2240
+ "zh-cht": "ARMv6l / ARMv7l",
2241
+ "xloc": [
2242
+ "default-mobile.handlebars->9->31",
2243
+ "default.handlebars->27->38"
2244
+ ]
2245
+ },
2246
+ {
2247
+ "cs": "ARMv6l / ARMv7l / NoKVM",
2248
+ "de": "ARMv6l / ARMv7l / NoKVM",
2249
+ "en": "ARMv6l / ARMv7l / NoKVM",
2250
+ "es": "ARMv6l / ARMv7l / Sin KVM",
2251
+ "fi": "ARMv6l / ARMv7l / NoKVM",
2252
+ "fr": "ARMv6l / ARMv7l / NoKVM",
2253
+ "hi": "ARMv6l / ARMv7l / NoKVM",
2254
+ "ja": "ARMv6l / ARMv7l / NoKVM",
2255
+ "ko": "ARMv6l / ARMv7l / NoKVM",
2256
+ "nl": "ARMv6l / ARMv7l / NoKVM",
2257
+ "pt": "ARMv6l / ARMv7l / NoKVM",
2258
+ "ru": "ARMv6l / ARMv7l / NoKVM",
2259
+ "tr": "ARMv6l / ARMv7l / NoKVM",
2260
+ "zh-chs": "ARMv6l / ARMv7l / NoKVM",
2261
+ "zh-cht": "ARMv6l / ARMv7l / NoKVM",
2262
+ "xloc": [
2263
+ "default-mobile.handlebars->9->33",
2264
+ "default.handlebars->27->40"
2265
+ ]
2266
+ },
2267
+ {
2268
+ "cs": "ARMv8 64bit",
2269
+ "de": "ARMv8 64bit",
2270
+ "en": "ARMv8 64bit",
2271
+ "es": "ARMv8 64bits",
2272
+ "fi": "ARMv8 64bit",
2273
+ "fr": "ARMv8 64bit",
2274
+ "hi": "ARMv8 64 बिट",
2275
+ "ja": "ARMv8 64ビット",
2276
+ "ko": "ARMv8 64비트",
2277
+ "nl": "ARMv8 64bit",
2278
+ "pt": "ARMv8 64bit",
2279
+ "ru": "ARMv8 64bit",
2280
+ "tr": "ARMv8 64bit",
2281
+ "zh-chs": "ARMv8 64位",
2282
+ "zh-cht": "ARMv8 64位",
2283
+ "xloc": [
2284
+ "default-mobile.handlebars->9->32",
2285
+ "default.handlebars->27->39"
2286
+ ]
2287
+ },
2288
+ {
2289
+ "cs": "Přístup odepřen",
2290
+ "de": "Zugriff verweigert",
2291
+ "en": "Access Denied",
2292
+ "es": "Acceso Negado",
2293
+ "fi": "Pääsy Evätty",
2294
+ "fr": "Accès refusé",
2295
+ "hi": "पहुंच अस्वीकृत",
2296
+ "ja": "アクセスが拒否されました",
2297
+ "ko": "접근 거절됨",
2298
+ "nl": "Toegang geweigerd",
2299
+ "pt": "Acesso Negado",
2300
+ "ru": "Отказано в доступе",
2301
+ "tr": "Erişim reddedildi",
2302
+ "zh-chs": "拒绝访问",
2303
+ "zh-cht": "拒絕存取",
2304
+ "xloc": [
2305
+ "default.handlebars->27->981"
2306
+ ]
2307
+ },
2308
+ {
2309
+ "cs": "Přístup odepřen",
2310
+ "de": "Zugriff verweigert.",
2311
+ "en": "Access denied.",
2312
+ "es": "Acceso Negado",
2313
+ "fi": "Pääsy evätty.",
2314
+ "fr": "Accès refusé.",
2315
+ "hi": "पहुंच अस्वीकृत।",
2316
+ "ja": "アクセスが拒否されました。",
2317
+ "ko": "접근 거절됨.",
2318
+ "nl": "Toegang geweigerd.",
2319
+ "pt": "Acesso negado.",
2320
+ "ru": "Отказано в доступе.",
2321
+ "tr": "Erişim reddedildi.",
2322
+ "zh-chs": "拒绝访问。",
2323
+ "zh-cht": "拒絕存取。",
2324
+ "xloc": [
2325
+ "login-mobile.handlebars->5->16",
2326
+ "login.handlebars->5->16",
2327
+ "login2.handlebars->7->17"
2328
+ ]
2329
+ },
2330
+ {
2331
+ "cs": "Přístup k souborům na serveru",
2332
+ "de": "Zugriff auf Server-Dateien",
2333
+ "en": "Access to server files",
2334
+ "es": "Acceso a archivos del servidor",
2335
+ "fi": "Pääsy palvelintiedostoihin",
2336
+ "fr": "Accès au serveur de fichiers",
2337
+ "hi": "सर्वर फ़ाइलों तक पहुँच",
2338
+ "ja": "サーバーファイルへのアクセス",
2339
+ "ko": "서버 파일에 접근",
2340
+ "nl": "Toegang tot de server bestanden",
2341
+ "pt": "Acesso aos arquivos do servidor",
2342
+ "ru": "Доступ к файлам сервера",
2343
+ "tr": "Sunucu dosyalarına erişim",
2344
+ "zh-chs": "访问服务器档案",
2345
+ "zh-cht": "存取伺服器檔案",
2346
+ "xloc": [
2347
+ "default.handlebars->27->1750"
2348
+ ]
2349
+ },
2350
+ {
2351
+ "cs": "Akce účtu",
2352
+ "de": "Konto-Aktionen",
2353
+ "en": "Account Actions",
2354
+ "es": "Acciones de la cuenta",
2355
+ "fi": "Tilitoiminnot",
2356
+ "fr": "Gestion du compte",
2357
+ "hi": "खाता क्रिया",
2358
+ "ja": "アカウントアクション",
2359
+ "ko": "계정 동작",
2360
+ "nl": "Gebruikersacties",
2361
+ "pt": "Ações da Conta",
2362
+ "ru": "Действия учетной записи",
2363
+ "tr": "Hesap İşlemleri",
2364
+ "zh-chs": "帐户动作",
2365
+ "zh-cht": "帳戶動作",
2366
+ "xloc": [
2367
+ "default-mobile.handlebars->container->page_content->column_l->p3->p3info->1->p3AccountActions->p2AccountActions->1->0"
2368
+ ]
2369
+ },
2370
+ {
2371
+ "cs": "Vytvoření účtu",
2372
+ "de": "Konto-Erzeugung",
2373
+ "en": "Account Creation",
2374
+ "es": "Creación de Cuenta",
2375
+ "fi": "Tilin luominen",
2376
+ "fr": "Création de compte",
2377
+ "hi": "खाता निर्माण",
2378
+ "ja": "アカウント作成",
2379
+ "ko": "계정 생성",
2380
+ "nl": "Gebruikersaccount aanmaken",
2381
+ "pt": "Criação de conta",
2382
+ "ru": "Создание учетной записи",
2383
+ "tr": "Hesap oluşturma",
2384
+ "zh-chs": "创建账户",
2385
+ "zh-cht": "建立賬戶",
2386
+ "xloc": [
2387
+ "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->5->1",
2388
+ "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->5->1",
2389
+ "login2.handlebars->centralTable->1->0->logincell->createpanel->1->5->1"
2390
+ ]
2391
+ },
2392
+ {
2393
+ "cs": "Reset hesla k účtu",
2394
+ "de": "Konto-Rücksetzung",
2395
+ "en": "Account Reset",
2396
+ "es": "Restablecimiento de cuenta",
2397
+ "fi": "Tilin palautus",
2398
+ "fr": "Réinitialisation du compte",
2399
+ "hi": "खाता रीसेट करें",
2400
+ "ja": "アカウントのリセット",
2401
+ "ko": "계정 재설정",
2402
+ "nl": "Gebruikersaccount resetten",
2403
+ "pt": "Redefinição de conta",
2404
+ "ru": "Сброс учетной записи",
2405
+ "tr": "Hesap Sıfırlama",
2406
+ "zh-chs": "账户重置",
2407
+ "zh-cht": "重置賬戶",
2408
+ "xloc": [
2409
+ "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->5->1",
2410
+ "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->5->1",
2411
+ "login2.handlebars->centralTable->1->0->logincell->resetpanel->1->5->1"
2412
+ ]
2413
+ },
2414
+ {
2415
+ "cs": "Nastavení zabezpečení",
2416
+ "de": "Konto-Sicherheit",
2417
+ "en": "Account Security",
2418
+ "es": "Seguridad de la cuenta",
2419
+ "fi": "Tilin Turvallisuus",
2420
+ "fr": "Sécurité du compte",
2421
+ "hi": "खाते की सुरक्षा",
2422
+ "ja": "アカウントのセキュリティ",
2423
+ "ko": "계정 보안",
2424
+ "nl": "Gebruikersaccount beveiliging",
2425
+ "pt": "Segurança da Conta",
2426
+ "ru": "Безопасность учетной записи",
2427
+ "tr": "hesap Güvenliği",
2428
+ "zh-chs": "账户安全",
2429
+ "zh-cht": "帳號安全",
2430
+ "xloc": [
2431
+ "default-mobile.handlebars->9->207",
2432
+ "default-mobile.handlebars->9->209",
2433
+ "default-mobile.handlebars->9->93",
2434
+ "default-mobile.handlebars->9->95",
2435
+ "default-mobile.handlebars->container->page_content->column_l->p3->p3info->1->p3AccountActions->p2AccountSecurity->1->0",
2436
+ "default.handlebars->27->1247",
2437
+ "default.handlebars->27->1249",
2438
+ "default.handlebars->27->539",
2439
+ "default.handlebars->27->541"
2440
+ ]
2441
+ },
2442
+ {
2443
+ "en": "Account Verification",
2444
+ "es": "Verificación de la cuenta",
2445
+ "fi": "Tilin todentaminen",
2446
+ "fr": "Vérification de compte",
2447
+ "hi": "खाता सत्यापन",
2448
+ "ja": "アカウントの確認",
2449
+ "ko": "계정 확인",
2450
+ "nl": "Account verificatie",
2451
+ "tr": "Hesap doğrulama",
2452
+ "zh-chs": "帐户验证",
2453
+ "zh-cht": "帳戶驗證",
2454
+ "xloc": [
2455
+ "message.handlebars->3->1"
2456
+ ]
2457
+ },
2458
+ {
2459
+ "cs": "Akce účtu",
2460
+ "de": "Konto-Aktionen",
2461
+ "en": "Account actions",
2462
+ "es": "Acciones de la cuenta",
2463
+ "fi": "Tilitoiminnot",
2464
+ "fr": "Gestion du compte",
2465
+ "hi": "खाता क्रिया",
2466
+ "ja": "アカウントアクション",
2467
+ "ko": "계정 동작",
2468
+ "nl": "Gebruikersacties",
2469
+ "pt": "Ações da conta",
2470
+ "ru": "Действия учетной записи",
2471
+ "tr": "Hesap eylemleri",
2472
+ "zh-chs": "帐户动作",
2473
+ "zh-cht": "帳戶動作",
2474
+ "xloc": [
2475
+ "default.handlebars->container->column_l->p2->p2info->p2AccountActions->1->0"
2476
+ ]
2477
+ },
2478
+ {
2479
+ "cs": "Účet je uzamčen",
2480
+ "de": "Konto ist gesperrt",
2481
+ "en": "Account is locked",
2482
+ "es": "La cuenta esta bloqueada",
2483
+ "fi": "Tili on lukittu",
2484
+ "fr": "Le compte est verrouillé",
2485
+ "hi": "खाता बंद है",
2486
+ "ja": "アカウントがロックされています",
2487
+ "ko": "계정이 잠겼습니다.",
2488
+ "nl": "Account is uitgeschakeld",
2489
+ "ru": "Аккаунт заблокирован",
2490
+ "tr": "Hesap kilitlendi",
2491
+ "zh-chs": "帐户已被锁定",
2492
+ "zh-cht": "帳戶已被鎖定",
2493
+ "xloc": [
2494
+ "default.handlebars->27->1599",
2495
+ "default.handlebars->27->1747"
2496
+ ]
2497
+ },
2498
+ {
2499
+ "cs": "Dosažen nejvyšší možný počet účtů.",
2500
+ "de": "Konten-Obergrenze erreicht.",
2501
+ "en": "Account limit reached.",
2502
+ "es": "Límite de cuenta alcanzado.",
2503
+ "fi": "Tiliraja saavutettu.",
2504
+ "fr": "Limite du compte atteinte.",
2505
+ "hi": "खाता सीमा तक पहुंच गया।",
2506
+ "ja": "アカウントの上限に達しました。",
2507
+ "ko": "계정 한도에 도달했습니다.",
2508
+ "nl": "Gebruikersaccount limiet bereikt.",
2509
+ "pt": "Limite da conta atingido.",
2510
+ "ru": "Достигнуто ограничение учетных записей.",
2511
+ "tr": "Hesap sınırına ulaşıldı.",
2512
+ "zh-chs": "达到帐户限制。",
2513
+ "zh-cht": "達到帳戶限制。",
2514
+ "xloc": [
2515
+ "login-mobile.handlebars->5->6",
2516
+ "login.handlebars->5->6",
2517
+ "login2.handlebars->7->7"
2518
+ ]
2519
+ },
2520
+ {
2521
+ "cs": "Účet uzamknut.",
2522
+ "de": "Konto gesperrt.",
2523
+ "en": "Account locked.",
2524
+ "es": "Cuenta Bloqueada.",
2525
+ "fi": "Tili lukittu",
2526
+ "fr": "Compte bloqué",
2527
+ "hi": "खाता बंद।",
2528
+ "ja": "アカウントがロックされました。",
2529
+ "ko": "잠긴 계정.",
2530
+ "nl": "Gebruikersaccount vergrendeld",
2531
+ "pt": "Conta bloqueada.",
2532
+ "ru": "Учетная запись заблокирована.",
2533
+ "tr": "Hesap kilitlendi.",
2534
+ "zh-chs": "帐户被锁定。",
2535
+ "zh-cht": "帳戶被鎖定。",
2536
+ "xloc": [
2537
+ "login-mobile.handlebars->5->15",
2538
+ "login.handlebars->5->15",
2539
+ "login2.handlebars->7->16"
2540
+ ]
2541
+ },
2542
+ {
2543
+ "cs": "Účet nenalezen.",
2544
+ "de": "Konto nicht gefunden.",
2545
+ "en": "Account not found.",
2546
+ "es": "Cuenta no encontrada.",
2547
+ "fi": "Tiliä ei löytynyt.",
2548
+ "fr": "Compte introuvable",
2549
+ "hi": "खता नहीं मिला।",
2550
+ "ja": "アカウントが見つかりませんでした。",
2551
+ "ko": "계정을 찾지 못했습니다.",
2552
+ "nl": "Gebruikersaccount niet gevonden",
2553
+ "pt": "Conta não encontrada.",
2554
+ "ru": "Учетная запись не найдена.",
2555
+ "tr": "Hesap bulunamadı.",
2556
+ "zh-chs": "找不到帐户。",
2557
+ "zh-cht": "找不到帳戶。",
2558
+ "xloc": [
2559
+ "login-mobile.handlebars->5->12",
2560
+ "login.handlebars->5->12",
2561
+ "login2.handlebars->7->13"
2562
+ ]
2563
+ },
2564
+ {
2565
+ "cs": "Nastavení zabezpečení",
2566
+ "de": "Konto-Sicherheit",
2567
+ "en": "Account security",
2568
+ "es": "Seguridad de la cuenta",
2569
+ "fi": "Tilin turvallisuus",
2570
+ "fr": "Sécurité du compte",
2571
+ "hi": "खाते की सुरक्षा",
2572
+ "ja": "アカウントのセキュリティ",
2573
+ "ko": "계정 보안",
2574
+ "nl": "Gebruikersaccount beveiliging",
2575
+ "pt": "Segurança da conta",
2576
+ "ru": "Безопасность учетной записи",
2577
+ "tr": "Hesap Güvenliği",
2578
+ "zh-chs": "帐户安全",
2579
+ "zh-cht": "帳戶安全",
2580
+ "xloc": [
2581
+ "default.handlebars->container->column_l->p2->p2info->p2AccountSecurity->1->0"
2582
+ ]
2583
+ },
2584
+ {
2585
+ "cs": "Akce",
2586
+ "de": "Aktion",
2587
+ "en": "Action",
2588
+ "es": "Acción",
2589
+ "fi": "Toiminta",
2590
+ "fr": "action",
2591
+ "hi": "कार्य",
2592
+ "ja": "アクション",
2593
+ "ko": "동작",
2594
+ "nl": "Actie",
2595
+ "pt": "Ação",
2596
+ "ru": "Действиe",
2597
+ "tr": "Aksiyon",
2598
+ "zh-chs": "指令",
2599
+ "zh-cht": "指令",
2600
+ "xloc": [
2601
+ "default.handlebars->27->986",
2602
+ "default.handlebars->container->column_l->p42->p42tbl->1->0->8"
2603
+ ]
2604
+ },
2605
+ {
2606
+ "cs": "Soubor akcí",
2607
+ "de": "Aktionsdatei",
2608
+ "en": "Action File",
2609
+ "es": "Archivo de acción",
2610
+ "fi": "Toimintotiedosto",
2611
+ "fr": "Fichier d'actions",
2612
+ "hi": "कार्रवाई फ़ाइल",
2613
+ "ja": "アクションファイル",
2614
+ "ko": "동작 정의 파일",
2615
+ "nl": "Actie bestand",
2616
+ "pt": "Arquivo de Ação",
2617
+ "ru": "Файл действий",
2618
+ "tr": "Eylem Dosyası",
2619
+ "zh-chs": "动作档案",
2620
+ "zh-cht": "動作檔案",
2621
+ "xloc": [
2622
+ "default.handlebars->27->782",
2623
+ "default.handlebars->27->784"
2624
+ ]
2625
+ },
2626
+ {
2627
+ "cs": "Akce",
2628
+ "de": "Aktionen",
2629
+ "en": "Actions",
2630
+ "es": "Acciones",
2631
+ "fi": "Toiminnot",
2632
+ "fr": "Actions",
2633
+ "hi": "क्रिया",
2634
+ "ja": "行動",
2635
+ "ko": "동작",
2636
+ "nl": "Acties",
2637
+ "pt": "Ações",
2638
+ "ru": "Действия",
2639
+ "tr": "Hareketler",
2640
+ "zh-chs": "动作",
2641
+ "zh-cht": "動作",
2642
+ "xloc": [
2643
+ "default-mobile.handlebars->9->248",
2644
+ "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3",
2645
+ "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->0->1->1",
2646
+ "default.handlebars->27->615",
2647
+ "default.handlebars->container->column_l->p11->deskarea0->deskarea1->1",
2648
+ "default.handlebars->container->column_l->p12->termTable->1->1->0->1->1",
2649
+ "default.handlebars->container->column_l->p13->p13toolbar->1->0->1->1"
2650
+ ]
2651
+ },
2652
+ {
2653
+ "cs": "Zapnout kameru a mikrofon",
2654
+ "de": "Kamera & Mikrofon aktivieren",
2655
+ "en": "Activate camera & microphone",
2656
+ "es": "Activar cámara y micrófono",
2657
+ "fi": "Aktivoi kamera ja mikrofoni",
2658
+ "fr": "Activer caméra et microphone",
2659
+ "hi": "कैमरा और माइक्रोफोन सक्रिय करें",
2660
+ "ja": "カメラとマイクを有効にする",
2661
+ "ko": "카메라 및 마이크 활성화",
2662
+ "nl": "Activeer camera & microfoon",
2663
+ "pt": "Ativar câmera e microfone",
2664
+ "ru": "Активирование камеры и микрофона",
2665
+ "tr": "Kamera ve mikrofonu etkinleştirin",
2666
+ "zh-chs": "激活相机和麦克风",
2667
+ "zh-cht": "啟動相機和麥克風",
2668
+ "xloc": [
2669
+ "messenger.handlebars->xtop->1"
2670
+ ]
2671
+ },
2672
+ {
2673
+ "cs": "Zapnout mikrofon",
2674
+ "de": "Mikrofon aktivieren",
2675
+ "en": "Activate microphone",
2676
+ "es": "Activar micrófono",
2677
+ "fi": "Aktivoi mikrofoni",
2678
+ "fr": "Activer le microphone",
2679
+ "hi": "माइक्रोफ़ोन को सक्रिय करें",
2680
+ "ja": "マイクを有効にする",
2681
+ "ko": "마이크 활성화",
2682
+ "nl": "Activeer microfoon",
2683
+ "pt": "Ativar microfone",
2684
+ "ru": "Активирование микрофона",
2685
+ "tr": "Mikrofonu etkinleştir",
2686
+ "zh-chs": "激活麦克风",
2687
+ "zh-cht": "啟動麥克風",
2688
+ "xloc": [
2689
+ "messenger.handlebars->xtop->1"
2690
+ ]
2691
+ },
2692
+ {
2693
+ "cs": "Zapnuto",
2694
+ "de": "Aktiviert",
2695
+ "en": "Activated",
2696
+ "es": "Activado",
2697
+ "fi": "Aktivoitu",
2698
+ "fr": "Activé",
2699
+ "hi": "सक्रिय",
2700
+ "ja": "有効化",
2701
+ "ko": "활성화 됨",
2702
+ "nl": "Geactiveerd",
2703
+ "pt": "ativado",
2704
+ "ru": "Активировано",
2705
+ "tr": "Aktif",
2706
+ "zh-chs": "已激活",
2707
+ "zh-cht": "已啟動",
2708
+ "xloc": [
2709
+ "default-mobile.handlebars->9->226",
2710
+ "default-mobile.handlebars->9->228",
2711
+ "default-mobile.handlebars->9->358",
2712
+ "default.handlebars->27->563",
2713
+ "default.handlebars->27->565",
2714
+ "default.handlebars->27->944"
2715
+ ]
2716
+ },
2717
+ {
2718
+ "cs": "Zapnutí",
2719
+ "de": "Aktivierung",
2720
+ "en": "Activation",
2721
+ "es": "Activación",
2722
+ "fi": "Aktivointi",
2723
+ "fr": "Activation",
2724
+ "hi": "सक्रियण",
2725
+ "ja": "アクティベーション",
2726
+ "ko": "활성화",
2727
+ "nl": "Activatie",
2728
+ "pt": "Ativação",
2729
+ "ru": "Активация",
2730
+ "tr": "Aktivasyon",
2731
+ "zh-chs": "激活",
2732
+ "zh-cht": "啟動",
2733
+ "xloc": [
2734
+ "default.handlebars->27->1337",
2735
+ "default.handlebars->27->1339",
2736
+ "default.handlebars->27->199",
2737
+ "default.handlebars->27->276",
2738
+ "default.handlebars->27->278"
2739
+ ]
2740
+ },
2741
+ {
2742
+ "cs": "Aktivní uživatel{0}",
2743
+ "de": "Aktive Benutzer{0}",
2744
+ "en": "Active User{0}",
2745
+ "es": "Usuario Activo {0}",
2746
+ "fi": "Aktiivinen käyttäjä{0}",
2747
+ "fr": "Utilisateur(s) actif(s) {0}",
2748
+ "hi": "सक्रिय उपयोगकर्ता {0}",
2749
+ "ja": "アクティブユーザー{0}",
2750
+ "ko": "활성된 계정 {0}",
2751
+ "nl": "Actieve gebruikers{0}",
2752
+ "pt": "Usuário ativo {0}",
2753
+ "ru": "Активный пользователь",
2754
+ "tr": "Etkin Kullanıcı {0}",
2755
+ "zh-chs": "活跃用户{0}",
2756
+ "zh-cht": "活躍用戶{0}",
2757
+ "xloc": [
2758
+ "default.handlebars->27->590"
2759
+ ]
2760
+ },
2761
+ {
2762
+ "cs": "Přidat agenta",
2763
+ "de": "Agenten hinzufügen",
2764
+ "en": "Add Agent",
2765
+ "es": "Agregar Agente",
2766
+ "fi": "Lisää agentti",
2767
+ "fr": "Ajouter un agent",
2768
+ "hi": "एजेंट जोड़ें",
2769
+ "ja": "エージェントを追加",
2770
+ "ko": "에이전트 추가",
2771
+ "nl": "Toevoegen agent",
2772
+ "pt": "Adicionar agente",
2773
+ "ru": "Добавить агент",
2774
+ "tr": "Temsilci Ekle",
2775
+ "zh-chs": "添加代理",
2776
+ "zh-cht": "新增代理",
2777
+ "xloc": [
2778
+ "default.handlebars->27->1341",
2779
+ "default.handlebars->27->280"
2780
+ ]
2781
+ },
2782
+ {
2783
+ "cs": "Přidat CIRA",
2784
+ "de": "CIRA hinzufügen",
2785
+ "en": "Add CIRA",
2786
+ "es": "Agregar CIRA",
2787
+ "fi": "Lisää CIRA",
2788
+ "fr": "Ajouter CIRA",
2789
+ "hi": "CIRA जोड़ें",
2790
+ "ja": "CIRAを追加",
2791
+ "ko": "CIRA 추가",
2792
+ "nl": "Toevoegen CIRA",
2793
+ "pt": "Adicionar CIRA",
2794
+ "ru": "Добавить CIRA",
2795
+ "tr": "CIRA ekle",
2796
+ "zh-chs": "添加CIRA",
2797
+ "zh-cht": "新增CIRA",
2798
+ "xloc": [
2799
+ "default.handlebars->27->270"
2800
+ ]
2801
+ },
2802
+ {
2803
+ "cs": "Přidat zařízení",
2804
+ "de": "Gerät hinzufügen",
2805
+ "en": "Add Device",
2806
+ "es": "Agregar Dispositivo",
2807
+ "fi": "Lisää Laite",
2808
+ "fr": "Ajouter un appareil",
2809
+ "hi": "डिवाइस जोडे",
2810
+ "ja": "デバイスを追加",
2811
+ "ko": "장치 추가",
2812
+ "nl": "Apparaat toevoegen",
2813
+ "pt": "Adicionar Dispositivo",
2814
+ "ru": "Добавить устройство",
2815
+ "tr": "Cihaz ekle",
2816
+ "zh-chs": "添加设备",
2817
+ "zh-cht": "新增裝置",
2818
+ "xloc": [
2819
+ "default.handlebars->27->1724",
2820
+ "default.handlebars->27->1848"
2821
+ ]
2822
+ },
2823
+ {
2824
+ "cs": "Přidat událost zařízení",
2825
+ "de": "Geräte-Ereignis hinzufügen",
2826
+ "en": "Add Device Event",
2827
+ "es": "Agregar evento del dispositivo",
2828
+ "fi": "Lisää laitetapahtuma",
2829
+ "fr": "Ajouter un événement",
2830
+ "hi": "डिवाइस इवेंट जोड़ें",
2831
+ "ja": "デバイスイベントを追加",
2832
+ "ko": "장치 이벤트 추가",
2833
+ "nl": "Apparaatgebeurtenis toevoegen",
2834
+ "pt": "Adicionar evento do dispositivo",
2835
+ "ru": "Добавить событие к устройству",
2836
+ "tr": "Cihaz Etkinliği Ekle",
2837
+ "zh-chs": "添加设备日志",
2838
+ "zh-cht": "新增裝置日誌",
2839
+ "xloc": [
2840
+ "default.handlebars->27->701"
2841
+ ]
2842
+ },
2843
+ {
2844
+ "cs": "Přidat skupinu zařízení",
2845
+ "de": "Gerätegruppe hinzufügen",
2846
+ "en": "Add Device Group",
2847
+ "es": "Agregar grupo de dispositivos",
2848
+ "fi": "Lisää laiteryhmä",
2849
+ "fr": "Ajouter un groupe",
2850
+ "hi": "डिवाइस समूह जोड़ें",
2851
+ "ja": "デバイスグループを追加",
2852
+ "ko": "장치 그룹 추가",
2853
+ "nl": "Apparaatgroep toevoegen",
2854
+ "pt": "Adicionar grupo de dispositivos",
2855
+ "ru": "Добавить группу устройств",
2856
+ "tr": "Cihaz Grubu Ekle",
2857
+ "zh-chs": "添加设备组",
2858
+ "zh-cht": "新增裝置群",
2859
+ "xloc": [
2860
+ "default.handlebars->27->1432",
2861
+ "default.handlebars->27->1718",
2862
+ "default.handlebars->27->1836",
2863
+ "default.handlebars->27->231"
2864
+ ]
2865
+ },
2866
+ {
2867
+ "de": "Gerätegruppe-Berechtigungen hinzufügen",
2868
+ "en": "Add Device Group Permissions",
2869
+ "es": "Agregar permisos de grupo de dispositivos",
2870
+ "fi": "Lisää laiteryhmän käyttöoikeudet",
2871
+ "fr": "Ajouter des autorisations de groupe de périphériques",
2872
+ "hi": "डिवाइस समूह अनुमतियाँ जोड़ें",
2873
+ "ja": "デバイスグループ権限を追加",
2874
+ "ko": "장치 그룹 권한 추가",
2875
+ "nl": "Machtigingen voor apparaatgroep toevoegen",
2876
+ "tr": "Cihaz Grubu İzinlerini Ekleyin",
2877
+ "zh-chs": "添加设备组权限",
2878
+ "zh-cht": "新增裝置群權限",
2879
+ "xloc": [
2880
+ "default.handlebars->27->1429"
2881
+ ]
2882
+ },
2883
+ {
2884
+ "cs": "Přidat oprávnění zařízení",
2885
+ "de": "Geräteberechtigungen hinzufügen",
2886
+ "en": "Add Device Permissions",
2887
+ "es": "Agregar permisos de dispositivo",
2888
+ "fi": "Lisää laitteen käyttöoikeudet",
2889
+ "fr": "Ajouter des autorisations de périphérique",
2890
+ "hi": "डिवाइस अनुमतियाँ जोड़ें",
2891
+ "ja": "デバイス権限を追加",
2892
+ "ko": "장치 권한 추가",
2893
+ "nl": "Apparaatrechten toevoegen",
2894
+ "ru": "Добавить разрешения для устройства",
2895
+ "tr": "Cihaz İzinleri Ekle",
2896
+ "zh-chs": "添加设备权限",
2897
+ "zh-cht": "新增裝置權限",
2898
+ "xloc": [
2899
+ "default.handlebars->27->1434",
2900
+ "default.handlebars->27->1436"
2901
+ ]
2902
+ },
2903
+ {
2904
+ "cs": "Přidat Intel® AMT CIRA zařízení",
2905
+ "de": "Intel®-AMT-CIRA-Gerät hinzufügen",
2906
+ "en": "Add Intel® AMT CIRA device",
2907
+ "es": "Agregar Dispositivo con Intel AMT CIRA",
2908
+ "fi": "Lisää Intel® AMT CIRA laite",
2909
+ "fr": "Ajouter un appareil Intel® AMT CIRA",
2910
+ "hi": "Intel® AMT CIRA डिवाइस जोड़ें",
2911
+ "ja": "Intel®を追加AMT CIRAデバイス",
2912
+ "ko": "Intel® AMT CIRA 장치 추가",
2913
+ "nl": "Toevoegen Intel® AMT CIRA apparaat",
2914
+ "pt": "Adicione Intelreg; AMT",
2915
+ "ru": "Добавить Intel® AMT CIRA устройство",
2916
+ "tr": "Intel® AMT CIRA cihazı ekle",
2917
+ "zh-chs": "添加英特尔®AMT CIRA设备",
2918
+ "zh-cht": "新增Intel® AMT CIRA裝置",
2919
+ "xloc": [
2920
+ "default.handlebars->27->328"
2921
+ ]
2922
+ },
2923
+ {
2924
+ "cs": "Přidat Intel® AMT zařízení",
2925
+ "de": "Intel®-AMT-Gerät hinzufügen",
2926
+ "en": "Add Intel® AMT device",
2927
+ "es": "Agregar Dispositivo con Intel AMT",
2928
+ "fi": "Lisää Intel® AMT laite",
2929
+ "fr": "Ajouter un nouvel ordinateur Intel® AMT",
2930
+ "hi": "Intel® AMT डिवाइस जोड़ें",
2931
+ "ja": "Intel®を追加AMTデバイス",
2932
+ "ko": "Intel® AMT 장치 추가",
2933
+ "nl": "Toevoegen Intel® AMT apparaat",
2934
+ "pt": "Adicione Intelreg; dispositivo AMT",
2935
+ "ru": "Добавить Intel® AMT устройство",
2936
+ "tr": "Intel® AMT cihazı ekle",
2937
+ "zh-chs": "添加英特尔®AMT设备",
2938
+ "zh-cht": "新增Intel® AMT裝置",
2939
+ "xloc": [
2940
+ "default.handlebars->27->293"
2941
+ ]
2942
+ },
2943
+ {
2944
+ "cs": "Přidat klíč",
2945
+ "de": "Schlüssel hinzufügen",
2946
+ "en": "Add Key",
2947
+ "es": "Agregar Llave",
2948
+ "fi": "Lisää avain",
2949
+ "fr": "Ajouter une clé",
2950
+ "hi": "कुंजी जोड़ें",
2951
+ "ja": "キーを追加",
2952
+ "ko": "키 추가",
2953
+ "nl": "Sleutel toevoegen",
2954
+ "pt": "Adicionar chave",
2955
+ "ru": "Добавить ключ",
2956
+ "tr": "Anahtar Ekle",
2957
+ "zh-chs": "新增密钥",
2958
+ "zh-cht": "新增密鑰",
2959
+ "xloc": [
2960
+ "default.handlebars->27->146"
2961
+ ]
2962
+ },
2963
+ {
2964
+ "cs": "Přidat lokálně",
2965
+ "de": "Lokales Gerät hinzufügen",
2966
+ "en": "Add Local",
2967
+ "es": "Agregar Local",
2968
+ "fi": "Lisää paikallinen",
2969
+ "fr": "Ajouter local",
2970
+ "hi": "स्थानीय जोड़ें",
2971
+ "ja": "ローカルを追加",
2972
+ "ko": "로컬 추가",
2973
+ "nl": "Lokaal toevoegen",
2974
+ "pt": "Adicionar local",
2975
+ "ru": "Добавить локально",
2976
+ "tr": "Yerel Ekle",
2977
+ "zh-chs": "添加本地",
2978
+ "zh-cht": "新增本地",
2979
+ "xloc": [
2980
+ "default.handlebars->27->272"
2981
+ ]
2982
+ },
2983
+ {
2984
+ "cs": "Přidat členství",
2985
+ "de": "Mitgliedschaft hinzufügen",
2986
+ "en": "Add Membership",
2987
+ "es": "Agregar Miembros",
2988
+ "fi": "Lisää jäsenyys",
2989
+ "fr": "Ajouter un membre",
2990
+ "hi": "सदस्यता जोड़ें",
2991
+ "ja": "メンバーシップを追加",
2992
+ "ko": "회원 추가",
2993
+ "nl": "Lidmaatschap toevoegen",
2994
+ "pt": "Adicionar associação",
2995
+ "ru": "Добавить участие",
2996
+ "tr": "Üyelik Ekle",
2997
+ "zh-chs": "添加成员身份",
2998
+ "zh-cht": "新增成員身份",
2999
+ "xloc": [
3000
+ "default.handlebars->27->1866"
3001
+ ]
3002
+ },
3003
+ {
3004
+ "cs": "Přidat agenta",
3005
+ "de": "Mesh-Agenten hinzufügen",
3006
+ "en": "Add Mesh Agent",
3007
+ "es": "Agregar Agente Mesh",
3008
+ "fi": "Lisää Mesh Agent",
3009
+ "fr": "Ajouter un agent",
3010
+ "hi": "मेष एजेंट जोड़ें",
3011
+ "ja": "メッシュエージェントを追加",
3012
+ "ko": "MeshAgent(메쉬 에이전트) 추가",
3013
+ "nl": "Toevoegen Mesh agent",
3014
+ "pt": "Adicionar agente de malha",
3015
+ "ru": "Добавить Mesh Agent",
3016
+ "tr": "Mesh Aracısı Ekle",
3017
+ "zh-chs": "添加 Mesh Agent",
3018
+ "zh-cht": "新增 Mesh Agent",
3019
+ "xloc": [
3020
+ "default.handlebars->27->410"
3021
+ ]
3022
+ },
3023
+ {
3024
+ "cs": "Přidat bezpečnostní klíč",
3025
+ "de": "Sicherheitsschlüssel hinzufügen",
3026
+ "en": "Add Security Key",
3027
+ "es": "Agregar Llave de Seguridad",
3028
+ "fi": "Lisää suojausavain",
3029
+ "fr": "Ajouter une clé de sécurité",
3030
+ "hi": "सुरक्षा कुंजी जोड़ें",
3031
+ "ja": "セキュリティキーを追加",
3032
+ "ko": "보안 키 추가",
3033
+ "nl": "Beveiligingssleutel toevoegen",
3034
+ "pt": "Adicionar chave de segurança",
3035
+ "ru": "Добавить ключ безопасности",
3036
+ "tr": "Güvenlik Anahtarı Ekleyin",
3037
+ "zh-chs": "添加安全密钥",
3038
+ "zh-cht": "新增安全密鑰",
3039
+ "xloc": [
3040
+ "default.handlebars->27->1014",
3041
+ "default.handlebars->27->1015",
3042
+ "default.handlebars->27->149",
3043
+ "default.handlebars->27->151",
3044
+ "default.handlebars->27->154",
3045
+ "default.handlebars->27->155"
3046
+ ]
3047
+ },
3048
+ {
3049
+ "cs": "Přidat uživatele",
3050
+ "de": "Benutzer hinzufügen",
3051
+ "en": "Add User",
3052
+ "es": "Agregar Usuario",
3053
+ "fi": "Lisää Käyttäjä",
3054
+ "fr": "Ajouter un utilisateur",
3055
+ "hi": "उपयोगकर्ता जोड़ें",
3056
+ "ja": "ユーザーを追加する",
3057
+ "ko": "사용자 추가",
3058
+ "nl": "Gebruiker toevoegen",
3059
+ "pt": "Adicionar usuário",
3060
+ "ru": "Добавить пользователя",
3061
+ "tr": "Kullanıcı Ekle",
3062
+ "zh-chs": "添加用户",
3063
+ "zh-cht": "新增用戶",
3064
+ "xloc": [
3065
+ "default-mobile.handlebars->9->398",
3066
+ "default.handlebars->27->658"
3067
+ ]
3068
+ },
3069
+ {
3070
+ "cs": "Přidat oprávnění uživatelského zařízení",
3071
+ "de": "Hinzufügen von Benutzergeräteberechtigungen",
3072
+ "en": "Add User Device Permissions",
3073
+ "es": "Agregar permisos del usuario del dispositivo",
3074
+ "fi": "Lisää käyttäjän laitteen käyttöoikeudet",
3075
+ "fr": "Ajouter des autorisations de périphérique utilisateur",
3076
+ "hi": "उपयोगकर्ता डिवाइस अनुमतियाँ जोड़ें",
3077
+ "ja": "ユーザーデバイスの権限を追加する",
3078
+ "ko": "사용자 장치 권한 추가",
3079
+ "nl": "Gebruikersmachtigingen voor apparaat toevoegen",
3080
+ "ru": "Добавить разрешения для пользовательских устройств",
3081
+ "tr": "Kullanıcı Cihaz İzinlerini Ekleyin",
3082
+ "zh-chs": "添加用户设备权限",
3083
+ "zh-cht": "新增用戶裝置權限",
3084
+ "xloc": [
3085
+ "default.handlebars->27->1439"
3086
+ ]
3087
+ },
3088
+ {
3089
+ "cs": "Přidat skupinu uživatelů",
3090
+ "de": "Benutzergruppe hinzufügen",
3091
+ "en": "Add User Group",
3092
+ "es": "Agregar Grupos de Usuarios",
3093
+ "fi": "Lisää Käyttäjä Ryhmä",
3094
+ "fr": "Ajouter un groupe utilisateurs",
3095
+ "hi": "उपयोगकर्ता समूह जोड़ें",
3096
+ "ja": "ユーザーグループを追加",
3097
+ "ko": "사용자 그룹 추가",
3098
+ "nl": "Gebruikersgroep toevoegen",
3099
+ "pt": "Adicionar grupo de usuários",
3100
+ "ru": "Добавить группу пользователей",
3101
+ "tr": "Kullanıcı Grubu Ekle",
3102
+ "zh-chs": "添加用户组",
3103
+ "zh-cht": "新增用戶群",
3104
+ "xloc": [
3105
+ "default.handlebars->27->1331",
3106
+ "default.handlebars->27->1431",
3107
+ "default.handlebars->27->1842",
3108
+ "default.handlebars->27->659"
3109
+ ]
3110
+ },
3111
+ {
3112
+ "de": "Benutzergruppen-Geräteberechtigungen hinzufügen",
3113
+ "en": "Add User Group Device Permissions",
3114
+ "es": "Agregar permisos de dispositivo de grupo de usuarios",
3115
+ "fi": "Lisää käyttäjäryhmän laiteoikeudet",
3116
+ "fr": "Ajouter des autorisations de périphérique de groupe d'utilisateurs",
3117
+ "hi": "उपयोगकर्ता समूह डिवाइस अनुमतियाँ जोड़ें",
3118
+ "ja": "ユーザーグループデバイスのアクセス許可を追加する",
3119
+ "ko": "사용자 그룹 장치 권한 추가",
3120
+ "nl": "Gebruikersmachtigingen voor apparaatgroep toevoegen",
3121
+ "tr": "Kullanıcı Grubu Cihaz İzinlerini Ekleyin",
3122
+ "zh-chs": "添加用户组设备权限",
3123
+ "zh-cht": "新增用戶群裝置權限",
3124
+ "xloc": [
3125
+ "default.handlebars->27->1441"
3126
+ ]
3127
+ },
3128
+ {
3129
+ "de": "Benutzer zu Gerätegruppe hinzufügen",
3130
+ "en": "Add User to Device Group",
3131
+ "es": "Agregar usuario al grupo de dispositivos",
3132
+ "fi": "Lisää käyttäjä laiteryhmään",
3133
+ "fr": "Ajouter un utilisateur au groupe d'appareils",
3134
+ "hi": "उपकरण समूह में उपयोगकर्ता जोड़ें",
3135
+ "ja": "ユーザーをデバイスグループに追加",
3136
+ "ko": "사용자를 장치 그룹에 추가",
3137
+ "nl": "Gebruiker toevoegen aan apparaatgroep",
3138
+ "tr": "Cihaz Grubuna Kullanıcı Ekle",
3139
+ "zh-chs": "将用户添加到设备组",
3140
+ "zh-cht": "將用戶新增到裝置群",
3141
+ "xloc": [
3142
+ "default-mobile.handlebars->9->427"
3143
+ ]
3144
+ },
3145
+ {
3146
+ "cs": "Přidat uživatele do skupiny",
3147
+ "de": "Benutzer zu Mesh hinzufügen",
3148
+ "en": "Add User to Mesh",
3149
+ "es": "Agregar Usuario al Mesh",
3150
+ "fi": "Lisää käyttäjä verkkoon",
3151
+ "fr": "Ajouter un utilisateur au groupe",
3152
+ "hi": "उपयोगकर्ता को मेष में जोड़ें",
3153
+ "ja": "メッシュにユーザーを追加",
3154
+ "ko": "사용자를 메쉬에 추가",
3155
+ "nl": "Gebruiker toevoegen aan Mesh",
3156
+ "pt": "Adicionar usuário à malha",
3157
+ "ru": "Добавить пользователя в Mesh",
3158
+ "tr": "Mesh'e Kullanıcı Ekle",
3159
+ "zh-chs": "将用户添加到 Mesh",
3160
+ "zh-cht": "將用戶新增到 Mesh"
3161
+ },
3162
+ {
3163
+ "cs": "Přidat uživatele",
3164
+ "de": "Benutzer hinzufügen",
3165
+ "en": "Add Users",
3166
+ "es": "Agregar Usuarios",
3167
+ "fi": "Lisää Käyttäjiä",
3168
+ "fr": "Ajouter des utilisateurs",
3169
+ "hi": "उपयोगकर्ता जोड़ें",
3170
+ "ja": "ユーザーを追加",
3171
+ "ko": "사용자 추가",
3172
+ "nl": "Gebruikers toevoegen",
3173
+ "pt": "Adicionar usuários",
3174
+ "ru": "Добавить пользователей",
3175
+ "tr": "Kullanıcı Ekle",
3176
+ "zh-chs": "添加用户",
3177
+ "zh-cht": "新增用戶",
3178
+ "xloc": [
3179
+ "default.handlebars->27->1330",
3180
+ "default.handlebars->27->1713"
3181
+ ]
3182
+ },
3183
+ {
3184
+ "cs": "Přidat uživatele do skupiny zařizení",
3185
+ "de": "Benutzer zu Gerätegruppe hinzufügen",
3186
+ "en": "Add Users to Device Group",
3187
+ "es": "Agregar Usuarios al Grupo de Dispositivos",
3188
+ "fi": "Lisää käyttäjiä laiteryhmään",
3189
+ "fr": "Ajouter des utilisateurs au groupe d'appareils",
3190
+ "hi": "डिवाइस समूह में उपयोगकर्ता जोड़ें",
3191
+ "ja": "ユーザーをデバイスグループに追加する",
3192
+ "ko": "장치 그룹에 사용자 추가",
3193
+ "nl": "Gebruikers toevoegen aan apparaatgroep",
3194
+ "pt": "Adicionar usuários ao grupo de dispositivos",
3195
+ "ru": "Добавить пользователей в группу устройств",
3196
+ "tr": "Cihaz Grubuna Kullanıcı Ekle",
3197
+ "zh-chs": "将用户添加到设备组",
3198
+ "zh-cht": "將用戶新增到裝置群",
3199
+ "xloc": [
3200
+ "default.handlebars->27->1428"
3201
+ ]
3202
+ },
3203
+ {
3204
+ "cs": "Přidat uživatele do skupiny",
3205
+ "de": "Benutzer zu Benutzergruppe hinzufügen",
3206
+ "en": "Add Users to User Group",
3207
+ "es": "Agregar Usuarios a un Grupo",
3208
+ "fi": "Lisää käyttäjät käyttäjäryhmään",
3209
+ "fr": "Ajouter des utilisateurs au groupe",
3210
+ "hi": "उपयोगकर्ता समूह में उपयोगकर्ता जोड़ें",
3211
+ "ja": "ユーザーをユーザーグループに追加",
3212
+ "ko": "사용자 그룹에 사용자 추가",
3213
+ "nl": "Voeg gebruikers toe aan de gebruikersgroep",
3214
+ "pt": "Adicionar usuários ao grupo de usuários",
3215
+ "ru": "Добавить пользователей в группу",
3216
+ "tr": "Kullanıcı Grubuna Kullanıcı Ekle",
3217
+ "zh-chs": "将用户添加到用户组",
3218
+ "zh-cht": "將用戶新增到用戶群",
3219
+ "xloc": [
3220
+ "default.handlebars->27->1746"
3221
+ ]
3222
+ },
3223
+ {
3224
+ "cs": "Přidat YubiKey™ OTP",
3225
+ "de": "YubiKey® OTP hinzufügen",
3226
+ "en": "Add YubiKey® OTP",
3227
+ "es": "Agregar YubiKey OTP",
3228
+ "fi": "Lisää YubiKey® OTP",
3229
+ "fr": "Ajouter une clé YubiKey® OTP",
3230
+ "hi": "YubiKey® OTP जोड़ें",
3231
+ "ja": "YubiKey®を追加OTP",
3232
+ "ko": "YubiKey® OTP 추가",
3233
+ "nl": "Voeg YubiKey® OTP toe",
3234
+ "pt": "Adicione YubiKeyreg; OTP",
3235
+ "ru": "Добавить YubiKey® OTP",
3236
+ "tr": "YubiKey® OTP ekleyin",
3237
+ "zh-chs": "添加YubiKey®OTP",
3238
+ "zh-cht": "新增YubiKey®OTP",
3239
+ "xloc": [
3240
+ "default.handlebars->27->147"
3241
+ ]
3242
+ },
3243
+ {
3244
+ "cs": "Přidat nový Intel® AMT počítač pomocí skenu lokální sítě.",
3245
+ "de": "Füge einen neuen Intel®-AMT-Rechner durch Scannen des lokalen Netzwerks hinzu.",
3246
+ "en": "Add a new Intel® AMT computer by scanning the local network.",
3247
+ "es": "Agregue una nueva computadora Intel AMT escaneando la red Local.",
3248
+ "fi": "Lisää uusi Intel® AMT-tietokone skannaamalla lähiverkko.",
3249
+ "fr": "Ajouter un nouvel ordinateur Intel® AMT en scannant le réseau local.",
3250
+ "hi": "स्थानीय नेटवर्क को स्कैन करके एक नया Intel® AMT कंप्यूटर जोड़ें।",
3251
+ "ja": "新しいIntel®を追加しますローカルネットワークをスキャンしてAMTコンピューター。",
3252
+ "ko": "로컬 네트워크를 스캔하여 새 Intel® AMT 컴퓨터를 추가하십시오.",
3253
+ "nl": "Voeg een nieuwe Intel® AMT computer toe door het lokale netwerk te scannen.",
3254
+ "pt": "Adicione um novo Intelreg; Computador AMT digitalizando a rede local.",
3255
+ "ru": "Добавить новый Intel® AMT компьютер сканированием локальной сети.",
3256
+ "tr": "Yerel ağı tarayarak yeni bir Intel® AMT bilgisayarı ekleyin.",
3257
+ "zh-chs": "通过扫描本地网络添加新的英特尔®AMT计算机。",
3258
+ "zh-cht": "通過掃描本地網絡新增新的Intel® AMT電腦。",
3259
+ "xloc": [
3260
+ "default.handlebars->27->273"
3261
+ ]
3262
+ },
3263
+ {
3264
+ "cs": "Přidat nový Intel® AMT počítač, který je umístěn v síti Internet.",
3265
+ "de": "Füge einen neuen Intel®-AMT-Rechner hinzu, der sich im Internet befindet.",
3266
+ "en": "Add a new Intel® AMT computer that is located on the internet.",
3267
+ "es": "Agregue una nueva computadora Intel AMT localizada en el internet",
3268
+ "fi": "Lisää uusi Intel® AMT-tietokone, joka sijaitsee Internetissä.",
3269
+ "fr": "Ajouter un nouvel ordinateur Intel® AMT connecté à internet.",
3270
+ "hi": "एक नया Intel® AMT कंप्यूटर जोड़ें जो इंटरनेट पर स्थित है।",
3271
+ "ja": "新しいIntel®を追加しますインターネット上にあるAMTコンピューター。",
3272
+ "ko": "인터넷에있는 새 Intel® AMT 컴퓨터를 추가하십시오.",
3273
+ "nl": "Voeg een nieuwe Intel® AMT computer toe welke zich op het internet bevind.",
3274
+ "pt": "Adicione um novo Intel® Computador AMT localizado na Internet.",
3275
+ "ru": "Добавить новый Intel® AMT компьютер, находящийся в интернете.",
3276
+ "tr": "İnternette bulunan yeni bir Intel® AMT bilgisayarı ekleyin.",
3277
+ "zh-chs": "添加位于互联网上的新英特尔®AMT计算机。",
3278
+ "zh-cht": "新增位於互聯網上的新Intel® AMT電腦。",
3279
+ "xloc": [
3280
+ "default.handlebars->27->1332",
3281
+ "default.handlebars->27->269"
3282
+ ]
3283
+ },
3284
+ {
3285
+ "cs": "Přidat nový Intel® AMT počítač, který je umístěn v lokální síti.",
3286
+ "de": "Füge einen neuen Intel®-AMT-Rechner hinzu, der sich im lokalen Netzwerk befindet.",
3287
+ "en": "Add a new Intel® AMT computer that is located on the local network.",
3288
+ "es": "Agregue una nueva computadora Intel AMT localizada en la red Local.",
3289
+ "fi": "Lisää uusi Intel® AMT-tietokone, joka sijaitsee lähiverkossa.",
3290
+ "fr": "Ajouter un nouvel ordinateur Intel® AMT du réseau local.",
3291
+ "hi": "एक नया Intel® AMT कंप्यूटर जोड़ें जो स्थानीय नेटवर्क पर स्थित है।",
3292
+ "ja": "新しいIntel®を追加しますローカルネットワーク上にあるAMTコンピューター。",
3293
+ "ko": "로컬 네트워크에있는 새 Intel® AMT 컴퓨터를 추가하십시오.",
3294
+ "nl": "Voeg een nieuwe Intel® AMT computer toe welke zich op het lokale netwerk bevind.",
3295
+ "pt": "Adicione um novo Intel® AMT computer that is located on the local network.",
3296
+ "ru": "Добавить новый Intel® AMT компьютер, находящийся в локальной сети.",
3297
+ "tr": "Yerel ağda bulunan yeni bir Intel® AMT bilgisayarı ekleyin.",
3298
+ "zh-chs": "添加位于本地网络上的新英特尔®AMT计算机。",
3299
+ "zh-cht": "新增位於本地網絡上的新Intel® AMT電腦。",
3300
+ "xloc": [
3301
+ "default.handlebars->27->1334",
3302
+ "default.handlebars->27->271"
3303
+ ]
3304
+ },
3305
+ {
3306
+ "cs": "Přidat nové Intel® AMT zařízení do skupiny „{0}“.",
3307
+ "de": "Füge ein neues Intel®-AMT-Gerät zur Gerätegruppe \\\"{0}\\\" hinzu.",
3308
+ "en": "Add a new Intel® AMT device to device group \\\"{0}\\\".",
3309
+ "es": "Agregue un nuevo dispositivo AMT al grupo de dispositivos.",
3310
+ "fi": "Lisää uusi Intel® AMT -laite laiteryhmään \\\"{0}\\\".",
3311
+ "fr": "Ajouter un appareil Intel® AM au groupe d'appareils \\\"{0}\\\".",
3312
+ "hi": "उपकरण समूह \\\"{0}\\\" में एक नया Intel® AMT उपकरण जोड़ें।",
3313
+ "ja": "新しいIntel®を追加しますAMTデバイスからデバイスグループ\\\"{0}\\\"へ。",
3314
+ "ko": "장치 그룹 \\\"{0}\\\"에 새 Intel® AMT 장치를 추가하십시오.",
3315
+ "nl": "Voeg een nieuwe Intel® AMT computer toe aan een apparaatgroep \\\"{0}\\\".",
3316
+ "pt": "Adicione um novo Intel® Dispositivo AMT para grupo de dispositivos \\\"{0}\\\".",
3317
+ "ru": "Добавить новое Intel® AMT устройство к группе устройств \\\"{0}\\\".",
3318
+ "tr": "\\\"{0}\\\" cihaz grubuna yeni bir Intel® AMT cihazı ekleyin.",
3319
+ "zh-chs": "将新的英特尔®AMT设备添加到设备组“{0}”。",
3320
+ "zh-cht": "將新的Intel® AMT裝置新增到裝置群“{0}”。",
3321
+ "xloc": [
3322
+ "default.handlebars->27->283"
3323
+ ]
3324
+ },
3325
+ {
3326
+ "de": "Füge einen neuen Computer durch Installation des Mesh-Agenten zu dieser Gerätegruppe hinzu.",
3327
+ "en": "Add a new computer to this device group by installing the mesh agent.",
3328
+ "es": "Agregue una nueva computadora a este grupo de dispositivos instalando el agente de malla.",
3329
+ "fi": "Lisää uusi tietokone tähän laiteryhmään asentamalla MeshAgent.",
3330
+ "fr": "Ajoutez un nouvel ordinateur à ce groupe de périphériques en installant l'agent de maillage.",
3331
+ "hi": "मेष एजेंट को स्थापित करके इस उपकरण समूह में एक नया कंप्यूटर जोड़ें।",
3332
+ "ja": "メッシュエージェントをインストールして、このデバイスグループに新しいコンピューターを追加します。",
3333
+ "ko": "MeshAgent(매시 에이전트)를 설치하여 새로운 컴퓨터를 이 장치 그룹에 추가하십시오.",
3334
+ "nl": "Voeg een nieuwe computer toe aan deze apparaatgroep door de mesh-agent te installeren.",
3335
+ "tr": "Mesh aracısını kurarak bu aygıt grubuna yeni bir bilgisayar ekleyin.",
3336
+ "zh-chs": "通过安装Mesh Agent将新计算机添加到该设备组。",
3337
+ "zh-cht": "通過安裝Mesh Agent將新電腦新增到該裝置群。",
3338
+ "xloc": [
3339
+ "default.handlebars->27->1340",
3340
+ "default.handlebars->27->279"
3341
+ ]
3342
+ },
3343
+ {
3344
+ "en": "Add tags",
3345
+ "es": "Agregar etiquetas",
3346
+ "fr": "Ajouter des tags",
3347
+ "nl": "Voeg tags toe",
3348
+ "tr": "Etiket ekle",
3349
+ "zh-chs": "添加标签",
3350
+ "zh-cht": "新增標籤",
3351
+ "xloc": [
3352
+ "default.handlebars->27->472"
3353
+ ]
3354
+ },
3355
+ {
3356
+ "cs": "Adresa",
3357
+ "de": "Adresse",
3358
+ "en": "Address",
3359
+ "es": "Dirección",
3360
+ "fi": "Osoite",
3361
+ "fr": "Adresse",
3362
+ "hi": "पता",
3363
+ "ja": "住所",
3364
+ "ko": "주소",
3365
+ "nl": "Adres",
3366
+ "pt": "Endereço",
3367
+ "ru": "Адрес",
3368
+ "tr": "Adres",
3369
+ "zh-chs": "地址",
3370
+ "zh-cht": "地址",
3371
+ "xloc": [
3372
+ "default.handlebars->27->227"
3373
+ ]
3374
+ },
3375
+ {
3376
+ "cs": "Adresy",
3377
+ "de": "Adressen",
3378
+ "en": "Addresses",
3379
+ "es": "Direcciones",
3380
+ "fi": "Osoitteet",
3381
+ "fr": "Adresses",
3382
+ "hi": "पतों",
3383
+ "ja": "住所",
3384
+ "ko": "주소들",
3385
+ "nl": "Adressen",
3386
+ "pt": "Endereços",
3387
+ "ru": "Адреса",
3388
+ "tr": "Adresler",
3389
+ "zh-chs": "地址",
3390
+ "zh-cht": "地址",
3391
+ "xloc": [
3392
+ "player.handlebars->3->7"
3393
+ ]
3394
+ },
3395
+ {
3396
+ "cs": "Admin Control Mode (ACM)",
3397
+ "de": "Admin Control Mode (ACM)",
3398
+ "en": "Admin Control Mode (ACM)",
3399
+ "es": "Modo de control de administrador (ACM)",
3400
+ "fi": "Järjestelmänvalvojan hallintatila (ACM)",
3401
+ "fr": "Admin Control Mode (ACM)",
3402
+ "hi": "व्यवस्थापक नियंत्रण मोड (ACM)",
3403
+ "ja": "管理制御モード(ACM)",
3404
+ "ko": "관리 제어 모드 (ACM)",
3405
+ "nl": "Admin Control Mode (ACM)",
3406
+ "pt": "Admin Control Mode (ACM)",
3407
+ "ru": "Режим управления администратора (ACM)",
3408
+ "tr": "Yönetici Kontrol Modu (ACM)",
3409
+ "zh-chs": "管理员控制模式(ACM)",
3410
+ "zh-cht": "管理員控制模式(ACM)",
3411
+ "xloc": [
3412
+ "default-mobile.handlebars->9->360",
3413
+ "default.handlebars->27->946"
3414
+ ]
3415
+ },
3416
+ {
3417
+ "cs": "Pověření správce",
3418
+ "de": "Administrator-Anmeldeinformationen",
3419
+ "en": "Admin Credentials",
3420
+ "es": "Credenciales del Administrador",
3421
+ "fi": "Järjestelmänvalvojan tunnukset",
3422
+ "fr": "Informations d'identification d'administrateur",
3423
+ "hi": "व्यवस्थापक क्रेडेंशियल",
3424
+ "ja": "管理者の資格情報",
3425
+ "ko": "관리자 자격 증명",
3426
+ "nl": "Beheerdersreferenties",
3427
+ "pt": "Credenciais de administrador",
3428
+ "ru": "Учетные данные администратора",
3429
+ "tr": "Yönetici Kimlik Bilgileri",
3430
+ "zh-chs": "管理员凭证",
3431
+ "zh-cht": "管理員憑證",
3432
+ "xloc": [
3433
+ "default-mobile.handlebars->9->366",
3434
+ "default.handlebars->27->952"
3435
+ ]
3436
+ },
3437
+ {
3438
+ "cs": "PowerShell správce",
3439
+ "de": "Admin-PowerShell",
3440
+ "en": "Admin PowerShell",
3441
+ "es": "Administrar Powershell",
3442
+ "fi": "Järjestelmänvalvojan PowerShell",
3443
+ "fr": "Powershell administateur",
3444
+ "hi": "व्यवस्थापक PowerShell",
3445
+ "ja": "管理者PowerShell",
3446
+ "ko": "PowerShell 관리자",
3447
+ "nl": "Beheerder PowerShell",
3448
+ "pt": "Admin PowerShell",
3449
+ "ru": "Admin PowerShell",
3450
+ "tr": "Yönetici PowerShell",
3451
+ "zh-chs": "管理员PowerShell",
3452
+ "zh-cht": "管理員PowerShell",
3453
+ "xloc": [
3454
+ "default.handlebars->termShellContextMenu->3",
3455
+ "xterm.handlebars->termShellContextMenu->cxtermps"
3456
+ ]
3457
+ },
3458
+ {
3459
+ "cs": "Oblasti správy",
3460
+ "de": "Admin-Bereiche",
3461
+ "en": "Admin Realms",
3462
+ "es": "Admin Realms",
3463
+ "fi": "Pääkäyttäjän alueet",
3464
+ "fr": "Domaines d'administration",
3465
+ "hi": "प्रशासन के दायरे",
3466
+ "ja": "管理レルム",
3467
+ "ko": "관리자 영역",
3468
+ "nl": "Beheerdersgebied",
3469
+ "pt": "Admin Realms",
3470
+ "ru": "Области администратора",
3471
+ "tr": "Admin Realms",
3472
+ "zh-chs": "管理领域",
3473
+ "zh-cht": "管理領域",
3474
+ "xloc": [
3475
+ "default.handlebars->27->1782"
3476
+ ]
3477
+ },
3478
+ {
3479
+ "cs": "Shell správce",
3480
+ "de": "Admin-Shell",
3481
+ "en": "Admin Shell",
3482
+ "es": "Administrar Shell",
3483
+ "fi": "Järjestelmänvalvoja komentokehote",
3484
+ "fr": "Console administrateur",
3485
+ "hi": "व्यवस्थापक शेल",
3486
+ "ja": "管理シェル",
3487
+ "ko": "관리자 쉘",
3488
+ "nl": "Beheerder Shell",
3489
+ "pt": "Shell de administração",
3490
+ "ru": "Admin Shell",
3491
+ "tr": "Yönetici Kabuğu",
3492
+ "zh-chs": "管理控制台",
3493
+ "zh-cht": "管理控制台",
3494
+ "xloc": [
3495
+ "default.handlebars->termShellContextMenu->1->0",
3496
+ "xterm.handlebars->termShellContextMenu->cxtermnorm->0"
3497
+ ]
3498
+ },
3499
+ {
3500
+ "cs": "Administrativní oblasti",
3501
+ "de": "Administrative Bereiche",
3502
+ "en": "Administrative Realms",
3503
+ "es": "Administrative Realms",
3504
+ "fi": "Hallinnollinen alue",
3505
+ "fr": "Domaines administratifs",
3506
+ "hi": "प्रशासनिक क्षेत्र",
3507
+ "ja": "管理レルム",
3508
+ "ko": "관리 영역",
3509
+ "nl": "Administratieve gebieden",
3510
+ "pt": "Domínios Administrativos",
3511
+ "ru": "Административные области",
3512
+ "tr": "İdari Bölgeler",
3513
+ "zh-chs": "管理领域",
3514
+ "zh-cht": "管理領域",
3515
+ "xloc": [
3516
+ "default.handlebars->27->1662"
3517
+ ]
3518
+ },
3519
+ {
3520
+ "cs": "Správce",
3521
+ "de": "Administrator",
3522
+ "en": "Administrator",
3523
+ "es": "Administrador",
3524
+ "fi": "Järjestelmänvalvoja",
3525
+ "fr": "Administrateur",
3526
+ "hi": "प्रशासक",
3527
+ "ja": "管理者",
3528
+ "ko": "관리자",
3529
+ "nl": "Beheerder",
3530
+ "pt": "Administrador",
3531
+ "ru": "Администратор",
3532
+ "tr": "Yönetici",
3533
+ "zh-chs": "管理员",
3534
+ "zh-cht": "管理員",
3535
+ "xloc": [
3536
+ "default.handlebars->27->1591"
3537
+ ]
3538
+ },
3539
+ {
3540
+ "cs": "afrikánština",
3541
+ "de": "Afrikaans",
3542
+ "en": "Afrikaans",
3543
+ "es": "Afrikaans",
3544
+ "fr": "afrikaans",
3545
+ "hi": "अफ्रीकी",
3546
+ "ja": "アフリカーンス語",
3547
+ "ko": "아프리카 어",
3548
+ "nl": "Afrikaans",
3549
+ "pt": "afrikaans",
3550
+ "ru": "Африканский",
3551
+ "tr": "Afrikaans",
3552
+ "zh-chs": "南非文",
3553
+ "zh-cht": "南非文",
3554
+ "xloc": [
3555
+ "default.handlebars->27->1017"
3556
+ ]
3557
+ },
3558
+ {
3559
+ "cs": "Agent",
3560
+ "de": "Agent",
3561
+ "en": "Agent",
3562
+ "es": "Agente",
3563
+ "fi": "Agentti",
3564
+ "fr": "Agent",
3565
+ "hi": "एजेंट",
3566
+ "ja": "エージェント",
3567
+ "ko": "에이전트",
3568
+ "nl": "Agent",
3569
+ "pt": "Agente",
3570
+ "ru": "Агент",
3571
+ "tr": "Ajan",
3572
+ "zh-chs": "代理",
3573
+ "zh-cht": "代理",
3574
+ "xloc": [
3575
+ "default-mobile.handlebars->9->199",
3576
+ "default-mobile.handlebars->9->223",
3577
+ "default-mobile.handlebars->9->239",
3578
+ "default.handlebars->27->1493",
3579
+ "default.handlebars->27->1501",
3580
+ "default.handlebars->27->210",
3581
+ "default.handlebars->27->435",
3582
+ "default.handlebars->container->column_l->p15->consoleTable->1->6->1->1->1->0->p15outputselecttd->p15outputselect->1"
3583
+ ]
3584
+ },
3585
+ {
3586
+ "cs": "Agent + Intel AMT",
3587
+ "de": "Agent + Intel AMT",
3588
+ "en": "Agent + Intel AMT",
3589
+ "es": "Agente + Intel AMT",
3590
+ "fi": "Agentti + Intel AMT",
3591
+ "fr": "Agent + Intel AMT",
3592
+ "hi": "एजेंट + इंटेल एएमटी",
3593
+ "ja": "エージェント+ Intel AMT",
3594
+ "ko": "에이전트 + 인텔 AMT",
3595
+ "nl": "Agent + Intel AMT",
3596
+ "pt": "Agente + Intel AMT",
3597
+ "ru": "Агент + Intel AMT",
3598
+ "tr": "Aracı + Intel AMT",
3599
+ "zh-chs": "代理+英特尔AMT",
3600
+ "zh-cht": "代理+Intel AMT",
3601
+ "xloc": [
3602
+ "default.handlebars->27->1495",
3603
+ "default.handlebars->27->1503"
3604
+ ]
3605
+ },
3606
+ {
3607
+ "cs": "Akce agenta",
3608
+ "de": "Agent-Aktion",
3609
+ "en": "Agent Action",
3610
+ "es": "Acción del agente",
3611
+ "fi": "Agentin toiminta",
3612
+ "fr": "Action de l'agent",
3613
+ "hi": "एजेंट कार्रवाई",
3614
+ "ja": "エージェントアクション",
3615
+ "ko": "에이전트 동작",
3616
+ "nl": "Agent actie",
3617
+ "pt": "Ação do agente",
3618
+ "ru": "Управление агентом",
3619
+ "tr": "Aracı Eylemi",
3620
+ "zh-chs": "代理指令",
3621
+ "zh-cht": "代理指令",
3622
+ "xloc": [
3623
+ "default.handlebars->container->column_l->p15->consoleTable->1->0->1->1"
3624
+ ]
3625
+ },
3626
+ {
3627
+ "cs": "Konzole agenta",
3628
+ "de": "Agent-Konsole",
3629
+ "en": "Agent Console",
3630
+ "es": "Consola de Agente",
3631
+ "fi": "Agentin konsoli",
3632
+ "fr": "Console d'agent",
3633
+ "hi": "एजेंट कंसोल",
3634
+ "ja": "エージェントコンソール",
3635
+ "ko": "에이전트 콘솔",
3636
+ "nl": "Agent console",
3637
+ "pt": "Console do agente",
3638
+ "ru": "Консоль агента",
3639
+ "tr": "Aracı Konsolu",
3640
+ "zh-chs": "代理控制台",
3641
+ "zh-cht": "代理控制台",
3642
+ "xloc": [
3643
+ "default-mobile.handlebars->9->433",
3644
+ "default.handlebars->27->1449"
3645
+ ]
3646
+ },
3647
+ {
3648
+ "cs": "Počitadla chyb agenta",
3649
+ "de": "Agent-Fehlerzähler",
3650
+ "en": "Agent Error Counters",
3651
+ "es": "Contador de errores del Agente",
3652
+ "fi": "Agentin virhe laskurit",
3653
+ "fr": "Compteurs d'erreurs d'agent",
3654
+ "hi": "एजेंट त्रुटि काउंटर",
3655
+ "ja": "エージェントエラーカウンター",
3656
+ "ko": "에이전트 오류 계수",
3657
+ "nl": "Agent fout tellers",
3658
+ "pt": "Contadores de erros do agente",
3659
+ "ru": "Счетчик ошибок агента",
3660
+ "tr": "Aracı Hata Sayaçları",
3661
+ "zh-chs": "代理错误计数器",
3662
+ "zh-cht": "代理錯誤計數器",
3663
+ "xloc": [
3664
+ "default.handlebars->27->1909"
3665
+ ]
3666
+ },
3667
+ {
3668
+ "cs": "Instalace agenta",
3669
+ "de": "Agenteninstallation",
3670
+ "en": "Agent Installation",
3671
+ "es": "Instalación del Agente",
3672
+ "fi": "Agentin asennus",
3673
+ "fr": "Installation de l'agent",
3674
+ "hi": "एजेंट स्थापना",
3675
+ "ja": "エージェントのインストール",
3676
+ "ko": "에이전트 설치",
3677
+ "nl": "Agent Installatie",
3678
+ "pt": "Instalação do agente",
3679
+ "ru": "Установка агента",
3680
+ "tr": "Aracı Kurulumu",
3681
+ "zh-chs": "代理安装",
3682
+ "zh-cht": "代理安裝",
3683
+ "xloc": [
3684
+ "agentinvite.handlebars->3->3"
3685
+ ]
3686
+ },
3687
+ {
3688
+ "en": "Agent Messages",
3689
+ "es": "Mensajes del Agente",
3690
+ "nl": "Agent berichten",
3691
+ "tr": "Temsilci Mesajları",
3692
+ "zh-chs": "代理消息",
3693
+ "zh-cht": "代理訊息",
3694
+ "xloc": [
3695
+ "default-mobile.handlebars->9->177",
3696
+ "default.handlebars->27->261"
3697
+ ]
3698
+ },
3699
+ {
3700
+ "cs": "Agent Relay (předávání)",
3701
+ "de": "Agent-Weiterleitung",
3702
+ "en": "Agent Relay",
3703
+ "es": "Agente de Retransmisión",
3704
+ "fr": "Relais d'agent",
3705
+ "hi": "एजेंट रिले",
3706
+ "ja": "エージェントリレー",
3707
+ "ko": "에이전트 전달(Relay)",
3708
+ "nl": "Agent Relay",
3709
+ "pt": "Retransmissão do agente",
3710
+ "ru": "Ретранслятор агента",
3711
+ "tr": "Temsilci Geçişi",
3712
+ "zh-chs": "代理中继",
3713
+ "zh-cht": "代理中繼",
3714
+ "xloc": [
3715
+ "default-mobile.handlebars->9->242"
3716
+ ]
3717
+ },
3718
+ {
3719
+ "cs": "Agent vzdálené plochy",
3720
+ "de": "Entfernter Desktop via Agent",
3721
+ "en": "Agent Remote Desktop",
3722
+ "es": "Escritorio Remoto del Agente",
3723
+ "fi": "Agentin Etätyöpöyä",
3724
+ "fr": "Bureau distant - Configuration de l'agent",
3725
+ "hi": "एजेंट दूरस्थ डेस्कटॉप",
3726
+ "ja": "エージェントリモートデスクトップ",
3727
+ "ko": "에이전트 원격 데스크톱",
3728
+ "nl": "Agent Extern bureaublad",
3729
+ "pt": "Área de trabalho remota do agente",
3730
+ "ru": "Агент удаленного рабочего стола",
3731
+ "tr": "Agent Remote Desktop",
3732
+ "zh-chs": "代理远程桌面",
3733
+ "zh-cht": "代理遠程桌面",
3734
+ "xloc": [
3735
+ "default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->1",
3736
+ "default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->1",
3737
+ "desktop.handlebars->p11->dialog->dialogBody->dialog7->d7meshkvm->1"
3738
+ ]
3739
+ },
3740
+ {
3741
+ "cs": "Relace agenta",
3742
+ "de": "Agent-Sitzungen",
3743
+ "en": "Agent Sessions",
3744
+ "es": "Sesiones del Agente",
3745
+ "fi": "Agenttien istunnot",
3746
+ "fr": "Nombre d'agents connectés",
3747
+ "hi": "एजेंट सत्र",
3748
+ "ja": "エージェントセッション",
3749
+ "ko": "에이전트 세션들",
3750
+ "nl": "Agent Sessies",
3751
+ "pt": "Sessões do agente",
3752
+ "ru": "Сессии агентов",
3753
+ "tr": "Temsilci Oturumları",
3754
+ "zh-chs": "代理时段",
3755
+ "zh-cht": "代理時段",
3756
+ "xloc": [
3757
+ "default.handlebars->27->1925"
3758
+ ]
3759
+ },
3760
+ {
3761
+ "cs": "Štítek agenta",
3762
+ "de": "Agent-Markierung",
3763
+ "en": "Agent Tag",
3764
+ "es": "Etiqueta del Agente",
3765
+ "fi": "Agentin lappu",
3766
+ "fr": "Tag d'agent",
3767
+ "hi": "एजेंट टैग",
3768
+ "ja": "エージェントタグ",
3769
+ "ko": "에이전트 태그",
3770
+ "nl": "Agent Tag",
3771
+ "pt": "Etiqueta do agente",
3772
+ "ru": "Тег агента",
3773
+ "tr": "Ajan Etiketi",
3774
+ "zh-chs": "代理标签",
3775
+ "zh-cht": "代理標籤",
3776
+ "xloc": [
3777
+ "default-mobile.handlebars->9->238",
3778
+ "default.handlebars->27->583"
3779
+ ]
3780
+ },
3781
+ {
3782
+ "cs": "Typy agenta",
3783
+ "de": "Agent-Typen",
3784
+ "en": "Agent Types",
3785
+ "es": "Tipos de Agente",
3786
+ "fi": "Agenttityypit",
3787
+ "fr": "Types d'agents",
3788
+ "hi": "एजेंट प्रकार",
3789
+ "ja": "エージェントの種類",
3790
+ "ko": "에이전트 유형들",
3791
+ "nl": "Agent Type",
3792
+ "pt": "Tipos de agentes",
3793
+ "ru": "Типы агента",
3794
+ "tr": "Ajan Türleri",
3795
+ "zh-chs": "代理类型",
3796
+ "zh-cht": "代理類型",
3797
+ "xloc": [
3798
+ "default.handlebars->27->1499",
3799
+ "default.handlebars->container->column_l->p21->3->1->meshOsChartDiv->1"
3800
+ ]
3801
+ },
3802
+ {
3803
+ "cs": "Agent připojen",
3804
+ "de": "Agent verbunden",
3805
+ "en": "Agent connected",
3806
+ "es": "Agente Conectado",
3807
+ "fi": "Agentti yhdistetty",
3808
+ "fr": "Agent connecté",
3809
+ "hi": "एजेंट जुड़ा हुआ है",
3810
+ "ja": "接続されたエージェント",
3811
+ "ko": "에이전트가 연결되었습니다.",
3812
+ "nl": "Agent verbonden",
3813
+ "pt": "Agente conectado",
3814
+ "ru": "Агент подключен",
3815
+ "tr": "Aracı bağlandı",
3816
+ "zh-chs": "代理已连接",
3817
+ "zh-cht": "代理已連接",
3818
+ "xloc": [
3819
+ "default.handlebars->27->160",
3820
+ "default.handlebars->27->649",
3821
+ "default.handlebars->27->650"
3822
+ ]
3823
+ },
3824
+ {
3825
+ "cs": "Agent odpojen",
3826
+ "de": "Agent getrennt",
3827
+ "en": "Agent disconnected",
3828
+ "es": "Agente Desconectado",
3829
+ "fi": "Agentti irrotettu",
3830
+ "fr": "Agent déconnecté",
3831
+ "hi": "एजेंट ने काट दिया",
3832
+ "ja": "エージェントが切断されました",
3833
+ "ko": "에이전트 연결이 끊어졌습니다.",
3834
+ "nl": "Agent niet verbonden",
3835
+ "pt": "Agente desconectado",
3836
+ "ru": "Агент отключился",
3837
+ "tr": "Aracı bağlantısı kesildi",
3838
+ "zh-chs": "代理已断开连接",
3839
+ "zh-cht": "代理已斷開連接",
3840
+ "xloc": [
3841
+ "default.handlebars->27->164"
3842
+ ]
3843
+ },
3844
+ {
3845
+ "cs": "Agent je offline",
3846
+ "de": "Agent ist offline",
3847
+ "en": "Agent is offline",
3848
+ "es": "Agente desconectado",
3849
+ "fi": "Agentti on offline-tilassa",
3850
+ "fr": "Agent déconnecté",
3851
+ "hi": "एजेंट ऑफ़लाइन है",
3852
+ "ja": "エージェントはオフラインです",
3853
+ "ko": "에이전트가 오프라인 상태입니다.",
3854
+ "nl": "Agent is offline",
3855
+ "pt": "O agente está offline",
3856
+ "ru": "Агент оффлайн",
3857
+ "tr": "Temsilci çevrimdışı",
3858
+ "zh-chs": "代理离线",
3859
+ "zh-cht": "代理離線",
3860
+ "xloc": [
3861
+ "default.handlebars->27->979"
3862
+ ]
3863
+ },
3864
+ {
3865
+ "cs": "Agent je online",
3866
+ "de": "Agent ist online",
3867
+ "en": "Agent is online",
3868
+ "es": "Agente Conectado",
3869
+ "fi": "Agentti on online-tilassa",
3870
+ "fr": "Agent connecté",
3871
+ "hi": "एजेंट ऑनलाइन है",
3872
+ "ja": "エージェントはオンラインです",
3873
+ "ko": "에이전트가 온라인 상태입니다.",
3874
+ "nl": "Agent is online",
3875
+ "pt": "Agente está online",
3876
+ "ru": "Агент онлайн",
3877
+ "tr": "Temsilci çevrimiçi",
3878
+ "zh-chs": "代理在线",
3879
+ "zh-cht": "代理在線",
3880
+ "xloc": [
3881
+ "default.handlebars->27->978"
3882
+ ]
3883
+ },
3884
+ {
3885
+ "cs": "Agenti",
3886
+ "de": "Agenten",
3887
+ "en": "Agents",
3888
+ "es": "Agentes",
3889
+ "fi": "Agentit",
3890
+ "fr": "Agents",
3891
+ "hi": "एजेंटों",
3892
+ "ja": "エージェント",
3893
+ "ko": "에이전트들",
3894
+ "nl": "Agents",
3895
+ "pt": "Agentes",
3896
+ "ru": "Агенты",
3897
+ "tr": "Ajanlar",
3898
+ "zh-chs": "代理",
3899
+ "zh-cht": "代理",
3900
+ "xloc": [
3901
+ "default.handlebars->27->1941"
3902
+ ]
3903
+ },
3904
+ {
3905
+ "cs": "albánština",
3906
+ "de": "Albanian",
3907
+ "en": "Albanian",
3908
+ "es": "Albanés",
3909
+ "fi": "Albanialainen",
3910
+ "fr": "albanais",
3911
+ "hi": "अल्बानियन",
3912
+ "ja": "アルバニア語",
3913
+ "ko": "알바니아",
3914
+ "nl": "Albanees",
3915
+ "pt": "albanês",
3916
+ "ru": "Албанский",
3917
+ "tr": "Arnavut",
3918
+ "zh-chs": "阿尔巴尼亚文",
3919
+ "zh-cht": "阿爾巴尼亞文",
3920
+ "xloc": [
3921
+ "default.handlebars->27->1018"
3922
+ ]
3923
+ },
3924
+ {
3925
+ "cs": "Vše",
3926
+ "de": "Alle",
3927
+ "en": "All",
3928
+ "es": "Todos",
3929
+ "fi": "Kaikki",
3930
+ "fr": "Tout",
3931
+ "hi": "सब",
3932
+ "ja": "すべて",
3933
+ "ko": "모두",
3934
+ "nl": "Alles",
3935
+ "pt": "Todos",
3936
+ "ru": "Все",
3937
+ "tr": "Herşey",
3938
+ "zh-chs": "所有",
3939
+ "zh-cht": "所有",
3940
+ "xloc": [
3941
+ "default-mobile.handlebars->9->117",
3942
+ "default-mobile.handlebars->9->296",
3943
+ "default-mobile.handlebars->9->298"
3944
+ ]
3945
+ },
3946
+ {
3947
+ "en": "All Available",
3948
+ "es": "Todo disponible",
3949
+ "fi": "Kaikki käytettävissä olevat",
3950
+ "fr": "Tous ceux disponibles",
3951
+ "nl": "Alle beschikbare",
3952
+ "tr": "Tüm Mevcut",
3953
+ "zh-chs": "全部可用",
3954
+ "zh-cht": "全部可用",
3955
+ "xloc": [
3956
+ "default.handlebars->27->1554"
3957
+ ]
3958
+ },
3959
+ {
3960
+ "cs": "Všechny displeje",
3961
+ "de": "Alle Bildschirme",
3962
+ "en": "All Displays",
3963
+ "es": "Todas las Pantallas",
3964
+ "fi": "Kaikki näytöt",
3965
+ "fr": "Tous affichages",
3966
+ "hi": "सभी प्रदर्शित करता है",
3967
+ "ja": "すべてのディスプレイ",
3968
+ "ko": "모든 디스플레이",
3969
+ "nl": "Alle schermen",
3970
+ "pt": "Todas as telas",
3971
+ "ru": "Все экраны",
3972
+ "tr": "Tüm Ekranlar",
3973
+ "zh-chs": "所有显示",
3974
+ "zh-cht": "所有顯示"
3975
+ },
3976
+ {
3977
+ "en": "All Events",
3978
+ "es": "Todos los eventos",
3979
+ "fi": "Kaikki tapahtumat",
3980
+ "fr": "Tous les évènements",
3981
+ "nl": "Alle gebeurtenissen",
3982
+ "tr": "Tüm Etkinlikler",
3983
+ "zh-chs": "所有事件",
3984
+ "zh-cht": "所有事件",
3985
+ "xloc": [
3986
+ "default.handlebars->27->1552"
3987
+ ]
3988
+ },
3989
+ {
3990
+ "cs": "Zaměřit vše",
3991
+ "de": "Alles fokussieren",
3992
+ "en": "All Focus",
3993
+ "es": "Todos se Centran",
3994
+ "fr": "Tout se concentrer",
3995
+ "hi": "ऑल फोकस",
3996
+ "ja": "オールフォーカス",
3997
+ "ko": "모든 초점",
3998
+ "nl": "All Focus",
3999
+ "pt": "All Focus",
4000
+ "ru": "Фокусирование всех",
4001
+ "tr": "Tüm Odak",
4002
+ "zh-chs": "全部聚焦",
4003
+ "zh-cht": "全部聚焦",
4004
+ "xloc": [
4005
+ "default.handlebars->27->814",
4006
+ "default.handlebars->27->816",
4007
+ "default.handlebars->27->817"
4008
+ ]
4009
+ },
4010
+ {
4011
+ "cs": "Umožnit uživatelům spravovat tuto skupinu a zařízení v této skupině.",
4012
+ "de": "Erlaube Benutzern, diese Gerätegruppe und die Geräte darin zu verwalten.",
4013
+ "en": "Allow users to manage this device group and devices in this group.",
4014
+ "es": "Permitir a los Usuarios Administrar este grupo de dispositivos y los dispositivos en este grupo.",
4015
+ "fi": "Salli käyttäjien hallita tätä laiteryhmää ja tämän ryhmän laitteita.",
4016
+ "fr": "Autoriser les utilisateurs à gérer ce groupe et les périphériques de ce groupe.",
4017
+ "hi": "उपयोगकर्ताओं को इस समूह में इस उपकरण समूह और उपकरणों को प्रबंधित करने की अनुमति दें।",
4018
+ "ja": "ユーザーがこのデバイスグループとこのグループ内のデバイスを管理できるようにします。",
4019
+ "ko": "사용자가 이 장치 그룹 및 그룹 내 장치를 관리 할 수 있도록 허락합니다.",
4020
+ "nl": "Gebruikers toestaan deze apparaatgroep en apparaten in deze groep te beheren.",
4021
+ "pt": "Permitir que os usuários gerenciem esse grupo de dispositivos e dispositivos neste grupo.",
4022
+ "ru": "Разрешить пользователям управлять этой группой и устройствами этой группы.",
4023
+ "tr": "Kullanıcıların bu cihaz grubunu ve bu gruptaki cihazları yönetmesine izin verin.",
4024
+ "zh-chs": "允许用户管理此设备组和该组中的设备。",
4025
+ "zh-cht": "允許用戶管理此裝置群和該群中的裝置。",
4026
+ "xloc": [
4027
+ "default.handlebars->27->1397",
4028
+ "default.handlebars->27->1743"
4029
+ ]
4030
+ },
4031
+ {
4032
+ "cs": "Povolit uživatelům spravovat toto zařízení.",
4033
+ "de": "Ermöglichen Sie Benutzern die Verwaltung dieses Geräts.",
4034
+ "en": "Allow users to manage this device.",
4035
+ "es": "Permitir al usuario administrar este dispositivo",
4036
+ "fi": "Salli käyttäjien hallita tätä laitetta.",
4037
+ "fr": "Autorisez les utilisateurs à gérer cet appareil.",
4038
+ "hi": "उपयोगकर्ताओं को इस उपकरण को प्रबंधित करने की अनुमति दें।",
4039
+ "ja": "ユーザーにこのデバイスの管理を許可します。",
4040
+ "ko": "사용자가 이 장치를 관리하도록 허락합니다.",
4041
+ "nl": "Sta gebruikers toe om dit apparaat te beheren.",
4042
+ "ru": "Разрешить пользователям управлять этим устройством.",
4043
+ "tr": "Kullanıcıların bu cihazı yönetmesine izin ver.",
4044
+ "zh-chs": "允许用户管理此设备。",
4045
+ "zh-cht": "允許用戶管理此裝置。",
4046
+ "xloc": [
4047
+ "default.handlebars->27->1398"
4048
+ ]
4049
+ },
4050
+ {
4051
+ "cs": "Alt-F4",
4052
+ "de": "Alt+F4",
4053
+ "en": "Alt-F4",
4054
+ "es": "Alt+F4",
4055
+ "fi": "Alt-F4",
4056
+ "fr": "Alt-F4",
4057
+ "hi": "Alt-F4",
4058
+ "ja": "Alt-F4",
4059
+ "ko": "Alt-F4",
4060
+ "nl": "Alt-F4",
4061
+ "pt": "Alt-F4",
4062
+ "ru": "Alt-F4",
4063
+ "tr": "Alt-F4",
4064
+ "zh-chs": "Alt-F4",
4065
+ "zh-cht": "Alt-F4",
4066
+ "xloc": [
4067
+ "default-mobile.handlebars->dialog->3->dialog3->deskkeys->19",
4068
+ "default.handlebars->container->column_l->p11->deskarea0->deskarea4->3->deskkeys->17",
4069
+ "desktop.handlebars->p11->deskarea0->deskarea4->3->deskkeys->17"
4070
+ ]
4071
+ },
4072
+ {
4073
+ "cs": "Alt-Tab",
4074
+ "de": "Alt+Tab",
4075
+ "en": "Alt-Tab",
4076
+ "es": "Alt+Tab",
4077
+ "fi": "Alt-Tab",
4078
+ "fr": "Alt-Tab",
4079
+ "hi": "Alt-टैब",
4080
+ "ja": "Alt-Tab",
4081
+ "ko": "Alt-Tab",
4082
+ "nl": "Alt-Tab",
4083
+ "pt": "Alt-Tab",
4084
+ "ru": "Alt-Tab",
4085
+ "tr": "Alt-Tab",
4086
+ "zh-chs": "Alt-Tab",
4087
+ "zh-cht": "Alt-Tab",
4088
+ "xloc": [
4089
+ "default-mobile.handlebars->dialog->3->dialog3->deskkeys->23",
4090
+ "default.handlebars->container->column_l->p11->deskarea0->deskarea4->3->deskkeys->21",
4091
+ "desktop.handlebars->p11->deskarea0->deskarea4->3->deskkeys->21"
4092
+ ]
4093
+ },
4094
+ {
4095
+ "cs": "Alternativní (F10 = ESC+0)",
4096
+ "de": "Alternativ (F10 = ESC+0)",
4097
+ "en": "Alternate (F10 = ESC+0)",
4098
+ "es": "Alternar (F10 = ESC + 0)",
4099
+ "fi": "Vaihtoehtoinen (F10 = ESC + 0)",
4100
+ "fr": "Alternative (F10 = ESC+0)",
4101
+ "hi": "वैकल्पिक (F10 = ESC + 0)",
4102
+ "ja": "代替(F10 = ESC + 0)",
4103
+ "ko": "대체 (F10 = ESC + 0)",
4104
+ "nl": "Alternatief (F10 = ESC + 0)",
4105
+ "pt": "Alternativo (F10 = ESC + 0)",
4106
+ "ru": "Поменять (F10 = ESC+0)",
4107
+ "tr": "Alternatif (F10 = ESC + 0)",
4108
+ "zh-chs": "备用(F10 = ESC + 0)",
4109
+ "zh-cht": "備用(F10 = ESC + 0)",
4110
+ "xloc": [
4111
+ "default.handlebars->27->851"
4112
+ ]
4113
+ },
4114
+ {
4115
+ "cs": "Alternativní port",
4116
+ "de": "Alternativer Port",
4117
+ "en": "Alternate Port",
4118
+ "es": "Puerto Alternativo",
4119
+ "fi": "Vaihtoehtoinen portti",
4120
+ "fr": "Port alternatif",
4121
+ "hi": "वैकल्पिक पोर्ट",
4122
+ "ja": "代替ポート",
4123
+ "ko": "대체 포트",
4124
+ "nl": "Alternatieve poort",
4125
+ "pt": "Porta alternativa",
4126
+ "ru": "Поменять порт",
4127
+ "tr": "Alternatif Bağlantı Noktası",
4128
+ "zh-chs": "备用端口",
4129
+ "zh-cht": "備用端口",
4130
+ "xloc": [
4131
+ "default.handlebars->altPortContextMenu->1",
4132
+ "default.handlebars->rfbPortContextMenu->1"
4133
+ ]
4134
+ },
4135
+ {
4136
+ "cs": "Vždy upozorňovat",
4137
+ "de": "Immer benachrichtigen",
4138
+ "en": "Always Notify",
4139
+ "es": "Notificar Siempre",
4140
+ "fi": "Ilmoita aina",
4141
+ "fr": "Toujours aviser",
4142
+ "hi": "हमेशा सुचित करें",
4143
+ "ja": "常に通知する",
4144
+ "ko": "항상 알림",
4145
+ "nl": "Altijd informeren",
4146
+ "pt": "Notificar sempre",
4147
+ "ru": "Всегда уведомлять",
4148
+ "tr": "Her zaman Bildir",
4149
+ "zh-chs": "一直通知",
4150
+ "zh-cht": "一直通知",
4151
+ "xloc": [
4152
+ "default.handlebars->27->1311",
4153
+ "default.handlebars->27->1791",
4154
+ "default.handlebars->27->599"
4155
+ ]
4156
+ },
4157
+ {
4158
+ "cs": "Vždy se dotázat",
4159
+ "de": "Immer nachfragen",
4160
+ "en": "Always Prompt",
4161
+ "es": "Simepre Preguntar",
4162
+ "fi": "Kysy Aina",
4163
+ "fr": "Toujours demander",
4164
+ "hi": "हमेशा शीघ्र",
4165
+ "ja": "常にプロンプト",
4166
+ "ko": "항상 묻기",
4167
+ "nl": "Altijd prompt",
4168
+ "pt": "Sempre alerta",
4169
+ "ru": "Всегда запрашивать",
4170
+ "tr": "Her Zaman Sor",
4171
+ "zh-chs": "一直提示",
4172
+ "zh-cht": "一直提示",
4173
+ "xloc": [
4174
+ "default.handlebars->27->1312",
4175
+ "default.handlebars->27->1792",
4176
+ "default.handlebars->27->600"
4177
+ ]
4178
+ },
4179
+ {
4180
+ "cs": "Účet byl pro vás vytvořen na serveru",
4181
+ "de": "Auf dem Server wurde ein Konto für Sie erstellt",
4182
+ "en": "An account was created for you on server",
4183
+ "es": "Una cuenta ha sido creada en su servidor",
4184
+ "fi": "Sinulle on luotu tili palvelimelle",
4185
+ "fr": "Un compte a été créé pour vous sur le serveur",
4186
+ "hi": "सर्वर पर आपके लिए एक खाता बनाया गया था",
4187
+ "ja": "サーバー上にアカウントが作成されました",
4188
+ "ko": "당신을 위해 서버에서 한 계정이 생성되었습니다.",
4189
+ "nl": "Er is een account voor je aangemaakt op de server",
4190
+ "ru": "Учетная запись была создана для вас на сервере",
4191
+ "tr": "Sunucuda sizin için bir hesap oluşturuldu",
4192
+ "zh-chs": "在服务器上为您创建了一个帐户",
4193
+ "zh-cht": "在伺服器上為你創建了一個帳戶",
4194
+ "xloc": [
4195
+ "account-invite.html->2->3"
4196
+ ]
4197
+ },
4198
+ {
4199
+ "de": "Auf dem Server [[[SERVERNAME]]] ([[[SERVERURL]]]/) wurde ein Konto für Sie erstellt, Sie können ab sofort mit dem Benutzernamen \"[[[ACCOUNTNAME]]]\" und dem Passwort \"[[[PASSWORD]]]\" darauf zugreifen.",
4200
+ "en": "An account was created for you on server [[[SERVERNAME]]] ([[[SERVERURL]]]/), you can access it now with username \"[[[ACCOUNTNAME]]]\" and password \"[[[PASSWORD]]]\".",
4201
+ "es": "Una cuenta ha sido creada en su servidor [[[SERVERNAME]]] ([[[SERVERURL]]]/), ahora puede acceder con el usuario \"[[[ACCOUNTNAME]]]\" y la contraseña \"[[[PASSWORD]]]\".",
4202
+ "fi": "Sinulle on luotu tili palvelimelle [[[SERVERNAME]]] ([[[SERVERURL]]]/), voit käyttää sitä nyt käyttäjätunnuksella \"[[[ACCOUNTNAME]]]\" and salasanalla \"[[[PASSWORD]]]\".",
4203
+ "fr": "Un compte a été créé pour vous sur le serveur [[[[SERVERNAME]]] ([[[SERVERURL]]] /), vous pouvez y accéder maintenant avec le nom d'utilisateur \"[[[ACCOUNTNAME]]]\" et le mot de passe \"[[[PASSWORD]]]\".",
4204
+ "hi": "सर्वर [[[SERVERNAME]]] ([[[SERVERURL]]] /) पर आपके लिए एक खाता बनाया गया था, आप इसे अब उपयोगकर्ता नाम \"[[[ACCOUNTNAME]]]]\" और पासवर्ड \"[[[PASSWORD]]]\" के साथ एक्सेस कर सकते हैं।।",
4205
+ "ja": "サーバー[[[SERVERNAME]]]([[[SERVERURL]]] /)にアカウントが作成されました。ユーザー名 \"[[[ACCOUNTNAME]]]\"とパスワード \"[[[PASSWORD] ]] \"。",
4206
+ "ko": "당신을 위해 서버에서 한 계정이 생성되었습니다 : [[[SERVERNAME]]] ([[[SERVERURL]]]/), 이제 당신은 다음 이름으로 접근 가능합니다 : \"[[[ACCOUNTNAME]]]\" 그리고 비밀번호는 다음과 같습니다 : \"[[[PASSWORD]]]\".",
4207
+ "nl": "Er is een account jouw aangemaakt op de server [[[SERVERNAME]]] ([[[SERVERURL]]]/), Je kan inloggen met de gebruikersnaam \"[[[ACCOUNTNAME]]]\" en wachtwoord \"[[[PASSWORD]]]\".",
4208
+ "tr": "[[[SERVERNAME]]] ([[[SERVERURL]]] /) sunucusunda sizin için bir hesap oluşturuldu, şimdi \"[[[ACCOUNTNAME]]]\" kullanıcı adı ve \"[[[PASSWORD]]]\" ile bu hesaba erişebilirsiniz.",
4209
+ "zh-chs": "已在服务器[[[SERVERNAME]]]([[[SERVERURL]]] /)上为您创建了一个帐户,您现在可以使用用户名“ [[[ACCOUNTNAME]]]”和密码“ [[[PASSWORD] ]]”。",
4210
+ "zh-cht": "在伺服器[[[SERVERNAME]]]([[[SERVERURL]]] /)上為你創建了一個帳戶,你現在可以使用用戶名“ [[[ACCOUNTNAME]]]”和密碼“ [[[PASSWORD] ]]”。",
4211
+ "xloc": [
4212
+ "account-invite.txt"
4213
+ ]
4214
+ },
4215
+ {
4216
+ "cs": "Účet byl pro vás vytvořen na serveru [[[SERVERNAME]]] ([[[SERVERURL]]]/), nyní k němu máte přístup pomocí uživatelského jména \\\"[[[ACCOUNTNAME]]]\\\" a hesla \\\"[[[PASSWORD]]]\\\".",
4217
+ "de": "Auf dem Server [[[SERVERNAME]]] ([[[SERVERURL]]]/) wurde ein Konto für Sie erstellt. Sie können jetzt mit dem Benutzernamen \\\"[[[ACCOUNTNAME]]]\\\" und dem Passwort \\\"[[[PASSWORD]]]\\\".",
4218
+ "en": "An account was created for you on server [[[SERVERNAME]]] ([[[SERVERURL]]]/), you can access it now with username \\\"[[[ACCOUNTNAME]]]\\\" en wachtwoord \\\"[[[PASSWORD]]]\\\".",
4219
+ "es": "Una cuenta ha sido creada en su servidor [[[SERVERNAME]]] ([[[SERVERURL]]]/), ahora puede acceder con el usuario \\\"[[[ACCOUNTNAME]]]\\\" y la contraseña \\\"[[[PASSWORD]]]\\\".",
4220
+ "fi": "Sinulle on luotu tili palvelimelle [[[SERVERNAME]]] ([[[SERVERURL]]]/), voit käyttää sitä nyt käyttäjätunnuksella \\\"[[[ACCOUNTNAME]]]\\\" and salasanalla \\\"[[[PASSWORD]]]\\\".",
4221
+ "fr": "Un compte a été créé pour vous sur le serveur [[[SERVERNAME]]] ([[[SERVERURL]]]/), vous pouvez y accéder maintenant avec le nom d'utilisateur \\\"[[[ACCOUNTNAME]]]\\\" et le mot de passe \\\"[[[PASSWORD]]]\\\".",
4222
+ "hi": "सर्वर [[[SERVERNAME]]] ([[[SERVERURL]]]/) पर आपके लिए एक खाता बनाया गया था, अब आप इसे उपयोगकर्ता नाम \\\"[[ACCOUNTNAME]]] \\\" en wachchwoord \\\"[[PASSWORD]]]\\\"।",
4223
+ "ja": "サーバー[[[SERVERNAME]]]([[[SERVERURL]]]/)にアカウントが作成されました。ユーザー名 \\\"[[[ACCOUNTNAME]]]\\\" とパスワード \\\"[[[PASSWORD]]]\\\"。",
4224
+ "ko": "당신을 위해 서버에서 한 계정이 생성되었습니다 : [[[SERVERNAME]]] ([[[SERVERURL]]]/), 이제 당신은 다음 이름으로 접근이 가능합니다 : \\\"[[[ACCOUNTNAME]]]\\\" 그리고 비밀번호는 다음과 같습니다 : \\\"[[[PASSWORD]]]\\\".",
4225
+ "nl": "Er is een account jouw aangemaakt op de server [[[SERVERNAME]]] ([[[SERVERURL]]]/), Je kan inloggen met de gebruikersnaam \\\"[[[ACCOUNTNAME]]]\\\" and password \\\"[[[PASSWORD]]]\\\".",
4226
+ "ru": "Для вас была создана учетная запись на сервере [[[SERVERNAME]]] ([[[SERVERURL]]]/), теперь вы можете получить к ней доступ с помощью имени пользователя \\\"[[[ACCOUNTNAME]]]\\\" и пароля \\\"[[[PASSWORD]]]\\\".",
4227
+ "tr": "[[[SERVERNAME]] ([[[SERVERURL]]]/) sunucusunda sizin için bir hesap oluşturuldu, şimdi \\\"[[[ACCOUNTNAME]]]\\\" en wachtwoord \\\"[[[PASSWORD]]]\\\".",
4228
+ "zh-chs": "已在服务器[[[SERVERNAME]]]([[[SERVERURL]]]/ 上为您创建了一个帐户,您现在可以使用用户名“ [[[ACCOUNTNAME]]] 和密码 “[[[PASSWORD]]]”。",
4229
+ "zh-cht": "在伺服器[[[SERVERNAME]]]([[[SERVERURL]]] /上為你創建了一個帳戶,你現在可以使用用戶名“ [[[ACCOUNTNAME]]] ” en wachtwoord “[[[PASSWORD]]]”。"
4230
+ },
4231
+ {
4232
+ "cs": "Android APK",
4233
+ "de": "Android-APK",
4234
+ "en": "Android APK",
4235
+ "es": "Android APK",
4236
+ "fi": "Android APK",
4237
+ "fr": "Android APK",
4238
+ "hi": "Android APK",
4239
+ "ja": "Android APK",
4240
+ "ko": "Android APK",
4241
+ "nl": "Android APK",
4242
+ "pt": "Android APK",
4243
+ "ru": "Android APK",
4244
+ "tr": "Android APK",
4245
+ "zh-chs": "Android APK",
4246
+ "zh-cht": "Android APK",
4247
+ "xloc": [
4248
+ "default-mobile.handlebars->9->20",
4249
+ "default.handlebars->27->27"
4250
+ ]
4251
+ },
4252
+ {
4253
+ "cs": "Android ARM",
4254
+ "de": "Android ARM",
4255
+ "en": "Android ARM",
4256
+ "es": "Android ARM",
4257
+ "fi": "Android ARM",
4258
+ "fr": "Android ARM",
4259
+ "hi": "Android ARM",
4260
+ "ja": "Android ARM",
4261
+ "ko": "Android ARM",
4262
+ "nl": "Android ARM",
4263
+ "pt": "Android ARM",
4264
+ "ru": "Android ARM",
4265
+ "tr": "Android ARM",
4266
+ "zh-chs": "Android ARM",
4267
+ "zh-cht": "Android ARM",
4268
+ "xloc": [
4269
+ "default-mobile.handlebars->9->15",
4270
+ "default.handlebars->27->22"
4271
+ ]
4272
+ },
4273
+ {
4274
+ "cs": "Android x86",
4275
+ "de": "Android x86",
4276
+ "en": "Android x86",
4277
+ "es": "Android x86",
4278
+ "fi": "Android x86",
4279
+ "fr": "Android x86",
4280
+ "hi": "Android x86",
4281
+ "ja": "Android x86",
4282
+ "ko": "Android x86",
4283
+ "nl": "Android x86",
4284
+ "pt": "Android x86",
4285
+ "ru": "Android x86",
4286
+ "tr": "Android x86",
4287
+ "zh-chs": "安卓x86",
4288
+ "zh-cht": "安卓x86",
4289
+ "xloc": [
4290
+ "default-mobile.handlebars->9->18",
4291
+ "default.handlebars->27->25"
4292
+ ]
4293
+ },
4294
+ {
4295
+ "cs": "Antivir",
4296
+ "de": "Antivirus",
4297
+ "en": "Antivirus",
4298
+ "es": "Antivirus",
4299
+ "fr": "Antivirus",
4300
+ "hi": "एंटीवायरस",
4301
+ "ja": "アンチウイルス",
4302
+ "ko": "백신소프트웨어",
4303
+ "nl": "Anti-virus",
4304
+ "pt": "Antivírus",
4305
+ "ru": "Антивирус",
4306
+ "tr": "Antivirüs",
4307
+ "zh-chs": "杀毒软件",
4308
+ "zh-cht": "防毒軟體",
4309
+ "xloc": [
4310
+ "default.handlebars->27->589"
4311
+ ]
4312
+ },
4313
+ {
4314
+ "cs": "Všechny podporované",
4315
+ "de": "Alle unterstützten",
4316
+ "en": "Any supported",
4317
+ "es": "Cualquiera soportado.",
4318
+ "fi": "Kaikki tuetut",
4319
+ "fr": "Tout pris en charge",
4320
+ "hi": "कोई समर्थित",
4321
+ "ja": "サポートされているもの",
4322
+ "ko": "모두 지원됨",
4323
+ "nl": "Alle ondersteunde",
4324
+ "pt": "Qualquer suportado",
4325
+ "ru": "Любые поддерживаемые",
4326
+ "tr": "Herhangi bir desteklenen",
4327
+ "zh-chs": "任何可支持的",
4328
+ "zh-cht": "任何可支持的",
4329
+ "xloc": [
4330
+ "default.handlebars->27->338"
4331
+ ]
4332
+ },
4333
+ {
4334
+ "cs": "Apple macOS",
4335
+ "de": "Apple macOS",
4336
+ "en": "Apple macOS",
4337
+ "es": "Apple macOS",
4338
+ "fr": "Apple macOS",
4339
+ "hi": "Apple macOS",
4340
+ "ja": "Apple macOS",
4341
+ "ko": "Apple macOS",
4342
+ "nl": "Apple macOS",
4343
+ "pt": "Apple macOS",
4344
+ "ru": "Apple macOS",
4345
+ "tr": "Apple macOS",
4346
+ "zh-chs": "苹果macOS",
4347
+ "zh-cht": "蘋果macOS",
4348
+ "xloc": [
4349
+ "default.handlebars->27->373"
4350
+ ]
4351
+ },
4352
+ {
4353
+ "cs": "pouze Apple macOS",
4354
+ "de": "Nur Apple macOS",
4355
+ "en": "Apple macOS only",
4356
+ "es": "Solo Apple macOS",
4357
+ "fr": "Apple macOS seulement",
4358
+ "hi": "केवल Apple macOS",
4359
+ "ja": "Apple macOSのみ",
4360
+ "ko": "오직 Apple macOS만",
4361
+ "nl": "Alleen Apple macOS",
4362
+ "pt": "Apenas Apple macOS ",
4363
+ "ru": "Только Apple macOS",
4364
+ "tr": "Yalnızca Apple macOS",
4365
+ "zh-chs": "仅限Apple macOS",
4366
+ "zh-cht": "僅限Apple macOS",
4367
+ "xloc": [
4368
+ "default.handlebars->27->340"
4369
+ ]
4370
+ },
4371
+ {
4372
+ "cs": "Apple™ MacOS",
4373
+ "de": "Apple™ MacOS",
4374
+ "en": "Apple™ MacOS",
4375
+ "es": "Apple™ MacOS",
4376
+ "fi": "Apple™ MacOS",
4377
+ "fr": "Apple™ MacOS",
4378
+ "hi": "Apple ™ MacOS",
4379
+ "ja": "Apple™MacOS",
4380
+ "ko": "Apple™ MacOS",
4381
+ "nl": "Apple™ MacOS",
4382
+ "pt": "Apple™ MacOS",
4383
+ "ru": "Apple™ MacOS",
4384
+ "tr": "Apple ™ MacOS",
4385
+ "zh-chs": "苹果™MacOS",
4386
+ "zh-cht": "蘋果™MacOS",
4387
+ "xloc": [
4388
+ "agentinvite.handlebars->container->column_l->5->macostab->1"
4389
+ ]
4390
+ },
4391
+ {
4392
+ "cs": "arabština (Alžír)",
4393
+ "de": "Arabisch (Algerien)",
4394
+ "en": "Arabic (Algeria)",
4395
+ "es": "Arabe (Algeria)",
4396
+ "fi": "Arabia (Algeria)",
4397
+ "fr": "Arabe (Algérie)",
4398
+ "hi": "अरबी (अल्जीरिया)",
4399
+ "ja": "アラビア語(アルジェリア)",
4400
+ "ko": "아랍어 (알제리)",
4401
+ "nl": "Arabisch (Algerije)",
4402
+ "pt": "Árabe (Argélia)",
4403
+ "ru": "Арабский (Алжир)",
4404
+ "tr": "Arapça (Cezayir)",
4405
+ "zh-chs": "阿拉伯文(阿尔及利亚)",
4406
+ "zh-cht": "阿拉伯文(阿爾及利亞)",
4407
+ "xloc": [
4408
+ "default.handlebars->27->1020"
4409
+ ]
4410
+ },
4411
+ {
4412
+ "cs": "arabština (Bahrajn)",
4413
+ "de": "Arabisch (Bahrain)",
4414
+ "en": "Arabic (Bahrain)",
4415
+ "es": "Arabe (Bahrain)",
4416
+ "fi": "Arabia (Bahrain)",
4417
+ "fr": "Arabe (Bahreïn)",
4418
+ "hi": "अरबी (बहरीन)",
4419
+ "ja": "アラビア語(バーレーン)",
4420
+ "ko": "아랍어 (바레인)",
4421
+ "nl": "Arabisch (Bahrein)",
4422
+ "pt": "Árabe (Bahrain)",
4423
+ "ru": "Арабский (Бахрейн)",
4424
+ "tr": "Arapça (Bahreyn)",
4425
+ "zh-chs": "阿拉伯文(巴林)",
4426
+ "zh-cht": "阿拉伯文(巴林)",
4427
+ "xloc": [
4428
+ "default.handlebars->27->1021"
4429
+ ]
4430
+ },
4431
+ {
4432
+ "cs": "arabština (Egypt)",
4433
+ "de": "Arabisch (Ägypten)",
4434
+ "en": "Arabic (Egypt)",
4435
+ "es": "Arabe (Egipto)",
4436
+ "fi": "Arabia (Egypti)",
4437
+ "fr": "Arabe (Egypte)",
4438
+ "hi": "अरबी (मिस्र)",
4439
+ "ja": "アラビア語(エジプト)",
4440
+ "ko": "아랍어 (이집트)",
4441
+ "nl": "Arabisch (Egypte)",
4442
+ "pt": "Árabe (Egito)",
4443
+ "ru": "Арабский (Египет)",
4444
+ "tr": "Arapça (Mısır)",
4445
+ "zh-chs": "阿拉伯文(埃及)",
4446
+ "zh-cht": "阿拉伯文(埃及)",
4447
+ "xloc": [
4448
+ "default.handlebars->27->1022"
4449
+ ]
4450
+ },
4451
+ {
4452
+ "cs": "arabština (Irák)",
4453
+ "de": "Arabisch (Irak)",
4454
+ "en": "Arabic (Iraq)",
4455
+ "es": "Arabe (Irak)",
4456
+ "fi": "Arabia (Irak)",
4457
+ "fr": "Arabe (Iraq)",
4458
+ "hi": "अरबी (इराक)",
4459
+ "ja": "アラビア語(イラク)",
4460
+ "ko": "아랍어 (이라크)",
4461
+ "nl": "Arabisch (Irak)",
4462
+ "pt": "Árabe (Iraque)",
4463
+ "ru": "Арабский (Ирак)",
4464
+ "tr": "Arapça (Irak)",
4465
+ "zh-chs": "阿拉伯文(伊拉克)",
4466
+ "zh-cht": "阿拉伯文(伊拉克)",
4467
+ "xloc": [
4468
+ "default.handlebars->27->1023"
4469
+ ]
4470
+ },
4471
+ {
4472
+ "cs": "arabština (Jordánsko)",
4473
+ "de": "Arabisch (Jordanien)",
4474
+ "en": "Arabic (Jordan)",
4475
+ "es": "Árabe (Jordania)",
4476
+ "fi": "Arabia (Jordania)",
4477
+ "fr": "Arabe (Jordanie)",
4478
+ "hi": "अरबी (जॉर्डन)",
4479
+ "ja": "アラビア語(ヨルダン)",
4480
+ "ko": "아랍어 (요르단)",
4481
+ "nl": "Arabisch (Jordanië)",
4482
+ "pt": "Árabe (Jordânia)",
4483
+ "ru": "Арабский (Иордания)",
4484
+ "tr": "Arapça (Ürdün)",
4485
+ "zh-chs": "阿拉伯文(约旦)",
4486
+ "zh-cht": "阿拉伯文(約旦)",
4487
+ "xloc": [
4488
+ "default.handlebars->27->1024"
4489
+ ]
4490
+ },
4491
+ {
4492
+ "cs": "arabština (Kuvajt)",
4493
+ "de": "Arabisch (Kuwait)",
4494
+ "en": "Arabic (Kuwait)",
4495
+ "es": "Árabe (Kuwait)",
4496
+ "fi": "Arabia (Kuwait)",
4497
+ "fr": "Arabe (Koweït)",
4498
+ "hi": "अरबी (कुवैत)",
4499
+ "ja": "アラビア語(クウェート)",
4500
+ "ko": "아랍어 (쿠웨이트)",
4501
+ "nl": "Arabisch (Koeweit)",
4502
+ "pt": "Árabe (Kuwait)",
4503
+ "ru": "Арабский (Кувейт)",
4504
+ "tr": "Arapça (Kuveyt)",
4505
+ "zh-chs": "阿拉伯文(科威特)",
4506
+ "zh-cht": "阿拉伯文(科威特)",
4507
+ "xloc": [
4508
+ "default.handlebars->27->1025"
4509
+ ]
4510
+ },
4511
+ {
4512
+ "cs": "arabština (Libanon)",
4513
+ "de": "Arabisch (Libanon)",
4514
+ "en": "Arabic (Lebanon)",
4515
+ "es": "Árabe (Líbano)",
4516
+ "fi": "Arabia (Libanon)",
4517
+ "fr": "Arabe (Liban)",
4518
+ "hi": "अरबी (लेबनान)",
4519
+ "ja": "アラビア語(レバノン)",
4520
+ "ko": "아랍어 (레바논)",
4521
+ "nl": "Arabisch (Libanon)",
4522
+ "pt": "Árabe (Líbano)",
4523
+ "ru": "Арабский (Ливан)",
4524
+ "tr": "Arapça (Lübnan)",
4525
+ "zh-chs": "阿拉伯文(黎巴嫩)",
4526
+ "zh-cht": "阿拉伯文(黎巴嫩)",
4527
+ "xloc": [
4528
+ "default.handlebars->27->1026"
4529
+ ]
4530
+ },
4531
+ {
4532
+ "cs": "arabština (Libye)",
4533
+ "de": "Arabisch (Libyen)",
4534
+ "en": "Arabic (Libya)",
4535
+ "es": "Árabe (Libia)",
4536
+ "fi": "Arabia (Libya)",
4537
+ "fr": "Arabe (Lybie)",
4538
+ "hi": "अरबी (लीबिया)",
4539
+ "ja": "アラビア語(リビア)",
4540
+ "ko": "아랍어 (리비아)",
4541
+ "nl": "Arabisch (Libië)",
4542
+ "pt": "Árabe (Líbia)",
4543
+ "ru": "Арабский (Ливия)",
4544
+ "tr": "Arapça (Libya)",
4545
+ "zh-chs": "阿拉伯文(利比亚)",
4546
+ "zh-cht": "阿拉伯文(利比亞)",
4547
+ "xloc": [
4548
+ "default.handlebars->27->1027"
4549
+ ]
4550
+ },
4551
+ {
4552
+ "cs": "arabština (Maroko)",
4553
+ "de": "Arabisch (Marokko)",
4554
+ "en": "Arabic (Morocco)",
4555
+ "es": "Árabe (Marruecos)",
4556
+ "fi": "Arabia (Marokko)",
4557
+ "fr": "Arabe (Maroc)",
4558
+ "hi": "अरबी (मोरक्को)",
4559
+ "ja": "アラビア語(モロッコ)",
4560
+ "ko": "아랍어 (모로코)",
4561
+ "nl": "Arabisch (Marokko)",
4562
+ "pt": "Árabe (Marrocos)",
4563
+ "ru": "Арабский (Марокко)",
4564
+ "tr": "Arapça (Fas)",
4565
+ "zh-chs": "阿拉伯文(摩洛哥)",
4566
+ "zh-cht": "阿拉伯文(摩洛哥)",
4567
+ "xloc": [
4568
+ "default.handlebars->27->1028"
4569
+ ]
4570
+ },
4571
+ {
4572
+ "cs": "arabština (Omán)",
4573
+ "de": "Arabisch (Oman)",
4574
+ "en": "Arabic (Oman)",
4575
+ "es": "Árabe (Omán)",
4576
+ "fi": "Arabia (Oman)",
4577
+ "fr": "Arabe (Oman)",
4578
+ "hi": "अरबी (ओमान)",
4579
+ "ja": "アラビア語(オマーン)",
4580
+ "ko": "아랍어 (오만)",
4581
+ "nl": "Arabisch (Oman)",
4582
+ "pt": "Árabe (Omã)",
4583
+ "ru": "Арабский (Оман)",
4584
+ "tr": "Arapça (Umman)",
4585
+ "zh-chs": "阿拉伯文(阿曼)",
4586
+ "zh-cht": "阿拉伯文(阿曼)",
4587
+ "xloc": [
4588
+ "default.handlebars->27->1029"
4589
+ ]
4590
+ },
4591
+ {
4592
+ "cs": "arabština (Katar)",
4593
+ "de": "Arabisch (Katar)",
4594
+ "en": "Arabic (Qatar)",
4595
+ "es": "Árabe (Qatar)",
4596
+ "fi": "Arabia (Qatar)",
4597
+ "fr": "Arabe (Qatar)",
4598
+ "hi": "अरबी (कतर)",
4599
+ "ja": "アラビア語(カタール)",
4600
+ "ko": "아랍어 (카타르)",
4601
+ "nl": "Arabisch (Qatar)",
4602
+ "pt": "Árabe (Catar)",
4603
+ "ru": "Арабский (Катар)",
4604
+ "tr": "Arapça (Katar)",
4605
+ "zh-chs": "阿拉伯文(卡塔尔)",
4606
+ "zh-cht": "阿拉伯文(卡塔爾)",
4607
+ "xloc": [
4608
+ "default.handlebars->27->1030"
4609
+ ]
4610
+ },
4611
+ {
4612
+ "cs": "arabština (Saudská Arábie)",
4613
+ "de": "Arabisch (Saudi-Arabien)",
4614
+ "en": "Arabic (Saudi Arabia)",
4615
+ "es": "Árabe (Arabia Saudita)",
4616
+ "fi": "Arabia (Saudi-Arabia)",
4617
+ "fr": "Arabe (Arabie Saoudite)",
4618
+ "hi": "अरबी (सऊदी अरब)",
4619
+ "ja": "アラビア語(サウジアラビア)",
4620
+ "ko": "아랍어 (사우디 아라비아)",
4621
+ "nl": "Arabisch (Saoedi-Arabië)",
4622
+ "pt": "Árabe (Arábia Saudita)",
4623
+ "ru": "Арабский (Саудовская Аравия)",
4624
+ "tr": "Arapça (Suudi Arabistan)",
4625
+ "zh-chs": "阿拉伯文(沙特阿拉伯)",
4626
+ "zh-cht": "阿拉伯文(沙特阿拉伯)",
4627
+ "xloc": [
4628
+ "default.handlebars->27->1031"
4629
+ ]
4630
+ },
4631
+ {
4632
+ "cs": "arabština (standardní)",
4633
+ "de": "Arabisch (Standard)",
4634
+ "en": "Arabic (Standard)",
4635
+ "es": "Árabe (estándar)",
4636
+ "fi": "Arabia (vakio)",
4637
+ "fr": "Arabe (Standard)",
4638
+ "hi": "अरबी (मानक)",
4639
+ "ja": "アラビア語(標準)",
4640
+ "ko": "아랍어 (표준)",
4641
+ "nl": "Arabisch (Standaard)",
4642
+ "pt": "Árabe (padrão)",
4643
+ "ru": "Арабский (стандартный)",
4644
+ "tr": "Arapça (Standart)",
4645
+ "zh-chs": "阿拉伯文(标准)",
4646
+ "zh-cht": "阿拉伯文(標準)",
4647
+ "xloc": [
4648
+ "default.handlebars->27->1019"
4649
+ ]
4650
+ },
4651
+ {
4652
+ "cs": "arabština (Sýrie)",
4653
+ "de": "Arabisch (Syrien)",
4654
+ "en": "Arabic (Syria)",
4655
+ "es": "Árabe (Siria)",
4656
+ "fi": "Arabia (Syyria)",
4657
+ "fr": "Arabe (Syrie)",
4658
+ "hi": "अरबी (सीरिया)",
4659
+ "ja": "アラビア語(シリア)",
4660
+ "ko": "아랍어 (시리아)",
4661
+ "nl": "Arabisch (Syrië)",
4662
+ "pt": "Árabe (Síria)",
4663
+ "ru": "Арабский (Сирия)",
4664
+ "tr": "Arapça (Suriye)",
4665
+ "zh-chs": "阿拉伯文(叙利亚)",
4666
+ "zh-cht": "阿拉伯文(敘利亞)",
4667
+ "xloc": [
4668
+ "default.handlebars->27->1032"
4669
+ ]
4670
+ },
4671
+ {
4672
+ "cs": "arabština (Tunisko)",
4673
+ "de": "Arabisch (Tunesien)",
4674
+ "en": "Arabic (Tunisia)",
4675
+ "es": "Árabe (Túnez)",
4676
+ "fi": "Arabia (Tunisia)",
4677
+ "fr": "Arabe (Tunisie)",
4678
+ "hi": "अरबी (ट्यूनीशिया)",
4679
+ "ja": "アラビア語(チュニジア)",
4680
+ "ko": "아랍어 (튀니지)",
4681
+ "nl": "Arabisch (Tunesië)",
4682
+ "pt": "Árabe (Tunísia)",
4683
+ "ru": "Арабский (Тунис)",
4684
+ "tr": "Arapça (Tunus)",
4685
+ "zh-chs": "阿拉伯文(突尼斯)",
4686
+ "zh-cht": "阿拉伯文(突尼斯)",
4687
+ "xloc": [
4688
+ "default.handlebars->27->1033"
4689
+ ]
4690
+ },
4691
+ {
4692
+ "cs": "arabština (Spojené Emiráty)",
4693
+ "de": "Arabisch (V.A.E.)",
4694
+ "en": "Arabic (U.A.E.)",
4695
+ "es": "Árabe (U.A.E.)",
4696
+ "fi": "Arabia (U..E.)",
4697
+ "fr": "Arabe (U.A.E.)",
4698
+ "hi": "अरबी (U.A.E.)",
4699
+ "ja": "アラビア語(U.A.E.)",
4700
+ "ko": "아랍어 (미국)",
4701
+ "nl": "Arabisch (Verenigde Arabische Emiraten.)",
4702
+ "pt": "Árabe (U.A.E)",
4703
+ "ru": "Арабский (О.А.Э.)",
4704
+ "tr": "Arapça (BAE)",
4705
+ "zh-chs": "阿拉伯文(阿联酋)",
4706
+ "zh-cht": "阿拉伯文(阿聯酋)",
4707
+ "xloc": [
4708
+ "default.handlebars->27->1034"
4709
+ ]
4710
+ },
4711
+ {
4712
+ "cs": "arabština (Jemen)",
4713
+ "de": "Arabisch (Jemen)",
4714
+ "en": "Arabic (Yemen)",
4715
+ "es": "Árabe (Yemen)",
4716
+ "fi": "Arabia (Jemen)",
4717
+ "fr": "Arabe (Yemen)",
4718
+ "hi": "अरबी (यमन)",
4719
+ "ja": "アラビア語(イエメン)",
4720
+ "ko": "아랍어 (예멘)",
4721
+ "nl": "Arabisch (Jemen)",
4722
+ "pt": "Árabe (Iêmen)",
4723
+ "ru": "Арабский (Йемен)",
4724
+ "tr": "Arapça (Yemen)",
4725
+ "zh-chs": "阿拉伯文(也门)",
4726
+ "zh-cht": "阿拉伯文(也門)",
4727
+ "xloc": [
4728
+ "default.handlebars->27->1035"
4729
+ ]
4730
+ },
4731
+ {
4732
+ "cs": "aragonština",
4733
+ "de": "Aragonesisch",
4734
+ "en": "Aragonese",
4735
+ "es": "Aragonés",
4736
+ "fi": "Aragonian",
4737
+ "fr": "Aragonais",
4738
+ "hi": "Aragonese",
4739
+ "ja": "アラゴン語",
4740
+ "ko": "아라곤어",
4741
+ "nl": "Aragonese",
4742
+ "pt": "Aragonês",
4743
+ "ru": "Арагонский",
4744
+ "tr": "Aragonca",
4745
+ "zh-chs": "阿拉贡文",
4746
+ "zh-cht": "阿拉貢文",
4747
+ "xloc": [
4748
+ "default.handlebars->27->1036"
4749
+ ]
4750
+ },
4751
+ {
4752
+ "cs": "Architektura",
4753
+ "de": "Architektur",
4754
+ "en": "Architecture",
4755
+ "es": "Architectura",
4756
+ "fi": "Arkkitehtuuri",
4757
+ "fr": "Architecture",
4758
+ "hi": "आर्किटेक्चर",
4759
+ "ja": "建築",
4760
+ "ko": "구조",
4761
+ "nl": "Architectuur",
4762
+ "pt": "Arquitetura",
4763
+ "ru": "Архитектура",
4764
+ "tr": "Mimari",
4765
+ "zh-chs": "架构",
4766
+ "zh-cht": "結構",
4767
+ "xloc": [
4768
+ "default-mobile.handlebars->9->330",
4769
+ "default.handlebars->27->906"
4770
+ ]
4771
+ },
4772
+ {
4773
+ "cs": "Opravdu připojit k {0} zařízení?",
4774
+ "de": "Möchten Sie wirklich eine Verbindung zu {0} Geräten herstellen?",
4775
+ "en": "Are you sure you want to connect to {0} devices?",
4776
+ "es": "¿Está seguro de que desea conectarse a {0} dispositivos?",
4777
+ "fi": "Haluatko varmasti muodostaa yhteyden {0} laitteeseen?",
4778
+ "fr": "Êtes vous sur de vouloir vous connecter à ces {0} appareils ?",
4779
+ "hi": "क्या आप वाकई {0} उपकरणों से कनेक्ट करना चाहते हैं?",
4780
+ "ja": "{0}台のデバイスに接続してもよろしいですか?",
4781
+ "ko": "{0} 장치에 연결하시겠습니까?",
4782
+ "nl": "Weet u zeker dat u verbinding wilt maken met {0} apparaten?",
4783
+ "pt": "Tem certeza de que deseja se conectar a {0} dispositivos?",
4784
+ "ru": "Вы действительно хотите подключиться к {0} устройствам?",
4785
+ "tr": "{0} cihaza bağlanmak istediğinizden emin misiniz?",
4786
+ "zh-chs": "您确定要连接到{0}设备吗?",
4787
+ "zh-cht": "你確定要連接到{0}裝置嗎?",
4788
+ "xloc": [
4789
+ "default.handlebars->27->264"
4790
+ ]
4791
+ },
4792
+ {
4793
+ "cs": "Opravdu smazat skupinu {0}? Smazáním skupiny se smažou také všechny informace o zařízeních v této skupině.",
4794
+ "de": "Möchten Sie die Gruppe {0} wirklich löschen? Das Löschen der Gerätegruppe wird auch alle Informationen über die Geräte innerhalb dieser Gruppe löschen.",
4795
+ "en": "Are you sure you want to delete group {0}? Deleting the device group will also delete all information about devices within this group.",
4796
+ "es": "¿Está seguro de que desea eliminar el grupo {0}? Al eliminar el grupo de dispositivos también se eliminará toda la información sobre los dispositivos dentro de este grupo.",
4797
+ "fi": "Haluatko varmasti poistaa ryhmän {0}? Laiteryhmän poistaminen poistaa myös kaikki tämän ryhmän laitteiden tiedot.",
4798
+ "fr": "Êtes-vous sûr de vouloir supprimer le groupe {0}? La suppression du groupe de périphériques supprimera également toutes les informations relatives aux périphériques de ce groupe.",
4799
+ "hi": "क्या आप वाकई {0} समूह को हटाना चाहते हैं? डिवाइस समूह को हटाने से इस समूह के भीतर डिवाइस के बारे में सभी जानकारी भी हट जाएगी।",
4800
+ "ja": "グループ{0}を削除してもよろしいですか?デバイスグループを削除すると、このグループ内のデバイスに関するすべての情報も削除されます。",
4801
+ "ko": "그룹 {0}을(를) 삭제 하시겠습니까? 장치 그룹을 삭제하면 이 그룹 내 장치에 대한 모든 정보도 함께 삭제됩니다.",
4802
+ "nl": "Weet je zeker dat je groep {0} wilt verwijderen? Als u de apparaatgroep verwijdert, wordt ook alle informatie over apparaten binnen deze groep verwijderd.",
4803
+ "pt": "Tem certeza de que deseja excluir o grupo {0}? A exclusão do grupo de dispositivos também excluirá todas as informações sobre os dispositivos desse grupo.",
4804
+ "ru": "Вы действительно хотите удалить группу \\\"{0}\\\"? Удаление группы приведет к удалению всей информации связанной с устройствами в этой группе.",
4805
+ "tr": "{0} grubunu silmek istediğinizden emin misiniz? Aygıt grubunun silinmesi, bu grup içindeki aygıtlar hakkındaki tüm bilgileri de silecektir.",
4806
+ "zh-chs": "你确定要删除组{0}吗?删除设备组还将删除该组中有关设备的所有信息。",
4807
+ "zh-cht": "你確定要刪除群{0}嗎?刪除裝置群還將刪除該群中有關裝置的所有訊息。",
4808
+ "xloc": [
4809
+ "default-mobile.handlebars->9->404",
4810
+ "default.handlebars->27->1375"
4811
+ ]
4812
+ },
4813
+ {
4814
+ "cs": "Opravdu smazat uzel {0}?",
4815
+ "de": "Möchten Sie den Knoten {0} wirklich löschen?",
4816
+ "en": "Are you sure you want to delete node {0}?",
4817
+ "es": "¿Está seguro de que desea eliminar el nodo {0}?",
4818
+ "fi": "Haluatko varmasti poistaa solmun {0}?",
4819
+ "fr": "Êtes-vous sûr de vouloir supprimer le noeud {0}?",
4820
+ "hi": "क्या आप वाकई {0} नोड को हटाना चाहते हैं?",
4821
+ "ja": "ノード{0}を削除してもよろしいですか?",
4822
+ "ko": "{0} 기기를 삭제하시겠습니까?",
4823
+ "nl": "Weet u zeker dat u apparaat {0} wilt verwijderen?",
4824
+ "pt": "Tem certeza de que deseja excluir o nó {0}?",
4825
+ "ru": "Вы действительно хотите удалить устройство \\\"{0}\\\"?",
4826
+ "tr": "{0} düğümünü silmek istediğinizden emin misiniz?",
4827
+ "zh-chs": "您确定要删除节点{0}吗?",
4828
+ "zh-cht": "你確定要刪除節點{0}嗎?",
4829
+ "xloc": [
4830
+ "default.handlebars->27->761"
4831
+ ]
4832
+ },
4833
+ {
4834
+ "cs": "Opravdu odinstalovat vybraného agenta?",
4835
+ "de": "Möchten Sie den ausgewählten Agenten wirklich deinstallieren?",
4836
+ "en": "Are you sure you want to uninstall selected agent?",
4837
+ "es": "¿Está seguro de que desea desinstalar el agente seleccionado?",
4838
+ "fi": "Haluatko varmasti poistaa valitun agentin?",
4839
+ "fr": "Êtes vous sur de vouloir désinstaller l'agent sélectionné ?",
4840
+ "hi": "क्या आप वाकई चयनित एजेंट को अनइंस्टॉल करना चाहते हैं?",
4841
+ "ja": "選択したエージェントをアンインストールしてもよろしいですか?",
4842
+ "ko": "선택한 에이전트를 제거하시겠습니까?",
4843
+ "nl": "Weet u zeker dat u de geselecteerde agent wilt verwijderen?",
4844
+ "pt": "Tem certeza de que deseja desinstalar o agente selecionado?",
4845
+ "ru": "Вы действительно хотите деинсталировать выбранного агента?",
4846
+ "tr": "Seçili aracıyı kaldırmak istediğinizden emin misiniz?",
4847
+ "zh-chs": "您确定要卸载所选代理吗?",
4848
+ "zh-cht": "你確定要卸載所選代理嗎?",
4849
+ "xloc": [
4850
+ "default.handlebars->27->750"
4851
+ ]
4852
+ },
4853
+ {
4854
+ "cs": "Opravdu odinstalovat označených {0} agentů?",
4855
+ "de": "Möchten Sie die ausgewählten {0} Agenten wirklich deinstallieren?",
4856
+ "en": "Are you sure you want to uninstall the selected {0} agents?",
4857
+ "es": "¿Está seguro de que desea desinstalar los {0} agentes seleccionados?",
4858
+ "fi": "Haluatko varmasti poistaa valitut {0} agenttia?",
4859
+ "fr": "Êtes vous sur de vouloir désinstaller ces {0} agents ?",
4860
+ "hi": "क्या आप वाकई चयनित {0} एजेंटों की स्थापना रद्द करना चाहते हैं?",
4861
+ "ja": "選択した{0}エージェントをアンインストールしてもよろしいですか?",
4862
+ "ko": "선택한 {0} 에이전트를 제거하시겠습니까?",
4863
+ "nl": "Weet u zeker dat u de geselecteerde {0} agenten wilt verwijderen?",
4864
+ "pt": "Tem certeza de que deseja desinstalar os {0} agentes selecionados?",
4865
+ "ru": "Вы действительно хотите деинсталлировать выбранных {0} агентов?",
4866
+ "tr": "Seçili {0} aracılarını kaldırmak istediğinizden emin misiniz?",
4867
+ "zh-chs": "您确定要卸载所选的{0}代理吗?",
4868
+ "zh-cht": "你確定要卸載所選的{0}代理嗎?",
4869
+ "xloc": [
4870
+ "default.handlebars->27->749"
4871
+ ]
4872
+ },
4873
+ {
4874
+ "cs": "Opravdu chcete {0} zásuvný modul: {1}",
4875
+ "de": "Möchten Sie wirklich das Plugin {0}: {1}",
4876
+ "en": "Are you sure you want to {0} the plugin: {1}",
4877
+ "es": "Está seguro de que desea {0} el plugin: {1}?",
4878
+ "fi": "Haluatko varmasti {0} laajennuksen: {1}",
4879
+ "fr": "Êtes vous sur de vouloir {0} le module: {1}",
4880
+ "hi": "क्या आप वाकई {0} प्लगइन चाहते हैं: {1}",
4881
+ "ja": "プラグインを{0}してもよろしいですか:{1}",
4882
+ "ko": "{1}을 {0}에 플러그인 하시겠습니까?(이게 뭔말이야)",
4883
+ "nl": "Weet u zeker dat u de plug-in {0} wilt gebruiken: {1}",
4884
+ "pt": "Tem certeza de que deseja {0} o plug-in: {1}",
4885
+ "ru": "Вы уверенны, что {0} плагин: {1}",
4886
+ "tr": "Eklentiyi {0} kullanmak istediğinizden emin misiniz: {1}",
4887
+ "zh-chs": "您确定要{0}插件吗:{1}",
4888
+ "zh-cht": "你確定要{0}外掛嗎:{1}",
4889
+ "xloc": [
4890
+ "default.handlebars->27->1981"
4891
+ ]
4892
+ },
4893
+ {
4894
+ "cs": "arménština",
4895
+ "de": "Armenisch",
4896
+ "en": "Armenian",
4897
+ "es": "Armenio",
4898
+ "fi": "Armenian",
4899
+ "fr": "Arménien",
4900
+ "hi": "अर्मेनियाई",
4901
+ "ja": "アルメニア人",
4902
+ "ko": "아르메니아어",
4903
+ "nl": "Armeens",
4904
+ "pt": "Armênio",
4905
+ "ru": "Армянский",
4906
+ "tr": "Ermeni",
4907
+ "zh-chs": "亚美尼亚文",
4908
+ "zh-cht": "亞美尼亞文",
4909
+ "xloc": [
4910
+ "default.handlebars->27->1037"
4911
+ ]
4912
+ },
4913
+ {
4914
+ "de": "Einwilligung anfordern",
4915
+ "en": "Ask Consent",
4916
+ "es": "Pedir consentimiento",
4917
+ "fi": "Pyydä Hyväksyntää",
4918
+ "fr": "Demander le consentement",
4919
+ "hi": "सहमति से पूछें",
4920
+ "ja": "同意を求める",
4921
+ "ko": "연결 요청",
4922
+ "nl": "Vraag toestemming",
4923
+ "tr": "Onay isteyin",
4924
+ "zh-chs": "询问同意",
4925
+ "zh-cht": "詢問同意",
4926
+ "xloc": [
4927
+ "default.handlebars->deskConnectContextMenu->3"
4928
+ ]
4929
+ },
4930
+ {
4931
+ "de": "Einwilligung anfordern + Balken",
4932
+ "en": "Ask Consent + Bar",
4933
+ "es": "Pedir consentimiento + barra",
4934
+ "fi": "Pyydä Hyväksyntää + Ilmoitus",
4935
+ "fr": "Demander le consentement + le bar",
4936
+ "hi": "सहमति + बार पूछें",
4937
+ "ja": "同意を求める+バー",
4938
+ "ko": "연결 요청 + Bar",
4939
+ "nl": "Vraag toestemming + informatiebalk",
4940
+ "tr": "Onay Sor + Bar",
4941
+ "zh-chs": "询问同意+工具栏",
4942
+ "zh-cht": "詢問同意+工具欄",
4943
+ "xloc": [
4944
+ "default.handlebars->deskConnectContextMenu->1"
4945
+ ]
4946
+ },
4947
+ {
4948
+ "cs": "asámština",
4949
+ "de": "Assamesisch",
4950
+ "en": "Assamese",
4951
+ "es": "Asamés",
4952
+ "fi": "Assami",
4953
+ "fr": "Assamais",
4954
+ "hi": "असमिया",
4955
+ "ja": "アッサム語",
4956
+ "ko": "아쌈어",
4957
+ "nl": "Assamees",
4958
+ "pt": "Assamese",
4959
+ "ru": "Ассамский",
4960
+ "tr": "Assamca",
4961
+ "zh-chs": "阿萨姆文",
4962
+ "zh-cht": "阿薩姆文",
4963
+ "xloc": [
4964
+ "default.handlebars->27->1038"
4965
+ ]
4966
+ },
4967
+ {
4968
+ "cs": "asturština",
4969
+ "de": "Asturisch",
4970
+ "en": "Asturian",
4971
+ "es": "Asturiano",
4972
+ "fi": "Asturian",
4973
+ "fr": "Asturien",
4974
+ "hi": "अस्तुरियन",
4975
+ "ja": "アストゥリアス",
4976
+ "ko": "아스투리아어",
4977
+ "nl": "Asturische",
4978
+ "pt": "Asturiano",
4979
+ "ru": "Астурии",
4980
+ "tr": "Asturca",
4981
+ "zh-chs": "阿斯图里亚斯文",
4982
+ "zh-cht": "阿斯圖里亞斯文",
4983
+ "xloc": [
4984
+ "default.handlebars->27->1039"
4985
+ ]
4986
+ },
4987
+ {
4988
+ "cs": "Aplikace pro ověřování se",
4989
+ "de": "Authentifizierungsanwendung",
4990
+ "en": "Authentication App",
4991
+ "es": "Aplicación de autenticación",
4992
+ "fi": "Todennussovellus",
4993
+ "fr": "Application d'authentification",
4994
+ "hi": "प्रमाणीकरण ऐप",
4995
+ "ja": "認証アプリ",
4996
+ "ko": "2단계 인증 앱",
4997
+ "nl": "Verificatie-app",
4998
+ "pt": "Aplicativo de autenticação",
4999
+ "ru": "Приложение аутентификации",
This file is too large to show in full.
translate/translate-node12.bat
new
+4
@@ -0,0 +1,4 @@
1
+@ECHO OFF
2
+%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js minifyall
3
+%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js translateall
4
+%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js extractall
\ No newline at end of file
translate/translate.bat
+3
-3
@@ -1,4 +1,4 @@
1
@ECHO OFF
2
-%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js minifyall
3
-%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js translateall
4
-%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js extractall
\ No newline at end of file
2
+node translate.js minifyall
3
+node translate.js translateall
4
+node translate.js extractall
\ No newline at end of file
translate/translate.json
+793
-762
@@ -425,7 +425,7 @@
425
"cs": "* Pro BSD, nejprve spusťte „pkg install wget sudo bash“.",
426
"de": "* Unter BSD, führe zunächst \\\"pkg install wget sudo bash\\\" aus.",
427
"en": "* For BSD, run \\\"pkg install wget sudo bash\\\" first.",
428
- "es": "* Para BSD, ejecute \\\"pkg install wget sudo bash\\\".",
428
+ "es": "* Para BSD, ejecute primero \\\"pkg install wget sudo bash\\\".",
429
"fi": "* BSDtä käyttäessa suorita ensin \\\"pkg install wget sudo bash\\\"",
430
"fr": "* Pour BSD, exécuter d'abord la commande \\\"pkg install wget sudo bash\\\".",
431
"hi": "* बीएसडी के लिए, पहले \\\"pkg install wget sudo bash\\\" को रन करें।",
@@ -445,7 +445,7 @@
445
"cs": "* Pro přiřazení náhodného hesla každému ze zařízení, ponechte nevyplněné.",
446
"de": "* Frei lassen, um jedem Gerät ein zufälliges Passwort zuzuweisen.",
447
"en": "* Leave blank to assign a random password to each device.",
448
- "es": "* Deje en blanco para asignar una contraseña random a cada dispositivo.",
448
+ "es": "* Deje en blanco para asignar una contraseña aleatoria a cada dispositivo.",
449
"fi": "* Jätä tyhjäksi antaaksesi satunnaisen salasanan jokaiselle laitteelle.",
450
"fr": "* Laisser vide pour créer un mot de passe aléatoire pour chaque appareil",
451
"hi": "* प्रत्येक डिवाइस के लिए एक यादृच्छिक पासवर्ड असाइन करने के लिए खाली छोड़ दें।",
@@ -503,7 +503,7 @@
503
"cs": ", Pouze Intel® AMT",
504
"de": ", nur Intel® AMT",
505
"en": ", Intel® AMT only",
506
- "es": ", Intel® solo AMT.",
506
+ "es": ", solo Intel® AMT",
507
"fi": ", vain Intel® AMT",
508
"fr": ", Intel® AMT uniquement",
509
"hi": ", Intel® AMT केवल",
@@ -524,7 +524,7 @@
524
"cs": ", MQTT je online",
525
"de": ", MQTT ist verbunden",
526
"en": ", MQTT is online",
527
- "es": ", MQQT esta en linea.",
527
+ "es": ", MQQT esta en línea",
528
"fi": ", MQTT on online-tilassa",
529
"fr": ", MQTT est connecté",
530
"hi": ", MQTT ऑनलाइन है",
@@ -621,7 +621,7 @@
621
"cs": ", klikněte na něj pravým tlačítkem nebo stiskněte klávesu Ctrl a klikněte na něj levým tlačítkem. Pak vyberte „Otevřít“ a postupujte podle pokynů.",
622
"de": ", rechtsklicken oder \"Ctrl\" halten und Datei anklicken. Anschließend \"Öffnen\" wählen und den Anweisungen folgen.",
623
"en": ", right click on it or press \"control\" and click on the file. Then select \"Open\" and follow the instructions.",
624
- "es": ", haga click derecho o presione \"Ctrl\" y de click en el archivo. Despues seleecione \"Abrir\" y siga las instrucciones.",
624
+ "es": ", haga click derecho o presione \"Ctrl\" y dé click en el archivo. Después seleccione \"Abrir\" y siga las instrucciones.",
625
"fi": ", napsauta sitä hiiren kakkospainikkeella tai paina \"control\" ja napsauta tiedostoa. Valitse sitten \"Avaa\" ja seuraa ohjeita.",
626
"fr": ", faites un clic droit dessus ou appuyez sur \"contrôle\" et cliquez sur le fichier. Sélectionnez ensuite \"Ouvrir\" et suivez les instructions.",
627
"hi": ", उस पर क्लिक करें या \"नियंत्रण\" दबाएं और फ़ाइल पर क्लिक करें। फिर \"ओपन\" चुनें और निर्देशों का पालन करें।",
@@ -641,7 +641,7 @@
641
"cs": ", spusťte ho a zvolte „Nainstalovat“ nebo „Připojit“.",
642
"de": ", ausführen und \"Installieren\" oder \"Verbinden\" wählen.",
643
"en": ", run it and press \"Install\" or \"Connect\".",
644
- "es": "ejecútelo y presione \"Instalar\" o \"Conectar\".",
644
+ "es": ", ejecútelo y presione \"Instalar\" o \"Conectar\".",
645
"fi": ", suorita se ja paina \"Asenna\" tai \"Yhdistä\".",
646
"fr": ", exécutez le puis cliquez sur \"Install\" ou \"Connect\".",
647
"hi": ", इसे चलाएं और \"इंस्टॉल करें\" या \"कनेक्ट\" दबाएं।",
@@ -797,7 +797,7 @@
797
"cs": "1 aktivní relace",
798
"de": "1 aktive Sitzung",
799
"en": "1 active session",
800
- "es": "Una sesión activa",
800
+ "es": "1 sesión activa",
801
"fi": "1 aktiivinen istunto",
802
"fr": "1 session active",
803
"hi": "1 सक्रिय सत्र",
@@ -817,7 +817,7 @@
817
"cs": "1 bajt",
818
"de": "1 Byte",
819
"en": "1 byte",
820
- "es": "Un byte",
820
+ "es": "1 byte",
821
"fi": "1 tavu",
822
"fr": "1 octet",
823
"hi": "1 बाइट",
@@ -839,7 +839,7 @@
839
},
840
{
841
"en": "1 connection",
842
- "es": "1 conexión(es)",
842
+ "es": "1 conexión",
843
"fi": "1 yhteys",
844
"fr": "1 connexion",
845
"nl": "1 verbinding",
@@ -855,7 +855,7 @@
855
"cs": "1 den",
856
"de": "1 Tag",
857
"en": "1 day",
858
- "es": "Un dia",
858
+ "es": "1 dia",
859
"fi": "1 päivä",
860
"fr": "1 jour",
861
"hi": "एक दिन",
@@ -877,7 +877,7 @@
877
"cs": "1 skupina",
878
"de": "1 Gruppe",
879
"en": "1 group",
880
- "es": "Un grupo",
880
+ "es": "1 grupo",
881
"fi": "1 ryhmä",
882
"fr": "1 groupe",
883
"hi": "1 समूह",
@@ -897,7 +897,7 @@
897
"cs": "1 hodina",
898
"de": "1 Stunde",
899
"en": "1 hour",
900
- "es": "Una hora",
900
+ "es": "1 hora",
901
"fi": "1 tunti",
902
"fr": "1 heure",
903
"hi": "1 घंटा",
@@ -937,7 +937,7 @@
937
"cs": "1 minuta do odpojení",
938
"de": "1 Minute bis zur Trennung",
939
"en": "1 minute until disconnect",
940
- "es": "Un minuto hasta desconectar",
940
+ "es": "1 minuto hasta desconectar",
941
"fi": "1 minuutti yhteyden katkaisuun",
942
"fr": "Déconnexion dans 1 minute",
943
"hi": "डिस्कनेक्ट होने तक 1 मिनट",
@@ -957,7 +957,7 @@
957
"cs": "1 měsíc",
958
"de": "1 Monat",
959
"en": "1 month",
960
- "es": "Un mes",
960
+ "es": "1 mes",
961
"fi": "1 kuukausi",
962
"fr": "1 mois",
963
"hi": "1 महीना",
@@ -979,7 +979,7 @@
979
"cs": "1 další uživatel není zobrazen, pro vyhledání uživatelů použijte kolonku pro vyhledávání…",
980
"de": "1 weiterer Benutzer nicht angezeigt, Suchfeld verwenden um weitere Benutzer zu suchen...",
981
"en": "1 more user not shown, use search box to look for users...",
982
- "es": "No se muestra un usuario más, use el cuadro de búsqueda para buscar usuarios...",
982
+ "es": "1 usuario adicional no mostrado, use el cuadro de búsqueda para buscar usuarios...",
983
"fi": "1 muuta käyttäjää ei näy, käytä hakukenttää etsiäksesi käyttäjiä ...",
984
"fr": "au moins 1 utilisateur non affiché, utilisez la recherche pour les trouver...",
985
"hi": "1 और उपयोगकर्ता नहीं दिखाया गया है, उपयोगकर्ताओं को देखने के लिए खोज बॉक्स का उपयोग करें ...",
@@ -999,7 +999,7 @@
999
"cs": "1 uzel",
1000
"de": "1 Knoten",
1001
"en": "1 node",
1002
- "es": "Un nodo",
1002
+ "es": "1 nodo",
1003
"fi": "1 solmu",
1004
"fr": "1 appareil",
1005
"hi": "1 नोड",
@@ -1019,7 +1019,7 @@
1019
"cs": "1 sekunda do odpojení",
1020
"de": "1 Sekunde bis zur Trennung",
1021
"en": "1 second until disconnect",
1022
- "es": "Un segundo hasta desconectar",
1022
+ "es": "1 segundo hasta desconectar",
1023
"fi": "1 sekuntti yhteyden katkaisuun",
1024
"fr": "Déconnexion dans 1 seconde",
1025
"hi": "डिस्कनेक्ट होने तक 1 सेकंड",
@@ -1039,7 +1039,7 @@
1039
"cs": "1 relace",
1040
"de": "1 Sitzung",
1041
"en": "1 session",
1042
- "es": "Una sesión",
1042
+ "es": "1 sesión",
1043
"fi": "1 istunto",
1044
"fr": "1 session",
1045
"hi": "1 सत्र",
@@ -1071,7 +1071,7 @@
1071
"cs": "1 týden",
1072
"de": "1 Woche",
1073
"en": "1 week",
1074
- "es": "Una semana",
1074
+ "es": "1 semana",
1075
"fi": "1 viikko",
1076
"fr": "1 semaine",
1077
"hi": "1 सप्ताह",
@@ -1231,7 +1231,7 @@
1231
"cs": "10x rychlost",
1232
"de": "10x Geschwindigkeit",
1233
"en": "10x Speed",
1234
- "es": "Velocidad 10x",
1234
+ "es": "10x Velocidad",
1235
"fi": "10x Nopeus",
1236
"fr": "10x vitesse",
1237
"hi": "10x स्पीड",
@@ -1404,7 +1404,7 @@
1404
"cs": "2-faktorové ověřování zapnuto",
1405
"de": "Zweifaktorauthentifizierung eingeschaltet",
1406
"en": "2nd factor authentication enabled",
1407
- "es": "Segundo factor de autenticación habilitado.",
1407
+ "es": "Segundo factor de autenticación habilitado",
1408
"fi": "kaksivaiheinen todennus käytössä",
1409
"fr": "Authenfitication à double facteur activée",
1410
"hi": "2 कारक प्रमाणीकरण सक्षम",
@@ -1425,7 +1425,7 @@
1425
"cs": "2x rychlost",
1426
"de": "2x Geschwindigkeit",
1427
"en": "2x Speed",
1428
- "es": "Velocidad 2x",
1428
+ "es": "2x Velocidad",
1429
"fi": "2x Nopeus",
1430
"fr": "2x vitesse",
1431
"hi": "2x गति",
@@ -1461,7 +1461,7 @@
1461
"cs": "3. Všechny reklamní materiály zmiňující funkce nebo použití tohoto softwaru musí obsahovat následující oznámení: „Tento produkt zahrnuje software vyvinutý projektem OpenSSL pro použití v sadě OpenSSL Toolkit. (http://www.openssl.org/)“",
1462
"de": "3. Alle Werbematerialien, in denen Funktionen oder die Verwendung dieser Software erwähnt werden, müssen die folgende Bestätigung aufweisen: \"Dieses Produkt enthält Software, die vom OpenSSL-Projekt zur Verwendung im OpenSSL Toolkit entwickelt wurde (http://www.openssl.org/).\"",
1463
"en": "3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"",
1464
- "es": "3. Todos los materiales publicitarios que mencionen características o el uso de este software deben mostrar el siguiente reconocimiento: \"Este producto incluye software desarrollado por OpenSSL Project para su uso en OpenSSL Toolkit. (Http://www.openssl.org/)\"",
1464
+ "es": "3. Todos los materiales publicitarios que mencionen características o el uso de este software deben mostrar el siguiente reconocimiento: \"Este producto incluye software desarrollado por OpenSSL Project para su uso en OpenSSL Toolkit. (http://www.openssl.org/)\"",
1465
"fi": "3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"",
1466
"fr": "3. Tous les supports publicitaires mentionnant des fonctionnalités ou l'utilisation de ce logiciel doivent afficher la mention suivante: \"Ce produit inclut un logiciel développé par le projet OpenSSL pour une utilisation dans l'OpenSSL Toolkit. (Http://www.openssl.org/)\"",
1467
"hi": "3. इस सॉफ्टवेयर की विशेषताओं या उपयोग के बारे में सभी विज्ञापन सामग्री में निम्नलिखित स्वीकार्यता प्रदर्शित होनी चाहिए: \"इस उत्पाद में ओपनएसएसएल टूलकिट में उपयोग के लिए ओपनएसएसएल प्रोजेक्ट द्वारा विकसित सॉफ्टवेयर शामिल है। (http://www.openssl.org/)\"",
@@ -1535,7 +1535,7 @@
1535
"cs": "32bit verze MeshAgent",
1536
"de": "32bit-Version des MeshAgents",
1537
"en": "32bit version of the MeshAgent",
1538
- "es": "Version 32bits del MeshAgent",
1538
+ "es": "Versión de 32bits del Agente Mesh",
1539
"fi": "MeshAgentin 32-bittinen versio",
1540
"fr": "Version 32bits de MeshAgent",
1541
"hi": "मेशएजेंट का 32 बिट संस्करण",
@@ -1652,7 +1652,7 @@
1652
"cs": "4x rychlost",
1653
"de": "4x Geschwindigkeit",
1654
"en": "4x Speed",
1655
- "es": "Velocidad 4x",
1655
+ "es": "4x Velocidad",
1656
"fi": "4x Nopeus",
1657
"fr": "4x vitesse",
1658
"hi": "4x स्पीड",
@@ -1812,7 +1812,7 @@
1812
"cs": "64bitová verze agenta macOS Mesh Agent",
1813
"de": "64-Bit-Version des macOS Mesh-Agenten",
1814
"en": "64bit version of macOS Mesh Agent",
1815
- "es": "versión de 64bit de Agente Mesh para macOs ",
1815
+ "es": "Versión de 64bits del Agente Mesh para macOS",
1816
"fr": "Version 64 bits de macOS Mesh Agent",
1817
"hi": "macOS मेष एजेंट का 64 बिट संस्करण",
1818
"ja": "macOS Mesh Agentの64ビットバージョン",
@@ -1831,7 +1831,7 @@
1831
"cs": "64bit verze MeshAgent",
1832
"de": "64bit-Version des MeshAgents",
1833
"en": "64bit version of the MeshAgent",
1834
- "es": "Version 64bits del MeshAgent",
1834
+ "es": "Versión de 64bits del Agente Mesh",
1835
"fi": "MeshAgentin 64bittinen versio",
1836
"fr": "Version 64bits de MeshAgent",
1837
"hi": "मेशजेंट का 64 बिट संस्करण",
@@ -1865,7 +1865,7 @@
1865
"cs": "Stav přihlášení za 7 dnů",
1866
"de": "7-Tage-Anmelde-Status",
1867
"en": "7 Day Login State",
1868
- "es": "Estado de inicio de sesión de 7 días",
1868
+ "es": "Estado de inicio de sesión de los últimos 7 días",
1869
"fi": "7 päivän kirjautumistila",
1870
"fr": "Statistiques de connexions sur 7 jours ",
1871
"hi": "7 दिन लॉगिन राज्य",
@@ -1882,7 +1882,7 @@
1882
"cs": "Stav napájení za uplynulých 7 dnů",
1883
"de": "7-Tage-Energiezustand",
1884
"en": "7 Day Power State",
1885
- "es": "Estado de energía de 7 días",
1885
+ "es": "Estado de energía de los últimos 7 días",
1886
"fi": "7 päivän virtatila",
1887
"fr": "Etat d'alimentation sur les 7 derniers jours",
1888
"hi": "7 डे पावर स्टेट",
@@ -2063,7 +2063,7 @@
2063
"cs": "<b style=color:green>2-faktorové přihlašování odebráno</b>. Lze znovu kdykoliv znovu zapnout.",
2064
"de": "<b style=color:green>Aktivierung der Zweifaktor-Anmeldung entfernt</b>. Sie können dieses Merkmal jederzeit reaktivieren.",
2065
"en": "<b style=color:green>2-step login activation removed</b>. You can reactivate this feature at any time.",
2066
- "es": "<b style=color:green>Activación de inicio de sesión de 2 pasos eliminada</b>. Puede reactivar esta funcion en cualqueir momento.",
2066
+ "es": "<b style=color:green>Activación de inicio de sesión de 2 pasos eliminada</b>. Puede reactivar esta función en cualquier momento.",
2067
"fi": "<b style=color:green>2-vaiheisen sisäänkirjautumisen aktivointi poistettu</b>. Voit aktivoida tämän ominaisuuden uudelleen milloin tahansa.",
2068
"fr": "<b style=color:green>Authentification à double facteur supprimée</b>. Vous pouvez la réactiver à n'importe quel moment.",
2069
"hi": "<b style=color:green>2-चरण लॉगिन सक्रियण हटा दिया गया </ b>। आप किसी भी समय इस सुविधा को पुनः सक्रिय कर सकते हैं।",
@@ -2103,7 +2103,7 @@
2103
"cs": "<b style=color:red>zapnutí 2-faktorového přihlášení se nezdařilo</b>. Vymažte tajemství z aplikace a zkuste to znovu. Na zadání správného kódu máte jen pár minut.",
2104
"de": "<b style=color:red>Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen</b>. Entfernen Sie das Geheimnis aus der Applikation und versuchen Sie es erneut. Sie haben nur wenige Minuten Zeit, um einen gültigen Code einzugeben.",
2105
"en": "<b style=color:red>2-step login activation failed</b>. Clear the secret from the application and try again. You only have a few minutes to enter the proper code.",
2106
- "es": "<b style=color:red>Error de activación de inicio de sesión usando el segundo factor de autenticación</b>. Borre el código de la aplicación e intente nuevamente. Solo tiene unos minutos para ingresar el código adecuado.",
2106
+ "es": "<b style=color:red>Error de activación de inicio de sesión usando el segundo factor de autenticación</b>. Borre el código de la aplicación e intente nuevamente. Sólo tiene unos minutos para ingresar el código adecuado.",
2107
"fi": "<b style=color:red>Kaksivaiheisen kirjautumisen aktivointi epäonnistui</b>. Poista salainen avain sovelluksesta ja yritä uudelleen. Sinulla on vain muutama minuutti oikean koodin syöttämiseen.",
2108
"fr": "<b style=color:red>Echec de l'authentification à double facteur</b>. Essayez à nouveau. Vous disposez de quelques minutes pour taper le bon code.",
2109
"hi": "<b style=color:red>2-step लॉगिन सक्रियण विफल </ b> है। एप्लिकेशन से रहस्य साफ़ करें और पुनः प्रयास करें। आपके पास उचित कोड दर्ज करने के लिए केवल कुछ मिनट हैं।",
@@ -2123,7 +2123,7 @@
2123
"cs": "<b style=color:red>Odstranění 2-faktorového přihlašování se nezdařilo</b>. Zkuste znovu.",
2124
"de": "<b style=color:red>Entfernen der Aktivierung der Zweifaktor-Anmeldung fehlgeschlagen</b>. Versuchen Sie es erneut.",
2125
"en": "<b style=color:red>2-step login activation removal failed</b>. Try again.",
2126
- "es": "<b style=color:red>Error al eliminar la activación del segundo factor de autenticación</b>. Inténtalo de nuevo.",
2126
+ "es": "<b style=color:red>Error al eliminar la activación del segundo factor de autenticación</b>. Inténtelo de nuevo.",
2127
"fi": "<b style=color:red>Kaksivaiheisen sisäänkirjautumisen aktivoinnin poisto epäonnistui</b>. Yritä uudelleen.",
2128
"fr": "<b style=color:red>Echec de la suppression de l'authentification à double facteur</b>. Essayer à nouveau.",
2129
"hi": "<b style=color:red>2-step लॉगिन सक्रियण निष्कासन </ b> विफल रहा। पुनः प्रयास करें।",
@@ -2289,7 +2289,7 @@
2289
"cs": "Přístup odepřen",
2290
"de": "Zugriff verweigert",
2291
"en": "Access Denied",
2292
- "es": "Acceso Negado",
2292
+ "es": "Acceso Denegado",
2293
"fi": "Pääsy Evätty",
2294
"fr": "Accès refusé",
2295
"hi": "पहुंच अस्वीकृत",
@@ -2309,7 +2309,7 @@
2309
"cs": "Přístup odepřen",
2310
"de": "Zugriff verweigert.",
2311
"en": "Access denied.",
2312
- "es": "Acceso Negado",
2312
+ "es": "Acceso denegado.",
2313
"fi": "Pääsy evätty.",
2314
"fr": "Accès refusé.",
2315
"hi": "पहुंच अस्वीकृत।",
@@ -2351,7 +2351,7 @@
2351
"cs": "Akce účtu",
2352
"de": "Konto-Aktionen",
2353
"en": "Account Actions",
2354
- "es": "Acciones de la cuenta",
2354
+ "es": "Acciones de la Cuenta",
2355
"fi": "Tilitoiminnot",
2356
"fr": "Gestion du compte",
2357
"hi": "खाता क्रिया",
@@ -2415,7 +2415,7 @@
2415
"cs": "Nastavení zabezpečení",
2416
"de": "Konto-Sicherheit",
2417
"en": "Account Security",
2418
- "es": "Seguridad de la cuenta",
2418
+ "es": "Seguridad de la Cuenta",
2419
"fi": "Tilin Turvallisuus",
2420
"fr": "Sécurité du compte",
2421
"hi": "खाते की सुरक्षा",
@@ -2441,7 +2441,7 @@
2441
},
2442
{
2443
"en": "Account Verification",
2444
- "es": "Verificación de la cuenta",
2444
+ "es": "Verificación de la Cuenta",
2445
"fi": "Tilin todentaminen",
2446
"fr": "Vérification de compte",
2447
"hi": "खाता सत्यापन",
@@ -2521,7 +2521,7 @@
2521
"cs": "Účet uzamknut.",
2522
"de": "Konto gesperrt.",
2523
"en": "Account locked.",
2524
- "es": "Cuenta Bloqueada.",
2524
+ "es": "Cuenta bloqueada.",
2525
"fi": "Tili lukittu",
2526
"fr": "Compte bloqué",
2527
"hi": "खाता बंद।",
@@ -2742,7 +2742,7 @@
2742
"cs": "Aktivní uživatel{0}",
2743
"de": "Aktive Benutzer{0}",
2744
"en": "Active User{0}",
2745
- "es": "Usuario Activo {0}",
2745
+ "es": "Usuario Activo{0}",
2746
"fi": "Aktiivinen käyttäjä{0}",
2747
"fr": "Utilisateur(s) actif(s) {0}",
2748
"hi": "सक्रिय उपयोगकर्ता {0}",
@@ -2824,7 +2824,7 @@
2824
"cs": "Přidat událost zařízení",
2825
"de": "Geräte-Ereignis hinzufügen",
2826
"en": "Add Device Event",
2827
- "es": "Agregar evento del dispositivo",
2827
+ "es": "Agregar Evento del Dispositivo",
2828
"fi": "Lisää laitetapahtuma",
2829
"fr": "Ajouter un événement",
2830
"hi": "डिवाइस इवेंट जोड़ें",
@@ -2844,7 +2844,7 @@
2844
"cs": "Přidat skupinu zařízení",
2845
"de": "Gerätegruppe hinzufügen",
2846
"en": "Add Device Group",
2847
- "es": "Agregar grupo de dispositivos",
2847
+ "es": "Agregar Grupo de Dispositivos",
2848
"fi": "Lisää laiteryhmä",
2849
"fr": "Ajouter un groupe",
2850
"hi": "डिवाइस समूह जोड़ें",
@@ -2866,7 +2866,7 @@
2866
{
2867
"de": "Gerätegruppe-Berechtigungen hinzufügen",
2868
"en": "Add Device Group Permissions",
2869
- "es": "Agregar permisos de grupo de dispositivos",
2869
+ "es": "Agregar Permisos de Grupo de Dispositivos",
2870
"fi": "Lisää laiteryhmän käyttöoikeudet",
2871
"fr": "Ajouter des autorisations de groupe de périphériques",
2872
"hi": "डिवाइस समूह अनुमतियाँ जोड़ें",
@@ -2884,7 +2884,7 @@
2884
"cs": "Přidat oprávnění zařízení",
2885
"de": "Geräteberechtigungen hinzufügen",
2886
"en": "Add Device Permissions",
2887
- "es": "Agregar permisos de dispositivo",
2887
+ "es": "Agregar Permisos de Dispositivo",
2888
"fi": "Lisää laitteen käyttöoikeudet",
2889
"fr": "Ajouter des autorisations de périphérique",
2890
"hi": "डिवाइस अनुमतियाँ जोड़ें",
@@ -2904,7 +2904,7 @@
2904
"cs": "Přidat Intel® AMT CIRA zařízení",
2905
"de": "Intel®-AMT-CIRA-Gerät hinzufügen",
2906
"en": "Add Intel® AMT CIRA device",
2907
- "es": "Agregar Dispositivo con Intel AMT CIRA",
2907
+ "es": "Agregar dispositivo Intel® AMT CIRA",
2908
"fi": "Lisää Intel® AMT CIRA laite",
2909
"fr": "Ajouter un appareil Intel® AMT CIRA",
2910
"hi": "Intel® AMT CIRA डिवाइस जोड़ें",
@@ -2924,7 +2924,7 @@
2924
"cs": "Přidat Intel® AMT zařízení",
2925
"de": "Intel®-AMT-Gerät hinzufügen",
2926
"en": "Add Intel® AMT device",
2927
- "es": "Agregar Dispositivo con Intel AMT",
2927
+ "es": "Agregar dispositivo Intel® AMT",
2928
"fi": "Lisää Intel® AMT laite",
2929
"fr": "Ajouter un nouvel ordinateur Intel® AMT",
2930
"hi": "Intel® AMT डिवाइस जोड़ें",
@@ -2944,7 +2944,7 @@
2944
"cs": "Přidat klíč",
2945
"de": "Schlüssel hinzufügen",
2946
"en": "Add Key",
2947
- "es": "Agregar Llave",
2947
+ "es": "Agregar Tecla",
2948
"fi": "Lisää avain",
2949
"fr": "Ajouter une clé",
2950
"hi": "कुंजी जोड़ें",
@@ -3070,7 +3070,7 @@
3070
"cs": "Přidat oprávnění uživatelského zařízení",
3071
"de": "Hinzufügen von Benutzergeräteberechtigungen",
3072
"en": "Add User Device Permissions",
3073
- "es": "Agregar permisos del usuario del dispositivo",
3073
+ "es": "Agregar Permisos del Usuario del Dispositivo",
3074
"fi": "Lisää käyttäjän laitteen käyttöoikeudet",
3075
"fr": "Ajouter des autorisations de périphérique utilisateur",
3076
"hi": "उपयोगकर्ता डिवाइस अनुमतियाँ जोड़ें",
@@ -3089,7 +3089,7 @@
3089
"cs": "Přidat skupinu uživatelů",
3090
"de": "Benutzergruppe hinzufügen",
3091
"en": "Add User Group",
3092
- "es": "Agregar Grupos de Usuarios",
3092
+ "es": "Agregar Grupo de Usuarios",
3093
"fi": "Lisää Käyttäjä Ryhmä",
3094
"fr": "Ajouter un groupe utilisateurs",
3095
"hi": "उपयोगकर्ता समूह जोड़ें",
@@ -3111,7 +3111,7 @@
3111
{
3112
"de": "Benutzergruppen-Geräteberechtigungen hinzufügen",
3113
"en": "Add User Group Device Permissions",
3114
- "es": "Agregar permisos de dispositivo de grupo de usuarios",
3114
+ "es": "Agregar Permisos del Grupo de Usuarios del Dispositivo",
3115
"fi": "Lisää käyttäjäryhmän laiteoikeudet",
3116
"fr": "Ajouter des autorisations de périphérique de groupe d'utilisateurs",
3117
"hi": "उपयोगकर्ता समूह डिवाइस अनुमतियाँ जोड़ें",
@@ -3128,7 +3128,7 @@
3128
{
3129
"de": "Benutzer zu Gerätegruppe hinzufügen",
3130
"en": "Add User to Device Group",
3131
- "es": "Agregar usuario al grupo de dispositivos",
3131
+ "es": "Agregar Usuario al Grupo de Dispositivos",
3132
"fi": "Lisää käyttäjä laiteryhmään",
3133
"fr": "Ajouter un utilisateur au groupe d'appareils",
3134
"hi": "उपकरण समूह में उपयोगकर्ता जोड़ें",
@@ -3204,7 +3204,7 @@
3204
"cs": "Přidat uživatele do skupiny",
3205
"de": "Benutzer zu Benutzergruppe hinzufügen",
3206
"en": "Add Users to User Group",
3207
- "es": "Agregar Usuarios a un Grupo",
3207
+ "es": "Agregar Usuarios al Grupo de Usuarios",
3208
"fi": "Lisää käyttäjät käyttäjäryhmään",
3209
"fr": "Ajouter des utilisateurs au groupe",
3210
"hi": "उपयोगकर्ता समूह में उपयोगकर्ता जोड़ें",
@@ -3224,7 +3224,7 @@
3224
"cs": "Přidat YubiKey™ OTP",
3225
"de": "YubiKey® OTP hinzufügen",
3226
"en": "Add YubiKey® OTP",
3227
- "es": "Agregar YubiKey OTP",
3227
+ "es": "Agregar YubiKey® OTP",
3228
"fi": "Lisää YubiKey® OTP",
3229
"fr": "Ajouter une clé YubiKey® OTP",
3230
"hi": "YubiKey® OTP जोड़ें",
@@ -3244,7 +3244,7 @@
3244
"cs": "Přidat nový Intel® AMT počítač pomocí skenu lokální sítě.",
3245
"de": "Füge einen neuen Intel®-AMT-Rechner durch Scannen des lokalen Netzwerks hinzu.",
3246
"en": "Add a new Intel® AMT computer by scanning the local network.",
3247
- "es": "Agregue una nueva computadora Intel AMT escaneando la red Local.",
3247
+ "es": "Agregue una nueva computadora Intel® AMT escaneando la red Local.",
3248
"fi": "Lisää uusi Intel® AMT-tietokone skannaamalla lähiverkko.",
3249
"fr": "Ajouter un nouvel ordinateur Intel® AMT en scannant le réseau local.",
3250
"hi": "स्थानीय नेटवर्क को स्कैन करके एक नया Intel® AMT कंप्यूटर जोड़ें।",
@@ -3264,7 +3264,7 @@
3264
"cs": "Přidat nový Intel® AMT počítač, který je umístěn v síti Internet.",
3265
"de": "Füge einen neuen Intel®-AMT-Rechner hinzu, der sich im Internet befindet.",
3266
"en": "Add a new Intel® AMT computer that is located on the internet.",
3267
- "es": "Agregue una nueva computadora Intel AMT localizada en el internet",
3267
+ "es": "Agregue una nueva computadora Intel® AMT localizada en internet.",
3268
"fi": "Lisää uusi Intel® AMT-tietokone, joka sijaitsee Internetissä.",
3269
"fr": "Ajouter un nouvel ordinateur Intel® AMT connecté à internet.",
3270
"hi": "एक नया Intel® AMT कंप्यूटर जोड़ें जो इंटरनेट पर स्थित है।",
@@ -3285,7 +3285,7 @@
3285
"cs": "Přidat nový Intel® AMT počítač, který je umístěn v lokální síti.",
3286
"de": "Füge einen neuen Intel®-AMT-Rechner hinzu, der sich im lokalen Netzwerk befindet.",
3287
"en": "Add a new Intel® AMT computer that is located on the local network.",
3288
- "es": "Agregue una nueva computadora Intel AMT localizada en la red Local.",
3288
+ "es": "Agregue una nueva computadora Intel® AMT localizada en la red Local.",
3289
"fi": "Lisää uusi Intel® AMT-tietokone, joka sijaitsee lähiverkossa.",
3290
"fr": "Ajouter un nouvel ordinateur Intel® AMT du réseau local.",
3291
"hi": "एक नया Intel® AMT कंप्यूटर जोड़ें जो स्थानीय नेटवर्क पर स्थित है।",
@@ -3306,7 +3306,7 @@
3306
"cs": "Přidat nové Intel® AMT zařízení do skupiny „{0}“.",
3307
"de": "Füge ein neues Intel®-AMT-Gerät zur Gerätegruppe \\\"{0}\\\" hinzu.",
3308
"en": "Add a new Intel® AMT device to device group \\\"{0}\\\".",
3309
- "es": "Agregue un nuevo dispositivo AMT al grupo de dispositivos.",
3309
+ "es": "Agregue un nuevo dispositivo Intel® AMT al grupo de dispositivos \\\"{0}\\\".",
3310
"fi": "Lisää uusi Intel® AMT -laite laiteryhmään \\\"{0}\\\".",
3311
"fr": "Ajouter un appareil Intel® AM au groupe d'appareils \\\"{0}\\\".",
3312
"hi": "उपकरण समूह \\\"{0}\\\" में एक नया Intel® AMT उपकरण जोड़ें।",
@@ -3325,7 +3325,7 @@
3325
{
3326
"de": "Füge einen neuen Computer durch Installation des Mesh-Agenten zu dieser Gerätegruppe hinzu.",
3327
"en": "Add a new computer to this device group by installing the mesh agent.",
3328
- "es": "Agregue una nueva computadora a este grupo de dispositivos instalando el agente de malla.",
3328
+ "es": "Agregue una nueva computadora a este grupo de dispositivos instalando el Agente Mesh.",
3329
"fi": "Lisää uusi tietokone tähän laiteryhmään asentamalla MeshAgent.",
3330
"fr": "Ajoutez un nouvel ordinateur à ce groupe de périphériques en installant l'agent de maillage.",
3331
"hi": "मेष एजेंट को स्थापित करके इस उपकरण समूह में एक नया कंप्यूटर जोड़ें।",
@@ -3396,7 +3396,7 @@
3396
"cs": "Admin Control Mode (ACM)",
3397
"de": "Admin Control Mode (ACM)",
3398
"en": "Admin Control Mode (ACM)",
3399
- "es": "Modo de control de administrador (ACM)",
3399
+ "es": "Modo de Control de Administrador (ACM)",
3400
"fi": "Järjestelmänvalvojan hallintatila (ACM)",
3401
"fr": "Admin Control Mode (ACM)",
3402
"hi": "व्यवस्थापक नियंत्रण मोड (ACM)",
@@ -3459,7 +3459,7 @@
3459
"cs": "Oblasti správy",
3460
"de": "Admin-Bereiche",
3461
"en": "Admin Realms",
3462
- "es": "Admin Realms",
3462
+ "es": "Reinos del Administrador",
3463
"fi": "Pääkäyttäjän alueet",
3464
"fr": "Domaines d'administration",
3465
"hi": "प्रशासन के दायरे",
@@ -3500,7 +3500,7 @@
3500
"cs": "Administrativní oblasti",
3501
"de": "Administrative Bereiche",
3502
"en": "Administrative Realms",
3503
- "es": "Administrative Realms",
3503
+ "es": "Reinos Administrativos",
3504
"fi": "Hallinnollinen alue",
3505
"fr": "Domaines administratifs",
3506
"hi": "प्रशासनिक क्षेत्र",
@@ -3586,7 +3586,7 @@
3586
"cs": "Agent + Intel AMT",
3587
"de": "Agent + Intel AMT",
3588
"en": "Agent + Intel AMT",
3589
- "es": "Agente + Intel AMT",
3589
+ "es": "Agente + Intel® AMT",
3590
"fi": "Agentti + Intel AMT",
3591
"fr": "Agent + Intel AMT",
3592
"hi": "एजेंट + इंटेल एएमटी",
@@ -3607,7 +3607,7 @@
3607
"cs": "Akce agenta",
3608
"de": "Agent-Aktion",
3609
"en": "Agent Action",
3610
- "es": "Acción del agente",
3610
+ "es": "Acción del Agente",
3611
"fi": "Agentin toiminta",
3612
"fr": "Action de l'agent",
3613
"hi": "एजेंट कार्रवाई",
@@ -3648,7 +3648,7 @@
3648
"cs": "Počitadla chyb agenta",
3649
"de": "Agent-Fehlerzähler",
3650
"en": "Agent Error Counters",
3651
- "es": "Contador de errores del Agente",
3651
+ "es": "Contador de Errores del Agente",
3652
"fi": "Agentin virhe laskurit",
3653
"fr": "Compteurs d'erreurs d'agent",
3654
"hi": "एजेंट त्रुटि काउंटर",
@@ -3803,7 +3803,7 @@
3803
"cs": "Agent připojen",
3804
"de": "Agent verbunden",
3805
"en": "Agent connected",
3806
- "es": "Agente Conectado",
3806
+ "es": "Agente conectado",
3807
"fi": "Agentti yhdistetty",
3808
"fr": "Agent connecté",
3809
"hi": "एजेंट जुड़ा हुआ है",
@@ -3825,7 +3825,7 @@
3825
"cs": "Agent odpojen",
3826
"de": "Agent getrennt",
3827
"en": "Agent disconnected",
3828
- "es": "Agente Desconectado",
3828
+ "es": "Agente desconectado",
3829
"fi": "Agentti irrotettu",
3830
"fr": "Agent déconnecté",
3831
"hi": "एजेंट ने काट दिया",
@@ -3845,7 +3845,7 @@
3845
"cs": "Agent je offline",
3846
"de": "Agent ist offline",
3847
"en": "Agent is offline",
3848
- "es": "Agente desconectado",
3848
+ "es": "Agente fuera de línea",
3849
"fi": "Agentti on offline-tilassa",
3850
"fr": "Agent déconnecté",
3851
"hi": "एजेंट ऑफ़लाइन है",
@@ -3865,7 +3865,7 @@
3865
"cs": "Agent je online",
3866
"de": "Agent ist online",
3867
"en": "Agent is online",
3868
- "es": "Agente Conectado",
3868
+ "es": "Agente en línea",
3869
"fi": "Agentti on online-tilassa",
3870
"fr": "Agent connecté",
3871
"hi": "एजेंट ऑनलाइन है",
@@ -3945,7 +3945,7 @@
3945
},
3946
{
3947
"en": "All Available",
3948
- "es": "Todo disponible",
3948
+ "es": "Todo Disponible",
3949
"fi": "Kaikki käytettävissä olevat",
3950
"fr": "Tous ceux disponibles",
3951
"nl": "Alle beschikbare",
@@ -3975,7 +3975,7 @@
3975
},
3976
{
3977
"en": "All Events",
3978
- "es": "Todos los eventos",
3978
+ "es": "Todos los Eventos",
3979
"fi": "Kaikki tapahtumat",
3980
"fr": "Tous les évènements",
3981
"nl": "Alle gebeurtenissen",
@@ -4011,7 +4011,7 @@
4011
"cs": "Umožnit uživatelům spravovat tuto skupinu a zařízení v této skupině.",
4012
"de": "Erlaube Benutzern, diese Gerätegruppe und die Geräte darin zu verwalten.",
4013
"en": "Allow users to manage this device group and devices in this group.",
4014
- "es": "Permitir a los Usuarios Administrar este grupo de dispositivos y los dispositivos en este grupo.",
4014
+ "es": "Permitir a los usuarios administrar este grupo de dispositivos y los dispositivos en este grupo.",
4015
"fi": "Salli käyttäjien hallita tätä laiteryhmää ja tämän ryhmän laitteita.",
4016
"fr": "Autoriser les utilisateurs à gérer ce groupe et les périphériques de ce groupe.",
4017
"hi": "उपयोगकर्ताओं को इस समूह में इस उपकरण समूह और उपकरणों को प्रबंधित करने की अनुमति दें।",
@@ -4032,7 +4032,7 @@
4032
"cs": "Povolit uživatelům spravovat toto zařízení.",
4033
"de": "Ermöglichen Sie Benutzern die Verwaltung dieses Geräts.",
4034
"en": "Allow users to manage this device.",
4035
- "es": "Permitir al usuario administrar este dispositivo",
4035
+ "es": "Permitir a los usuarios administrar este dispositivo.",
4036
"fi": "Salli käyttäjien hallita tätä laitetta.",
4037
"fr": "Autorisez les utilisateurs à gérer cet appareil.",
4038
"hi": "उपयोगकर्ताओं को इस उपकरण को प्रबंधित करने की अनुमति दें।",
@@ -4051,7 +4051,7 @@
4051
"cs": "Alt-F4",
4052
"de": "Alt+F4",
4053
"en": "Alt-F4",
4054
- "es": "Alt+F4",
4054
+ "es": "Alt-F4",
4055
"fi": "Alt-F4",
4056
"fr": "Alt-F4",
4057
"hi": "Alt-F4",
@@ -4073,7 +4073,7 @@
4073
"cs": "Alt-Tab",
4074
"de": "Alt+Tab",
4075
"en": "Alt-Tab",
4076
- "es": "Alt+Tab",
4076
+ "es": "Alt-Tab",
4077
"fi": "Alt-Tab",
4078
"fr": "Alt-Tab",
4079
"hi": "Alt-टैब",
@@ -4095,7 +4095,7 @@
4095
"cs": "Alternativní (F10 = ESC+0)",
4096
"de": "Alternativ (F10 = ESC+0)",
4097
"en": "Alternate (F10 = ESC+0)",
4098
- "es": "Alternar (F10 = ESC + 0)",
4098
+ "es": "Alternar (F10 = ESC+0)",
4099
"fi": "Vaihtoehtoinen (F10 = ESC + 0)",
4100
"fr": "Alternative (F10 = ESC+0)",
4101
"hi": "वैकल्पिक (F10 = ESC + 0)",
@@ -4136,7 +4136,7 @@
4136
"cs": "Vždy upozorňovat",
4137
"de": "Immer benachrichtigen",
4138
"en": "Always Notify",
4139
- "es": "Notificar Siempre",
4139
+ "es": "Siempre Notificar",
4140
"fi": "Ilmoita aina",
4141
"fr": "Toujours aviser",
4142
"hi": "हमेशा सुचित करें",
@@ -4158,7 +4158,7 @@
4158
"cs": "Vždy se dotázat",
4159
"de": "Immer nachfragen",
4160
"en": "Always Prompt",
4161
- "es": "Simepre Preguntar",
4161
+ "es": "Siempre Preguntar",
4162
"fi": "Kysy Aina",
4163
"fr": "Toujours demander",
4164
"hi": "हमेशा शीघ्र",
@@ -4216,7 +4216,7 @@
4216
"cs": "Účet byl pro vás vytvořen na serveru [[[SERVERNAME]]] ([[[SERVERURL]]]/), nyní k němu máte přístup pomocí uživatelského jména \\\"[[[ACCOUNTNAME]]]\\\" a hesla \\\"[[[PASSWORD]]]\\\".",
4217
"de": "Auf dem Server [[[SERVERNAME]]] ([[[SERVERURL]]]/) wurde ein Konto für Sie erstellt. Sie können jetzt mit dem Benutzernamen \\\"[[[ACCOUNTNAME]]]\\\" und dem Passwort \\\"[[[PASSWORD]]]\\\".",
4218
"en": "An account was created for you on server [[[SERVERNAME]]] ([[[SERVERURL]]]/), you can access it now with username \\\"[[[ACCOUNTNAME]]]\\\" en wachtwoord \\\"[[[PASSWORD]]]\\\".",
4219
- "es": "Una cuenta ha sido creada en su servidor [[[SERVERNAME]]] ([[[SERVERURL]]]/), ahora puede acceder con el usuario \\\"[[[ACCOUNTNAME]]]\\\" y la contraseña \\\"[[[PASSWORD]]]\\\".",
4219
+ "es": "Una cuenta ha sido creada en su servidor [[[SERVERNAME]]] ([[[SERVERURL]]]/), ahora puede acceder con el usuario \\\"[[[ACCOUNTNAME]]]\\\" y la consigna \\\"[[[PASSWORD]]]\\\".",
4220
"fi": "Sinulle on luotu tili palvelimelle [[[SERVERNAME]]] ([[[SERVERURL]]]/), voit käyttää sitä nyt käyttäjätunnuksella \\\"[[[ACCOUNTNAME]]]\\\" and salasanalla \\\"[[[PASSWORD]]]\\\".",
4221
"fr": "Un compte a été créé pour vous sur le serveur [[[SERVERNAME]]] ([[[SERVERURL]]]/), vous pouvez y accéder maintenant avec le nom d'utilisateur \\\"[[[ACCOUNTNAME]]]\\\" et le mot de passe \\\"[[[PASSWORD]]]\\\".",
4222
"hi": "सर्वर [[[SERVERNAME]]] ([[[SERVERURL]]]/) पर आपके लिए एक खाता बनाया गया था, अब आप इसे उपयोगकर्ता नाम \\\"[[ACCOUNTNAME]]] \\\" en wachchwoord \\\"[[PASSWORD]]]\\\"।",
@@ -4314,7 +4314,7 @@
4314
"cs": "Všechny podporované",
4315
"de": "Alle unterstützten",
4316
"en": "Any supported",
4317
- "es": "Cualquiera soportado.",
4317
+ "es": "Cualquiera soportado",
4318
"fi": "Kaikki tuetut",
4319
"fr": "Tout pris en charge",
4320
"hi": "कोई समर्थित",
@@ -4353,7 +4353,7 @@
4353
"cs": "pouze Apple macOS",
4354
"de": "Nur Apple macOS",
4355
"en": "Apple macOS only",
4356
- "es": "Solo Apple macOS",
4356
+ "es": "Sólo Apple macOS",
4357
"fr": "Apple macOS seulement",
4358
"hi": "केवल Apple macOS",
4359
"ja": "Apple macOSのみ",
@@ -4752,7 +4752,7 @@
4752
"cs": "Architektura",
4753
"de": "Architektur",
4754
"en": "Architecture",
4755
- "es": "Architectura",
4755
+ "es": "Arquitectura",
4756
"fi": "Arkkitehtuuri",
4757
"fr": "Architecture",
4758
"hi": "आर्किटेक्चर",
@@ -4874,7 +4874,7 @@
4874
"cs": "Opravdu chcete {0} zásuvný modul: {1}",
4875
"de": "Möchten Sie wirklich das Plugin {0}: {1}",
4876
"en": "Are you sure you want to {0} the plugin: {1}",
4877
- "es": "Está seguro de que desea {0} el plugin: {1}?",
4877
+ "es": "¿Está seguro de que desea {0} el plugin: {1}?",
4878
"fi": "Haluatko varmasti {0} laajennuksen: {1}",
4879
"fr": "Êtes vous sur de vouloir {0} le module: {1}",
4880
"hi": "क्या आप वाकई {0} प्लगइन चाहते हैं: {1}",
@@ -4913,7 +4913,7 @@
4913
{
4914
"de": "Einwilligung anfordern",
4915
"en": "Ask Consent",
4916
- "es": "Pedir consentimiento",
4916
+ "es": "Pedir Consentimiento",
4917
"fi": "Pyydä Hyväksyntää",
4918
"fr": "Demander le consentement",
4919
"hi": "सहमति से पूछें",
@@ -4930,7 +4930,7 @@
4930
{
4931
"de": "Einwilligung anfordern + Balken",
4932
"en": "Ask Consent + Bar",
4933
- "es": "Pedir consentimiento + barra",
4933
+ "es": "Pedir Consentimiento + Barra",
4934
"fi": "Pyydä Hyväksyntää + Ilmoitus",
4935
"fr": "Demander le consentement + le bar",
4936
"hi": "सहमति + बार पूछें",
@@ -4988,7 +4988,7 @@
4988
"cs": "Aplikace pro ověřování se",
4989
"de": "Authentifizierungsanwendung",
4990
"en": "Authentication App",
4991
- "es": "Aplicación de autenticación",
4991
+ "es": "Aplicación de Autenticación",
4992
"fi": "Todennussovellus",
4993
"fr": "Application d'authentification",
4994
"hi": "प्रमाणीकरण ऐप",
@@ -5008,7 +5008,7 @@
5008
"cs": "Aplikace pro ověřování se",
5009
"de": "Authentifikator-Anwendung",
5010
"en": "Authenticator App",
5011
- "es": "Aplicación de autenticación",
5011
+ "es": "Aplicación de Autenticación",
5012
"fi": "Todennussovellus",
5013
"fr": "Application d'authentification",
5014
"hi": "प्रमाणक ऐप",
@@ -5035,7 +5035,7 @@
5035
"cs": "Aktivace aplikace pro ověřování se úspěšná.",
5036
"de": "Aktivierung der Authentifikator-Anwendung erfolgreich.",
5037
"en": "Authenticator app activation successful.",
5038
- "es": "Autenticación de la aplicación de autenticación exitosa.",
5038
+ "es": "Activación de la aplicación de autenticación exitosa.",
5039
"fi": "Todennussovelluksen aktivointi onnistui.",
5040
"fr": "Authentification à double facteur activée avec succès.",
5041
"hi": "प्रमाणक अनुप्रयोग सक्रियण सफल।",
@@ -5075,7 +5075,7 @@
5075
"cs": "Automaticky",
5076
"de": "Auto",
5077
"en": "Auto",
5078
- "es": "Automatico",
5078
+ "es": "Automático",
5079
"fi": "Auto",
5080
"fr": "Automatique",
5081
"hi": "ऑटो",
@@ -5095,7 +5095,7 @@
5095
"cs": "Automatické odstranění",
5096
"de": "Auto-Entfernen",
5097
"en": "Auto-Remove",
5098
- "es": "Eliminar automáticamente",
5098
+ "es": "Auto-Remover",
5099
"fi": "Automaattinen-Poisto",
5100
"fr": "Suppression automatique",
5101
"hi": "ऑटो निकालें",
@@ -5115,7 +5115,7 @@
5115
"cs": "Automatické připojení",
5116
"de": "Auto-Verbindung",
5117
"en": "AutoConnect",
5118
- "es": "Auto Conectarse",
5118
+ "es": "AutoConectar",
5119
"fi": "Automaattinen yhdistäminen",
5120
"fr": "Connection automatique",
5121
"hi": "स्वतः जुड़ना",
@@ -5139,7 +5139,7 @@
5139
"cs": "Automatické připojení",
5140
"de": "Automatische Verbindung",
5141
"en": "Automatic connect",
5142
- "es": "Conexion Automatica",
5142
+ "es": "Conexión automática",
5143
"fi": "Automaattinen yhdistäminen",
5144
"fr": "Connexion automatique",
5145
"hi": "स्वचालित कनेक्ट",
@@ -5162,6 +5162,7 @@
5162
"tr": "Kullanılabilir Hafıza",
5163
"zh-chs": "可用內存",
5164
"zh-cht": "可用內存",
5165
+ "es": "Memoria Disponible",
5166
"xloc": [
5167
"default.handlebars->27->1934"
5168
]
@@ -5211,7 +5212,7 @@
5212
"cs": "Zpět",
5213
"de": "Zurück",
5214
"en": "Back",
5214
- "es": "Atras",
5215
+ "es": "Atrás",
5216
"fi": "Takaisin",
5217
"fr": "Retour",
5218
"hi": "वापस",
@@ -5249,7 +5250,7 @@
5250
"cs": "Zpět na přihlášení",
5251
"de": "Zurück zur Anmeldung",
5252
"en": "Back to login",
5252
- "es": "Regresar al Inicio de Sesion",
5253
+ "es": "Regresar al inicio de sesión",
5254
"fi": "Takaisin sisäänkirjautumiseen",
5255
"fr": "Revenir à l'authentification",
5256
"hi": "लॉगिन पर वापस जाएं",
@@ -5286,7 +5287,7 @@
5287
"cs": "Bezobslužná a interaktivní",
5288
"de": "Hintergrund & interaktiv",
5289
"en": "Background & interactive",
5289
- "es": "Segundo plano & Interactivo",
5290
+ "es": "Segundo plano & interactivo",
5291
"fi": "Tausta & vuorovaikutteinen",
5292
"fr": "Ligne de commande & bureau distant",
5293
"hi": "पृष्ठभूमि और इंटरैक्टिव",
@@ -5306,7 +5307,7 @@
5307
"cs": "Bezobslužná a interaktivní",
5308
"de": "Hintergrund und interaktiv",
5309
"en": "Background and interactive",
5309
- "es": "Segundo Plano e interactivo",
5310
+ "es": "Segundo plano e interactivo",
5311
"fi": "Tausta ja vuorovaikutteinen",
5312
"fr": "Ligne de commande et bureau distant",
5313
"hi": "पृष्ठभूमि और इंटरैक्टिव",
@@ -5329,7 +5330,7 @@
5330
"cs": "Pouze bezobslužná",
5331
"de": "Nur Hintergrund",
5332
"en": "Background only",
5332
- "es": "Segundo Plano solamente",
5333
+ "es": "Segundo plano solamente",
5334
"fi": "Vain tausta",
5335
"fr": "Ligne de commande uniquement",
5336
"hi": "बैकग्राउंड ही",
@@ -5373,7 +5374,7 @@
5374
"cs": "Záložní kódy",
5375
"de": "Sicherungscodes",
5376
"en": "Backup Codes",
5376
- "es": "Codigos de Respaldo",
5377
+ "es": "Códigos de Respaldo",
5378
"fi": "Varmuuskoodit",
5379
"fr": "Codes de récupération",
5380
"hi": "बैकअप कोड",
@@ -5393,7 +5394,7 @@
5394
"cs": "Nesprávný podpis",
5395
"de": "Ungültige Unterschrift",
5396
"en": "Bad Signature",
5396
- "es": "Firma Erronea",
5397
+ "es": "Firma Errónea",
5398
"fi": "Huono allekirjoitus",
5399
"fr": "Signature erronée",
5400
"hi": "खराब हस्ताक्षर",
@@ -5413,7 +5414,7 @@
5414
"cs": "Nesprávný certifikát webu",
5415
"de": "Ungültiges Web-Zertifikat",
5416
"en": "Bad Web Certificate",
5416
- "es": "Certificado Web Erroneo",
5417
+ "es": "Certificado Web Erróneo",
5418
"fi": "Huono Web-varmenne",
5419
"fr": "Mauvais certificat web",
5420
"hi": "खराब वेब प्रमाणपत्र",
@@ -5453,7 +5454,7 @@
5454
"cs": "Dávkově vytvořit vícero uživatelských účtů",
5455
"de": "Stapel-Erzeugung vieler Benutzerkonten",
5456
"en": "Batch create many user accounts",
5456
- "es": "Crear Muchas Cuentas de Usuario (Batch)",
5457
+ "es": "Creación por lote de cuentas de usuario",
5458
"fi": "Erä luo useita käyttäjätilejä",
5459
"fr": "Création par lots de comptes utilisateurs",
5460
"hi": "बैच कई उपयोगकर्ता खाते बनाते हैं",
@@ -5741,7 +5742,7 @@
5742
"cs": "příkazy CIRA serveru",
5743
"de": "CIRA-Serverbefehle",
5744
"en": "CIRA Server Commands",
5744
- "es": "Comandos del servidor CIRA",
5745
+ "es": "Comandos del Servidor CIRA",
5746
"fi": "CIRA-palvelimen komennot",
5747
"fr": "Commandes du serveur CIRA",
5748
"hi": "CIRA सर्वर कमांड्स",
@@ -6033,7 +6034,7 @@
6034
"cs": "Vystředit mapu zde",
6035
"de": "Karte hier zentrieren",
6036
"en": "Center map here",
6036
- "es": "Centrar mapa aqui",
6037
+ "es": "Centrar mapa aquí",
6038
"fi": "Keskitä kartta tähän",
6039
"fr": "Centrer la carte ici",
6040
"hi": "केंद्र का नक्शा यहाँ",
@@ -6071,7 +6072,7 @@
6072
},
6073
{
6074
"en": "Change Email Address",
6074
- "es": "Cambiar dirección de correo electrónico",
6075
+ "es": "Cambiar Dirección de Correo Electrónico",
6076
"fi": "Vaihda sähköpostiosoite",
6077
"fr": "Changer l'adresse email",
6078
"hi": "ईमेल पता बदलें",
@@ -6091,7 +6092,7 @@
6092
"cs": "Změnit e-mail pro {0}",
6093
"de": "E-Mail für {0} ändern",
6094
"en": "Change Email for {0}",
6094
- "es": "Cambiar dirección de correo para {0}",
6095
+ "es": "Cambiar Correo Electrónico para {0}",
6096
"fi": "Vaihda sähköpostiosoite käyttäjälle {0}",
6097
"fr": "Changer l'email pour {0]",
6098
"hi": "{0} के लिए ईमेल बदलें",
@@ -6111,7 +6112,7 @@
6112
"cs": "Změnit skupinu",
6113
"de": "Gruppe wechseln",
6114
"en": "Change Group",
6114
- "es": "Cambiar Grupo",
6115
+ "es": "Cambiar Grupo de Dispositivos",
6116
"fi": "Vaihda Ryhmää",
6117
"fr": "Changer de groupe",
6118
"hi": "समूह बदलें",
@@ -6133,7 +6134,7 @@
6134
"cs": "Změnit heslo",
6135
"de": "Passwort ändern",
6136
"en": "Change Password",
6136
- "es": "Cambiar contraseña",
6137
+ "es": "Cambiar Contraseña",
6138
"fi": "Vaihda Salasana",
6139
"fr": "Changer le mot de passe",
6140
"hi": "पासवर्ड बदलें",
@@ -6155,7 +6156,7 @@
6156
"cs": "Změnit heslo pro {0}",
6157
"de": "Passwort für {0} ändern",
6158
"en": "Change Password for {0}",
6158
- "es": "Cambiar contraseña para {0}",
6159
+ "es": "Cambiar Contraseña de {0}",
6160
"fi": "Vaihda Salasana käyttäjälle {0}",
6161
"fr": "Changer le mot de passe pour {0}",
6162
"hi": "{0} के लिए पासवर्ड बदलें",
@@ -6173,7 +6174,7 @@
6174
},
6175
{
6176
"en": "Change Real Name for {0}",
6176
- "es": "Cambiar nombre real por {0}",
6177
+ "es": "Cambiar Nombre Real de {0}",
6178
"fi": "Vaihda Nimi käyttäjälle {0}",
6179
"fr": "Changer le Nom complet pour {0}",
6180
"nl": "Verander echte naam voor {0}",
@@ -6188,7 +6189,7 @@
6189
"cs": "Změnit e-mailovou adresu",
6190
"de": "E-Mail-Adresse ändern",
6191
"en": "Change email address",
6191
- "es": "Cambiar dirección de correo",
6192
+ "es": "Cambiar dirección de correo electrónico",
6193
"fi": "Vaihda sähköpostiosoite",
6194
"fr": "Modifier l'adresse mail",
6195
"hi": "ईमेल पता बदलें",
@@ -6230,7 +6231,7 @@
6231
"cs": "Změnit modul Java Script kódu agenta",
6232
"de": "Das JavaScript-Codemodul des Agenten wechseln",
6233
"en": "Change the agent Java Script code module",
6233
- "es": "Cambiar el módulo de código de Java Script del Agente",
6234
+ "es": "Cambiar el módulo de código de Java Script del agente",
6235
"fi": "Vaihda agentti Java Script -koodimoduuli",
6236
"fr": "Changer le code Java Script de l'agent",
6237
"hi": "एजेंट जावा स्क्रिप्ट कोड मॉड्यूल बदलें",
@@ -6310,7 +6311,7 @@
6311
"cs": "Heslo ke svému účtu si změníte zadáním stávajícího hesla a pak nového (do obou kolonek) do níže uvedených kolonek.",
6312
"de": "Ändern Sie Ihr Kontopasswort, indem Sie das alte und das neue Passwort zweimal in die Felder unten eingeben.",
6313
"en": "Change your account password by entering the old password and new password twice in the boxes below.",
6313
- "es": "Cambie la contraseña de su cuenta ingresando la contraseña anterior y la contraseña nueva dos veces en los sigueintes cuadros.",
6314
+ "es": "Cambie la contraseña de su cuenta ingresando la contraseña anterior y la contraseña nueva dos veces en los siguientes cuadros.",
6315
"fi": "Vaihda tilisi salasana kirjoittamalla vanha ja uusi salasana kahdesti alla oleviin kenttiin.",
6316
"fr": "Changer votre mot de passe en entrant l'actuel puis deux fois le nouveau.",
6317
"hi": "नीचे दिए गए बॉक्स में दो बार पुराने पासवर्ड और नए पासवर्ड को दर्ज करके अपना खाता पासवर्ड बदलें।",
@@ -6372,7 +6373,7 @@
6373
"cs": "Chat a upozornění",
6374
"de": "Chat & Benachrichtigen",
6375
"en": "Chat & Notify",
6375
- "es": "Chatear y Notificar",
6376
+ "es": "Chatear & Notificar",
6377
"fi": "Keskustele ja ilmoita",
6378
"fr": "Discussion instantanée et notification",
6379
"hi": "चैट करें और सूचित करें",
@@ -6428,7 +6429,7 @@
6429
"cs": "Pro vymazání záznamu chyb zaškrtněte a klikněte na OK.",
6430
"de": "Haken setzen und OK klicken, um das Fehlerprotokoll zu löschen.",
6431
"en": "Check and click OK to clear error log.",
6431
- "es": "Verifique y haga clic en Aceptar para borrar el registro de errores.",
6432
+ "es": "Marque y haga clíc en Aceptar para borrar el registro de errores.",
6433
"fi": "Valitse ja napsauta OK tyhjentääksesi virhelokin.",
6434
"fr": "Cocher la case et cliquer sur OK pour nettoyer les journaux d'erreurs",
6435
"hi": "जाँचें और त्रुटि लॉग को साफ़ करने के लिए ठीक क्लिक करें।",
@@ -6448,7 +6449,7 @@
6449
"cs": "Pro zahájení samoaktualizace serveru zaškrtněte a klikněte na OK. ",
6450
"de": "Haken setzen und OK klicken, um die Server-Selbstaktualisierung zu starten.",
6451
"en": "Check and click OK to start server self-update.",
6451
- "es": "Marque y haga clic en Aceptar para iniciar la actualización automática del servidor.",
6452
+ "es": "Marque y haga clíc en Aceptar para iniciar la actualización automática del servidor.",
6453
"fi": "Valitse ja napsauta OK aloittaaksesi palvelimen itsepäivityksen.",
6454
"fr": "Cocher la case et cliquer sur OK pour activer les mises à jour automatiques du serveur.",
6455
"hi": "सर्वर सेल्फ-अपडेट शुरू करने के लिए चेक और ओके पर क्लिक करें।",
@@ -6468,7 +6469,7 @@
6469
"cs": "Zjistit dostupnost případné novější verze",
6470
"de": "Server auf Aktualisierung überprüfen",
6471
"en": "Check server version",
6471
- "es": "Verifique la versión del servidor",
6472
+ "es": "Verificar la versión del servidor",
6473
"fi": "Tarkista palvelimen versio",
6474
"fr": "Vérifier la version de MeshCentral",
6475
"hi": "सर्वर संस्करण की जाँच करें",
@@ -6486,7 +6487,7 @@
6487
},
6488
{
6489
"en": "Check your phone and enter the verification code.",
6489
- "es": "Revisa tu teléfono e ingresa el código de verificación.",
6490
+ "es": "Revise su teléfono e ingrese el código de verificación.",
6491
"fi": "Tarkista puhelimesi ja kirjoita vahvistuskoodi.",
6492
"fr": "Vérifiez votre téléphone et entrez le code de vérification.",
6493
"hi": "अपना फ़ोन जांचें और सत्यापन कोड दर्ज करें।",
@@ -6773,7 +6774,7 @@
6774
{
6775
"de": "Alles leeren",
6776
"en": "Clear all",
6776
- "es": "Limpiar todo",
6777
+ "es": "Borrar todo",
6778
"fi": "Tyhjennä kaikki",
6779
"fr": "Tout effacer",
6780
"hi": "सभी साफ करें",
@@ -6791,7 +6792,7 @@
6792
"cs": "Vymazat jádro",
6793
"de": "Den Kern löschen",
6794
"en": "Clear the core",
6794
- "es": "Inicializar",
6795
+ "es": "Borrar el núcleo",
6796
"fi": "Tyhjennä ydin",
6797
"fr": "Nettoyer le coeur",
6798
"hi": "कोर साफ़ करें",
@@ -6811,7 +6812,7 @@
6812
"cs": "Vymažte tajemství z aplikace a zkuste to znovu. Na zadání správného kódu máte jen několik minut.",
6813
"de": "Löschen Sie das Geheimnis aus der Anwendung und versuchen Sie es erneut.Sie haben nur wenige Minuten Zeit, um den richtigen Code einzugeben.",
6814
"en": "Clear the secret from the application and try again. You only have a few minutes to enter the proper code.",
6814
- "es": "Borre el secreto de la aplicación e intente nuevamente. Solo tiene unos minutos para ingresar el código adecuado.",
6815
+ "es": "Borre el secreto de la aplicación e intente nuevamente. Sólo tiene unos minutos para ingresar el código adecuado.",
6816
"fi": "Poista salainen avain sovelluksesta ja yritä uudelleen. Sinulla on vain muutama minuutti oikean koodin syöttämiseen.",
6817
"fr": "Supprimez la phrase secrète de l'application et réessayez. Vous disposez de quelques minutes pour saisir le bon code.",
6818
"hi": "एप्लिकेशन से रहस्य साफ़ करें और पुनः प्रयास करें। आपके पास उचित कोड दर्ज करने के लिए केवल कुछ मिनट हैं।",
@@ -6850,7 +6851,7 @@
6851
"cs": "Kliknutím sem stáhnete MeshAgent pro Apple OSX.",
6852
"de": "Klicken Sie hier, um den MeshAgent für Apple OSX herunterzuladen.",
6853
"en": "Click here to download the MeshAgent for Apple OSX.",
6853
- "es": "Haga click aquí para descargar el Agente de MeshCentral para Apple OSX.",
6854
+ "es": "Haga clic aquí para descargar el Agente Mesh para Apple OSX.",
6855
"fi": "Napsauta tätä ladataksesi MeshAgent Apple OSX:lle.",
6856
"fr": "Cliquez ici pour télécharger le MeshAgent pour Apple OSX.",
6857
"hi": "Apple OSX के लिए मेशजेंट को डाउनलोड करने के लिए यहां क्लिक करें।",
@@ -6869,7 +6870,7 @@
6870
"cs": "Kliknutím sem stáhnete MeshAgent pro Windows.",
6871
"de": "Klicken Sie hier, um den MeshAgent für Windows herunterzuladen.",
6872
"en": "Click here to download the MeshAgent for Windows.",
6872
- "es": "Haga click aquí para descargar el agente de MeshCentral para Windows.",
6873
+ "es": "Haga clic aquí para descargar el Agente Mesh para Windows.",
6874
"fi": "Napsauta tätä ladataksesi MeshAgent Windows:lle.",
6875
"fr": "Cliquez ici pour télécharger le MeshAgent pour Windows.",
6876
"hi": "विंडोज के लिए मेशजेंट को डाउनलोड करने के लिए यहां क्लिक करें।",
@@ -6886,7 +6887,7 @@
6887
},
6888
{
6889
"en": "Click here to edit the device group name",
6889
- "es": "Haga clic aquí para editar el nombre del grupo de dispositivos.",
6890
+ "es": "Haga clic aquí para editar el nombre del grupo de dispositivos",
6891
"fi": "Muokkaa laiteryhmän nimeä napsauttamalla tätä",
6892
"fr": "Cliquez ici pour modifier le nom du groupe d'appareils",
6893
"hi": "डिवाइस समूह का नाम संपादित करने के लिए यहां क्लिक करें",
@@ -6923,7 +6924,7 @@
6924
},
6925
{
6926
"en": "Click here to edit the user group name",
6926
- "es": "Haga clic aquí para editar el nombre del grupo de usuarios.",
6927
+ "es": "Haga clic aquí para editar el nombre del grupo de usuarios",
6928
"fi": "Napsauta tätä muokataksesi käyttäjäryhmän nimeä",
6929
"fr": "Cliquez ici pour modifier le nom du groupe d'utilisateurs",
6930
"hi": "उपयोगकर्ता समूह नाम संपादित करने के लिए यहां क्लिक करें",
@@ -6941,7 +6942,7 @@
6942
"cs": "Kliknutím sem obnovíte heslo svého účtu.",
6943
"de": "Klicken Sie hier, um Ihr Kontopasswort zurückzusetzen.",
6944
"en": "Click here to reset your account password.",
6944
- "es": "Haga click aquí para resetear la contraseña de su cuenta.",
6945
+ "es": "Haga clic aquí para restablecer la contraseña de su cuenta.",
6946
"fi": "Palauta tilisi salasana napsauttamalla tätä.",
6947
"fr": "Cliquez ici pour réinitialiser le mot de passe de votre compte.",
6948
"hi": "अपना खाता पासवर्ड रीसेट करने के लिए यहां क्लिक करें।",
@@ -6960,7 +6961,7 @@
6961
"cs": "Kliknutím sem ověřte svou e-mailovou adresu.",
6962
"de": "Klicken Sie hier, um Ihre E-Mail-Adresse zu bestätigen.",
6963
"en": "Click here to verify your e-mail address.",
6963
- "es": "Haga click aquí para verificar su dirección de e-mail",
6964
+ "es": "Haga clic aquí para verificar su dirección de correo electrónico.",
6965
"fi": "Napsauta tätä vahvistaaksesi sähköpostiosoitteesi.",
6966
"fr": "Cliquez ici pour vérifier votre adresse e-mail.",
6967
"hi": "अपना ई-मेल पता सत्यापित करने के लिए यहां क्लिक करें।",
@@ -7020,7 +7021,7 @@
7021
"cs": "Client Control Mode (CCM)",
7022
"de": "Client Control Mode (CCM)",
7023
"en": "Client Control Mode (CCM)",
7023
- "es": "Client Control Mode (CCM)",
7024
+ "es": "Modo de Control de Cliente (CCM)",
7025
"fi": "Asiakasohjaustila (CCM)",
7026
"fr": "Client Control Mode (CCM)",
7027
"hi": "ग्राहक नियंत्रण मोड (CCM)",
@@ -7041,6 +7042,7 @@
7042
"en": "Client ID",
7043
"nl": "Client ID",
7044
"tr": "Müşteri Kimliği",
7045
+ "es": "ID del Cliente",
7046
"xloc": [
7047
"default.handlebars->27->1270"
7048
]
@@ -7070,6 +7072,7 @@
7072
"en": "Client Secret",
7073
"nl": "Client Secret",
7074
"tr": "Müşteri Sırrı",
7075
+ "es": "Secreto del Cliente",
7076
"xloc": [
7077
"default.handlebars->27->1271"
7078
]
@@ -7122,13 +7125,14 @@
7125
"en": "Code",
7126
"nl": "Code",
7127
"tr": "Kodu",
7128
+ "es": "Código",
7129
"xloc": [
7130
"default.handlebars->27->200"
7131
]
7132
},
7133
{
7134
"en": "Color Quality",
7131
- "es": "Calidad del color",
7135
+ "es": "Calidad del Color",
7136
"fi": "Värin laatu",
7137
"fr": "Nombre de couleurs",
7138
"nl": "Kleurkwaliteit",
@@ -7165,7 +7169,7 @@
7169
"cs": "Společné skupiny zařízení",
7170
"de": "Gemeinsame Gerätegruppen",
7171
"en": "Common Device Groups",
7168
- "es": "Grupos de Dispositivos Comunes",
7172
+ "es": "Grupos de Dispositivos en Común",
7173
"fi": "Yleiset laiteryhmät",
7174
"fr": "Groupes d'appareils",
7175
"hi": "सामान्य उपकरण समूह",
@@ -7186,7 +7190,7 @@
7190
"cs": "Společná zařízení",
7191
"de": "Allgemeine Geräte",
7192
"en": "Common Devices",
7189
- "es": "Dispositivos comunes",
7193
+ "es": "Dispositivos en Común",
7194
"fi": "Yleiset laitteet",
7195
"fr": "Périphériques communs",
7196
"hi": "आम उपकरण",
@@ -7210,6 +7214,7 @@
7214
"tr": "Dosyalar sıkıştırılıyor ...",
7215
"zh-chs": "压缩档案...",
7216
"zh-cht": "壓縮檔案...",
7217
+ "es": "Comprimiendo archivos...",
7218
"xloc": [
7219
"default.handlebars->27->860"
7220
]
@@ -7218,7 +7223,7 @@
7223
"cs": "Potvrdit {0} z {1} záznam{2} do tohoto umístění?",
7224
"de": "Bestätigen Sie das {0} von {1} Einträgen{2} an diesen Ort?",
7225
"en": "Confim {0} of {1} entrie{2} to this location?",
7221
- "es": "¿Confirma {0} de {1} entrada {2} a esta ubicación?",
7226
+ "es": "¿Confirmar {0} de {1} entrada{2} a esta ubicación?",
7227
"fi": "Haluatko varmasti {0} {1} kohdetta tänne?",
7228
"fr": "Confim {0} de {1} entrée {2} à cet emplacement?",
7229
"hi": "{1} के {0} की पुष्टि करें {2} इस स्थान पर?",
@@ -7239,7 +7244,7 @@
7244
"cs": "Potvrdit",
7245
"de": "Bestätigen",
7246
"en": "Confirm",
7242
- "es": "Confirme",
7247
+ "es": "Confirmar",
7248
"fi": "Varmista",
7249
"fr": "Confirmer",
7250
"hi": "पुष्टि करें",
@@ -7268,7 +7273,7 @@
7273
"cs": "Potvrdit kopírování jednoho záznamu do tohoto umístění?",
7274
"de": "Bestätigen Sie das Kopieren von 1 Eintrag an diesen Ort?",
7275
"en": "Confirm copy of 1 entrie to this location?",
7271
- "es": "¿Confirme copia de una entrada a esta ubicación?",
7276
+ "es": "¿Confirmar la copia de 1 entrada a esta ubicación?",
7277
"fi": "Haluatko varmasti kopioida kohteen tänne?",
7278
"fr": "Confirmer la copie de 1 entrée à cet emplacement?",
7279
"hi": "इस स्थान पर 1 एन्ट्री की प्रतिलिपि की पुष्टि करें?",
@@ -7289,7 +7294,7 @@
7294
"cs": "Potvrdit kopírování {0} zaznámů do tohoto umístění?",
7295
"de": "Bestätigen Sie das Kopieren von {0} Einträgen an diesen Ort?",
7296
"en": "Confirm copy of {0} entries's to this location?",
7292
- "es": "¿Confirme copia de {1} entradas a esta ubicación?",
7297
+ "es": "¿Confirmar la copia de {1} entradas a esta ubicación?",
7298
"fi": "Haluatko varmasti kopioida {0} kojdetta tänne?",
7299
"fr": "Confirmer la copie de {0} entrées à cet emplacement?",
7300
"hi": "इस स्थान पर {0} प्रविष्टियों की प्रतिलिपि की पुष्टि करें?",
@@ -7309,7 +7314,7 @@
7314
{
7315
"de": "Bestätigen Sie das Löschen der gewählten Konten?",
7316
"en": "Confirm delete selected account(s)?",
7312
- "es": "¿Confirmar eliminar cuenta (s) seleccionada (s)?",
7317
+ "es": "¿Confirmar la eliminación de las cuentas seleccionadas?",
7318
"fi": "Haluatko varmasti poistaa valitut tilit?",
7319
"fr": "Confirmer la suppression des comptes sélectionnés?",
7320
"hi": "चयनित खाते को हटाने की पुष्टि करें?",
@@ -7327,7 +7332,7 @@
7332
"cs": "Potvrdit smázání vybraných zařízení?",
7333
"de": "Bestätigen Sie das Löschen der gewählten Geräte?",
7334
"en": "Confirm delete selected devices(s)?",
7330
- "es": "¿Eliminar dispositivos seleccionados?",
7335
+ "es": "¿Confirmar la eliminación de los dispositivos seleccionados?",
7336
"fi": "Haluatko varmasti poistaa valitut laitteet?",
7337
"fr": "Supprimer les appareils sélectionnés ?",
7338
"hi": "चयनित उपकरणों को हटाने की पुष्टि करें?",
@@ -7346,7 +7351,7 @@
7351
{
7352
"de": "Bestätigen Sie das Löschen der gewählten Benutzergruppen?",
7353
"en": "Confirm delete selected user groups(s)?",
7349
- "es": "¿Confirmar eliminar grupos de usuarios seleccionados?",
7354
+ "es": "¿Confirmar la eliminación de grupos de usuarios seleccionados?",
7355
"fi": "Haluatko varmasti poistaa valitut käyttäjäryhmät?",
7356
"fr": "Confirmer la suppression des groupes d'utilisateurs sélectionnés?",
7357
"hi": "चयनित उपयोगकर्ता समूहों को हटाएं?",
@@ -7364,7 +7369,7 @@
7369
"cs": "Potvrdit odstranění uživatele {0}?",
7370
"de": "Löschen von Benutzer {0} bestätigen?",
7371
"en": "Confirm deletion of user {0}?",
7367
- "es": "Confirmar la eliminación del usuario {0}?",
7372
+ "es": "¿Confirmar la eliminación del usuario {0}?",
7373
"fi": "Haluatko varmasti poistaa käyttäjän {0}?",
7374
"fr": "Confirmer la suppression de l'utilisateur {0}?",
7375
"hi": "उपयोगकर्ता को हटाने की पुष्टि करें {0}?",
@@ -7383,7 +7388,7 @@
7388
{
7389
"de": "Bestätigen Sie den Mitgliedschaftsentzug für Benutzer \\\"{0}\\\"?",
7390
"en": "Confirm membership removal of user \\\"{0}\\\"?",
7386
- "es": "¿Confirmar la eliminación de la membresía del usuario \\\"{0}\\\"?",
7391
+ "es": "¿Confirmar la remoción del usuario \\\"{0}\\\"?",
7392
"fi": "Haluatko varmasti poistaa käytäjän \\\"{0}\\\" jäsenyyden?",
7393
"fr": "Confirmer la suppression de l'adhésion de l'utilisateur \\\"{0}\\\"?",
7394
"hi": "उपयोगकर्ता के \\\"{0}\\\" की सदस्यता हटाने की पुष्टि करें?",
@@ -7400,7 +7405,7 @@
7405
{
7406
"de": "Bestätigen Sie den Mitgliedschaftsentzug für Benutzergruppe \\\"{0}\\\"?",
7407
"en": "Confirm membership removal of user group \\\"{0}\\\"?",
7403
- "es": "¿Confirmar la eliminación de la membresía del grupo de usuarios \\\"{0}\\\"?",
7408
+ "es": "¿Confirmar la remoción del grupo de usuarios \\\"{0}\\\"?",
7409
"fi": "Haluatko varmasti poistaa käyttäjäryhmän \\\"{0}\\\" jäsenyyden?",
7410
"fr": "Confirmer la suppression de l'appartenance au groupe d'utilisateurs \\\"{0}\\\"?",
7411
"hi": "उपयोगकर्ता समूह की सदस्यता हटाने की पुष्टि करें \\\"{0}\\\"?",
@@ -7418,7 +7423,7 @@
7423
"cs": "Potvrdit přesun jednoho záznamu do tohoto umístění?",
7424
"de": "Bestätigen Sie das Verschieben von 1 Eintrag an diesen Ort?",
7425
"en": "Confirm move of 1 entrie to this location?",
7421
- "es": "¿Confirme el movimiento de 1 entrada a esta ubicación?",
7426
+ "es": "¿Confirmar el movimiento de 1 entrada a esta ubicación?",
7427
"fi": "Haluatko varmasti siirtää kohteen tänne?",
7428
"fr": "Confirmer le déplacement de 1 entrée vers cet emplacement?",
7429
"hi": "इस स्थान पर 1 एंट्री की पुष्टि करें?",
@@ -7439,7 +7444,7 @@
7444
"cs": "Potvrdit přesun {0} záznamů do tohoto umístění?",
7445
"de": "Bestätigen Sie das Verschieben von {0} Einträgen an diesen Ort?",
7446
"en": "Confirm move of {0} entries's to this location?",
7442
- "es": "¿Confirme el movimiento de {1} entradas a esta ubicación?",
7447
+ "es": "¿Confirmar el movimiento de {1} entradas a esta ubicación?",
7448
"fi": "Haluatko varmasti siirtää {0} kohdetta tänne?",
7449
"fr": "Confirmer le déplacement de {0} entrées vers cet emplacement?",
7450
"hi": "इस स्थान पर {0} प्रविष्टियों की पुष्टि करें?",
@@ -7460,7 +7465,7 @@
7465
"cs": "Potvrdit přepsání?",
7466
"de": "Bestätigen Sie das Überschreiben?",
7467
"en": "Confirm overwrite?",
7463
- "es": "¿Sobrescribir?",
7468
+ "es": "¿Confirmar sobrescritura?",
7469
"fi": "Haluatko varmasti korvata olemassa olevan?",
7470
"fr": "Ecraser ?",
7471
"hi": "ओवरराइट करने की पुष्टि करें?",
@@ -7479,7 +7484,7 @@
7484
{
7485
"de": "Bestätigen Sie den Entzug von Zugriffsrechten für Gerät \\\"{0}\\\"?",
7486
"en": "Confirm removal of access rights for device \\\"{0}\\\"?",
7482
- "es": "¿Confirmar la eliminación de los derechos de acceso para el dispositivo \\\"{0}\\\"?",
7487
+ "es": "¿Confirmar la remoción de los permisos de acceso para el dispositivo \\\"{0}\\\"?",
7488
"fi": "Haluatko varmasti poistaa laitteen \\\"{0}\\\" käyttöoikeudet?",
7489
"fr": "Confirmer la suppression des droits d'accès pour l'appareil \\\"{0}\\\"?",
7490
"hi": "डिवाइस \\\"{0}\\\" के लिए एक्सेस अधिकारों को हटाने की पुष्टि करें?",
@@ -7497,7 +7502,7 @@
7502
{
7503
"de": "Bestätigen Sie den Entzug von Zugriffsrechten für Gerätegruppe \\\"{0}\\\"?",
7504
"en": "Confirm removal of access rights for device group \\\"{0}\\\"?",
7500
- "es": "¿Confirmar la eliminación de los derechos de acceso para el grupo de dispositivos \\\"{0}\\\"?",
7505
+ "es": "¿Confirmar la remoción de los permisos de acceso para el grupo de dispositivos \\\"{0}\\\"?",
7506
"fi": "Haluatko varmasti poistaa laiteryhmän \\\"{0}\\\" käyttöoikeudet?",
7507
"fr": "Confirmer la suppression des droits d'accès pour le groupe d'appareils \\\"{0}\\\"?",
7508
"hi": "उपकरण समूह \\\"{0}\\\" के लिए एक्सेस अधिकारों को हटाने की पुष्टि करें?",
@@ -7515,7 +7520,7 @@
7520
{
7521
"de": "Bestätigen Sie den Entzug von Zugriffsrechten für Benutzer \\\"{0}\\\"?",
7522
"en": "Confirm removal of access rights for user \\\"{0}\\\"?",
7518
- "es": "¿Confirmar la eliminación de los derechos de acceso para el usuario \\\"{0}\\\"?",
7523
+ "es": "¿Confirmar la remoción de los permisos de acceso para el usuario \\\"{0}\\\"?",
7524
"fi": "Haluatko varmasti poistaa käyttäjän \\\"{0}\\\" käyttöoikeudet?",
7525
"fr": "Confirmer la suppression des droits d'accès pour l'utilisateur \\\"{0}\\\"?",
7526
"hi": "उपयोगकर्ता के लिए पहुँच अधिकारों की पुष्टि करें \\\"{0}\\\"?",
@@ -7532,7 +7537,7 @@
7537
{
7538
"de": "Bestätigen Sie den Entzug von Zugriffsrechten für Benutzergruppe \\\"{0}\\\"?",
7539
"en": "Confirm removal of access rights for user group \\\"{0}\\\"?",
7535
- "es": "¿Confirmar la eliminación de los derechos de acceso para el grupo de usuarios \\\"{0}\\\"?",
7540
+ "es": "¿Confirmar la remoción de los permisos de acceso para el grupo de usuarios \\\"{0}\\\"?",
7541
"fi": "Haluatko varmasti poistaa käyttäjäryhmän \\\"{0}\\\" käyttöoikeudet?",
7542
"fr": "Confirmer la suppression des droits d'accès pour le groupe d'utilisateurs \\\"{0}\\\"?",
7543
"hi": "उपयोगकर्ता समूह के लिए पहुँच अधिकारों की पुष्टि करें \\\"{0}\\\"?",
@@ -7549,7 +7554,7 @@
7554
{
7555
"de": "Bestätigen Sie den Entzug von Zugriffsrechten?",
7556
"en": "Confirm removal of access rights?",
7552
- "es": "¿Confirmar la eliminación de los derechos de acceso?",
7557
+ "es": "¿Confirmar la remoción de los permisos de acceso?",
7558
"fi": "Haluatko varmasti poistaa käyttöoikeudet?",
7559
"fr": "Confirmer la suppression des droits d'accès?",
7560
"hi": "एक्सेस अधिकारों को हटाने की पुष्टि करें?",
@@ -7568,7 +7573,7 @@
7573
"cs": "Potvrdit odstranění aplikace pro 2-faktorové ověřování se?",
7574
"de": "Bestätigen Sie das Entfernen der Zweifaktor-Anmeldung mittels Authentifikator-Applikation?",
7575
"en": "Confirm removal of authenticator application 2-step login?",
7571
- "es": "¿Eliminar el inicio de sesión usando autenticación de 2 pasos?",
7576
+ "es": "¿Confirmar la remoción del inicio de sesión usando autenticación de 2 pasos?",
7577
"fi": "Haluatko varmasti poistaa kaksivaiheisen kirjautumisen todennussovelluksen?",
7578
"fr": "Confirmer la suppression de l'authentification à double facteur?",
7579
"hi": "प्रामाणिकता एप्लिकेशन 2-चरण लॉगिन को हटाने की पुष्टि करें?",
@@ -7589,7 +7594,7 @@
7594
"cs": "Potvrdit odebrání skupiny zařízení {0}?",
7595
"de": "Bestätigen Sie das Löschen der Gerätegruppe {0}?",
7596
"en": "Confirm removal of device group {0}?",
7592
- "es": "¿Eliminar el grupo de dispositivos {0}?",
7597
+ "es": "¿Confirmar la remoción del grupo de dispositivos {0}?",
7598
"fi": "Haluatko varmasti poistaa laiteryhmän {0}?",
7599
"fr": "Êtes vous sûr de vouloir supprimer le groupe d'appareils {0}?",
7600
"hi": "डिवाइस समूह {0} को हटाने की पुष्टि करें?",
@@ -7606,7 +7611,7 @@
7611
"cs": "Potvrdit odebrání zařízení {0}?",
7612
"de": "Entfernen des Geräts {0} bestätigen?",
7613
"en": "Confirm removal of device {0}?",
7609
- "es": "Confirmar la eliminación del dispositivo {0}?",
7614
+ "es": "¿Confirmar la remoción del dispositivo {0}?",
7615
"fi": "Haluatko varmasti poistaa laitteen {0}?",
7616
"fr": "Confirmer la suppression de l'appareil {0}?",
7617
"hi": "डिवाइस {0} को हटाने की पुष्टि करें?",
@@ -7622,7 +7627,7 @@
7627
"cs": "Potvrdit odebrání skupiny {0}?",
7628
"de": "Bestätigen Sie das Löschen der Gruppe {0}?",
7629
"en": "Confirm removal of group {0}?",
7625
- "es": "¿Eliminar el grupo {0}?",
7630
+ "es": "¿Confirmar la remoción del grupo {0}?",
7631
"fi": "Haluatko varmasti poistaa ryhmän {0}?",
7632
"fr": "Êtes vous sûr de vouloir supprimer le groupe {0}?",
7633
"hi": "समूह {0} को हटाने की पुष्टि करें?",
@@ -7638,7 +7643,7 @@
7643
{
7644
"de": "Bestätigen Sie den Entzug von Rechten für Benutzer \\\"{0}\\\"?",
7645
"en": "Confirm removal of rights for user \\\"{0}\\\"?",
7641
- "es": "¿Confirmar la eliminación de los derechos del usuario \\\"{0}\\\"?",
7646
+ "es": "¿Confirmar la remoción de los permisos del usuario \\\"{0}\\\"?",
7647
"fi": "Haluatko varmasti poistaa käyttäjän \\\"{0}\\\" oikeudet?",
7648
"fr": "Confirmer la suppression des droits de l'utilisateur \\\"{0}\\\"?",
7649
"hi": "उपयोगकर्ता के लिए अधिकारों की पुष्टि \\\"{0}\\\"?",
@@ -7655,7 +7660,7 @@
7660
{
7661
"de": "Bestätigen Sie den Entzug von Rechten für Benutzergruppe \\\"{0}\\\"?",
7662
"en": "Confirm removal of rights for user group \\\"{0}\\\"?",
7658
- "es": "¿Confirmar la eliminación de derechos para el grupo de usuarios \\\"{0}\\\"?",
7663
+ "es": "¿Confirmar la remoción de los permisos para el grupo de usuarios \\\"{0}\\\"?",
7664
"fi": "Haluatko varmasti poistaa käyttäjäryhmän \\\"{0}\\\" oikeudet?",
7665
"fr": "Confirmer la suppression des droits du groupe d'utilisateurs \\\"{0}\\\"?",
7666
"hi": "उपयोगकर्ता समूह के लिए अधिकारों को हटाने की पुष्टि करें \\\"{0}\\\"?",
@@ -7672,7 +7677,7 @@
7677
{
7678
"de": "Bestätigen Sie das Entfernen der Benutzergruppe {0}?",
7679
"en": "Confirm removal of user group {0}?",
7675
- "es": "¿Confirmar la eliminación del grupo de usuarios {0}?",
7680
+ "es": "¿Confirmar la remoción del grupo de usuarios {0}?",
7681
"fi": "Haluatko varmasti poistaa käyttäjäryhmän {0}?",
7682
"fr": "Confirmer la suppression du groupe d'utilisateurs {0}?",
7683
"hi": "उपयोगकर्ता समूह {0} को हटाने की पुष्टि करें?",
@@ -7687,7 +7692,7 @@
7692
"cs": "Potvrdit odstranění uživatele {0}?",
7693
"de": "Bestätigen Sie das Entfernen des Benutzers {0}?",
7694
"en": "Confirm removal of user {0}?",
7690
- "es": "¿Eliminae el usuario {0}?",
7695
+ "es": "¿Confirmar la remoción del usuario {0}?",
7696
"fi": "Haluatko varmasti poistaa käyttäjän {0}?",
7697
"fr": "Supprimer l'utilisateur {0} ?",
7698
"hi": "उपयोगकर्ता को हटाने की पुष्टि {0}?",
@@ -7737,7 +7742,7 @@
7742
"cs": "Připojit vše",
7743
"de": "Alle verbinden",
7744
"en": "Connect All",
7740
- "es": "Conectar con Todos",
7745
+ "es": "Conectar Todos",
7746
"fi": "Yhdistä kaikkiin",
7747
"fr": "Se connecter à tous",
7748
"hi": "सभी को कनेक्ट करें",
@@ -7758,7 +7763,7 @@
7763
"cs": "Připojit se na server",
7764
"de": "Mit Server verbinden",
7765
"en": "Connect to server",
7761
- "es": "Conectar al Servidor",
7766
+ "es": "Conectar al servidor",
7767
"fi": "Yhdistä palvelimeen",
7768
"fr": "Se connecter au serveur",
7769
"hi": "सर्वर से कनेक्ट करें",
@@ -7779,7 +7784,7 @@
7784
"cs": "Připojujte se na svá domácí nebo firemní zařízení odkudkoliv z celého světa pomocí MeshCentral, open source nástroje pro dohledování a správu na dálku – to vše přes webové rozhraní. Na své počítače je třeba si nainstalovat agenta pro správu. Po jeho instalaci se počítače zobrazí v sekci „Moje zařízení“ tohoto webového rozhraní a budete je odsud moci dohledovat a ovládat.",
7785
"de": "Verbinden Sie sich von überall in der Welt zu Ihren Heim- oder Büro-Geräten mittels MeshCentral, der Echtzeit-, Open-Source-Fernüberwachungs- und -verwaltungs-Webapplikation. Sie müssen einen Verwaltungsagenten herunterladen und auf Ihren Computern installieren. Nach der Installation werden Ihre Computer im Bereich \"Meine Geräte\" erscheinen und Sie werden Sie überwachen und fernbedienen können.",
7786
"en": "Connect to your home or office devices from anywhere in the world using MeshCentral, the real time, open source remote monitoring and management web site. You will need to download and install a management agent on your computers. Once installed, computers will show up in the \"My Devices\" section of this web site and you will be able to monitor them and take control of them.",
7782
- "es": "Conéctese a los dispositivos de su hogar u oficina desde cualquier parte del mundo utilizando MeshCentral, el sitio web de administración y monitoreo remoto de código abierto en tiempo real. Deberá descargar e instalar un agente de administración en sus computadoras. Una vez instaladas, las computadoras aparecerán en la sección \"Mis dispositivos\" de este sitio web y usted podrá monitorearlas y controlarlas.",
7787
+ "es": "Conéctese a los dispositivos de su hogar u oficina desde cualquier parte del mundo utilizando MeshCentral, el sitio web de administración y monitoreo remoto de código abierto en tiempo real. Deberá descargar e instalar un agente de administración en sus computadoras. Una vez instalado, las computadoras aparecerán en la sección \"Mis dispositivos\" de este sitio web y podrá monitorearlas y controlarlas.",
7788
"fi": "Yhdistä kotiisi tai toimistolaitteihisi mistä päin maailmaa tahansa käyttämällä MeshCentralia, reaaliaikaista, avoimen lähdekoodin etävalvonta- ja hallinta-verkkosivustoa. Joudut lataamaan ja asentamaan hallintaagentin tietokoneillesi. Asennuksen jälkeen tietokoneet näkyvät tämän verkkosivuston \"Omat laitteet\" -osiossa, ja voit seurata niitä ja hallita niitä.",
7789
"fr": "Connectez-vous à vos ordinateurs à la maison ou au bureau depuis n'importe où dans le monde avec MeshCentral, le site web open source de surveillance et de gestion d’ordinateur à distance en temps réel. Vous devrez télécharger et installer un agent de gestion sur vos ordinateurs. Une fois installés, les ordinateurs apparaîtront dans la section \"Mes appareils\" de ce site et vous pourrez les surveiller et en prendre le contrôle.",
7790
"hi": "दुनिया में कहीं से भी अपने घर या दफ्तर के उपकरणों से कनेक्ट करें, जो कि मेषस्थ्रल, रियल टाइम, ओपन सोर्स रिमोट मॉनिटरिंग और मैनेजमेंट वेब साइट का उपयोग करते हैं। आपको अपने कंप्यूटर पर एक प्रबंधन एजेंट को डाउनलोड और इंस्टॉल करना होगा। एक बार स्थापित होने के बाद, कंप्यूटर इस वेब साइट के \"माई डिवाइसेस\" अनुभाग में दिखाई देंगे और आप उनकी निगरानी कर पाएंगे और उनका नियंत्रण ले पाएंगे।",
@@ -7799,7 +7804,7 @@
7804
"cs": "Připojit pomocí Intel AMT hardware KVM",
7805
"de": "Verbinden per Intel-AMT-Hardware-KVM",
7806
"en": "Connect using Intel AMT hardware KVM",
7802
- "es": "Conectar usando el hardware Intel AMT KVM",
7807
+ "es": "Conectar usando el hardware Intel® AMT KVM",
7808
"fi": "Yhdistä käyttäen Intel® AMT laitteisto KVM:ää",
7809
"fr": "Se connecter en utilisant le KVM d'Intel AMT",
7810
"hi": "Intel AMT हार्डवेयर KVM का उपयोग करके कनेक्ट करें",
@@ -7844,7 +7849,7 @@
7849
"cs": "Připojené Intel® AMT",
7850
"de": "Verbinden per Intel® AMT",
7851
"en": "Connected Intel® AMT",
7847
- "es": "Conectado Intel AMT",
7852
+ "es": "Conectado Intel® AMT",
7853
"fi": "Yhdistetyt Intel® AMT",
7854
"fr": "Nombre d'appareils Intel® AMT connectés",
7855
"hi": "कनेक्टेड Intel® AMT",
@@ -7954,7 +7959,7 @@
7959
"cs": "Počitadlo připojení",
7960
"de": "Verbindungsanzahl",
7961
"en": "Connection Count",
7957
- "es": "Conteo de Conexion.",
7962
+ "es": "Conteo de Conexión",
7963
"fi": "Yhteysmäärä",
7964
"fr": "Nombre de connexions",
7965
"hi": "कनेक्शन गणना",
@@ -8225,7 +8230,7 @@
8230
"cs": "Kopírovat adresu do schránky",
8231
"de": "Adresse in Zwischenablage kopieren",
8232
"en": "Copy address to clipboard",
8228
- "es": "Copiar direccion al portapapeles",
8233
+ "es": "Copiar dirección al portapapeles",
8234
"fi": "Kopioi osoite leikepöydälle",
8235
"fr": "Copier l'adresse dans la presse-papiers",
8236
"hi": "क्लिपबोर्ड पर पता कॉपी करें",
@@ -8351,7 +8356,7 @@
8356
"cs": "Kopírovat platné kódy do schránky",
8357
"de": "Gültige Codes in Zwischenablage kopieren",
8358
"en": "Copy valid codes to clipboard",
8354
- "es": "Copiar codigos validos al portapapeles",
8359
+ "es": "Copiar códigos válidos al portapapeles",
8360
"fi": "Kopioi kelvolliset koodit leikepöydälle",
8361
"fr": "Copier les codes dans le presse-papiers",
8362
"hi": "मान्य कोड को क्लिपबोर्ड पर कॉपी करें",
@@ -8497,7 +8502,7 @@
8502
"cs": "Hlavní server",
8503
"de": "Kernserver",
8504
"en": "Core Server",
8500
- "es": "Servidor central",
8505
+ "es": "Servidor Central",
8506
"fi": "Ydin palvelin",
8507
"fr": "Serveur central",
8508
"hi": "कोर सर्वर",
@@ -8537,7 +8542,7 @@
8542
"cs": "Vytvořit účet",
8543
"de": "Konto erstellen",
8544
"en": "Create Account",
8540
- "es": "Crear una cuenta",
8545
+ "es": "Crear Cuenta",
8546
"fi": "Luo käyttäjätunnus",
8547
"fr": "Créer un compte",
8548
"hi": "खाता बनाएं",
@@ -8560,7 +8565,7 @@
8565
"cs": "Vytvořit skupinu zařízení",
8566
"de": "Gerätegruppe erstellen",
8567
"en": "Create Device Group",
8563
- "es": "Crear grupo de dispositivos",
8568
+ "es": "Crear Grupo de Dispositivos",
8569
"fi": "Luo laiteryhmä",
8570
"fr": "Créer un groupe d'appareils",
8571
"hi": "डिवाइस ग्रुप बनाएं",
@@ -8580,7 +8585,7 @@
8585
"cs": "Vytvořit skupinu uživatelů",
8586
"de": "Benutzergruppe erstellen",
8587
"en": "Create User Group",
8583
- "es": "Crear grupo de usuarios",
8588
+ "es": "Crear Grupo de Usuarios",
8589
"fi": "Luo käyttäjäryhmä",
8590
"fr": "Créer un groupe utilisateur",
8591
"hi": "उपयोगकर्ता समूह बनाएँ",
@@ -8612,7 +8617,7 @@
8617
"cs": "Vytvořit novou skupinu zařízení podle nastavení níže.",
8618
"de": "Eine neue Gerätegruppe mit den folgenden Optionen erstellen.",
8619
"en": "Create a new device group using the options below.",
8615
- "es": "Cree un nuevo grupo de dispositivos utilizando las siguientes opciones.",
8620
+ "es": "Crear un nuevo grupo de dispositivos utilizando las siguientes opciones.",
8621
"fi": "Luo uusi laiteryhmä käyttäen alla olevia vaihtoehtoja.",
8622
"fr": "Créer un nouveau groupe d'appareils avec les options suivantes.",
8623
"hi": "नीचे दिए गए विकल्पों का उपयोग करके एक नया उपकरण समूह बनाएं।",
@@ -8632,7 +8637,7 @@
8637
"cs": "Vytvořit novou skupinu zařízení.",
8638
"de": "Eine neue Gerätegruppe erstellen.",
8639
"en": "Create a new group of devices.",
8635
- "es": "Crea un nuevo grupo de dispositivos.",
8640
+ "es": "Crear un nuevo grupo de dispositivos.",
8641
"fi": "Luo uusi laiteryhmä.",
8642
"fr": "Créer un groupe d'appareils",
8643
"hi": "उपकरणों का एक नया समूह बनाएँ।",
@@ -8652,7 +8657,7 @@
8657
"cs": "Vytvořit více účtu najednou pomocí importu JSON souboru s následujícím formátem:",
8658
"de": "Erzeuge viele Konten auf einmal durch Import einer JSON-Datei mit dem folgenden Format:",
8659
"en": "Create many accounts at once by importing a JSON file with the following format:",
8655
- "es": "Cree muchas cuentas a la vez importando un archivo JSON con el siguiente formato:",
8660
+ "es": "Crear muchas cuentas a la vez importando un archivo JSON con el siguiente formato:",
8661
"fi": "Luo useita tilejä kerralla tuomalla JSON-tiedosto seuraavassa muodossa:",
8662
"fr": "Créer des comptes en important un fichier JSON au format suivant :",
8663
"hi": "निम्नलिखित प्रारूप के साथ JSON फ़ाइल आयात करके एक साथ कई खाते बनाएँ:",
@@ -8672,7 +8677,7 @@
8677
"cs": "Vytvořit",
8678
"de": "Erstelle eines",
8679
"en": "Create one",
8675
- "es": "Crea uno",
8680
+ "es": "Crear una",
8681
"fi": "Luo yksi",
8682
"fr": "Créer un",
8683
"hi": "एक बनाए",
@@ -8692,7 +8697,7 @@
8697
},
8698
{
8699
"en": "Creates a link that allows a guest without an account to remote desktop into this device for up to 1 hour.",
8695
- "es": "Crea un enlace que permite a un invitado acceder al escritorio remoto sin requerir una cuenta en este dispositivo durante hasta 1 hora.",
8700
+ "es": "Crea un enlace que permite a un invitado acceder al escritorio remoto del dispositivo sin requerir una cuenta por hasta 1 hora.",
8701
"fr": "Créer un lien qui autorise un invité sans compte à prendre en main cet appareil pendant maximum 1 heure.",
8702
"nl": "Creëert een link waarmee een gast zonder account maximaal 1 uur op het externe bureaublad van dit apparaat kan gaan.",
8703
"tr": "Hesabı olmayan bir misafirin 1 saate kadar bu cihaza uzak masaüstüne girmesine izin veren bir bağlantı oluşturur.",
@@ -8728,6 +8733,7 @@
8733
"tr": "Oluşturma Zamanı",
8734
"zh-chs": "创建时间",
8735
"zh-cht": "創作時間",
8736
+ "es": "Fecha de Creación",
8737
"xloc": [
8738
"default.handlebars->27->1298"
8739
]
@@ -8736,7 +8742,7 @@
8742
"cs": "Vytvoření tokenu:",
8743
"de": "Erzeugungs-Token:",
8744
"en": "Creation Token:",
8739
- "es": "Creación de Token:",
8745
+ "es": "Token de Creación:",
8746
"fi": "Luontitunnus:",
8747
"fr": "Jeton de création:",
8748
"hi": "निर्माण टोकन:",
@@ -8760,6 +8766,7 @@
8766
"tr": "Yaratıcı",
8767
"zh-chs": "创建者",
8768
"zh-cht": "創作者",
8769
+ "es": "Creado por",
8770
"xloc": [
8771
"default.handlebars->27->1296",
8772
"default.handlebars->27->1297"
@@ -8769,6 +8776,7 @@
8776
"en": "Credentials",
8777
"tr": "Kimlik bilgileri",
8778
"nl": "Inloggegevens",
8779
+ "es": "Credenciales",
8780
"xloc": [
8781
"default.handlebars->27->1268"
8782
]
@@ -8921,7 +8929,7 @@
8929
"cs": "Nainstalovaná verze",
8930
"de": "Aktuelle Version",
8931
"en": "Current Version",
8924
- "es": "Version Actual",
8932
+ "es": "Versión Actual",
8933
"fi": "Nykyinen versio",
8934
"fr": "Version",
8935
"hi": "वर्तमान संस्करण",
@@ -9065,7 +9073,7 @@
9073
"cs": "Den",
9074
"de": "Tag",
9075
"en": "Day",
9068
- "es": "Dia",
9076
+ "es": "Día",
9077
"fi": "Päivä",
9078
"fr": "Jour",
9079
"hi": "दिन",
@@ -9086,7 +9094,7 @@
9094
"cs": "Deaktivovat klientem řízený řetim (CCM)",
9095
"de": "Client Control Mode (CCM) deaktivieren",
9096
"en": "Deactivate Client Control Mode (CCM)",
9089
- "es": "Desactivar Client Control Mode (CCM)",
9097
+ "es": "Desactivar Modo de Control de Cliente (CCM)",
9098
"fi": "Poista asiakashallintatila (CCM) käytöstä",
9099
"fr": "Désactiver le contrôle du client (CCM)",
9100
"hi": "ग्राहक नियंत्रण मोड (CCM) निष्क्रिय करें",
@@ -9143,7 +9151,7 @@
9151
"cs": "Smazat",
9152
"de": "Löschen",
9153
"en": "Delete",
9146
- "es": "Borrar",
9154
+ "es": "Eliminar",
9155
"fi": "Poista",
9156
"fr": "Supprimer",
9157
"hi": "हटाएं",
@@ -9176,7 +9184,7 @@
9184
"cs": "Smazat účet",
9185
"de": "Konto löschen",
9186
"en": "Delete Account",
9179
- "es": "Borrar cuenta",
9187
+ "es": "Eliminar Cuenta",
9188
"fi": "Poista Tili",
9189
"fr": "Supprimer mon compte",
9190
"hi": "खाता हटा दो",
@@ -9196,7 +9204,7 @@
9204
{
9205
"de": "Konten löschen",
9206
"en": "Delete Accounts",
9199
- "es": "Eliminar cuentas",
9207
+ "es": "Eliminar Cuentas",
9208
"fi": "Poista tilit",
9209
"fr": "Supprimer des comptes",
9210
"hi": "खाते हटाएं",
@@ -9214,7 +9222,7 @@
9222
"cs": "Smazat zařízení",
9223
"de": "Gerät löschen",
9224
"en": "Delete Device",
9217
- "es": "Borrar dispositivo",
9225
+ "es": "Eliminar Dispositivo",
9226
"fi": "Poista laite",
9227
"fr": "Supprimer l'appareil",
9228
"hi": "डिवाइस हटाएं",
@@ -9235,7 +9243,7 @@
9243
"cs": "Smazat skupinu",
9244
"de": "Gruppe löschen",
9245
"en": "Delete Group",
9238
- "es": "Borrar Grupo",
9246
+ "es": "Eliminar Grupo de Dispositivos",
9247
"fi": "Poista Ryhmä",
9248
"fr": "Supprimer le groupe",
9249
"hi": "समूह हटाएँ",
@@ -9258,7 +9266,7 @@
9266
"cs": "Smazat uzel",
9267
"de": "Knoten löschen",
9268
"en": "Delete Node",
9261
- "es": "Borrar Nodo",
9269
+ "es": "Eliminar Nodo",
9270
"fi": "Poista solmu",
9271
"fr": "Supprimer le noeud",
9272
"hi": "नोड हटाएं",
@@ -9279,7 +9287,7 @@
9287
"cs": "Smazat uzly",
9288
"de": "Knoten löschen",
9289
"en": "Delete Nodes",
9282
- "es": "Borrar Nodos",
9290
+ "es": "Eliminar Nodos",
9291
"fi": "Poista solmut",
9292
"fr": "Supprimer les noeuds",
9293
"hi": "नोड्स हटाएं",
@@ -9299,7 +9307,7 @@
9307
"cs": "Smazat uživatele",
9308
"de": "Benutzer löschen",
9309
"en": "Delete User",
9302
- "es": "Borrar usuario",
9310
+ "es": "Eliminar Usuario",
9311
"fi": "Poista Käyttäjä",
9312
"fr": "Supprimer l'utilisateur",
9313
"hi": "उपभोक्ता मिटायें",
@@ -9339,7 +9347,7 @@
9347
{
9348
"de": "Benutzergruppen löschen",
9349
"en": "Delete User Groups",
9342
- "es": "Eliminar grupos de usuarios",
9350
+ "es": "Eliminar Grupos de Usuarios",
9351
"fi": "Poista käyttäjäryhmät",
9352
"fr": "Supprimer des groupes d'utilisateurs",
9353
"hi": "उपयोगकर्ता समूह हटाएं",
@@ -9357,7 +9365,7 @@
9365
"cs": "Smazat uživatele {0}",
9366
"de": "Benutzer {0} löschen",
9367
"en": "Delete User {0}",
9360
- "es": "Borrar usuario {0}",
9368
+ "es": "Eliminar Usuario {0}",
9369
"fi": "Poista Käyttäjä {0}",
9370
"fr": "Supprimer l'utilisateur {0}",
9371
"hi": "उपयोगकर्ता को हटाएं {0}",
@@ -9377,7 +9385,7 @@
9385
"cs": "Smazat účet",
9386
"de": "Konto löschen",
9387
"en": "Delete account",
9380
- "es": "Borrar cuenta",
9388
+ "es": "Eliminar cuenta",
9389
"fi": "Poista tili",
9390
"fr": "Supprimer le compte",
9391
"hi": "खाता हटा दो",
@@ -9399,7 +9407,7 @@
9407
"cs": "Smazat zařízení",
9408
"de": "Geräte löschen",
9409
"en": "Delete devices",
9402
- "es": "Borrar dispositivos",
9410
+ "es": "Eliminar dispositivos",
9411
"fi": "Poista laitteet",
9412
"fr": "Supprimer les appareils",
9413
"hi": "उपकरणों को हटा दें",
@@ -9418,7 +9426,7 @@
9426
{
9427
"de": "Gruppe löschen",
9428
"en": "Delete group",
9421
- "es": "Eliminar grupo",
9429
+ "es": "Eliminar grupo de usuarios",
9430
"fi": "Poista ryhmä",
9431
"fr": "Supprimer le groupe",
9432
"hi": "समूह हटाएँ",
@@ -9436,7 +9444,7 @@
9444
"cs": "Smazat položku?",
9445
"de": "Element löschen?",
9446
"en": "Delete item?",
9439
- "es": "Borrar artículo?",
9447
+ "es": "¿Eliminar elemento?",
9448
"fi": "Poista kohde?",
9449
"fr": "Supprimer l'item ?",
9450
"hi": "चीज़ें हटाएं?",
@@ -9479,7 +9487,7 @@
9487
"cs": "Smazat skupinu uživatlů {0}?",
9488
"de": "Benutzergruppe {0} löschen?",
9489
"en": "Delete user group {0}?",
9482
- "es": "Eliminar Grupo de Usuarios {0}?",
9490
+ "es": "¿Eliminar Grupo de Usuarios {0}?",
9491
"fi": "Poistetaanko käyttäjäryhmä {0}?",
9492
"fr": "Supprimer le groupe utilisateur {0} ?",
9493
"hi": "उपयोगकर्ता समूह {0} हटाएं?",
@@ -9522,7 +9530,7 @@
9530
"cs": "Smazat {0}?",
9531
"de": "{0} löschen?",
9532
"en": "Delete {0}?",
9525
- "es": "Borrar {0}?",
9533
+ "es": "¿Eliminar {0}?",
9534
"fi": "Poista {0}?",
9535
"fr": "Supprimer {0}?",
9536
"hi": "{0} हटाएं?",
@@ -9540,7 +9548,7 @@
9548
},
9549
{
9550
"en": "Denied",
9543
- "es": "Negado",
9551
+ "es": "Denegado",
9552
"fi": "Evätty",
9553
"fr": "Refusée",
9554
"hi": "निषेध",
@@ -9559,7 +9567,7 @@
9567
"cs": "Sestupně podle data",
9568
"de": "Nach Datum absteigend",
9569
"en": "Descend by date",
9562
- "es": "Descendente por fecha",
9570
+ "es": "Orden desscendente por fecha",
9571
"fi": "Laskeva päivämäärän mukaan",
9572
"fr": "Tri décroissant par date",
9573
"hi": "तिथि के अनुसार उतरना",
@@ -9582,7 +9590,7 @@
9590
"cs": "Sestupně podle názvu",
9591
"de": "Nach Name absteigend",
9592
"en": "Descend by name",
9585
- "es": "Descendente por nombre",
9593
+ "es": "Orden desscendente por nombre",
9594
"fi": "Laskeva nimen mukaan",
9595
"fr": "Tri décroissant par nom",
9596
"hi": "नाम से उतरना",
@@ -9605,7 +9613,7 @@
9613
"cs": "Sestupně podle velikosti",
9614
"de": "Nach Größe absteigend",
9615
"en": "Descend by size",
9608
- "es": "Descendente por tamano",
9616
+ "es": "Orden desscendente por tamaño",
9617
"fi": "Laskeva koon mukaan",
9618
"fr": "Tri décroissant par taille",
9619
"hi": "आकार द्वारा उतरना",
@@ -9668,7 +9676,7 @@
9676
"cs": "DeskControl",
9677
"de": "DeskControl",
9678
"en": "DeskControl",
9671
- "es": "Control de escritorio",
9679
+ "es": "DeskControl",
9680
"fi": "TyöpöytäHallinta",
9681
"fr": "DeskControl",
9682
"hi": "DeskControl",
@@ -9732,7 +9740,7 @@
9740
"cs": "Informovat na ploše",
9741
"de": "Desktop-Benachrichtigung",
9742
"en": "Desktop Notify",
9735
- "es": "Notificación de escritorio",
9743
+ "es": "Notificación de Escritorio",
9744
"fi": "Työpöytä ilmoitus",
9745
"fr": "Notifier l'utilisateur (Bureau)",
9746
"hi": "डेस्कटॉप सूचित करें",
@@ -9754,7 +9762,7 @@
9762
"cs": "Výzva na ploše",
9763
"de": "Desktop-Einverständnis",
9764
"en": "Desktop Prompt",
9757
- "es": "Mensaje de escritorio",
9765
+ "es": "Mensaje de Escritorio",
9766
"fi": "Työpöydän kehote",
9767
"fr": "Confirmation de l'utilisateur (Bureau)",
9768
"hi": "डेस्कटॉप प्रॉम्प्ट",
@@ -9776,7 +9784,7 @@
9784
"cs": "Výzva na ploše+panel nástrojů",
9785
"de": "Desktop-Einverständnis & -Werkzeugleiste",
9786
"en": "Desktop Prompt+Toolbar",
9779
- "es": "Mensaje de escritorio + barra de herramientas",
9787
+ "es": "Mensaje de Escritorio + Barra de Herramientas",
9788
"fi": "Työpöydän kehote+työkalurivi",
9789
"fr": "Invite du bureau + barre d'outils",
9790
"hi": "डेस्कटॉप प्रॉम्प्ट + टूलबार",
@@ -9797,7 +9805,7 @@
9805
{
9806
"de": "Desktop-Sitzungslatenz",
9807
"en": "Desktop Session Latency",
9800
- "es": "Latencia de sesión de escritorio",
9808
+ "es": "Latencia de Sesión de Escritorio",
9809
"fi": "Työpöytä istunnon latenssi",
9810
"fr": "Latence de la session de bureau",
9811
"hi": "डेस्कटॉप सत्र विलंबता",
@@ -9816,7 +9824,7 @@
9824
"cs": "Panel nástrojů na ploše",
9825
"de": "Desktop-Werkzeugleiste",
9826
"en": "Desktop Toolbar",
9819
- "es": "Barra de herramientas de escritorio",
9827
+ "es": "Barra de Herramientas de Escritorio",
9828
"fi": "Työpöydän työkalurivi",
9829
"fr": "Barre d'outils du bureau",
9830
"hi": "डेस्कटॉप टूलबार",
@@ -9836,7 +9844,7 @@
9844
},
9845
{
9846
"en": "DesktopSession",
9839
- "es": "Sesión de escritorio",
9847
+ "es": "Sesión de Escritorio",
9848
"nl": "Desktop sessie",
9849
"tr": "Masaüstü Oturumu",
9850
"zh-chs": "桌面时段",
@@ -9935,7 +9943,7 @@
9943
"cs": "Akce zařízení",
9944
"de": "Geräteaktion",
9945
"en": "Device Action",
9938
- "es": "Acción del dispositivo",
9946
+ "es": "Acción del Dispositivo",
9947
"fi": "Laitetoiminto",
9948
"fr": "Action du périphérique",
9949
"hi": "डिवाइस एक्शन",
@@ -9956,7 +9964,7 @@
9964
"cs": "Skupina zařízení",
9965
"de": "Gerätegruppe",
9966
"en": "Device Group",
9959
- "es": "Grupo de dispositivos",
9967
+ "es": "Grupo de Dispositivos",
9968
"fi": "Laiteryhmä",
9969
"fr": "Groupe d'appareils",
9970
"hi": "डिवाइस समूह",
@@ -9983,7 +9991,7 @@
9991
"cs": "Uživatel této skupiny zařízení",
9992
"de": "Gerätegruppenbenutzer",
9993
"en": "Device Group User",
9986
- "es": "Usuario de grupo de dispositivos",
9994
+ "es": "Usuario de Grupo de Dispositivos",
9995
"fi": "Laiteryhmän käyttäjä",
9996
"fr": "Utilisateur du groupe",
9997
"hi": "डिवाइस समूह उपयोगकर्ता",
@@ -10004,7 +10012,7 @@
10012
"cs": "Skupiny zařízení",
10013
"de": "Gerätegruppen",
10014
"en": "Device Groups",
10007
- "es": "Grupos de dispositivos",
10015
+ "es": "Grupos de Dispositivos",
10016
"fi": "Laiteryhmät",
10017
"fr": "Groupes d'appareils",
10018
"hi": "डिवाइस समूह",
@@ -10030,7 +10038,7 @@
10038
"cs": "Export informací o zařízení",
10039
"de": "Geräteinformationsexport",
10040
"en": "Device Information Export",
10033
- "es": "Exportar Información del Dispositivo",
10041
+ "es": "Exportar Información de Dispositivos",
10042
"fi": "Laitetietojen vienti",
10043
"fr": "Export des informations sur les appareils",
10044
"hi": "डिवाइस सूचना निर्यात",
@@ -10050,7 +10058,7 @@
10058
"cs": "Umístění zařízení",
10059
"de": "Gerätestandort",
10060
"en": "Device Location",
10053
- "es": "Ubicación del dispositivo",
10061
+ "es": "Ubicación del Dispositivo",
10062
"fi": "Laitteen sijainti",
10063
"fr": "Emplacement de l'appareil",
10064
"hi": "उपकरण का स्थान",
@@ -10083,7 +10091,7 @@
10091
"cs": "Název zařízení",
10092
"de": "Gerätename",
10093
"en": "Device Name",
10086
- "es": "Nombre del dispositivo",
10094
+ "es": "Nombre del Dispositivo",
10095
"fi": "Laitteen Nimi",
10096
"fr": "Nom de l'appareil",
10097
"hi": "यन्त्र का नाम",
@@ -10107,7 +10115,7 @@
10115
"cs": "Oznámení zařízení",
10116
"de": "Gerätebenachrichtigung",
10117
"en": "Device Notification",
10110
- "es": "Notificación de dispositivo",
10118
+ "es": "Notificar Dispositivo",
10119
"fi": "Laiteilmoitus",
10120
"fr": "Notification de l'appareil",
10121
"hi": "डिवाइस अधिसूचना",
@@ -10128,7 +10136,7 @@
10136
"cs": "Device Toast",
10137
"de": "Geräte-Toast",
10138
"en": "Device Toast",
10131
- "es": "Dispositivo tostado",
10139
+ "es": "Device Toast",
10140
"fr": "Toast de l'appareil",
10141
"hi": "डिवाइस टोस्ट",
10142
"ja": "デバイストースト",
@@ -10168,7 +10176,7 @@
10176
"cs": "Odpojení zařízení",
10177
"de": "Gerätetrennungen.",
10178
"en": "Device disconnections.",
10171
- "es": "Desconexiones de dispositivos.",
10179
+ "es": "Desconexiones de dispositivo.",
10180
"fi": "Laitteen irtikytkennät.",
10181
"fr": "Déconnexions des appareils.",
10182
"hi": "डिवाइस डिस्कनेक्ट।",
@@ -10207,7 +10215,7 @@
10215
},
10216
{
10217
"en": "Device is battery powered",
10210
- "es": "La batería del dispositivo esta conectada",
10218
+ "es": "El dispositivo funciona con batería",
10219
"fi": "Laite on akkukäyttöinen",
10220
"fr": "L'appareil est sur batterie",
10221
"nl": "Apparaat werkt op batterijen",
@@ -10225,7 +10233,7 @@
10233
"cs": "Zařízení je zjištěno, ale nelze zjistit stav jeho napájení.",
10234
"de": "Gerät wurde erkannt, aber der Energiezustand konnte nicht ermittelt werden.",
10235
"en": "Device is detected but power state could not be obtained.",
10228
- "es": "Se detecta el dispositivo pero no se pudo obtener el estado de alimentación.",
10236
+ "es": "El dispositivo se detectó pero no se pudo obtener el estado de alimentación.",
10237
"fi": "Laite havaitaan, mutta virran tilaa ei voitu saada.",
10238
"fr": "L'appareil est détecté mais impossible de déterminer l'état de l'alimentation.",
10239
"hi": "डिवाइस का पता चला है लेकिन पावर स्टेट प्राप्त नहीं किया जा सका है।",
@@ -10287,7 +10295,7 @@
10295
"cs": "Zařízení je v hlubokém spánku (S3).",
10296
"de": "Gerät befindet sich im Tiefschlafzustand (S3).",
10297
"en": "Device is in deep sleep state (S3).",
10290
- "es": "El dispositivo está en estado de reposo (S3)",
10298
+ "es": "El dispositivo está en estado de reposo (S3).",
10299
"fi": "Laite on syvän unen tilassa (S3).",
10300
"fr": "L'appareil est en veille profonde (S3).",
10301
"hi": "डिवाइस गहरी नींद की स्थिति (S3) में है।",
@@ -10307,7 +10315,7 @@
10315
"cs": "Zařízení je hibernováno (S4).",
10316
"de": "Gerät befindet sich im Ruhezustand (S4).",
10317
"en": "Device is in hibernating state (S4).",
10310
- "es": "El dispositivo está en estado de hibernacion (S4)",
10318
+ "es": "El dispositivo está en estado de hibernacion (S4).",
10319
"fi": "Laite on horros tilassa (S4).",
10320
"fr": "L'appareil est en veille profonde (S4).",
10321
"hi": "डिवाइस हाइबरनेटिंग स्थिति (S4) में है।",
@@ -10327,7 +10335,7 @@
10335
"cs": "Zařízení je vypnuto (S5).",
10336
"de": "Gerät ist ausgeschaltet (S5).",
10337
"en": "Device is in powered off state (S5).",
10330
- "es": "El dispositivo está apagado (S5)",
10338
+ "es": "El dispositivo está apagado (S5).",
10339
"fi": "Laite on pois päältä-tilassa (S5).",
10340
"fr": "L'appareil est arrêté (S5)",
10341
"hi": "डिवाइस पावर्ड ऑफ स्टेट (S5) में है।",
@@ -10368,7 +10376,7 @@
10376
"cs": "Zařízení je ve stavu spánku (S1).",
10377
"de": "Gerät befindet sich im Schlafzustand (S1).",
10378
"en": "Device is in sleep state (S1).",
10371
- "es": "El dispositivo está en estado de suspensión (S1)",
10379
+ "es": "El dispositivo está en estado de suspensión (S1).",
10380
"fi": "Laite on lepotilassa (S1).",
10381
"fr": "L'appareil est en veille (S1).",
10382
"hi": "डिवाइस स्लीप अवस्था (S1) में है।",
@@ -10409,7 +10417,7 @@
10417
"cs": "Zařízení je ve stavu spánku (S2).",
10418
"de": "Gerät befindet sich im Schlafzustand (S2).",
10419
"en": "Device is in sleep state (S2).",
10412
- "es": "El dispositivo está en estado de suspensión (S2)",
10420
+ "es": "El dispositivo está en estado de suspensión (S2).",
10421
"fi": "Laite on lepotilassa (S2).",
10422
"fr": "L'appareil est en veille (S2).",
10423
"hi": "डिवाइस स्लीप अवस्था (S2) में है।",
@@ -10448,7 +10456,7 @@
10456
},
10457
{
10458
"en": "Device is plugged-in",
10451
- "es": "El dispositivo esta conectado",
10459
+ "es": "El dispositivo está enchufado",
10460
"fi": "Laite on kytketty",
10461
"fr": "L'appareil est branché sur secteur",
10462
"nl": "Apparaat is aangesloten",
@@ -10487,7 +10495,7 @@
10495
"cs": "Zařízení je zapnuté.",
10496
"de": "Gerät ist eingeschaltet.",
10497
"en": "Device is powered on.",
10490
- "es": "El dispositivo está prendido.",
10498
+ "es": "El dispositivo está encendido.",
10499
"fi": "Laite on päällä.",
10500
"fr": "L'appareil est mis sous tension.",
10501
"hi": "डिवाइस चालू है।",
@@ -10548,6 +10556,7 @@
10556
"en": "Device notification",
10557
"tr": "Cihaz bildirimi",
10558
"nl": "Apparaatmelding",
10559
+ "es": "Notificar dispositivo",
10560
"xloc": [
10561
"default.handlebars->27->459"
10562
]
@@ -10556,7 +10565,7 @@
10565
"cs": "DeviceCheckbox",
10566
"de": "DeviceCheckbox",
10567
"en": "DeviceCheckbox",
10559
- "es": "Casilla de verificación del dispositivo",
10568
+ "es": "Casilla de verificación del Dispositivo",
10569
"fi": "LaitteenValintaruutu",
10570
"fr": "DeviceCheckbox",
10571
"hi": "DeviceCheckbox",
@@ -10638,7 +10647,7 @@
10647
"cs": "Odpojit vše",
10648
"de": "Alle trennen",
10649
"en": "Disconnect All",
10641
- "es": "Desconectar Todo",
10650
+ "es": "Desconectar Todos",
10651
"fi": "Katkaise kaikki yhteydet",
10652
"fr": "Déconnecter tout",
10653
"hi": "सभी को डिस्कनेक्ट करें",
@@ -10689,7 +10698,7 @@
10698
},
10699
{
10700
"en": "Display a message box on the remote device.",
10692
- "es": "Mostrar un mensaje en caja en el dispositivo remoto",
10701
+ "es": "Mostrar un cuadro de mensaje en el dispositivo remoto.",
10702
"fi": "Näytä viestiruutu etälaitteessa.",
10703
"fr": "Afficher un message sur le poste distant",
10704
"nl": "Geef een berichtvenster weer op het externe apparaat.",
@@ -10737,7 +10746,7 @@
10746
"cs": "Zobrazit název skupiny zařízení",
10747
"de": "Gerätegruppenname anzeigen",
10748
"en": "Display device group name",
10740
- "es": "Mostrar el nombre del grupo de dispositivos",
10749
+ "es": "Mostrar el nombre del grupo de dispositivos.",
10750
"fi": "Näytä laiteryhmän nimi",
10751
"fr": "Afficher le nom du groupe d'appareil",
10752
"hi": "डिवाइस समूह का नाम प्रदर्शित करें",
@@ -10796,7 +10805,7 @@
10805
"cs": "Nedělat nic",
10806
"de": "Nichts tun",
10807
"en": "Do nothing",
10799
- "es": "No Hacer Nada...",
10808
+ "es": "No hacer nada",
10809
"fi": "Älä tee mitään",
10810
"fr": "Ne rien faire",
10811
"hi": "कुछ मत करो",
@@ -10848,7 +10857,7 @@
10857
},
10858
{
10859
"en": "Don't connect to server",
10851
- "es": "No te conectes al servidor",
10860
+ "es": "No conectar al servidor",
10861
"fi": "Älä muodosta yhteyttä palvelimeen",
10862
"fr": "Ne vous connectez pas au serveur",
10863
"hi": "सर्वर से कनेक्ट न करें",
@@ -10866,7 +10875,7 @@
10875
"cs": "Nemáte účet?",
10876
"de": "Sie haben kein Konto?",
10877
"en": "Don't have an account?",
10869
- "es": "No tienes una cuenta?",
10878
+ "es": "¿No tiene una cuenta?",
10879
"fi": "Eikö sinulla ole tiliä?",
10880
"fr": "Pas encore de compte ?",
10881
"hi": "खाता नहीं है?",
@@ -10905,7 +10914,7 @@
10914
"cs": "Nepřipojovat se k serveru",
10915
"de": "Nicht mit Server verbinden",
10916
"en": "Don\\'t connect to server",
10908
- "es": "No te conectes al servidor",
10917
+ "es": "No conectar al servidor",
10918
"fi": "Älä muodosta yhteyttä palvelimeen",
10919
"fr": "Ne pas se connecter au serveur",
10920
"hi": "सर्वर से कनेक्ट नहीं है",
@@ -10943,7 +10952,7 @@
10952
"cs": "Stáhnout si události",
10953
"de": "Ereignisse herunterladen",
10954
"en": "Download Events",
10946
- "es": "Descargar eventos",
10955
+ "es": "Descargar Eventos",
10956
"fi": "Lataa tapahtumat",
10957
"fr": "Télécharger les évènements",
10958
"hi": "घटनाक्रम डाउनलोड करें",
@@ -10986,7 +10995,7 @@
10995
"cs": "Stáhnout si MeshCentral Router – nástroj pro mapování TCP portů.",
10996
"de": "MeshCentral Router herunterladen, ein TCP-Port-Mapping-Tool.",
10997
"en": "Download MeshCentral Router, a TCP port mapping tool.",
10989
- "es": "Descargue MeshCentral Router, una herramienta de mapeo de puertos TCP.",
10998
+ "es": "Descargar MeshCentral Router, una herramienta de mapeo de puertos TCP.",
10999
"fi": "Lataa MeshCentral Reititin, TCP-porttien tunnelointi työkalu.",
11000
"fr": "Télécharger MeshCentral Router (utilitaire de redirection de ports TCP)",
11001
"hi": "मेषप्रोसेसर राउटर, एक टीसीपी पोर्ट मैपिंग टूल डाउनलोड करें।",
@@ -11026,7 +11035,7 @@
11035
"cs": "Stáhnout si MeshCmd – nástroj s mnoha funkcemi, určený pro příkazový řádek.",
11036
"de": "MeshCmd herunterladen, ein Befehlszeilenprogramm, das viele Aufgaben ausführt.",
11037
"en": "Download MeshCmd, a command line tool that performs many functions.",
11029
- "es": "Descargue MeshCmd, una herramienta de línea de comandos que realiza muchas funciones.",
11038
+ "es": "Descargar MeshCmd, una herramienta de línea de comandos que realiza muchas funciones.",
11039
"fi": "Lataa MeshCmd, komentorivityökalu, joka suorittaa monia toimintoja.",
11040
"fr": "Télécharger MeshCmd (utilitaire en ligne de commande)",
11041
"hi": "MeshCmd डाउनलोड करें, एक कमांड लाइन टूल जो कई फ़ंक्शन करता है।",
@@ -11046,7 +11055,7 @@
11055
"cs": "Stáhnout si zásuvný modul",
11056
"de": "Plugin herunterladen",
11057
"en": "Download Plugin",
11049
- "es": "Descargar plugin",
11058
+ "es": "Descargar Plugin",
11059
"fi": "Lataa laajennus",
11060
"fr": "Télécharger le module",
11061
"hi": "प्लगइन डाउनलोड करें",
@@ -11064,7 +11073,7 @@
11073
},
11074
{
11075
"en": "Download Report",
11067
- "es": "Descargar reporte",
11076
+ "es": "Descargar Reporte",
11077
"fi": "Lataa raportti",
11078
"fr": "Télécharger le rapport",
11079
"nl": "Rapport downloaden",
@@ -11182,6 +11191,7 @@
11191
"tr": "Uzak panoyu yerel panoya indirin",
11192
"zh-chs": "将远程剪贴板下载到本地剪贴板",
11193
"zh-cht": "將遠程剪貼板下載到本地剪貼板",
11194
+ "es": "Descargar portapapeles remoto a portapapeles local",
11195
"xloc": [
11196
"default.handlebars->container->column_l->p11->deskarea0->deskarea4->1"
11197
]
@@ -11210,7 +11220,7 @@
11220
"cs": "Instalátor si stáhnete zde",
11221
"de": "Den Installer hier herunterladen",
11222
"en": "Download the installer here",
11213
- "es": "Descargue el instalador aquí",
11223
+ "es": "Descargar el instalador aquí",
11224
"fi": "Lataa asennusohjelma tästä",
11225
"fr": "Télécharger l'installeur ici",
11226
"hi": "यहां इंस्टॉलर डाउनलोड करें",
@@ -11230,7 +11240,7 @@
11240
"cs": "Stáhněte si seznam zařízení s jedním z níže uvedených formátů souborů.",
11241
"de": "Laden Sie die Liste der Geräte mit einem der folgenden Dateiformate herunter.",
11242
"en": "Download the list of devices with one of the file formats below.",
11233
- "es": "Descargue la lista de dispositivos con uno de los formatos de archivo a continuación.",
11243
+ "es": "Descargar la lista de dispositivos con uno de los formatos de archivo a continuación.",
11244
"fi": "Lataa luettelo laitteista, jollakin alla olevista tiedostomuodoista.",
11245
"fr": "Télécharger la liste des appareils au format :",
11246
"hi": "नीचे फ़ाइल स्वरूपों में से एक के साथ उपकरणों की सूची डाउनलोड करें।",
@@ -11250,7 +11260,7 @@
11260
"cs": "Stáhněte si seznam událostí v níže uvedeném formátu.",
11261
"de": "Die Ereignisliste in einem der folgenden Dateiformate herunterladen.",
11262
"en": "Download the list of events with one of the file formats below.",
11253
- "es": "Descargue la lista de eventos con uno de los formatos de archivo a continuación.",
11263
+ "es": "Descargar la lista de eventos con uno de los formatos de archivo a continuación.",
11264
"fi": "Lataa luettelo tapahtumista, jollakin alla olevista tiedostomuodoista.",
11265
"fr": "Télécharger les évènements au format :",
11266
"hi": "नीचे फ़ाइल स्वरूपों में से एक के साथ घटनाओं की सूची डाउनलोड करें।",
@@ -11270,7 +11280,7 @@
11280
"cs": "Stáhněte si seznam uživatelů v níže uvedeném formátu.",
11281
"de": "Die Benutzerliste in einem der folgenden Dateiformate herunterladen.",
11282
"en": "Download the list of users with one of the file formats below.",
11273
- "es": "Descargue la lista de usuarios con uno de los formatos de archivo a continuación.",
11283
+ "es": "Descargar la lista de usuarios con uno de los formatos de archivo a continuación.",
11284
"fi": "Lataa luettelo käyttäjistä, jollakin alla olevista tiedostomuodoista.",
11285
"fr": "Télécharger la liste des utilisateurs au format :",
11286
"hi": "नीचे फ़ाइल स्वरूपों में से एक के साथ उपयोगकर्ताओं की सूची डाउनलोड करें।",
@@ -11290,7 +11300,7 @@
11300
"cs": "Software si stáhnete zde",
11301
"de": "Die Software hier herunterladen",
11302
"en": "Download the software here",
11293
- "es": "Descargue el software aquí",
11303
+ "es": "Descargar el software aquí",
11304
"fi": "Lataa ohjelmisto täältä",
11305
"fr": "Télécharger le logiciel ici",
11306
"hi": "सॉफ्टवेयर यहाँ डाउनलोड करें",
@@ -11351,7 +11361,7 @@
11361
"cs": "Přetáhněte soubor .mcrec nebo klikněte na „Otevřít soubor…“",
11362
"de": "Lassen Sie eine .mcrec-Datei hier fallen oder klicken Sie auf \\\"Datei öffnen...\\\"",
11363
"en": "Drag & drop a .mcrec file or click \\\"Open File...\\\"",
11354
- "es": "Arrastre y suelte un archivo .mcrec o haga clic en \\\"Abrir archivo...\\\"",
11364
+ "es": "Arrastre y suelte un archivo .mcrec o haga clic en \\\"Abrir Archivo...\\\"",
11365
"fi": "Vedä ja pudota .mcrec-tiedosto tai napsauta \\\"Avaa tiedosto ...\\\"",
11366
"fr": "Glisser & Déposer un fichier .mcrec ou cliquer sur \\\"Ouvrir fichier...\\\"",
11367
"hi": "एक .mcrec फ़ाइल को खींचें और छोड़ दें या \\\"फ़ाइल खोलें ... \\\" पर क्लिक करें",
@@ -11370,7 +11380,7 @@
11380
{
11381
"de": "Agent-Duplikat",
11382
"en": "Duplicate Agent",
11373
- "es": "Agente duplicado",
11383
+ "es": "Duplicar Agente",
11384
"fi": "Monista Agentti",
11385
"fr": "Agent en double",
11386
"hi": "डुप्लीकेट एजेंट",
@@ -11388,7 +11398,7 @@
11398
"cs": "Duplikovat skupinu…",
11399
"de": "Dupliziere Gruppe...",
11400
"en": "Duplicate Group...",
11391
- "es": "Grupo duplicado ...",
11401
+ "es": "Duplicar Grupo...",
11402
"fi": "Monista Ryhmä...",
11403
"fr": "Cloner le groupe ...",
11404
"hi": "डुप्लीकेट समूह ...",
@@ -11408,7 +11418,7 @@
11418
"cs": "Duplikovat skupinu uživatelů",
11419
"de": "Dupliziere Benutzergruppe",
11420
"en": "Duplicate User Group",
11411
- "es": "Grupo de usuarios duplicados",
11421
+ "es": "Duplicar Grupo de Usuarios",
11422
"fi": "Monista käyttäjäryhmä",
11423
"fr": "Cloner le groupe utilisateur",
11424
"hi": "डुप्लिकेट उपयोगकर्ता समूह",
@@ -11428,7 +11438,7 @@
11438
"cs": "Duplikovat agenta",
11439
"de": "Agent-Duplikat",
11440
"en": "Duplicate agent",
11431
- "es": "Agente duplicado",
11441
+ "es": "Duplicar agente",
11442
"fi": "Monista agentti",
11443
"fr": "Cloner l'agent",
11444
"hi": "डुप्लीकेट एजेंट",
@@ -11557,7 +11567,7 @@
11567
},
11568
{
11569
"en": "E-mail \\\"{0}\\\" for user \\\"{1}\\\" not verified.",
11560
- "es": "Correo electrónico \\\"{0}\\\" para el usuario \\\"{1}\\\" no verificado.",
11570
+ "es": "Correo electrónico \\\"{0}\\\" para el usuario \\\"{1}\\\" no ha sido verificado.",
11571
"fi": "Käyttäjän \\\"{1}\\\" sähköposti osoitetta \\\"{0}\\\" ei ole vahvistettu.",
11572
"fr": "E-mail \\\"{0}\\\" pour l'utilisateur \\\"{1}\\\" non vérifié.",
11573
"hi": "उपयोगकर्ता \\\"{1}\\\" के लिए ई-मेल \\\"{0}\\\" सत्यापित नहीं।",
@@ -11575,7 +11585,7 @@
11585
"cs": "CHYBA: ",
11586
"de": "FEHLER:",
11587
"en": "ERROR: ",
11578
- "es": "Error: ",
11588
+ "es": "ERROR: ",
11589
"fi": "VIRHE:",
11590
"fr": "ERREUR:",
11591
"hi": "त्रुटि:",
@@ -11593,7 +11603,7 @@
11603
},
11604
{
11605
"en": "ERROR: Invalid account check, verification url is only valid for 30 minutes.",
11596
- "es": "ERROR: verificación de cuenta no válida, la URL de verificación solo es válida durante 30 minutos.",
11606
+ "es": "ERROR: Verificación de cuenta no válida, la URL de verificación solo es válida durante 30 minutos.",
11607
"fi": "VIRHE: Virheellinen tilin tarkistus, vahvistus-URL on voimassa vain 30 minuuttia.",
11608
"fr": "ERREUR: vérification de compte non valide, l'URL de vérification n'est valide que pendant 30 minutes.",
11609
"hi": "त्रुटि: अमान्य खाता जांच, सत्यापन url केवल 30 मिनट के लिए मान्य है।",
@@ -11609,7 +11619,7 @@
11619
},
11620
{
11621
"en": "ERROR: Invalid account check.",
11612
- "es": "ERROR: verificación de cuenta no válida.",
11622
+ "es": "ERROR: Verificación de cuenta no válida.",
11623
"fi": "VIRHE: Virheellinen tilin tarkistus.",
11624
"fr": "ERREUR: vérification de compte non valide.",
11625
"hi": "त्रुटि: अमान्य खाता जांच।",
@@ -11625,7 +11635,7 @@
11635
},
11636
{
11637
"en": "ERROR: Invalid domain.",
11628
- "es": "ERROR: dominio inválido.",
11638
+ "es": "ERROR: Dominio inválido.",
11639
"fr": "ERREUR: domaine non valide.",
11640
"hi": "त्रुटि: अमान्य डोमेन।",
11641
"ja": "エラー:ドメインが無効です。",
@@ -11640,7 +11650,7 @@
11650
},
11651
{
11652
"en": "ERROR: Invalid e-mail \\\"{0}\\\" for user \\\"{1}\\\".",
11643
- "es": "ERROR: correo electrónico no válido \\\"{0}\\\" para el usuario \\\"{1}\\\".",
11653
+ "es": "ERROR: Correo electrónico no válido \\\"{0}\\\" para el usuario \\\"{1}\\\".",
11654
"fi": "VIRHE: virheellinen sähköposti osoite \\\"{0}\\\" käyttäjälle \\\"{1}\\\".",
11655
"fr": "ERREUR: e-mail \\\"{0}\\\" non valide pour l'utilisateur \\\"{1}\\\".",
11656
"hi": "त्रुटि: उपयोगकर्ता के लिए \\\"{1}\\\" के लिए अमान्य ई-मेल \\\"{0}\\\"।",
@@ -11656,7 +11666,7 @@
11666
},
11667
{
11668
"en": "ERROR: Invalid username \\\"{0}\\\".",
11659
- "es": "ERROR: nombre de usuario no válido \\\"{0}\\\".",
11669
+ "es": "ERROR: Nombre de usuario no válido \\\"{0}\\\".",
11670
"fi": "VIRHE: virheellinen käyttäjänimi \\\"{0}\\\".",
11671
"fr": "ERREUR: nom d'utilisateur non valide \\\"{0}\\\".",
11672
"hi": "त्रुटि: अमान्य उपयोगकर्ता नाम \"{0} \\\"।",
@@ -11674,7 +11684,7 @@
11684
"cs": "CHYBA: klíč nelze přidat.",
11685
"de": "FEHLER: Schlüssel kann nicht hinzugefügt werden.",
11686
"en": "ERROR: Unable to add key.",
11677
- "es": "Error: No se puede agregar la llave.",
11687
+ "es": "ERROR: No se puede agregar la llave.",
11688
"fi": "VIRHE: Avainta ei voi lisätä.",
11689
"fr": "ERREUR: Impossible d'ajouter la clé.",
11690
"hi": "त्रुटि: कुंजी जोड़ने में असमर्थ।",
@@ -11735,7 +11745,7 @@
11745
"cs": "Upravit zařízení",
11746
"de": "Gerät bearbeiten",
11747
"en": "Edit Device",
11738
- "es": "Editar dispositivo",
11748
+ "es": "Editar Dispositivo",
11749
"fi": "Muokkaa laitetta",
11750
"fr": "Modifier l'appareil",
11751
"hi": "उपकरण संपादित करें",
@@ -11756,7 +11766,7 @@
11766
"cs": "Upravit skupinu zařízení",
11767
"de": "Gerätegruppe bearbeiten",
11768
"en": "Edit Device Group",
11759
- "es": "Editar grupo de dispositivos",
11769
+ "es": "Editar Grupo de Dispositivos",
11770
"fi": "Muokkaa laiteryhmää",
11771
"fr": "Modifier le groupe d'appareil",
11772
"hi": "उपकरण समूह संपादित करें",
@@ -11782,7 +11792,7 @@
11792
"cs": "Upravit vlastnosti skupiny zařízení",
11793
"de": "Gerätegruppenmerkmale bearbeiten",
11794
"en": "Edit Device Group Features",
11785
- "es": "Editar características del grupo de dispositivos",
11795
+ "es": "Editar Características del Grupo de Dispositivos",
11796
"fi": "Muokkaa laiteryhmän ominaisuuksia",
11797
"fr": "Modifier les fonctionnalités du groupe d'appareils",
11798
"hi": "उपकरण समूह सुविधाएँ संपादित करें",
@@ -11802,7 +11812,7 @@
11812
"cs": "Upravit oprávnění na skupinu zařízení",
11813
"de": "Gerätegruppenberechtigungen bearbeiten",
11814
"en": "Edit Device Group Permissions",
11805
- "es": "Editar permisos de grupo de dispositivos",
11815
+ "es": "Editar Permisos del Grupo de Dispositivos",
11816
"fi": "Muokkaa laiteryhmän käyttöoikeuksia",
11817
"fr": "Modifier les droits du groupe d'appareils",
11818
"hi": "डिवाइस समूह अनुमतियाँ संपादित करें",
@@ -11823,7 +11833,7 @@
11833
"cs": "Upravit souhlas uživatele u skupiny zařízení",
11834
"de": "Gerätegruppen-Nutzereinwilligung bearbeiten",
11835
"en": "Edit Device Group User Consent",
11826
- "es": "Editar consentimiento del usuario del grupo de dispositivos",
11836
+ "es": "Editar Consentimiento del Usuario del Grupo de Dispositivos",
11837
"fi": "Muokkaa laiteryhmän käyttäjän suostumusta",
11838
"fr": "Gestion des consentements utilisateurs",
11839
"hi": "डिवाइस समूह उपयोगकर्ता सहमति संपादित करें",
@@ -11843,7 +11853,7 @@
11853
"cs": "Upravit popis zařízení",
11854
"de": "Geräte-Notizen bearbeiten",
11855
"en": "Edit Device Notes",
11846
- "es": "Editar notas del dispositivo",
11856
+ "es": "Editar Notas del Dispositivo",
11857
"fi": "Muokkaa laitehuomautuksia",
11858
"fr": "Modifier les notes sur l'appareil",
11859
"hi": "डिवाइस नोट्स संपादित करें",
@@ -11864,7 +11874,7 @@
11874
"cs": "Upravit oprávnění zařízení",
11875
"de": "Geräteberechtigungen bearbeiten",
11876
"en": "Edit Device Permissions",
11867
- "es": "Editar los permisos del dispositivo",
11877
+ "es": "Editar Permisos del Dispositivo",
11878
"fi": "Muokkaa laitteen käyttöoikeuksia",
11879
"fr": "Modifier les autorisations de périphérique",
11880
"hi": "डिवाइस अनुमतियाँ संपादित करें",
@@ -11882,7 +11892,7 @@
11892
},
11893
{
11894
"en": "Edit Device Tags",
11885
- "es": "Editar etiquetas del dispositivo",
11895
+ "es": "Editar Etiquetas del Dispositivo",
11896
"fr": "Éditer les tags d'appareil",
11897
"nl": "Berwerk apparaat tags",
11898
"tr": "Cihaz Etiketlerini Düzenle",
@@ -11895,7 +11905,7 @@
11905
{
11906
"de": "Geräte-Benutzereinwilligung bearbeiten",
11907
"en": "Edit Device User Consent",
11898
- "es": "Editar consentimiento del usuario del dispositivo",
11908
+ "es": "Editar Consentimiento del Usuario del Dispositivo",
11909
"fi": "Muokkaa laitteen käyttäjän suostumusta",
11910
"fr": "Modifier le consentement de l'utilisateur de l'appareil",
11911
"hi": "डिवाइस उपयोगकर्ता सहमति संपादित करें",
@@ -11932,7 +11942,7 @@
11942
"cs": "Upravit přihlašovací údaje k Intel® AMT",
11943
"de": "Zugangsdaten für Intel® AMT bearbeiten",
11944
"en": "Edit Intel® AMT credentials",
11935
- "es": "Editar Credenciales de Intel & AMT",
11945
+ "es": "Editar Credenciales de Intel® AMT",
11946
"fi": "Muokkaa Intel® AMT -tilitietoja",
11947
"fr": "Éditer les certificats Intel® AMT",
11948
"hi": "Intel® AMT क्रेडेंशियल संपादित करें",
@@ -11955,7 +11965,7 @@
11965
"cs": "Upravit poznámky",
11966
"de": "Notizen bearbeiten",
11967
"en": "Edit Notes",
11958
- "es": "Editar notas",
11968
+ "es": "Editar Notas",
11969
"fi": "Muokkaa muistiinpanoja",
11970
"fr": "Modifier les notes",
11971
"hi": "नोट्स संपादित करें",
@@ -11975,7 +11985,7 @@
11985
{
11986
"de": "Benutzereinwilligung bearbeiten",
11987
"en": "Edit User Consent",
11978
- "es": "Editar consentimiento del usuario",
11988
+ "es": "Editar Consentimiento del Usuario",
11989
"fi": "Muokkaa käyttäjän suostumusta",
11990
"fr": "Modifier le consentement de l'utilisateur",
11991
"hi": "उपयोगकर्ता सहमति संपादित करें",
@@ -11993,7 +12003,7 @@
12003
"cs": "Upravit oprávnění uživatele pro skupinu zařízení",
12004
"de": "Benutzer-Gerätegruppenberechtigungen bearbeiten",
12005
"en": "Edit User Device Group Permissions",
11996
- "es": "Editar permisos de grupo de dispositivos de usuario",
12006
+ "es": "Editar Permisos de Grupo de Dispositivos de Usuario",
12007
"fi": "Muokkaa käyttäjän laiteryhmän oikeuksia",
12008
"fr": "Modifier les permissions du groupe d'appareil",
12009
"hi": "उपयोगकर्ता डिवाइस समूह अनुमतियाँ संपादित करें",
@@ -12013,7 +12023,7 @@
12023
"cs": "Upravit oprávnění uživatelského zařízení",
12024
"de": "Benutzergeräteberechtigungen bearbeiten",
12025
"en": "Edit User Device Permissions",
12016
- "es": "Editar los permisos del usuario del dispositivo",
12026
+ "es": "Editar Permisos de Dispositivo de Usuario",
12027
"fi": "Muokkaa käyttäjän laitteen käyttöoikeuksia",
12028
"fr": "Modifier les autorisations des périphériques utilisateur",
12029
"hi": "उपयोगकर्ता डिवाइस अनुमतियाँ संपादित करें",
@@ -12032,7 +12042,7 @@
12042
"cs": "Upravit skupinu uživatelů",
12043
"de": "Benutzergruppe bearbeiten",
12044
"en": "Edit User Group",
12035
- "es": "Editar grupo de usuarios",
12045
+ "es": "Editar Grupo de Usuarios",
12046
"fi": "Muokkaa käyttäjäryhmää",
12047
"fr": "Modifier le groupe utilisateurs",
12048
"hi": "उपयोगकर्ता समूह संपादित करें",
@@ -12051,7 +12061,7 @@
12061
{
12062
"de": "Benutzergruppen-Geräteberechtigungen bearbeiten",
12063
"en": "Edit User Group Device Permissions",
12054
- "es": "Editar permisos de dispositivo de grupo de usuarios",
12064
+ "es": "Editar Permisos de Dispositivo de Grupo de Usuarios",
12065
"fi": "Muokkaa käyttäjäryhmän laiteoikeuksia",
12066
"fr": "Modifier les autorisations de périphérique du groupe d'utilisateurs",
12067
"hi": "उपयोगकर्ता समूह डिवाइस अनुमतियाँ संपादित करें",
@@ -12136,7 +12146,7 @@
12146
"cs": "Změna e-mailové adresy",
12147
"de": "E-Mail-Adresse ändern",
12148
"en": "Email Address Change",
12139
- "es": "Cambio de dirección de correo electrónico",
12149
+ "es": "Cambio de Dirección de Correo Electrónico",
12150
"fi": "Sähköpostiosoitteen vaihto",
12151
"fr": "Changement d'adresse mail",
12152
"hi": "ईमेल पता बदलें",
@@ -12157,7 +12167,7 @@
12167
"cs": "Ověřování e-mailem",
12168
"de": "E-Mail-Authentifikation",
12169
"en": "Email Authentication",
12160
- "es": "Email de autenticación",
12170
+ "es": "Autenticación de Correo Electrónico",
12171
"fi": "Sähköposti todennus",
12172
"fr": "Authentification par courriel",
12173
"hi": "ईमेल प्रमाणीकरण",
@@ -12176,7 +12186,7 @@
12186
},
12187
{
12188
"en": "Email Confirmation",
12179
- "es": "confirmación de correo electrónico",
12189
+ "es": "Confirmación de Correo Electrónico",
12190
"fi": "Sähköpostivarmistus",
12191
"fr": "confirmation de l'émail",
12192
"hi": "ईमेल की पुष्टि",
@@ -12196,7 +12206,7 @@
12206
"cs": "E-mailový provoz",
12207
"de": "E-Mail-Verkehr",
12208
"en": "Email Traffic",
12199
- "es": "Tráfico de correo electrónico",
12209
+ "es": "Tráfico de Correo Electrónico",
12210
"fi": "Sähköposti liikenne",
12211
"fr": "Trafic des e-mails",
12212
"hi": "ईमेल ट्रैफ़िक",
@@ -12212,7 +12222,7 @@
12222
"cs": "Ověření e-mailu",
12223
"de": "E-Mail-Verifizierung",
12224
"en": "Email Verification",
12215
- "es": "Verificacion de Correo electrónico",
12225
+ "es": "Verificación de Correo Electrónico",
12226
"fi": "Sähköpostivarmistus",
12227
"fr": "Vérification de l'email",
12228
"hi": "ई - मेल सत्यापन",
@@ -12232,7 +12242,7 @@
12242
{
12243
"de": "E-Mail-Einladung",
12244
"en": "Email invitation",
12235
- "es": "Email de invitación",
12245
+ "es": "Correo electrónico de invitación",
12246
"fi": "Lähetä kutsu sähköpostitse",
12247
"fr": "Invitation par e-mail",
12248
"hi": "ईमेल आमंत्रण",
@@ -12250,7 +12260,7 @@
12260
"cs": "Email není ověřen",
12261
"de": "E-Mail ist nicht verifiziert",
12262
"en": "Email is not verified",
12253
- "es": "El email no esta no esta verficado",
12263
+ "es": "Correo electrónico no verificado",
12264
"fi": "Sähköposti osoitetta ei ole vahvistettu",
12265
"fr": "L'email n'est pas verifié",
12266
"hi": "ईमेल की पुष्टि नहीं हुई",
@@ -12330,7 +12340,7 @@
12340
"cs": "Email odeslán.",
12341
"de": "E-Mail gesendet.",
12342
"en": "Email sent.",
12333
- "es": "Email enviado",
12343
+ "es": "Correo electrónico enviado.",
12344
"fi": "Sähköposti lähetetty.",
12345
"fr": "Email envoyé.",
12346
"hi": "ईमेल भेजा।",
@@ -12368,7 +12378,7 @@
12378
},
12379
{
12380
"en": "Email verified and forced password reset required.",
12371
- "es": "Se requiere restablecimiento de contraseña verificado y forzado por correo electrónico.",
12381
+ "es": "Correo electrónico verificado y restablecimiento de contraseña forzado requerido.",
12382
"fi": "Sähköposti osoite vahvistettu ja salasanan palautus pakotettu.",
12383
"nl": "E-mail geverifieerd en geforceerd opnieuw instellen van wachtwoord vereist.",
12384
"tr": "E-posta doğrulandı ve zorunlu şifre sıfırlama gerekli.",
@@ -12380,7 +12390,7 @@
12390
},
12391
{
12392
"en": "Email/SMS Traffic",
12383
- "es": "Tráfico de correo electrónico / SMS",
12393
+ "es": "Tráfico de Correo Electrónico / SMS",
12394
"fi": "Sähköposti/tekstiviesti liikenne",
12395
"fr": "Trafic e-mail / SMS",
12396
"hi": "ईमेल / एसएमएस आवागमन",
@@ -12465,7 +12475,7 @@
12475
"cs": "Povolit e-mailovou dvoufaktorovou autentizaci.",
12476
"de": "Aktivieren Sie die E-Mail-Zwei-Faktor-Authentifizierung.",
12477
"en": "Enable email two-factor authenticaiton.",
12468
- "es": "Habilitar autenticación de dos factores por correo.",
12478
+ "es": "Habilitar autenticación de dos factores por correo electrónico.",
12479
"fi": "Ota käyttöön kaksi vaihenen todennus sähköpostitse.",
12480
"fr": "Activer l'authentification à deux facteurs par e-mail.",
12481
"hi": "ईमेल दो-कारक प्रमाणिकता सक्षम करें।",
@@ -12537,7 +12547,7 @@
12547
},
12548
{
12549
"en": "End Time",
12540
- "es": "Tiempo de finalización",
12550
+ "es": "Tiempo de Finalización",
12551
"fi": "päättymisaika",
12552
"fr": "Heure de fin",
12553
"nl": "Eindtijd",
@@ -12552,7 +12562,7 @@
12562
"cs": "angličtina",
12563
"de": "Englisch",
12564
"en": "English",
12555
- "es": "Ingles",
12565
+ "es": "Inglés",
12566
"fi": "Englanti",
12567
"fr": "Anglais",
12568
"hi": "अंग्रेज़ी",
@@ -12852,7 +12862,7 @@
12862
"cs": "Zadejte rozsah IP adres pro vyhledání Intel AMT zařízení.",
12863
"de": "Geben Sie einen Bereich von IP-Adressen ein, um nach Intel-AMT-Geräten zu suchen.",
12864
"en": "Enter a range of IP addresses to scan for Intel AMT devices.",
12855
- "es": "Ingrese un rango de direcciones IP para buscar dispositivos Intel AMT.",
12865
+ "es": "Ingrese un rango de direcciones IP para buscar dispositivos Intel® AMT.",
12866
"fi": "Syötä IP-alue, josta etsitään Intel® AMT-laitteita.",
12867
"fr": "Saisir une plage d'adresse IP pour détecter les appareils Intel AMT.",
12868
"hi": "इंटेल एएमटी उपकरणों के लिए स्कैन करने के लिए आईपी पते की एक श्रृंखला दर्ज करें।",
@@ -12971,7 +12981,7 @@
12981
"cs": "Chyba: nebyl zadán klíč pro připojení.",
12982
"de": "Fehler: Kein Verbindungsschlüssel angegeben.",
12983
"en": "Error: No connection key specified.",
12974
- "es": "Error: No se ha especificado una clave de conexión.",
12984
+ "es": "Error: No se ha especificado una llave de conexión.",
12985
"fi": "Virhe: Yhteysavainta ei ole määritetty.",
12986
"fr": "Erreur : la clé de connexion n'a pas été spécifiée.",
12987
"hi": "त्रुटि: कोई कनेक्शन कुंजी निर्दिष्ट नहीं है।",
@@ -13031,7 +13041,7 @@
13041
"cs": "Podrobnosti události",
13042
"de": "Ereignisdetails",
13043
"en": "Event Details",
13034
- "es": "Detalles del evento",
13044
+ "es": "Detalles del Evento",
13045
"fi": "Tapahtuman lisätiedot",
13046
"fr": "Détails de l'évènement",
13047
"hi": "घटना की जानकारी",
@@ -13051,7 +13061,7 @@
13061
"cs": "Export seznamu událostí",
13062
"de": "Ereignisliste exportieren",
13063
"en": "Event List Export",
13054
- "es": "Exportar lista de eventos",
13064
+ "es": "Exportar Lista de Eventos",
13065
"fi": "Tapahtumaluettelon vienti",
13066
"fr": "Export de la liste des évènements",
13067
"hi": "इवेंट सूची निर्यात",
@@ -13134,7 +13144,7 @@
13144
},
13145
{
13146
"en": "Expire Time",
13137
- "es": "Tiempo de expiración",
13147
+ "es": "Tiempo de Expiración",
13148
"fr": "Heure d'expiration",
13149
"nl": "Verval datum",
13150
"tr": "Vade zamanı",
@@ -13161,7 +13171,7 @@
13171
"cs": "Export informací o zařízení",
13172
"de": "Geräteinformationen exportieren",
13173
"en": "Export device information",
13164
- "es": "Exportar información del dispositivo",
13174
+ "es": "Exportar información de dispositivos",
13175
"fi": "Vie laitetiedot",
13176
"fr": "Exporter les données des appareils sélectionnés",
13177
"hi": "डिवाइस जानकारी निर्यात करें",
@@ -13294,7 +13304,7 @@
13304
"cs": "Nezdařilo se",
13305
"de": "Fehlgeschlagen",
13306
"en": "Failed",
13297
- "es": "Fallo",
13307
+ "es": "Falló",
13308
"fi": "Epäonnistui",
13309
"fr": "Échoué",
13310
"hi": "अनुत्तीर्ण होना",
@@ -13351,7 +13361,7 @@
13361
"cs": "Rychle",
13362
"de": "Schnell",
13363
"en": "Fast",
13354
- "es": "Rápida",
13364
+ "es": "Rápido",
13365
"fi": "Nopea",
13366
"fr": "Vite",
13367
"hi": "तेज",
@@ -13411,6 +13421,7 @@
13421
},
13422
{
13423
"en": "File",
13424
+ "es": "Archivo",
13425
"xloc": [
13426
"download2.handlebars->centralTable->1->0->1->filetable->1->0->1->fileimagelink"
13427
]
@@ -13419,7 +13430,7 @@
13430
"cs": "Editor souborů",
13431
"de": "Datei-Editor",
13432
"en": "File Editor",
13422
- "es": "Editor de archivos",
13433
+ "es": "Editor de Archivos",
13434
"fi": "Tiedostoeditori",
13435
"fr": "Éditeur de fichier",
13436
"hi": "फ़ाइल संपादक",
@@ -13444,6 +13455,7 @@
13455
"tr": "Dosya İşlemi",
13456
"zh-chs": "档案操作",
13457
"zh-cht": "檔案操作",
13458
+ "es": "Operación de Archivo",
13459
"xloc": [
13460
"default.handlebars->27->859",
13461
"default.handlebars->27->861"
@@ -13453,7 +13465,7 @@
13465
"cs": "Výběr souboru",
13466
"de": "Dateiauswahl",
13467
"en": "File Selection",
13456
- "es": "Selección de archivo",
13468
+ "es": "Selección de Archivo",
13469
"fi": "Tiedoston valinta",
13470
"fr": "Sélection de fichier",
13471
"hi": "फ़ाइल चयन",
@@ -13539,7 +13551,7 @@
13551
"cs": "Upozornit na soubory",
13552
"de": "Dateien-Benachrichtigung",
13553
"en": "Files Notify",
13542
- "es": "Notificación de archivos",
13554
+ "es": "Notificación de Archivos",
13555
"fi": "Tiedostot Ilmoita",
13556
"fr": "Notifier les fichiers",
13557
"hi": "फ़ाइलें सूचित करें",
@@ -13561,7 +13573,7 @@
13573
"cs": "Dotaz na soubory",
13574
"de": "Dateien-Einverständnis",
13575
"en": "Files Prompt",
13564
- "es": "Solicitud de archivos",
13576
+ "es": "Solicitud de Archivos",
13577
"fi": "Tiedostot kysy",
13578
"fr": "Invite de fichiers",
13579
"hi": "फ़ाइलें शीघ्र",
@@ -13651,7 +13663,7 @@
13663
"cs": "Zaměřit vše",
13664
"de": "Alles fokussieren",
13665
"en": "Focus All",
13654
- "es": "Enfocar todo",
13666
+ "es": "Enfocar Todo",
13667
"fr": "Tout concentrer",
13668
"hi": "सभी पर ध्यान दें",
13669
"ja": "すべてにフォーカス",
@@ -13728,7 +13740,7 @@
13740
"cs": "V případě systému Windows dokončete proces pomocí následujícího odkazu:",
13741
"de": "Nagivieren Sie unter Windows den folgenden Link, um den Vorgang abzuschließen:",
13742
"en": "For Windows, nagivate to the following link to complete the process:",
13731
- "es": "Para windows, navegue al siguiente enlace para completar el proceso:",
13743
+ "es": "Para Windows, navegue al siguiente enlace para completar el proceso:",
13744
"fr": "Pour Windows, accédez au lien suivant pour terminer le processus:",
13745
"hi": "विंडोज के लिए, प्रक्रिया को पूरा करने के लिए निम्नलिखित लिंक पर जाएं:",
13746
"ja": "Windowsの場合、次のリンクに移動してプロセスを完了します。",
@@ -13767,7 +13779,7 @@
13779
"cs": "Zapomenuté heslo?",
13780
"de": "Passwort vergessen?",
13781
"en": "Forgot password?",
13770
- "es": "¿Olvidaste tu contraseña?",
13782
+ "es": "¿Olvidó su contraseña?",
13783
"fi": "Unohtuiko salasana?",
13784
"fr": "Mot de passe oublié?",
13785
"hi": "पासवर्ड भूल गए?",
@@ -14085,7 +14097,7 @@
14097
"cs": "Hlavní správce",
14098
"de": "Gesamtadministrator",
14099
"en": "Full Administrator",
14088
- "es": "Administrador Completo",
14100
+ "es": "Administrador Total",
14101
"fi": "Täysi Järjestelmänvalvoja",
14102
"fr": "Administrateur Complet",
14103
"hi": "पूर्ण प्रशासक",
@@ -14111,7 +14123,7 @@
14123
"cs": "Hlavní správce (všechna práva)",
14124
"de": "Gesamtadministrator (alle Rechte)",
14125
"en": "Full Administrator (all rights)",
14114
- "es": "Administrador Completo (todos los permisos)",
14126
+ "es": "Administrador Total (todos los permisos)",
14127
"fi": "Täysi Järjestelmänvalvoja (kaikki oikeudet)",
14128
"fr": "Administrateur Complet (tous droits)",
14129
"hi": "पूर्ण प्रशासक (सभी अधिकार)",
@@ -14131,7 +14143,7 @@
14143
"cs": "Správce celé skupiny zařízení",
14144
"de": "Gesamt-Gerätegruppenadministrator",
14145
"en": "Full Device Group Administrator",
14134
- "es": "Administrador de grupo completo de dispositivos",
14146
+ "es": "Administrador Total de Grupo de Dispositivos",
14147
"fi": "Koko laiteryhmän järjestelmänvalvoja",
14148
"fr": "Administrateur global ",
14149
"hi": "फुल डिवाइस ग्रुप एडमिनिस्ट्रेटर",
@@ -14148,7 +14160,7 @@
14160
"cs": "Úplná práva na zařízení",
14161
"de": "Volle Geräterechte",
14162
"en": "Full Device Rights",
14151
- "es": "Derechos completos del dispositivo",
14163
+ "es": "Todos los Permisos en el Dispositivo",
14164
"fi": "Laitteen täydet oikeudet",
14165
"fr": "Droits complets sur l'appareil",
14166
"hi": "पूर्ण उपकरण अधिकार",
@@ -14168,7 +14180,7 @@
14180
"cs": "Plná práva",
14181
"de": "Volle Rechte",
14182
"en": "Full Rights",
14171
- "es": "Derechos Completos",
14183
+ "es": "Todos los Permisos",
14184
"fi": "Täydet oikeudet",
14185
"fr": "Droits complets",
14186
"hi": "पूर्ण अधिकार",
@@ -14187,7 +14199,7 @@
14199
"cs": "Celá obrazovka. Podržte shift pro zobrazení na celou obrazovku.",
14200
"de": "Vollbild. Halten Sie die Umschalttaste gedrückt, um das Browserfenster im Vollbild anzuzeigen.",
14201
"en": "Full Screen. Hold shift to browser full screen.",
14190
- "es": "Pantalla completa. Mantenga presionada la tecla Mayús a pantalla completa del navegador",
14202
+ "es": "Pantalla Completa. Mantenga presionada la tecla Mayús para que el navegador ocupe toda la pantalla.",
14203
"fr": "Plein écran. Maintenez la touche Maj enfoncée dans le navigateur en plein écran.",
14204
"hi": "पूर्ण स्क्रीन। ब्राउज़र को पूर्ण स्क्रीन पर शिफ्ट रखें।",
14205
"ja": "全画面表示。ブラウザの全画面表示に移行します。",
@@ -14208,7 +14220,7 @@
14220
"cs": "Hlavní správce",
14221
"de": "Gesamtadministrator",
14222
"en": "Full administrator",
14211
- "es": "Administrador Completo",
14223
+ "es": "Administrador total",
14224
"fi": "Täysi järjestelmänvalvoja",
14225
"fr": "Administrateur complet",
14226
"hi": "पूर्ण प्रशासक",
@@ -14371,7 +14383,7 @@
14383
"cs": "Obecné informace",
14384
"de": "Allgemeine Information",
14385
"en": "General information",
14374
- "es": "Información General",
14386
+ "es": "Información general",
14387
"fi": "Yleistä tietoa",
14388
"fr": "Informations générales",
14389
"hi": "सामान्य जानकारी",
@@ -14391,7 +14403,7 @@
14403
"cs": "Vytvořit nové tokeny",
14404
"de": "Neue Token generieren",
14405
"en": "Generate New Tokens",
14394
- "es": "Generar Nuevo Token",
14406
+ "es": "Generar Nuevos Tokens",
14407
"fr": "Générer de nouveaux jetons",
14408
"hi": "नए स्तन उत्पन्न करें",
14409
"ja": "新しいトークンを生成する",
@@ -14550,7 +14562,7 @@
14562
"cs": "Získat přihlašovací údaje MQTT pro toto zařízení.",
14563
"de": "MQTT-Zugangsdaten für dieses Gerät abrufen.",
14564
"en": "Get MQTT login credentials for this device.",
14553
- "es": "Obtenga Credenciales de inicio de sesión MQTT para este dispositivo.",
14565
+ "es": "Obtenga credenciales de inicio de sesión MQTT para este dispositivo.",
14566
"fi": "Hanki MQTT-kirjautumistiedot tälle laitteelle.",
14567
"fr": "Obtenir des identifiants MQTT pour cet appareil.",
14568
"hi": "इस डिवाइस के लिए MQTT लॉगिन क्रेडेंशियल प्राप्त करें।",
@@ -14673,6 +14685,7 @@
14685
"en": "Google Drive Backup",
14686
"nl": "Google Drive Backup",
14687
"tr": "Google Drive Yedekleme",
14688
+ "es": "Resguardo en Google Drive",
14689
"xloc": [
14690
"default.handlebars->27->1272",
14691
"default.handlebars->27->1275",
@@ -14683,6 +14696,7 @@
14696
"en": "Google Drive Console",
14697
"tr": "Google Drive Konsolu",
14698
"nl": "Google Drive Console",
14699
+ "es": "Consola de Google Drive",
14700
"xloc": [
14701
"default.handlebars->27->1269"
14702
]
@@ -14691,6 +14705,7 @@
14705
"en": "Google Drive backup",
14706
"nl": "Google Drive backup",
14707
"tr": "Google Drive yedeklemesi",
14708
+ "es": "Resguardo en Google Drive",
14709
"xloc": [
14710
"default.handlebars->container->column_l->p6->p6info->p2ServerActions->3->p2ServerActionsGoogleBackup->1->0"
14711
]
@@ -14699,6 +14714,7 @@
14714
"en": "Google Drive backup is currently active.",
14715
"nl": "Google Drive backup is momenteel aktief",
14716
"tr": "Google Drive yedeklemesi şu anda aktif.",
14717
+ "es": "El resguardo en Google Drive está actualmente activo.",
14718
"xloc": [
14719
"default.handlebars->27->1273"
14720
]
@@ -14749,7 +14765,7 @@
14765
"cs": "Akce skupiny",
14766
"de": "Gruppenaktion",
14767
"en": "Group Action",
14752
- "es": "Acción grupal",
14768
+ "es": "Acción de Grupo",
14769
"fi": "Ryhmätoiminta",
14770
"fr": "Action groupée",
14771
"hi": "समूह क्रिया",
@@ -14800,7 +14816,7 @@
14816
"cs": "Členové skupiny",
14817
"de": "Gruppenmitglieder",
14818
"en": "Group Members",
14803
- "es": "Miembros del grupo",
14819
+ "es": "Miembros del Grupo",
14820
"fi": "Ryhmän jäsenet",
14821
"fr": "Membres du groupe",
14822
"hi": "समूह के सदस्य",
@@ -14898,7 +14914,7 @@
14914
},
14915
{
14916
"en": "Guest Name",
14901
- "es": "Nombre del invitado",
14917
+ "es": "Nombre del Invitado",
14918
"fr": "Nom de l'invité",
14919
"nl": "Gast naam",
14920
"tr": "Misafir adı",
@@ -14933,7 +14949,7 @@
14949
"cs": "HW připojení",
14950
"de": "HW-Verbindung",
14951
"en": "HW Connect",
14936
- "es": "Conectarse al HW",
14952
+ "es": "Conectar al HW",
14953
"fr": "Connexion AMT",
14954
"hi": "एचडब्ल्यू कनेक्ट",
14955
"ja": "HW Connect",
@@ -15135,7 +15151,7 @@
15151
"cs": "Ahoj [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) provádí ověření e-mailem. Chcete-li proces dokončit, přejděte na následující odkaz:",
15152
"de": "Hallo [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) führt eine E-Mail-Überprüfung durch. Klicken Sie auf den folgenden Link, um den Vorgang abzuschließen:",
15153
"en": "Hi [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) is performing an e-mail verification. Nagivate to the following link to complete the process:",
15138
- "es": "Hola [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) esta realizando una comprobación del e-mail. Navegue al siguiente enlace para completar el proceso:",
15154
+ "es": "Hola [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) esta realizando una comprobación del correo electrónico. Navegue al siguiente enlace para completar el proceso:",
15155
"fi": "Hei [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) tarkistaa sähköpostiosoitetta. Seuraa linkkiä prosessin loppuun saattamiseksi:",
15156
"fr": "Bonjour [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]]) effectue une vérification par e-mail. Accédez au lien suivant pour terminer le processus:",
15157
"hi": "हाय [[[USERNAME]]], [[[SERVERNAME]]] ([[[SERVERURL]]] ई-मेल सत्यापन कर रहा है। प्रक्रिया को पूरा करने के लिए निम्नलिखित लिंक को बताएं:",
@@ -15216,7 +15232,7 @@
15232
"cs": "Vydržte, e-mail je na cestě.",
15233
"de": "Bitte warten, Rücksetz-E-Mail gesendet.",
15234
"en": "Hold on, reset mail sent.",
15219
- "es": "Espera, restablece el correo enviado.",
15235
+ "es": "Espere, correo de restablecimiento enviado.",
15236
"fi": "Odota hetki, palautus sähköposti lähetetty.",
15237
"fr": "Attends, le courrier est envoyé.",
15238
"hi": "भेजे गए मेल को रीसेट करें, दबाए रखें।",
@@ -15233,7 +15249,7 @@
15249
"cs": "Drží se jeden záznam pro kopii",
15250
"de": "Halte 1 Eintrag zum Kopieren",
15251
"en": "Holding 1 entrie for copy",
15236
- "es": "Manteniendo 1 entrada para copia",
15252
+ "es": "Manteniendo 1 entrada para copiar",
15253
"fi": "Yksi valittu kopiointia varten",
15254
"fr": "Tenir 1 entrée pour copie",
15255
"hi": "नकल के लिए 1 एंट्री पकड़ना",
@@ -15317,7 +15333,7 @@
15333
"cs": "Drží se {0} zaznamů{1} pro {2}",
15334
"de": "Halte {0} Einträge{1} zum {2}",
15335
"en": "Holding {0} entrie{1} for {2}",
15320
- "es": "Manteniendo {0} entrada {1} para {2}",
15336
+ "es": "Manteniendo {0} entrada{1} para {2}",
15337
"fi": "{0} kohde{1} valittu {2} varten",
15338
"fr": "Tenir {0} entrée {1} pour {2}",
15339
"hi": "{2} के लिए {0} entrie {1} पकड़े",
@@ -15338,7 +15354,7 @@
15354
"cs": "Název stroje",
15355
"de": "Hostname",
15356
"en": "Hostname",
15341
- "es": "Nombre de host",
15357
+ "es": "Nombre de Host",
15358
"fi": "Isäntänimi",
15359
"fr": "Nom d'hôte",
15360
"hi": "होस्ट का नाम",
@@ -15471,7 +15487,7 @@
15487
"cs": "IP: {0}, Maska: {1}, Brána: {2}",
15488
"de": "IP: {0}, Maske: {1}, Gateway: {2}",
15489
"en": "IP: {0}, Mask: {1}, Gateway: {2}",
15474
- "es": "IP: {0}, Mascara: {1}, Puerta de Enlace: {2}",
15490
+ "es": "IP: {0}, Máscara: {1}, Puerta de enlace: {2}",
15491
"fi": "IP: {0}, Peite: {1}, Yhdyskäytävä: {2}",
15492
"fr": "IP: {0}, masque: {1}, passerelle: {2}",
15493
"hi": "IP: {0}, मास्क: {1}, गेटवे: {2}",
@@ -15562,7 +15578,7 @@
15578
"cs": "IPv4 maska",
15579
"de": "IPv4-Netzmaske",
15580
"en": "IPv4 mask",
15565
- "es": "Mascara IPv4",
15581
+ "es": "Máscara IPv4",
15582
"fi": "IPv4 peite",
15583
"fr": "MAsque IPv4",
15584
"hi": "IPv4 मास्क",
@@ -15609,7 +15625,7 @@
15625
},
15626
{
15627
"en": "IPv6 gateway",
15612
- "es": "Puerta (gateway) IPv6",
15628
+ "es": "Puerta de enlace IPv6",
15629
"fi": "IPv6 yhdyskäytävä",
15630
"fr": "Passerelle IPv6",
15631
"nl": "IPv6 gateway",
@@ -15622,7 +15638,7 @@
15638
},
15639
{
15640
"en": "IPv6 mask",
15625
- "es": "Mascara IPv6",
15641
+ "es": "Máscara IPv6",
15642
"fi": "IPv6 peite",
15643
"fr": "Masque IPv6",
15644
"nl": "IPv6 mask",
@@ -15657,7 +15673,7 @@
15673
"cs": "Výběr ikony",
15674
"de": "Icon-Auswahl",
15675
"en": "Icon Selection",
15660
- "es": "Seleccion de Icono",
15676
+ "es": "Selección de Icono",
15677
"fi": "Kuvakkeen valinta",
15678
"fr": "Sélection de l'icôn",
15679
"hi": "आइकन चयन",
@@ -15697,7 +15713,7 @@
15713
},
15714
{
15715
"en": "If valid, reset mail sent.",
15700
- "es": "Si es correcto, enviar correo de restablecimiento",
15716
+ "es": "Si es correcto, se envió correo de restablecimiento.",
15717
"fi": "Salasanan nollaus viesti lähetetty, jos sähköposti osoite on kelvollinen.",
15718
"fr": "Si valide le mail de réinitialisation a été envoyé.",
15719
"nl": "Indien geldig, verzend de reset e-mail.",
@@ -15714,7 +15730,7 @@
15730
"cs": "Pokud jste tento požadavek nezačali, ignorujte tento e-mail.",
15731
"de": "Wenn Sie diese Anfrage nicht initiiert haben, ignorieren Sie diese Mail bitte.",
15732
"en": "If you did not initiate this request, please ignore this mail.",
15717
- "es": "Si Ud. no inicio este proceso, por favor ignore este email",
15733
+ "es": "Si Ud. no inicio este requerimiento, por favor ignore este correo.",
15734
"fi": "Jos et suorittanut tätä pyyntöä, voit ohitaa tämän sähköpostin.",
15735
"fr": "Si vous n'avez pas initié cette demande, veuillez ignorer ce courrier.",
15736
"hi": "यदि आपने यह अनुरोध आरंभ नहीं किया है, तो कृपया इस मेल को अनदेखा करें।",
@@ -15876,7 +15892,7 @@
15892
"cs": "Vstup",
15893
"de": "Eingabe",
15894
"en": "Input",
15879
- "es": "Entrada",
15895
+ "es": "Controlar mouse y teclado de forma remota",
15896
"fi": "Syöte",
15897
"fr": "Entrée",
15898
"hi": "इनपुट",
@@ -15995,7 +16011,7 @@
16011
"cs": "Typ instalace",
16012
"de": "Installationstyp",
16013
"en": "Installation Type",
15998
- "es": "Tipo de instalación",
16014
+ "es": "Tipo de Instalación",
16015
"fi": "Asennustyyppi",
16016
"fr": "Type d'installation",
16017
"hi": "स्थापना प्रकार",
@@ -16040,7 +16056,7 @@
16056
"cs": "Intel AMT",
16057
"de": "Intel AMT",
16058
"en": "Intel AMT",
16043
- "es": "Intel AMT",
16059
+ "es": "Intel® AMT",
16060
"fi": "Intel AMT",
16061
"fr": "Intel AMT",
16062
"hi": "इंटेल एएमटी",
@@ -16063,7 +16079,7 @@
16079
"cs": "Intel AMT CIRA připojeno",
16080
"de": "Intel AMT CIRA verbunden",
16081
"en": "Intel AMT CIRA connected",
16066
- "es": "Intel AMT CIRA conectado",
16082
+ "es": "Intel® AMT CIRA conectado",
16083
"fi": "Intel AMT CIRA yhdistetty",
16084
"fr": "Intel AMT CIRA connecté",
16085
"hi": "इंटेल AMT CIRA जुड़ा हुआ है",
@@ -16083,7 +16099,7 @@
16099
"cs": "Intel AMT CIRA odpojeno",
16100
"de": "Intel AMT CIRA getrennt",
16101
"en": "Intel AMT CIRA disconnected",
16086
- "es": "Intel AMT CIRA desconectado",
16102
+ "es": "Intel® AMT CIRA desconectado",
16103
"fi": "Intel AMT CIRA yhteys katkaistu",
16104
"fr": "Intel AMT CIRA déconnecté",
16105
"hi": "इंटेल AMT CIRA डिस्कनेक्ट हो गया",
@@ -16101,7 +16117,7 @@
16117
},
16118
{
16119
"en": "Intel AMT Redirection",
16104
- "es": "Redirección de Intel AMT",
16120
+ "es": "Redirección de Intel® AMT",
16121
"fi": "Intel AMT uudelleenohjaus",
16122
"fr": "Redirection Intel AMT",
16123
"nl": "Intel AMT omleiding",
@@ -16114,7 +16130,7 @@
16130
},
16131
{
16132
"en": "Intel AMT WSMAN",
16117
- "es": "Intel AMT WSMAN",
16133
+ "es": "Intel® AMT WSMAN",
16134
"fi": "Intel AMT WSMAN",
16135
"fr": "WSMAN Intel AMT",
16136
"nl": "Intel AMT WSMAN",
@@ -16129,7 +16145,7 @@
16145
"cs": "Intel AMT zjištěno",
16146
"de": "Intel AMT erkannt",
16147
"en": "Intel AMT detected",
16132
- "es": "Intel AMT detectado",
16148
+ "es": "Intel® AMT detectado",
16149
"fi": "Intel AMT havaittu",
16150
"fr": "Intel AMT détecté",
16151
"hi": "इंटेल एएमटी का पता चला",
@@ -16149,7 +16165,7 @@
16165
"cs": "Intel AMT je aktivováno v režimu správce",
16166
"de": "Intel AMT ist im Admin Control Mode aktiviert",
16167
"en": "Intel AMT is activated in Admin Control Mode",
16152
- "es": "Intel AMT esta activado en Admin Control Mode (ACM)",
16168
+ "es": "Intel® AMT esta activado en Admin Control Mode (ACM)",
16169
"fi": "Intel AMT on aktivoitu Järjestelmänvalvojan ohjaustilassa",
16170
"fr": "Intel AMT est activé en mode administrateur",
16171
"hi": "इंटेल एएमटी एडमिन कंट्रोल मोड में सक्रिय है",
@@ -16169,7 +16185,7 @@
16185
"cs": "Intel AMT je aktivováno v režimu uživatele",
16186
"de": "Intel AMT ist im Client Control Mode aktiviert",
16187
"en": "Intel AMT is activated in Client Control Mode",
16172
- "es": "Intel AMT is activated in Client Control Mode (CCM)",
16188
+ "es": "Intel® AMT está activado en Modo de Control de Cliente (CCM)",
16189
"fi": "Intel AMT on aktivoitu asiakasohjaustilassa",
16190
"fr": "Intel AMT est activé en mode client",
16191
"hi": "Intel AMT क्लाइंट कंट्रोल मोड में सक्रिय है",
@@ -16189,7 +16205,7 @@
16205
"cs": "Intel AMT je nastaveno s TLS zabezpečením",
16206
"de": "Intel AMT ist mit TLS-Netzwerksicherheit eingerichtet",
16207
"en": "Intel AMT is setup with TLS network security",
16192
- "es": "Intel AMT está configurado con seguridad de red TLS",
16208
+ "es": "Intel® AMT está configurado con seguridad de red TLS",
16209
"fr": "Intel AMT est configuré avec une sécurité réseau TLS",
16210
"hi": "इंटेल एएमटी टीएलएस नेटवर्क सुरक्षा के साथ सेटअप है",
16211
"ja": "Intel AMTはTLSネットワークセキュリティでセットアップされています",
@@ -16208,7 +16224,7 @@
16224
"cs": "Intel AMT není zjištěno",
16225
"de": "Intel AMT nicht erkannt",
16226
"en": "Intel AMT not detected",
16211
- "es": "Intel AMT no detectado",
16227
+ "es": "Intel® AMT no detectado",
16228
"fi": "Intel AMT:tä ei havaittu",
16229
"fr": "Intel AMT non détecté",
16230
"hi": "इंटेल एएमटी का पता नहीं चला",
@@ -16228,7 +16244,7 @@
16244
"cs": "Je třeba, aby Intel AMT bylo nastaveno s důvěryhodným FQDN v MEBx nebo bude třeba drátová LAN síť:",
16245
"de": "Intel AMT benötigt einen gesetzten Trusted FQDN im MEBx oder eine drahtgebundene Verbindung zum LAN:",
16246
"en": "Intel AMT will need to be set with a Trusted FQDN in MEBx or have a wired LAN on the network:",
16231
- "es": "Intel AMT deberá configurarse con un FQDN de confianza en MEBx o tener una LAN con cable en la red:",
16247
+ "es": "Intel® AMT deberá configurarse con un FQDN de confianza en MEBx o tener una LAN con cable en la red:",
16248
"fr": "Intel AMT devra être configuré avec un FQDN approuvé dans MEBx ou avoir un LAN câblé sur le réseau:",
16249
"hi": "इंटेल एएमटी को एमईबीएक्स में एक विश्वसनीय एफक्यूडीएन के साथ सेट करने की आवश्यकता होगी या नेटवर्क पर एक वायर्ड लैन होगा:",
16250
"ja": "Intel AMTは、MEBxで信頼できるFQDNを使用して設定するか、ネットワーク上に有線LANが必要です。",
@@ -16315,7 +16331,7 @@
16331
"cs": "Intel® AMT CIRA je připojeno a připraveno k použití.",
16332
"de": "Intel® AMT CIRA ist verbunden und einsatzbereit.",
16333
"en": "Intel® AMT CIRA is connected and ready for use.",
16318
- "es": "Intel & reg; AMT CIRA está conectado y listo para usar.",
16334
+ "es": "Intel® AMT CIRA está conectado y listo para usar.",
16335
"fi": "Intel® AMT CIRA yhdistetty ja valmis käytettäväksi.",
16336
"fr": "Intel® AMT CIRA est connecté et prêt à être utilisé.",
16337
"hi": "Intel® AMT CIRA जुड़ा हुआ है और उपयोग के लिए तैयार है।",
@@ -16377,7 +16393,7 @@
16393
"cs": "Intel® AMT zásada",
16394
"de": "Intel® AMT Regelwerk",
16395
"en": "Intel® AMT Policy",
16380
- "es": "Intel & reg; Política de AMT",
16396
+ "es": "Política de Intel® AMT",
16397
"fi": "Intel® AMT politiikka",
16398
"fr": "Restrictions Intel® AMT",
16399
"hi": "Intel® AMT नीति",
@@ -16397,7 +16413,7 @@
16413
"cs": "Intel® AMT přesměrování",
16414
"de": "Intel® AMT Umleitung",
16415
"en": "Intel® AMT Redirection",
16400
- "es": "Intel & reg; Redirección AMT",
16416
+ "es": "Redirección de Intel® AMT",
16417
"fi": "Intel® AMT Uudelleenohjaus",
16418
"fr": "Redirection Intel® AMT",
16419
"hi": "Intel® AMT पुनर्निर्देशन",
@@ -16417,7 +16433,7 @@
16433
"cs": "Intel® AMT štítek",
16434
"de": "Intel® AMT Kennzeichen",
16435
"en": "Intel® AMT Tag",
16420
- "es": "Intel & reg; Etiqueta AMT",
16436
+ "es": "Etiqueta de Intel® AMT",
16437
"fr": "Étiquette Intel® AMT",
16438
"hi": "Intel® AMT टैग",
16439
"ja": "Intel® AMTタグ",
@@ -16456,7 +16472,7 @@
16472
"cs": "Intel® AMT aktivace",
16473
"de": "Intel® AMT Aktivierung",
16474
"en": "Intel® AMT activation",
16459
- "es": "Intel® activacion AMT",
16475
+ "es": "Activación de Intel® AMT",
16476
"fi": "Intel® AMT aktivointi",
16477
"fr": "Activation Intel® AMT",
16478
"hi": "Intel® AMT सक्रियण",
@@ -16499,7 +16515,7 @@
16515
"cs": "Události Intel® AMT desktop a serial.",
16516
"de": "Intel® AMT Desktop- und Seriell-Ereignisse.",
16517
"en": "Intel® AMT desktop and serial events.",
16502
- "es": "Intel & reg; Escritorio AMT y eventos en serie.",
16518
+ "es": "Eventos de escritorio y serial de Intel® AMT.",
16519
"fi": "Intel® AMT työpöytä ja sarjaliikenne ilmoitukset.",
16520
"fr": "Événements de bureau et série Intel® AMT.",
16521
"hi": "Intel® AMT डेस्कटॉप और सीरियल इवेंट।",
@@ -16520,7 +16536,7 @@
16536
"cs": "Intel® AMT zjištěno",
16537
"de": "Intel® AMT erkannt",
16538
"en": "Intel® AMT detected",
16523
- "es": "Intel & reg; AMT detectado",
16539
+ "es": "Intel® AMT detectado",
16540
"fi": "Intel® AMT havaittu",
16541
"fr": "Intel® AMT detecté",
16542
"hi": "Intel® AMT का पता चला",
@@ -16542,7 +16558,7 @@
16558
"cs": "Intel® AMT je směrovatelné a připraveno k použití.",
16559
"de": "Intel® AMT ist routebar und einsatzbereit.",
16560
"en": "Intel® AMT is routable and ready for use.",
16545
- "es": "Intel & reg; AMT es enrutable y está listo para usar.",
16561
+ "es": "Intel® AMT es enrutable y está listo para usar.",
16562
"fr": "Intel® AMT est routable et prêt à l'emploi.",
16563
"hi": "Intel® AMT राउटेबल है और उपयोग के लिए तैयार है।",
16564
"ja": "Intel® AMTはルーティング可能であり、すぐに使用できます。",
@@ -16561,7 +16577,7 @@
16577
"cs": "Intel® AMT je směrovatelné.",
16578
"de": "Intel® AMT ist routebar.",
16579
"en": "Intel® AMT is routable.",
16564
- "es": "Intel & reg; AMT es enrutable.",
16580
+ "es": "Intel® AMT es enrutable.",
16581
"fr": "Intel® AMT est routable.",
16582
"hi": "Intel® AMT राउटेबल है।",
16583
"ja": "Intel® AMTはルーティング可能です。",
@@ -16581,7 +16597,7 @@
16597
"cs": "Pouze Intel® AMT",
16598
"de": "Nur Intel® AMT",
16599
"en": "Intel® AMT only",
16584
- "es": "Intel & reg; Solo AMT",
16600
+ "es": "Sólo Intel® AMT",
16601
"fi": "Vain Intel® AMT",
16602
"fr": "Intel® AMT uniquement",
16603
"hi": "केवल Intel® AMT",
@@ -16601,7 +16617,7 @@
16617
"cs": "Pouze Intel® AMT, bez agenta",
16618
"de": "Nur Intel® AMT, kein Agent",
16619
"en": "Intel® AMT only, no agent",
16604
- "es": "Intel & reg; Solo AMT, sin agente",
16620
+ "es": "Sólo Intel® AMT, sin agente",
16621
"fi": "Vain Intel® AMT, ei agenttia",
16622
"fr": "Intel® AMT uniquement, aucun agent",
16623
"hi": "Intel® AMT केवल, कोई एजेंट नहीं",
@@ -16683,7 +16699,7 @@
16699
},
16700
{
16701
"en": "Intel® Manageability Engine",
16686
- "es": "Motor de administración Intel®",
16702
+ "es": "Intel® Manageability Engine",
16703
"fi": "Intel ® hallittavuusmoottori",
16704
"fr": "Moteur de gestion Intel®",
16705
"hi": "Intel® प्रबंधनीयता इंजन",
@@ -16722,7 +16738,7 @@
16738
"cs": "Intel® Standard Manageability",
16739
"de": "Intel® Standard Manageability",
16740
"en": "Intel® Standard Manageability",
16725
- "es": "Intel & reg; Capacidad de gestión estándar",
16741
+ "es": "Intel® Standard Manageability",
16742
"fi": "Intel® standardinhallinta",
16743
"fr": "Gestion standard Intel®",
16744
"hi": "इंटेल® मानक प्रबंधन क्षमता",
@@ -16801,7 +16817,7 @@
16817
"cs": "Funkce Intel® AMT přesměrování portu nebo KVM je vypnutá",
16818
"de": "Intel® AMT Umleitungsport oder KVM-Eigenschaft ist deaktiviert",
16819
"en": "Intel® AMT Redirection port or KVM feature is disabled",
16804
- "es": "Intel® AMT el puerto de redireccion o la función KVM están deshabilitados",
16820
+ "es": "El puerto de redirección de Intel® AMT o la función KVM están deshabilitados",
16821
"fr": "Le port de redirection Intel® AMT ou la fonctionnalité KVM est désactivé",
16822
"hi": "Intel® AMT पुनर्निर्देशन पोर्ट या KVM सुविधा अक्षम है",
16823
"ja": "Intel® AMTリダイレクトポートまたはKVM機能が無効になっています",
@@ -16861,7 +16877,7 @@
16877
"cs": "Pouze interaktivní",
16878
"de": "Nur interaktiv",
16879
"en": "Interactive only",
16864
- "es": "Solo Interactivo",
16880
+ "es": "Sólo Interactivo",
16881
"fi": "Vain interaktiivinen",
16882
"fr": "Interactif seulement",
16883
"hi": "केवल इंटरएक्टिव",
@@ -16925,7 +16941,7 @@
16941
"cs": "Neplatný typ skupiny zařízení",
16942
"de": "Ungültiger Gerätegruppentyp",
16943
"en": "Invalid Device Group Type",
16928
- "es": "Tipo de grupo de dispositivo no válido",
16944
+ "es": "Tipo de Grupo de Dispositivos inválido",
16945
"fi": "Virheellinen laiteryhmän tyyppi",
16946
"fr": "Type de groupe de périphériques non valide",
16947
"hi": "अमान्य उपकरण समूह प्रकार",
@@ -16986,7 +17002,7 @@
17002
"cs": "Neplatný JSON soubor: {0}.",
17003
"de": "Ungültige JSON-Datei: {0}.",
17004
"en": "Invalid JSON file: {0}.",
16989
- "es": "Formato de Archivo JSON: {0}.",
17005
+ "es": "Archivo JSON inválido: {0}.",
17006
"fi": "JSON-tiedosto {0} on virheellinen.",
17007
"fr": "Fichier JSON Invalide : {0}.",
17008
"hi": "अमान्य JSON फ़ाइल: {0}।",
@@ -17026,7 +17042,7 @@
17042
"cs": "Neplatný RSA podpis",
17043
"de": "Ungültige RSA-Signatur",
17044
"en": "Invalid RSA siguature",
17029
- "es": "La firma RSA no es válida",
17045
+ "es": "Firma RSA inválida",
17046
"fi": "Virheellinen RSA-allekirjoitus",
17047
"fr": "Signature RSA invalide",
17048
"hi": "अमान्य RSA संयुक्ताक्षर",
@@ -17046,7 +17062,7 @@
17062
"cs": "Neplatný token pro vytvoření účtu.",
17063
"de": "Ungültiges Kontoerstellungstoken.",
17064
"en": "Invalid account creation token.",
17049
- "es": "Token de creación de cuenta no válido.",
17065
+ "es": "Token de creación de cuenta inválido.",
17066
"fi": "Virheellinen tilin luontitunnus.",
17067
"fr": "Jeton de création de compte invalide.",
17068
"hi": "अमान्य खाता निर्माण टोकन।",
@@ -17068,7 +17084,7 @@
17084
"cs": "Neplatný e-mail.",
17085
"de": "Ungültige E-Mail.",
17086
"en": "Invalid email.",
17071
- "es": "Correo Electronico inválido.",
17087
+ "es": "Correo electrónico inválido.",
17088
"fi": "Virheellinen sähköpostiosoite.",
17089
"fr": "Email invalide.",
17090
"hi": "अवैध ईमेल।",
@@ -17088,6 +17104,7 @@
17104
},
17105
{
17106
"en": "Invalid file link",
17107
+ "es": "Enlace de archivo inválido",
17108
"xloc": [
17109
"download.handlebars->3->3",
17110
"download2.handlebars->5->3"
@@ -17117,7 +17134,7 @@
17134
"cs": "Neplatný token, zkuste to znovu.",
17135
"de": "Ungültiges Token, versuchen Sie es erneut.",
17136
"en": "Invalid token, try again.",
17120
- "es": "Token no válido, intente nuevamente.",
17137
+ "es": "Token inválido, intente nuevamente.",
17138
"fi": "Virheellinen tunnus, yritä uudelleen.",
17139
"fr": "Jeton invalide, réessayer.",
17140
"hi": "अमान्य टोकन, पुनः प्रयास करें।",
@@ -17137,7 +17154,7 @@
17154
},
17155
{
17156
"en": "Invalidate Email",
17140
- "es": "Correo invalido",
17157
+ "es": "Invalidar Correo Electrónico",
17158
"fi": "Mitätöi sähköpostiosoite",
17159
"fr": "Email invalide",
17160
"nl": "E-mail ongeldig maken",
@@ -17169,7 +17186,7 @@
17186
"cs": "Odkaz na pozvánku ({0})",
17187
"de": "Einladungslink ({0})",
17188
"en": "Invitation Link ({0})",
17172
- "es": "Enlace de invitación ({0})",
17189
+ "es": "Enlace de Invitación ({0})",
17190
"fi": "Kutsulinkki ({0})",
17191
"fr": "Lien de l'invitation ({0})",
17192
"hi": "निमंत्रण लिंक ({0})",
@@ -17189,7 +17206,7 @@
17206
"cs": "Typ pozvání",
17207
"de": "Einladungstyp",
17208
"en": "Invitation Type",
17192
- "es": "Tipo de invitación",
17209
+ "es": "Tipo de Invitación",
17210
"fi": "Kutsutyyppi",
17211
"fr": "Type d'invitation",
17212
"hi": "निमंत्रण का प्रकार",
@@ -17247,7 +17264,7 @@
17264
"cs": "Pozvat",
17265
"de": "Einladen",
17266
"en": "Invite",
17250
- "es": "Invitación",
17267
+ "es": "Invitar",
17268
"fi": "Kutsu",
17269
"fr": "Inviter",
17270
"hi": "आमंत्रण",
@@ -17269,7 +17286,7 @@
17286
"cs": "Pozvat kódy",
17287
"de": "Codes einladen",
17288
"en": "Invite Codes",
17272
- "es": "Códigos de invitación",
17289
+ "es": "Códigos de Invitación",
17290
"fi": "Kutsu koodit",
17291
"fr": "Inviter des codes",
17292
"hi": "कोड आमंत्रित करें",
@@ -17293,7 +17310,7 @@
17310
"cs": "Pozvěte někoho k instalaci agenta tím, že mu nasdílíte odkaz. Tento odkaz obsahuje pokyny pro zařazení do skupiny zařízení „{0}“. Odkaz je veřejný a protistrana nepotřebuje žádný účet na tomto serveru.",
17311
"de": "Laden Sie jemanden ein, den Mesh-Agenten zu installieren, indem Sie einen Einladungslink freigeben. Dieser Link verweist den Benutzer auf Installationsanweisungen für die Gerätegruppe \\\"{0}\\\". Der Link ist öffentlich und es wird kein Konto für diesen Server benötigt.",
17312
"en": "Invite someone to install the mesh agent by sharing an invitation link. This link points the user to installation instructions for the \\\"{0}\\\" device group. The link is public and no account for this server is needed.",
17296
- "es": "Invite a alguien a instalar el agente de malla compartiendo un enlace de invitación. Este enlace le indica al usuario las instrucciones de instalación para el grupo de dispositivos \\\"{0}\\\". El enlace es público y no se necesita una cuenta para este servidor.",
17313
+ "es": "Invite a alguien a instalar el Agente Mesh compartiendo un enlace de invitación. Este enlace le indica al usuario las instrucciones de instalación para el grupo de dispositivos \\\"{0}\\\". El enlace es público y no se necesita una cuenta para este servidor.",
17314
"fr": "Invitez quelqu'un à installer l'agent de maillage en partageant un lien d'invitation. Ce lien renvoie l'utilisateur aux instructions d'installation du groupe de périphériques \\\"{0}\\\". Le lien est public et aucun compte n'est requis pour ce serveur.",
17315
"hi": "आमंत्रण लिंक साझा करके मेष एजेंट को स्थापित करने के लिए किसी को आमंत्रित करें। यह लिंक उपयोगकर्ता को \\\"{0}\\\" उपकरण समूह के लिए इंस्टॉलेशन निर्देश इंगित करता है। लिंक सार्वजनिक है और इस सर्वर के लिए किसी खाते की आवश्यकता नहीं है।",
17316
"ja": "招待リンクを共有して、メッシュエージェントをインストールする人を招待します。このリンクは、ユーザーに\\\"{0}\\\"デバイスグループのインストール手順を示します。リンクは公開されており、このサーバーのアカウントは必要ありません。",
@@ -17311,7 +17328,7 @@
17328
{
17329
"de": "Laden Sie jemanden ein, den Mesh-Agenten für diese Gerätegruppe zu installieren.",
17330
"en": "Invite someone to install the mesh agent on this device group.",
17314
- "es": "Invite a alguien a instalar el agente de malla en este grupo de dispositivos.",
17331
+ "es": "Invite a alguien a instalar el Agente Mesh en este grupo de dispositivos.",
17332
"fi": "Kutsu joku asentamaan Mesh agentti tähän laiteryhmään.",
17333
"fr": "Invitez quelqu'un à installer l'agent maillé sur ce groupe de périphériques.",
17334
"hi": "इस उपकरण समूह पर मेष एजेंट को स्थापित करने के लिए किसी को आमंत्रित करें।",
@@ -17330,7 +17347,7 @@
17347
"cs": "Pozvěte někoho k instalaci agenta. E-mailem bude zaslán odkaz na instalaci agenta pro skupinu „{0}“.",
17348
"de": "Laden Sie jemanden ein, den Mesh-Agenten zu installieren. Eine E-Mail einem Link zur Mesh-Agenten-Installation für die Gerätegruppe \\\"{0}\\\" wird verschickt.",
17349
"en": "Invite someone to install the mesh agent. An email with be sent with the link to the mesh agent installation for the \\\"{0}\\\" device group.",
17333
- "es": "Invite a alguien a instalar el agente de mesh. Se enviará un correo electrónico con el enlace a la instalación del agente de mesh para el grupo de dispositivos \\\"{0}\\\".",
17350
+ "es": "Invite a alguien a instalar el Agente Mesh. Se enviará un correo electrónico con el enlace a la instalación del agente de mesh para el grupo de dispositivos \\\"{0}\\\".",
17351
"fr": "Invitez quelqu'un à installer l'agent de maillage. Un email doit être envoyé avec le lien vers l’installation de l’agent de maillage pour le groupe de périphériques \\\"{0}\\\".",
17352
"hi": "मेष एजेंट को स्थापित करने के लिए किसी को आमंत्रित करें। \\\"{0}\\\" डिवाइस समूह के लिए मेष एजेंट स्थापना के लिंक के साथ एक ईमेल भेजा जाना चाहिए।",
17353
"ja": "メッシュエージェントをインストールする人を招待します。 \\\"{0}\\\"デバイスグループのメッシュエージェントインストールへのリンクが記載されたメール。",
@@ -17802,7 +17819,7 @@
17819
"cs": "Velké zaměření",
17820
"de": "Großer Fokus",
17821
"en": "Large Focus",
17805
- "es": "Gran enfoque",
17822
+ "es": "Gran Enfoque",
17823
"fr": "Grande mise au point",
17824
"hi": "बड़ा फोकस",
17825
"ja": "大焦点",
@@ -17821,7 +17838,7 @@
17838
"cs": "Posledních 100",
17839
"de": "Letzte 100",
17840
"en": "Last 100",
17824
- "es": "Ultimos 100",
17841
+ "es": "Últimos 100",
17842
"fi": "Viimeiset 100",
17843
"fr": "100 dernières",
17844
"hi": "अंतिम 100",
@@ -17841,7 +17858,7 @@
17858
"cs": "Posledních 1000",
17859
"de": "Letzte 1000",
17860
"en": "Last 1000",
17844
- "es": "Ultimos 1000",
17861
+ "es": "Últimos 1000",
17862
"fi": "Viimeiset 1000",
17863
"fr": "1000 derniers",
17864
"hi": "पिछले 1000",
@@ -17864,7 +17881,7 @@
17881
"cs": "Posledních 120",
17882
"de": "Letzte 120",
17883
"en": "Last 120",
17867
- "es": "Ultimos 120",
17884
+ "es": "Últimos 120",
17885
"fi": "Viimeiset 120",
17886
"fr": "120 dernières",
17887
"hi": "अंतिम 120",
@@ -17886,7 +17903,7 @@
17903
"cs": "Posledních 250",
17904
"de": "Letzte 250",
17905
"en": "Last 250",
17889
- "es": "Ultimos 250",
17906
+ "es": "Últimos 250",
17907
"fi": "Viimeiset 250",
17908
"fr": "250 dernières",
17909
"hi": "अंतिम 250",
@@ -17909,7 +17926,7 @@
17926
"cs": "Předešlé 3 hodiny",
17927
"de": "Letzte 3 Stunden",
17928
"en": "Last 3 hours",
17912
- "es": "Ultimas 3 horas",
17929
+ "es": "Últimas 3 horas",
17930
"fi": "Viimeiset 3 tuntia",
17931
"fr": "3 dernières heures",
17932
"hi": "पिछले 3 घंटे",
@@ -17929,7 +17946,7 @@
17946
"cs": "Předchozích 30 dnů",
17947
"de": "Letzte 30 Tage",
17948
"en": "Last 30 days",
17932
- "es": "Ultimos 30 dias",
17949
+ "es": "Últimos 30 días",
17950
"fi": "Viimeiset 30 päivää",
17951
"fr": "30 derniers jours",
17952
"hi": "पिछले 30 दिनों में",
@@ -17949,7 +17966,7 @@
17966
"cs": "Posledních 500",
17967
"de": "Letzte 500",
17968
"en": "Last 500",
17952
- "es": "Ultimos 500",
17969
+ "es": "Últimos 500",
17970
"fi": "Viimeiset 500",
17971
"fr": "500 dernières",
17972
"hi": "अंतिम 500",
@@ -17972,7 +17989,7 @@
17989
"cs": "Posledních 60",
17990
"de": "Letzte 60",
17991
"en": "Last 60",
17975
- "es": "Ultimos 60",
17992
+ "es": "Últimos 60",
17993
"fi": "Viimeiset 60",
17994
"fr": "60 dernières",
17995
"hi": "अंतिम 60",
@@ -17994,7 +18011,7 @@
18011
"cs": "Předchozích 8 hodin",
18012
"de": "Letzte 8 Stunden",
18013
"en": "Last 8 hours",
17997
- "es": "Ultimas 8 horas",
18014
+ "es": "Últimas 8 horas",
18015
"fi": "Viimeiset 8 tuntia",
18016
"fr": "8 dernières heures",
18017
"hi": "पिछले 8 घंटे",
@@ -18014,7 +18031,7 @@
18031
"cs": "Poslední přístup",
18032
"de": "Letzter Zugriff",
18033
"en": "Last Access",
18017
- "es": "Ultimo acceso",
18034
+ "es": "Último Acceso",
18035
"fi": "Viimeisin käyttö",
18036
"fr": "Dernier accès",
18037
"hi": "अंतिम पहुंच",
@@ -18034,7 +18051,7 @@
18051
"cs": "Poslední přihlášení",
18052
"de": "Letzte Anmeldung",
18053
"en": "Last Login",
18037
- "es": "Último acceso",
18054
+ "es": "Último Ingreso",
18055
"fi": "Edellinen kirjautuminen",
18056
"fr": "Dernière connexion",
18057
"hi": "अंतिम लॉगइन",
@@ -18166,7 +18183,7 @@
18183
"cs": "Poslední přihlášení: {0}",
18184
"de": "Letzte Anmeldung: {0}",
18185
"en": "Last login: {0}",
18169
- "es": "Último acceso: {0}",
18186
+ "es": "Último ingreso: {0}",
18187
"fi": "Edellinen kirjautuminen: {0}",
18188
"fr": "Dernière connexion: {0}",
18189
"hi": "अंतिम लॉगिन: {0}",
@@ -18186,7 +18203,7 @@
18203
"cs": "Naposledy spatřen:",
18204
"de": "Zuletzt gesehen:",
18205
"en": "Last seen:",
18189
- "es": "Ultima vez visto:",
18206
+ "es": "Visto por última vez:",
18207
"fi": "Viimeksi nähty:",
18208
"fr": "Dernière connexion:",
18209
"hi": "अंतिम बार देखा गया:",
@@ -18247,7 +18264,7 @@
18264
"cs": "Nejnovější vydaná verze",
18265
"de": "Neueste Version",
18266
"en": "Latest Version",
18250
- "es": "Ultima versión",
18267
+ "es": "Última Versión",
18268
"fi": "Viimeisin versio",
18269
"fr": "Dernière version",
18270
"hi": "नवीनतम संस्करण",
@@ -18446,7 +18463,7 @@
18463
"cs": "Omezený vstup",
18464
"de": "Eingeschränkte Eingabe",
18465
"en": "Limited Input",
18449
- "es": "Entrada limitada",
18466
+ "es": "Entrada Limitada",
18467
"fi": "Rajoitettu syöttö",
18468
"fr": "Entrée limitée",
18469
"hi": "सीमित इनपुट",
@@ -18469,7 +18486,7 @@
18486
"cs": "Pouze omezený vstup",
18487
"de": "Nur eingeschränkte Eingabe",
18488
"en": "Limited Input Only",
18472
- "es": "Solo Entrada limitada",
18489
+ "es": "Sólo Entrada Limitada",
18490
"fi": "Vain rajoitettu syöttö",
18491
"fr": "Entrée limitée uniquement",
18492
"hi": "लिमिटेड इनपुट केवल",
@@ -18511,7 +18528,7 @@
18528
"cs": "Platnost odkazu",
18529
"de": "Link-Ablauf",
18530
"en": "Link Expiration",
18514
- "es": "Vencimiento del enlace",
18531
+ "es": "Expiración del Enlace",
18532
"fi": "Linkin vanheneminen",
18533
"fr": "Expiration du lien",
18534
"hi": "लिंक की समाप्ति",
@@ -18590,7 +18607,7 @@
18607
"cs": "Linux / BSD (odinstalace)",
18608
"de": "Linux / BSD (Deinstallation)",
18609
"en": "Linux / BSD (UnInstall)",
18593
- "es": "Linux / BSD (UnInstall)",
18610
+ "es": "Linux / BSD (DesInstalar)",
18611
"fi": "Linux / BSD (Asennuksen poisto)",
18612
"fr": "Linux / BSD (désinstaller)",
18613
"hi": "लिनक्स / BSD (UnInstall)",
@@ -18608,7 +18625,7 @@
18625
},
18626
{
18627
"en": "Linux / BSD / macOS Binary Installer",
18611
- "es": "Instalador binario para Linux / BSD / macOS",
18628
+ "es": "Instalador Binario para Linux / BSD / macOS",
18629
"fr": "Exécutable d'installation Linux / BSD / macOS",
18630
"nl": "Linux / BSD / macOS Binair installatieprogramma",
18631
"tr": "Linux / BSD / macOS İkili Yükleyici",
@@ -18860,7 +18877,7 @@
18877
},
18878
{
18879
"en": "Linux/macOS Binary Installer",
18863
- "es": "Instalador binario para Linux/macOS",
18880
+ "es": "Instalador Binario para Linux/macOS",
18881
"fr": "Exécutable d'installation Linux / macOS",
18882
"nl": "Linux/macOS binair installatieprogramma",
18883
"tr": "Linux / macOS İkili Yükleyici",
@@ -18958,7 +18975,7 @@
18975
"cs": "Lokální klávesová mapa",
18976
"de": "Lokale Tastaturbelegung",
18977
"en": "Local Keyboard Map",
18961
- "es": "Mapa de teclado local",
18978
+ "es": "Mapa de Teclado Local",
18979
"fr": "Carte du clavier local",
18980
"hi": "स्थानीय कीबोर्ड मैप",
18981
"ja": "ローカルキーボードマップ",
@@ -18997,7 +19014,7 @@
19014
"cs": "Nastavení lokalizace",
19015
"de": "Lokalisierungseinstellungen",
19016
"en": "Localization Settings",
19000
- "es": "Configuraciones de localización",
19017
+ "es": "Opciones de Hora e Idioma",
19018
"fi": "Lokalisointiasetukset",
19019
"fr": "Paramètres de localisation",
19020
"hi": "स्थानीयकरण सेटिंग्स",
@@ -19038,7 +19055,7 @@
19055
"cs": "Výsledky umístění",
19056
"de": "Standortergebnis",
19057
"en": "Location Results",
19041
- "es": "Resultados de ubicación",
19058
+ "es": "Resultados de Ubicación",
19059
"fi": "Sijaintitulokset",
19060
"fr": "Résultats de localisation",
19061
"hi": "स्थान परिणाम",
@@ -19058,7 +19075,7 @@
19075
"cs": "Uzamknout účet",
19076
"de": "Konto sperren",
19077
"en": "Lock Account",
19061
- "es": "Bloquear cuenta",
19078
+ "es": "Bloquear Cuenta",
19079
"fi": "Lukitse Tili",
19080
"fr": "Verrouiller le compte",
19081
"hi": "खाता लॉक करें",
@@ -19076,7 +19093,7 @@
19093
},
19094
{
19095
"en": "Lock Account Settings",
19079
- "es": "Bloquear configuración de la cuenta",
19096
+ "es": "Bloquear Opciones de la Cuenta",
19097
"fr": "Verrouiller les paramètres de compte",
19098
"nl": "Vergrendel accountinstellingen",
19099
"tr": "Hesap Ayarlarını Kilitle",
@@ -19151,7 +19168,7 @@
19168
"cs": "Záznam událostí",
19169
"de": "Ereignis eintragen",
19170
"en": "Log Event",
19154
- "es": "Registro de Evento",
19171
+ "es": "Registrar Evento",
19172
"fi": "Kirjaa tapahtuma",
19173
"fr": "Journal des évènements",
19174
"hi": "लॉग इवेंट",
@@ -19171,7 +19188,7 @@
19188
"cs": "Přihlásit se",
19189
"de": "Anmelden",
19190
"en": "Log In",
19174
- "es": "Iniciar sesión",
19191
+ "es": "Iniciar Sesión",
19192
"fi": "Kirjaudu sisään",
19193
"fr": "Connexion",
19194
"hi": "लॉग इन करें",
@@ -19194,7 +19211,7 @@
19211
},
19212
{
19213
"en": "Log in using an existing account",
19197
- "es": "Ingresar usando una cuenta existente",
19214
+ "es": "Iniciar sesión usando una cuenta existente",
19215
"fi": "Kirjaudu sisään käyttämällä olemassa olevaa tiliä",
19216
"fr": "S'authentifier en utilisant un compte existant",
19217
"nl": "Log in met een bestaand account",
@@ -19809,7 +19826,7 @@
19826
"cs": "Spravovat záložní kódy",
19827
"de": "Sicherungscodes verwalten",
19828
"en": "Manage Backup Codes",
19812
- "es": "Administrar códigos de respaldo",
19829
+ "es": "Administrar Códigos de Respaldo",
19830
"fi": "Hallinnoi varmuuskoodeja",
19831
"fr": "Gérer les codes de récupérations",
19832
"hi": "बैकअप कोड प्रबंधित करें",
@@ -19830,7 +19847,7 @@
19847
"cs": "Spravovat počítače ve skupině zařízení",
19848
"de": "Gerätegruppen-Rechner verwalten",
19849
"en": "Manage Device Group Computers",
19833
- "es": "Administrar equipos del grupo de dispositivos",
19850
+ "es": "Administrar Computadoras del Grupo de Dispositivos",
19851
"fi": "Hallitse laiteryhmän tietokoneita",
19852
"fr": "Gérer les appareils du groupe",
19853
"hi": "डिवाइस ग्रुप कंप्यूटर प्रबंधित करें",
@@ -19853,7 +19870,7 @@
19870
"cs": "Spravovat uživatele pro skupinu zařízení",
19871
"de": "Gerätegruppen-Benutzer verwalten",
19872
"en": "Manage Device Group Users",
19856
- "es": "Administrar usuarios del grupo de dispositivos",
19873
+ "es": "Administrar Usuarios del Grupo de Dispositivos",
19874
"fi": "Hallitse laiteryhmän käyttäjiä",
19875
"fr": "Gérer les utilisateurs du groupe d'appareils",
19876
"hi": "डिवाइस समूह उपयोगकर्ताओं को प्रबंधित करें",
@@ -19876,7 +19893,7 @@
19893
"cs": "Správa zařízení",
19894
"de": "Geräte verwalten",
19895
"en": "Manage Devices",
19879
- "es": "Administrar dispositivos",
19896
+ "es": "Administrar Dispositivos",
19897
"fi": "Hallitse laitteita",
19898
"fr": "Gérer les appareils",
19899
"hi": "उपकरण प्रबंधित करें",
@@ -19908,7 +19925,7 @@
19925
"cs": "Spravovat klíče zabezpečení",
19926
"de": "Sicherheitsschlüssel verwalten",
19927
"en": "Manage Security Keys",
19911
- "es": "Administrar claves de seguridad",
19928
+ "es": "Administrar Claves de Seguridad",
19929
"fi": "Hallinnoi suojausavaimia",
19930
"fr": "Gérer les clés de sécurité",
19931
"hi": "सुरक्षा कुंजी प्रबंधित करें",
@@ -19928,7 +19945,7 @@
19945
"cs": "Spravovat skupiny uživatelů",
19946
"de": "Benutzergruppen verwalten",
19947
"en": "Manage User Groups",
19931
- "es": "Administrar grupos de usuarios",
19948
+ "es": "Administrar Grupos de Usuarios",
19949
"fi": "Hallitse käyttäjäryhmiä",
19950
"fr": "Gérer les groupes d'utilisateurs",
19951
"hi": "उपयोगकर्ता समूह प्रबंधित करें",
@@ -19948,7 +19965,7 @@
19965
"cs": "Spravovat uživatele",
19966
"de": "Benutzer verwalten",
19967
"en": "Manage Users",
19951
- "es": "Administrar usuarios",
19968
+ "es": "Administrar Usuarios",
19969
"fi": "Hallitse käyttäjiä",
19970
"fr": "Gérer les utilisateurs",
19971
"hi": "उपयोगकर्ताओं को प्रबंधित करें",
@@ -20011,7 +20028,7 @@
20028
"cs": "Správa ověřování e-mailů",
20029
"de": "E-Mail-Authentifizierung verwalten",
20030
"en": "Manage email authentication",
20014
- "es": "Administrar autenticación por mail",
20031
+ "es": "Administrar autenticación por correo electrónico",
20032
"fi": "Hallinnoi sähköpostitodennusta",
20033
"fr": "Gérer l'authentification des e-mails",
20034
"hi": "ईमेल प्रमाणीकरण प्रबंधित करें",
@@ -20091,7 +20108,7 @@
20108
"cs": "Spravovat pomocí softwarového agenta",
20109
"de": "Verwaltet mittels Software-Agent",
20110
"en": "Managed using a software agent",
20094
- "es": "Administrar usando un agente de software",
20111
+ "es": "Administrado usando un agente de software",
20112
"fi": "Hallinnoidaan ohjelmistoagentin avulla",
20113
"fr": "Géré à l'aide d'un agent logiciel",
20114
"hi": "एक सॉफ्टवेयर एजेंट का उपयोग कर प्रबंधित",
@@ -20112,7 +20129,7 @@
20129
"cs": "Vedoucí",
20130
"de": "Verwalter",
20131
"en": "Manager",
20115
- "es": "Manager",
20132
+ "es": "Encargado",
20133
"fi": "Johtaja",
20134
"fr": "Directeur",
20135
"hi": "मैनेजर",
@@ -20152,7 +20169,7 @@
20169
"cs": "Ručně zadané přihlašovací jméno/heslo",
20170
"de": "Manueller Benutzername/Passwort",
20171
"en": "Manual Username/Password",
20155
- "es": "Nombre de usuario / contraseña manual",
20172
+ "es": "Nombre de Usuario / Contraseña Manual",
20173
"fi": "Manuaalinen käyttäjänimi / salasana",
20174
"fr": "Nom d'utilisateur / mot de passe manuel",
20175
"hi": "मैनुअल उपयोगकर्ता नाम / पासवर्ड",
@@ -20233,7 +20250,7 @@
20250
"cs": "Dosaženo maximálního počtu relací",
20251
"de": "Maximale Sitzungen erreicht",
20252
"en": "Max Sessions Reached",
20236
- "es": "Sesiones máximas alcanzadas",
20253
+ "es": "Sesiones Máximas Alcanzadas",
20254
"fi": "Istuntojen enimmäismäärä saavutettu",
20255
"fr": "Nombre de sessions maximum atteint",
20256
"hi": "अधिकतम सत्रों में पहुंचे",
@@ -20253,7 +20270,7 @@
20270
"cs": "Maximální délka {0}",
20271
"de": "Maximale Länge von {0}",
20272
"en": "Maximum length of {0}",
20256
- "es": "Longitud Máxima de {0}",
20273
+ "es": "Longitud máxima de {0}",
20274
"fi": "Enimmäispituus {0}",
20275
"fr": "Longueur maximale de {0}",
20276
"hi": "{0} की अधिकतम लंबाई",
@@ -20373,7 +20390,7 @@
20390
"cs": "Konzole agenta",
20391
"de": "Mesh-Agent-Konsole",
20392
"en": "Mesh Agent Console",
20376
- "es": "Consola del agente Mesh",
20393
+ "es": "Consola del Agente Mesh",
20394
"fi": "Mesh Agentint pääte",
20395
"fr": "Console d'agent de maillage",
20396
"hi": "मेष एजेंट कंसोल",
@@ -20413,7 +20430,7 @@
20430
"cs": "Agent je připojen a připraven.",
20431
"de": "Mesh-Agent ist verbunden und bereit.",
20432
"en": "Mesh agent is connected and ready for use.",
20416
- "es": "El agente Mesh está conectado y listo para usar.",
20433
+ "es": "El Agente Mesh está conectado y listo para ser usado.",
20434
"fi": "Mesh agentti on yhdistetty ja käyttövalmis.",
20435
"fr": "L'agent est connecté et prêt à être utilisé.",
20436
"hi": "मेष एजेंट जुड़ा हुआ है और उपयोग के लिए तैयार है।",
@@ -20435,7 +20452,7 @@
20452
"cs": "Agent je dostupný pomocí předávání (relay) přes jiného agenta.",
20453
"de": "Mesh-Agent ist erreichbar mittels eines anderen Agenten als Vermittler.",
20454
"en": "Mesh agent is reachable using another agent as relay.",
20438
- "es": "Se puede acceder al agente Mesh utilizando otro agente como relé.",
20455
+ "es": "Se puede alcanzar al Agente Mesh utilizando otro agente como relé.",
20456
"fr": "L'agent de maillage est accessible en utilisant un autre agent comme relais.",
20457
"hi": "मेष एजेंट रिले के रूप में एक अन्य एजेंट का उपयोग कर उपलब्ध है।",
20458
"ja": "メッシュエージェントは、別のエージェントをリレーとして使用して到達可能です。",
@@ -20476,7 +20493,7 @@
20493
"cs": "Provoz MeshAgenta",
20494
"de": "Mesh-Agent-Datenverkehr",
20495
"en": "MeshAgent traffic",
20479
- "es": "Tráfico MeshAgent",
20496
+ "es": "Tráfico del Agente Mesh",
20497
"fi": "MeshAgent liikenne",
20498
"fr": "Trafic MeshAgent",
20499
"hi": "MeshAgent यातायात",
@@ -20496,7 +20513,7 @@
20513
"cs": "Aktualizace MeshAgenta",
20514
"de": "Mesh-Agent-Aktualisierung",
20515
"en": "MeshAgent update",
20499
- "es": "Actualización de MeshAgent",
20516
+ "es": "Actualización del Agente Mesh",
20517
"fi": "MeshAgent päivitys",
20518
"fr": "Mise à jour de l'agent",
20519
"hi": "MeshAgent अपडेट",
@@ -20516,7 +20533,7 @@
20533
"cs": "Plocha MeshCentral",
20534
"de": "MeshCentral-Desktop",
20535
"en": "MeshCentral Desktop",
20519
- "es": "Escritorio MeshCentral",
20536
+ "es": "Escritorio de MeshCentral",
20537
"fi": "MeshCentral Työpöytä",
20538
"fr": "Bureau MeshCentral",
20539
"hi": "मेश्चरल डेस्कटॉप",
@@ -20536,7 +20553,7 @@
20553
"cs": "Chyby MeshCentral",
20554
"de": "MeshCentral-Fehler",
20555
"en": "MeshCentral Errors",
20539
- "es": "Errores MeshCentral ",
20556
+ "es": "Errores de MeshCentral ",
20557
"fi": "MeshCentral virheet",
20558
"fr": "Erreurs MeshCentral",
20559
"hi": "मेश्चरल एरर्स",
@@ -20556,7 +20573,7 @@
20573
"cs": "MeshCentral Router",
20574
"de": "MeshCentral Router",
20575
"en": "MeshCentral Router",
20559
- "es": "Router MeshCentral ",
20576
+ "es": "Router de MeshCentral ",
20577
"fi": "MeshCentral Reititin",
20578
"fr": "Routeur MeshCentral",
20579
"hi": "मेश्चरल राउटर",
@@ -20596,7 +20613,7 @@
20613
"cs": "Chyby na MeshCentral serveru",
20614
"de": "MeshCentral-Serverfehler",
20615
"en": "MeshCentral Server Errors",
20599
- "es": "Errores del servidor MeshCentral",
20616
+ "es": "Errores del Servidor MeshCentral",
20617
"fr": "Erreurs du serveur MeshCentral",
20618
"hi": "मेश्चरल सर्वर एरर्स",
20619
"ja": "MeshCentralサーバーエラー",
@@ -20635,7 +20652,7 @@
20652
"cs": "MeshCentral terminal",
20653
"de": "MeshCentral-Terminal",
20654
"en": "MeshCentral Terminal",
20638
- "es": "Terminal MeshCentral",
20655
+ "es": "Terminal de MeshCentral",
20656
"fr": "Terminal MeshCentral",
20657
"hi": "मेश्चरल टर्मिनल",
20658
"ja": "MeshCentralターミナル",
@@ -20654,7 +20671,7 @@
20671
"cs": "Verze MeshCentral",
20672
"de": "MeshCentral-Version",
20673
"en": "MeshCentral Version",
20657
- "es": "Version MeshCentral",
20674
+ "es": "Versión de MeshCentral",
20675
"fi": "MeshCentral Versio",
20676
"fr": "Version de MeshCentral",
20677
"hi": "मेश्चरल संस्करण",
@@ -20920,6 +20937,7 @@
20937
"en": "Message Box",
20938
"tr": "Mesaj Kutusu",
20939
"nl": "Berichten box",
20940
+ "es": "Cuadro de Mensaje",
20941
"xloc": [
20942
"default.handlebars->27->480"
20943
]
@@ -20928,7 +20946,7 @@
20946
"cs": "Odesílatel",
20947
"de": "Nachrichten-Verteiler",
20948
"en": "Message Dispatcher",
20931
- "es": "Despachador de mensajes",
20949
+ "es": "Despachador de Mensajes",
20950
"fi": "Viestin lähettäjä",
20951
"fr": "Répartiteur de messages",
20952
"hi": "संदेश डिस्पैचर",
@@ -21329,7 +21347,7 @@
21347
"cs": "Konzole mého serveru",
21348
"de": "Meine Server-Konsole",
21349
"en": "My Server Console",
21332
- "es": "Mi Server Console",
21350
+ "es": "Mi Consola de Servidor",
21351
"fr": "Console de mon serveur",
21352
"hi": "मेरा सर्वर कंसोल",
21353
"ja": "私のサーバーコンソール",
@@ -21348,7 +21366,7 @@
21366
"cs": "Moje serverové zásuvné moduly",
21367
"de": "Meine Server-Plugins",
21368
"en": "My Server Plugins",
21351
- "es": "Mis Plugins de Server ",
21369
+ "es": "Mis Plugins de Servidor",
21370
"fr": "Mes modules complémentaires",
21371
"hi": "मेरा सर्वर प्लगइन्स",
21372
"ja": "私のサーバープラグイン",
@@ -21367,7 +21385,7 @@
21385
"cs": "Moje serverové zásuvné moduly –",
21386
"de": "Meine Server-Plugins -",
21387
"en": "My Server Plugins -",
21370
- "es": "Mis Plugins de Server -",
21388
+ "es": "Mis Plugins de Servidor -",
21389
"fr": "Mes modules complémentaires -",
21390
"hi": "मेरा सर्वर प्लगइन्स -",
21391
"ja": "私のサーバープラグイン-",
@@ -21386,7 +21404,7 @@
21404
"cs": "Statistiky mého serveru",
21405
"de": "Meine Server-Statistiken",
21406
"en": "My Server Stats",
21389
- "es": "Estadisticas del Server",
21407
+ "es": "Mis Estadísticas del Servidor",
21408
"fr": "Statistiques de mon serveur",
21409
"hi": "मेरा सर्वर आँकड़े",
21410
"ja": "私のサーバー統計",
@@ -21405,7 +21423,7 @@
21423
"cs": "Trasování mého serveru",
21424
"de": "Mein Server-Tracing",
21425
"en": "My Server Tracing",
21408
- "es": "Mi Seguimiento al Servidor",
21426
+ "es": "Mi Seguimiento del Servidor",
21427
"fr": "Suivi de mon serveur",
21428
"hi": "मेरा सर्वर ट्रेसिंग",
21429
"ja": "私のサーバートレース",
@@ -21424,7 +21442,7 @@
21442
"cs": "Moje uživatelské skupiny",
21443
"de": "Meine Benutzergruppen",
21444
"en": "My User Groups",
21427
- "es": "Mis grupos de usuarios",
21445
+ "es": "Mis Grupos de Usuarios",
21446
"fi": "Omat käyttäjäryhmät",
21447
"fr": "Mes groupes utilisateurs",
21448
"hi": "मेरे उपयोगकर्ता समूह",
@@ -21442,7 +21460,7 @@
21460
},
21461
{
21462
"en": "My User Recordings",
21445
- "es": "Mis Grabaciones",
21463
+ "es": "Mis Grabaciones de Usuarios",
21464
"fr": "Mes enregistrements",
21465
"nl": "Mijn gebruikersopnames",
21466
"tr": "Kullanıcı Kayıtlarım",
@@ -21456,7 +21474,7 @@
21474
"cs": "Uživatelé",
21475
"de": "Meine Benutzer",
21476
"en": "My Users",
21459
- "es": "Mis usuarios",
21477
+ "es": "Mis Usuarios",
21478
"fi": "Omat käyttäjät",
21479
"fr": "Mes Utilisateurs",
21480
"hi": "मेरे उपयोगकर्ता",
@@ -21499,6 +21517,7 @@
21517
"en": "Nagivate to the URL below, grant access and copy the token code back.",
21518
"nl": "Ga naar de onderstaande URL, verleen toegang en kopieer de tokencode terug.",
21519
"tr": "Aşağıdaki URL'ye gidin, erişim verin ve jeton kodunu geri kopyalayın.",
21520
+ "es": "Navegue a la siguiente URL, confirme acceso y copie nuevamente el código token.",
21521
"xloc": [
21522
"default.handlebars->27->198"
21523
]
@@ -21648,7 +21667,7 @@
21667
"cs": "Síťová rozhraní",
21668
"de": "Netzwerkschnittstellen",
21669
"en": "Network Interfaces",
21651
- "es": "Interfaces de red",
21670
+ "es": "Interfaces de Red",
21671
"fi": "Verkkoliitännät",
21672
"fr": "Interfaces réseau",
21673
"hi": "नेटवर्क इंटरफेस",
@@ -21668,7 +21687,7 @@
21687
"cs": "Síťový router",
21688
"de": "Netzwerk-Router",
21689
"en": "Network Router",
21671
- "es": "Enrutador de red",
21690
+ "es": "Enrutador de Red",
21691
"fi": "Verkkoreititin",
21692
"fr": "Routeur réseau",
21693
"hi": "नेटवर्क राउटर",
@@ -21728,7 +21747,7 @@
21747
"cs": "Nový účet…",
21748
"de": "Neues Konto...",
21749
"en": "New Account...",
21731
- "es": "Nueva cuenta...",
21750
+ "es": "Nueva Cuenta...",
21751
"fi": "Uusi tili...",
21752
"fr": "Nouveau Compte...",
21753
"hi": "नया खाता...",
@@ -21748,7 +21767,7 @@
21767
"cs": "Nová skupina zařízení",
21768
"de": "Neue Gerätegruppe",
21769
"en": "New Device Group",
21751
- "es": "Nuevo grupo de dispositivos",
21770
+ "es": "Nuevo Grupo de Dispositivos",
21771
"fi": "Uusi laiteryhmä",
21772
"fr": "Nouveau Group",
21773
"hi": "नया डिवाइस ग्रुप",
@@ -21796,7 +21815,7 @@
21815
"cs": "Nová skupina…",
21816
"de": "Neue Gruppe...",
21817
"en": "New Group...",
21799
- "es": "Nuevo grupo...",
21818
+ "es": "Nuevo Grupo...",
21819
"fi": "Uusi ryhmä...",
21820
"fr": "Nouveau groupe ...",
21821
"hi": "नया समूह...",
@@ -21816,7 +21835,7 @@
21835
"cs": "Nové tokeny",
21836
"de": "Neue Token",
21837
"en": "New Tokens",
21819
- "es": "Nuevo Token",
21838
+ "es": "Nuevos Tokens",
21839
"fr": "Nouveaux Jetons",
21840
"hi": "नए स्तन",
21841
"ja": "新しいトークン",
@@ -21879,7 +21898,7 @@
21898
"cs": "Žádné aktivní tokeny",
21899
"de": "Keine aktiven Token",
21900
"en": "No Active Tokens",
21882
- "es": "No hay tokens activos",
21901
+ "es": "No hay Tokens Activos",
21902
"fr": "Aucun jeton actif",
21903
"hi": "कोई सक्रिय टोकन नहीं",
21904
"ja": "アクティブなトークンがありません",
@@ -21899,7 +21918,7 @@
21918
"cs": "Žádná přidaná práva",
21919
"de": "Keine zusätzlichen Rechte",
21920
"en": "No Added Rights",
21902
- "es": "Sin derechos añadidos",
21921
+ "es": "Sin Permisos Agregados",
21922
"fr": "Aucun droit ajouté",
21923
"hi": "कोई जोड़ा अधिकार नहीं",
21924
"ja": "追加された権利なし",
@@ -21959,7 +21978,7 @@
21978
"cs": "Žádný přístup na plochu",
21979
"de": "Kein Desktop-Zugriff",
21980
"en": "No Desktop Access",
21962
- "es": "Sin acceso al escritorio",
21981
+ "es": "Sin Acceso al Escritorio",
21982
"fi": "Ei työpöytä yhteyttä",
21983
"fr": "Pas d'accès au bureau",
21984
"hi": "कोई डेस्कटॉप एक्सेस नहीं",
@@ -21979,7 +21998,7 @@
21998
"cs": "Nenalezeny žádné události",
21999
"de": "Keine Ereignisse vorhanden",
22000
"en": "No Events Found",
21982
- "es": "No se encontraron eventos",
22001
+ "es": "No se Encontraron Eventos",
22002
"fi": "Ei tapahtumia",
22003
"fr": "Aucun événement trouvé",
22004
"hi": "कोई ईवेंट नहीं मिला",
@@ -22001,7 +22020,7 @@
22020
"cs": "Žádný přístup k souborům",
22021
"de": "Kein Dateizugriff",
22022
"en": "No File Access",
22004
- "es": "Sin acceso a archivos",
22023
+ "es": "Sin Acceso a Archivos",
22024
"fi": "Ei tiedostojen käyttöä",
22025
"fr": "Pas d'accès au fichier",
22026
"hi": "कोई फ़ाइल एक्सेस नहीं",
@@ -22022,7 +22041,7 @@
22041
"cs": "Žádné soubory",
22042
"de": "Keine Dateien",
22043
"en": "No Files",
22025
- "es": "Sin archivos",
22044
+ "es": "Sin Archivos",
22045
"fi": "Ei tiedostoja",
22046
"fr": "Aucun fichier",
22047
"hi": "फ़ाइल नहीं",
@@ -22064,7 +22083,7 @@
22083
"cs": "Žádné Intel® AMT",
22084
"de": "Kein Intel® AMT",
22085
"en": "No Intel® AMT",
22067
- "es": "Sin Intel & reg; AMT",
22086
+ "es": "Sin Intel® AMT",
22087
"fi": "Ei Intel® AMT",
22088
"fr": "Pas d'appareil Intel® AMT",
22089
"hi": "कोई Intel® AMT नहीं",
@@ -22087,7 +22106,7 @@
22106
"cs": "Žádné Intel® AMT zařízení v této skupině",
22107
"de": "Keine Intel®-AMT-Geräte in dieser Gruppe",
22108
"en": "No Intel® AMT devices in this group",
22090
- "es": "Sin Intel & reg; Dispositivos AMT en este grupo",
22109
+ "es": "No hay dispositivos Intel® AMT en este grupo",
22110
"fi": "Tässä ryhmässä ei ole Intel® AMT-laitteita",
22111
"fr": "Aucun appareil Intel® AMT dans ce groupe",
22112
"hi": "इस समूह में कोई Intel® AMT डिवाइस नहीं है",
@@ -22107,7 +22126,7 @@
22126
"cs": "Žádné Intel® AMT zařízení",
22127
"de": "Keine Intel®-AMT-Geräte in diesem Mesh",
22128
"en": "No Intel® AMT devices in this mesh",
22110
- "es": "Sin Intel & reg; Dispositivos AMT en este MESH",
22129
+ "es": "No hay dispositivos Intel® AMT en este grupo",
22130
"fr": "Aucun périphérique Intel® AMT dans ce maillage",
22131
"hi": "इस जाल में कोई Intel® AMT उपकरण नहीं है",
22132
"ja": "Intel®なしこのメッシュのAMTデバイス",
@@ -22126,7 +22145,7 @@
22145
"cs": "Není nastaven žádný klíč",
22146
"de": "Keine Schlüssel konfiguriert",
22147
"en": "No Keys Configured",
22129
- "es": "No hay claves configuradas",
22148
+ "es": "No hay Claves Configuradas",
22149
"fr": "Aucun clé configurée",
22150
"hi": "कोई कुंजी कॉन्फ़िगर नहीं है",
22151
"ja": "キーが設定されていません",
@@ -22145,7 +22164,7 @@
22164
"cs": "Žádní členové",
22165
"de": "Keine Mitglieder",
22166
"en": "No Members",
22148
- "es": "Sin miembros",
22167
+ "es": "Sin Miembros",
22168
"fi": "Ei jäseniä",
22169
"fr": "Aucun membre",
22170
"hi": "कोई सदस्य नहीं",
@@ -22165,7 +22184,7 @@
22184
"cs": "Žádná nová skupina zařízení",
22185
"de": "Keine neuen Gerätegruppen",
22186
"en": "No New Device Groups",
22168
- "es": "No hay nuevos grupos de dispositivos",
22187
+ "es": "No puede Crear Nuevos Grupos de Dispositivos",
22188
"fi": "Ei uusia laiteryhmiä.",
22189
"fr": "Pas de nouveau groupe d'appareils",
22190
"hi": "कोई नया उपकरण समूह नहीं",
@@ -22185,7 +22204,7 @@
22204
"cs": "Žádná zásada",
22205
"de": "Keine Richtlinie",
22206
"en": "No Policy",
22188
- "es": "Ninguna política",
22207
+ "es": "Ninguna Política",
22208
"fi": "Ei politiikkaa",
22209
"fr": "Aucune restriction",
22210
"hi": "कोई नीति नहीं",
@@ -22207,7 +22226,7 @@
22226
"cs": "Žádná práva",
22227
"de": "Keine Berechtigungen",
22228
"en": "No Rights",
22210
- "es": "Sin Acceso",
22229
+ "es": "Sin Permisos",
22230
"fi": "Ei oikeuksia",
22231
"fr": "Aucun droit",
22232
"hi": "कोई अधिकार नहीं",
@@ -22233,7 +22252,7 @@
22252
"cs": "Žádné TLS zabezpečení",
22253
"de": "Keine TLS-Sicherheit",
22254
"en": "No TLS security",
22236
- "es": "Sin Seguridad TLS",
22255
+ "es": "Sin seguridad TLS",
22256
"fi": "Ei TLS-suojausta",
22257
"fr": "Pas de sécurité TLS",
22258
"hi": "कोई टीएलएस सुरक्षा नहीं",
@@ -22298,7 +22317,7 @@
22317
"cs": "Žádné nástroje (MeshCmd/Router)",
22318
"de": "Keine Werkzeuge (MeshCmd/Router)",
22319
"en": "No Tools (MeshCmd/Router)",
22301
- "es": "Sin tools (MeshCmd/Router)",
22320
+ "es": "No puede Usar Herramientas (MeshCmd/Router)",
22321
"fi": "Estä työkalut (MeshCmd/Router)",
22322
"fr": "Aucun outil (MeshCmd / Router)",
22323
"hi": "कोई उपकरण (MeshCmd / रूटर)",
@@ -22378,7 +22397,7 @@
22397
},
22398
{
22399
"en": "No devices are included in any groups, click on a device's \\\"Groups\\\" to add to a group.",
22381
- "es": "No se incluyen dispositivos en ningún grupo, haga clic en los \\\"Grupos\\\" de un dispositivo para agregarlos a un grupo.",
22400
+ "es": "No se incluyen dispositivos en ningún grupo, haga clic en un \\\"Grupo\\\" de dispositivos para agregarlos a un grupo.",
22401
"fr": "Aucun appareil n'est inclus dans aucun groupe, cliquez sur les \\\"Groupes\\\" d'un appareil pour l'ajouter à un groupe.",
22402
"ja": "どのグループにもデバイスが含まれていません。デバイスの[グループ]をクリックしてグループに追加してください。",
22403
"ko": "그룹에 장치가 포함되어 있지 않으면 장치의 \\\"그룹\\\"을 클릭하여 그룹에 추가하십시오.",
@@ -22394,7 +22413,7 @@
22413
"cs": "Zařízení nejsou zařazena do žádných skupin – u konkrétního zařízení vždy klikněte na „Skupiny“ a přidejte ho do nějaké.",
22414
"de": "Keine Geräte in beliebigen Gruppen enthalten, klicken Sie auf \\\"Gruppen\\\" innerhalb eines Geräts, um eine Gruppe hinzuzufügen.",
22415
"en": "No devices are included in any groups, click on a device\\'s \\\"Groups\\\" to add to a group.",
22397
- "es": "No se incluyen dispositivos en ningún grupo, haga clic en un dispositivo \\'s \\\"Grupos\\\" para agregar a un grupo.",
22416
+ "es": "No se incluyen dispositivos en ningún grupo, haga clic en un \\\"Grupo\\\" de dispositivos para agregarlos a un grupo.",
22417
"fr": "Aucun appareil n'est inclus dans aucun groupe, cliquez sur \\\"Groupes\\\" d'un appareil pour l'ajouter à un groupe.",
22418
"hi": "कोई भी उपकरण किसी भी समूह में शामिल नहीं हैं, एक समूह में जोड़ने के लिए एक उपकरण \\\"समूह \\\" पर क्लिक करें।",
22419
"ja": "どのグループにもデバイスは含まれていません。デバイスの\\\"グループ\\\"をクリックしてグループに追加してください。",
@@ -22470,7 +22489,7 @@
22489
"cs": "V této skupině nejsou žádná zařízení",
22490
"de": "Keine Geräte in dieser Gruppe",
22491
"en": "No devices in this group",
22473
- "es": "No hay dispositivos en este grupo.",
22492
+ "es": "No hay dispositivos en este grupo",
22493
"fi": "Ei laitteita tässä ryhmässä",
22494
"fr": "Aucun appareil dans ce groupe",
22495
"hi": "इस समूह में कोई उपकरण नहीं है",
@@ -22649,7 +22668,7 @@
22668
},
22669
{
22670
"en": "No recordings.",
22652
- "es": "No hay Grabaciones.",
22671
+ "es": "No hay grabaciones.",
22672
"fr": "Pas d'enregistrements.",
22673
"nl": "Geen opnames.",
22674
"tr": "Kayıt yok.",
@@ -22663,7 +22682,7 @@
22682
"cs": "Žádná práva k serveru",
22683
"de": "Keine Serverberechtigungen",
22684
"en": "No server rights",
22666
- "es": "Sin Acceso al Server",
22685
+ "es": "Sin permisos en el servidor",
22686
"fi": "Ei palvelin oikeuksia",
22687
"fr": "Aucun droit de serveur",
22688
"hi": "कोई सर्वर अधिकार नहीं",
@@ -22683,7 +22702,7 @@
22702
"cs": "Žádné členství ve skupinách",
22703
"de": "Keine Benutzergruppenmitgliedschaften",
22704
"en": "No user group memberships",
22686
- "es": "No hay elmentos en el grupo de usuarios",
22705
+ "es": "No es miembro de ningún grupo de usuarios",
22706
"fi": "Ei käyttäjäryhmien jäsenyyksiä",
22707
"fr": "Aucune appartenance à un groupe d'utilisateurs",
22708
"hi": "कोई उपयोगकर्ता समूह सदस्यता नहीं",
@@ -22723,7 +22742,7 @@
22742
"cs": "Žádní uživatelé se zvláštními oprávněními zařízení",
22743
"de": "Keine Benutzer mit speziellen Geräteberechtigungen",
22744
"en": "No users with special device permissions",
22726
- "es": "No hay usuarios con permisos especiales para dispositivos.",
22745
+ "es": "No hay usuarios con permisos especiales para el dispositivo",
22746
"fr": "Aucun utilisateur avec des autorisations spéciales sur les appareils",
22747
"hi": "विशेष उपकरण अनुमतियों वाला कोई उपयोगकर्ता नहीं",
22748
"ja": "特別なデバイス権限を持つユーザーはいません",
@@ -22915,7 +22934,7 @@
22934
"cs": "Neaktivováno (v)",
22935
"de": "Nicht aktiviert (In)",
22936
"en": "Not Activated (In)",
22918
- "es": "(entrada) No activada",
22937
+ "es": "No Activada (entrada)",
22938
"fi": "Ei aktivoitu (sisään)",
22939
"fr": "Non activé (en)",
22940
"hi": "सक्रिय नहीं (में)",
@@ -22938,7 +22957,7 @@
22957
"cs": "Neaktivováno (před)",
22958
"de": "Nicht aktiviert (Pre)",
22959
"en": "Not Activated (Pre)",
22941
- "es": "(Pre) No activada",
22960
+ "es": "No activada (Pre)",
22961
"fi": "Ei aktivoitu (ennakko)",
22962
"fr": "Non activé (pré)",
22963
"hi": "सक्रिय नहीं (पूर्व)",
@@ -22961,7 +22980,7 @@
22980
"cs": "Nepřipojeno",
22981
"de": "Getrennt",
22982
"en": "Not Connected",
22964
- "es": "No conectado",
22983
+ "es": "No Conectado",
22984
"fi": "Ei yhteyttä",
22985
"fr": "Non connecté",
22986
"hi": "जुड़े नहीं हैं",
@@ -22982,7 +23001,7 @@
23001
"cs": "Neznámý",
23002
"de": "Nicht bekannt",
23003
"en": "Not Known",
22985
- "es": "No se Conoce",
23004
+ "es": "No Conocido",
23005
"fi": "Ei tunnettu",
23006
"fr": "Pas connu",
23007
"hi": "ज्ञात नहीं है",
@@ -23001,7 +23020,7 @@
23020
},
23021
{
23022
"en": "Not on server",
23004
- "es": "No esta en el servidor",
23023
+ "es": "No está en el servidor",
23024
"fi": "Ei palvelimella",
23025
"fr": "Pas sur le serveur",
23026
"nl": "Niet op de server",
@@ -23037,7 +23056,7 @@
23056
"cs": "Neověřeno",
23057
"de": "Nicht verifiziert",
23058
"en": "Not verified",
23040
- "es": "Sin Verificar",
23059
+ "es": "No verificado",
23060
"fi": "Ei vahvistettu",
23061
"fr": "non vérifié",
23062
"hi": "प्रमाणित नहीं है",
@@ -23057,7 +23076,7 @@
23076
"cs": "Poznámky",
23077
"de": "Notizen",
23078
"en": "Notes",
23060
- "es": "Notas:",
23079
+ "es": "Notas",
23080
"fi": "Muistiinpanot",
23081
"fr": "Remarques",
23082
"hi": "टिप्पणियाँ",
@@ -23082,7 +23101,7 @@
23101
"cs": "Poznámka:",
23102
"de": "Hinweis:",
23103
"en": "Notice:",
23085
- "es": "Informacion:",
23104
+ "es": "Información:",
23105
"fi": "Ilmoitus:",
23106
"fr": "Remarquer:",
23107
"hi": "नोटिस:",
@@ -23102,7 +23121,7 @@
23121
"cs": "Nastavení upozorňování",
23122
"de": "Benachrichtungseinstellungen",
23123
"en": "Notification Settings",
23105
- "es": "Configuración de las notificaciones",
23124
+ "es": "Opciones de Notificación",
23125
"fi": "Ilmoitusasetukset",
23126
"fr": "Paramètres des notifications",
23127
"hi": "अधिसूचना सेटिंग",
@@ -23124,7 +23143,7 @@
23143
"cs": "Je třeba, aby nastavení upozorňování byla zapnutá také v nastavení účtu.",
23144
"de": "Benachrichtigungseinstellungen müssen ebenfalls in den Kontoeinstellungen eingeschaltet sein.",
23145
"en": "Notification settings must also be turned on in account settings.",
23127
- "es": "La configuración de notificaciones también debe estar activada en la configuración de la cuenta.",
23146
+ "es": "Las opciones de notificación también deben estar activadas en las opciones de la cuenta.",
23147
"fi": "Ilmoitusasetusten on oltava käytössä myös tiliasetuksissa.",
23148
"fr": "Les notifications doivent aussi être activées dans les paramètres du compte.",
23149
"hi": "खाता सेटिंग्स में अधिसूचना सेटिंग्स भी चालू होनी चाहिए।",
@@ -23203,7 +23222,7 @@
23222
},
23223
{
23224
"en": "Notify Only",
23206
- "es": "Solo notificaciones",
23225
+ "es": "Sólo Notificar",
23226
"fr": "Notifier seulement",
23227
"nl": "Alleen informeren",
23228
"tr": "Yalnızca Bildir",
@@ -23350,7 +23369,7 @@
23369
"cs": "Nepřipojení uživatelé",
23370
"de": "Benutzer offline",
23371
"en": "Offline Users",
23353
- "es": "Usuarios sin conexión",
23372
+ "es": "Usuarios desconectados",
23373
"fi": "Offline-tilassa olevat käyttäjät",
23374
"fr": "Utilisateurs hors ligne",
23375
"hi": "ऑफ़लाइन उपयोगकर्ता",
@@ -23389,7 +23408,7 @@
23408
},
23409
{
23410
"en": "One Day",
23392
- "es": "Un día",
23411
+ "es": "Un Día",
23412
"fi": "Yksi päivä",
23413
"fr": "Un jour",
23414
"nl": "één dag",
@@ -23423,7 +23442,7 @@
23442
},
23443
{
23444
"en": "Online",
23426
- "es": "En Linea",
23445
+ "es": "En línea",
23446
"fi": "Online-tilassa",
23447
"fr": "En ligne",
23448
"nl": "Online",
@@ -23479,7 +23498,7 @@
23498
},
23499
{
23500
"en": "Only show devices that are online",
23482
- "es": "Solo mostrar dispositivos que están en linea",
23501
+ "es": "Solo mostrar dispositivos que están en línea",
23502
"fi": "Näytä vain online-tilassa olevat laitteet",
23503
"fr": "Montrer uniquement les appareils en ligne",
23504
"nl": "Toon alleen apparaten die online zijn",
@@ -23494,7 +23513,7 @@
23513
"cs": "Otevřít soubor…",
23514
"de": "Datei öffnen...",
23515
"en": "Open File...",
23497
- "es": "Abrir archivo...",
23516
+ "es": "Abrir Archivo...",
23517
"fi": "Avaa tiedosto...",
23518
"fr": "Ouvrir le fichier...",
23519
"hi": "खुली फाइल...",
@@ -23515,7 +23534,7 @@
23534
"cs": "Otevřít stránku na zařízení",
23535
"de": "Öffne Seite auf Gerät",
23536
"en": "Open Page on Device",
23518
- "es": "Abrir página en dispositivo",
23537
+ "es": "Abrir Página en Dispositivo",
23538
"fi": "Avaa sivu laitteella",
23539
"fr": "Ouvrir la page sur l'appareil",
23540
"hi": "डिवाइस पर पेज खोलें",
@@ -23533,7 +23552,7 @@
23552
},
23553
{
23554
"en": "Open Player...",
23536
- "es": "Abrir jugador ...",
23555
+ "es": "Abrir Reproductor...",
23556
"fr": "Ouvrir le lecteur ...",
23557
"hi": "प्लेयर खोलें ...",
23558
"ja": "プレーヤーを開く...",
@@ -23609,7 +23628,7 @@
23628
"cs": "Operační systém",
23629
"de": "Betriebssystem",
23630
"en": "Operating System",
23612
- "es": "Sistema operativo",
23631
+ "es": "Sistema Operativo",
23632
"fi": "Käyttöjärjestelmä",
23633
"fr": "Système d'exploitation",
23634
"hi": "ऑपरेटिंग सिस्टम",
@@ -23717,7 +23736,7 @@
23736
"cs": "Ostatní",
23737
"de": "Andere",
23738
"en": "Other",
23720
- "es": "Otros",
23739
+ "es": "Otro",
23740
"fi": "Muu",
23741
"fr": "Autre",
23742
"hi": "अन्य",
@@ -23737,7 +23756,7 @@
23756
"cs": "Ostatní nastavení",
23757
"de": "Weitere Einstellungen",
23758
"en": "Other Settings",
23740
- "es": "Otros ajustes",
23759
+ "es": "Otros Ajustes",
23760
"fi": "Muut asetukset",
23761
"fr": "Autres réglages",
23762
"hi": "अन्य सेटिंग",
@@ -23860,7 +23879,7 @@
23879
"cs": "Částečná práva na skupině zařízení",
23880
"de": "Partielle Gerätegruppenrechte",
23881
"en": "Partial Device Group Rights",
23863
- "es": "Derechos parciales de grupo de dispositivos",
23882
+ "es": "Permisos Parciales de Grupo de Dispositivos",
23883
"fi": "Osittaiset laiteryhmän oikeudet",
23884
"fr": "Droits limités sur le groupe",
23885
"hi": "आंशिक उपकरण समूह अधिकार",
@@ -23877,7 +23896,7 @@
23896
"cs": "Částečná práva zařízení",
23897
"de": "Teilgeräterechte",
23898
"en": "Partial Device Rights",
23880
- "es": "Derechos parciales del dispositivo",
23899
+ "es": "Permisos Parciales del Dispositivo",
23900
"fi": "Osittaiset laiteoikeudet",
23901
"fr": "Droits partiels sur les appareils",
23902
"hi": "आंशिक उपकरण अधिकार",
@@ -23894,7 +23913,7 @@
23913
"cs": "Částečná práva",
23914
"de": "Partielle Rechte",
23915
"en": "Partial Rights",
23897
- "es": "Privilegios Parciales",
23916
+ "es": "Permisos Parciales",
23917
"fi": "Osittaiset oikeudet",
23918
"fr": "Droits limités",
23919
"hi": "आंशिक अधिकार",
@@ -23916,7 +23935,7 @@
23935
"cs": "Částečná práva",
23936
"de": "Partielle Rechte",
23937
"en": "Partial rights",
23919
- "es": "Privilegios Parciales",
23938
+ "es": "Permisos parciales",
23939
"fi": "Osittaiset oikeudet",
23940
"fr": "Droits limités",
23941
"hi": "आंशिक अधिकार",
@@ -23989,7 +24008,7 @@
24008
"cs": "Nápověda k heslu",
24009
"de": "Passwort-Tipp",
24010
"en": "Password Hint",
23992
- "es": "Pista de la contraseña:",
24011
+ "es": "Pista de la Contraseña:",
24012
"fi": "Salasana Vihje",
24013
"fr": "Indice pour le mot de passe",
24014
"hi": "पासवर्ड संकेत",
@@ -24012,7 +24031,7 @@
24031
"cs": "Nápověda k heslu:",
24032
"de": "Passwort-Tipp:",
24033
"en": "Password Hint:",
24015
- "es": "Pista de la contraseña:",
24034
+ "es": "Pista de la Contraseña:",
24035
"fi": "Salasana Vihje:",
24036
"fr": "Indice pour le mot de passe:",
24037
"hi": "पासवर्ड संकेत:",
@@ -24036,7 +24055,7 @@
24055
"cs": "Zásady pro hesla",
24056
"de": "Passwort-Richtlinie",
24057
"en": "Password Policy",
24039
- "es": "Política de contraseñas",
24058
+ "es": "Política de Contraseñas",
24059
"fi": "Salasana käytäntö",
24060
"fr": "Politique de mots de passe",
24061
"hi": "पासवर्ड नीति",
@@ -24063,7 +24082,7 @@
24082
"cs": "Je vyžadována změna hesla.",
24083
"de": "Passwort-Änderung angefragt.",
24084
"en": "Password change requested.",
24066
- "es": "Cambio de Contraseña requerido.",
24085
+ "es": "Cambio de contraseña requerido.",
24086
"fi": "Salasanan vaihtoa pyydetty.",
24087
"fr": "Changement de mot de passe demandé.",
24088
"hi": "पासवर्ड परिवर्तन का अनुरोध किया।",
@@ -24292,7 +24311,7 @@
24311
"cs": "Pozastavit",
24312
"de": "Pause",
24313
"en": "Pause",
24295
- "es": "Pausa",
24314
+ "es": "Pausar",
24315
"fi": "Tauko",
24316
"fr": "Pause",
24317
"hi": "ठहराव",
@@ -24312,7 +24331,7 @@
24331
"cs": "Provést akci agenta",
24332
"de": "Agenten-Aktion durchführen",
24333
"en": "Perform Agent Action",
24315
- "es": "Realizar acción en el agente",
24334
+ "es": "Realizar Acción en el Agente",
24335
"fi": "Suorita agenttitoiminto",
24336
"fr": "Effectuer une action sur l'agent",
24337
"hi": "एजेंट एक्शन करें",
@@ -24332,7 +24351,7 @@
24351
"cs": "Proveďte na strojích ze skupiny „{0}“ aktivaci Intel AMT v režimu řízeném správcem (ACM) a to tak, že si na ně stáhněte nástroj MeshCMD a spustíte s parametry jako:",
24352
"de": "Aktivierung von Intel AMT im Admin Control Mode (ACM) in Gruppe \\\"{0}\\\" durchführen durch Herunterladen des MeshCMD-Werkzeugs und Ausführen wie folgt:",
24353
"en": "Perform Intel AMT admin control mode (ACM) activation to group \\\"{0}\\\" by downloading the MeshCMD tool and running it like this:",
24335
- "es": "Realice la activación del modo de control de administración - Intel AMT (ACM) para agrupar \\\"{0}\\\" descargando la herramienta MeshCMD y ejecutándola así:",
24354
+ "es": "Realice la activación del Intel® AMT Modo de Control de Administración (ACM) para agrupar \\\"{0}\\\" descargando la herramienta MeshCMD y ejecutándola así:",
24355
"fr": "Effectuez l'activation du mode de contrôle d'administration (ACM) Intel AMT pour regrouper \\\"{0}\\\" en téléchargeant l'outil MeshCMD et en l'exécutant comme suit:",
24356
"hi": "Intel AMT एडमिन कंट्रोल मोड (ACM) एक्टिवेशन को ग्रुप \\\"{0}\\\" पर करके, MeshCMD टूल डाउनलोड करके इसे इस तरह से चलाएं:",
24357
"ja": "MeshCMDツールをダウンロードして次のように実行することにより、グループ\\\"{0}\\\"にIntel AMT管理制御モード(ACM)アクティベーションを実行します。",
@@ -24351,7 +24370,7 @@
24370
"cs": "Aktivovat Intel AMT v režimu řízeném správcem (ACM).",
24371
"de": "Aktivierung von Intel AMT im Admin Control Mode (ACM) durchführen.",
24372
"en": "Perform Intel AMT admin control mode (ACM) activation.",
24354
- "es": "Realice la activación del modo de control de administración Intel AMT (ACM).",
24373
+ "es": "Realice la activación del Intel® AMT Modo de Control de Administración (ACM).",
24374
"fr": "Effectuez l'activation du mode de contrôle administrateur (ACM) Intel AMT.",
24375
"hi": "Intel AMT व्यवस्थापक नियंत्रण मोड (ACM) सक्रियण करें।",
24376
"ja": "Intel AMT管理制御モード(ACM)アクティベーションを実行します。",
@@ -24371,7 +24390,7 @@
24390
"cs": "Proveďte na strojích ze skupiny „{0}“ aktivaci Intel AMT v režimu řízeném klientem (CCM) a to tak, že si na ně stáhnete nástroj MeshCMD a spustíte ho s parametry jako:",
24391
"de": "Aktivierung von Intel AMT im Client Control Mode (CCM) in Gruppe \\\"{0}\\\" durchführen durch Herunterladen des MeshCMD-Werkzeugs und Ausführen wie folgt:",
24392
"en": "Perform Intel AMT client control mode (CCM) activation to group \\\"{0}\\\" by downloading the MeshCMD tool and running it like this:",
24374
- "es": "Realice la activación del modo de control de cliente Intel AMT (CCM) para agrupar \\\"{0}\\\" descargando la herramienta MeshCMD y ejecutándola así:",
24393
+ "es": "Realice la activación del Intel® AMT Modo de Control de Cliente (CCM) para agrupar \\\"{0}\\\" descargando la herramienta MeshCMD y ejecutándola así:",
24394
"fr": "Exécutez l'activation du mode de contrôle client Intel AMT (CCM) pour regrouper \\\"{0}\\\" en téléchargeant l'outil MeshCMD et en l'exécutant comme suit:",
24395
"hi": "Intel AMT क्लाइंट कंट्रोल मोड (CCM) को ग्रुप \\\"{0}\\\" पर एक्टिवेट करके MeshCMD टूल डाउनलोड करें और इसे इस तरह से चलाएं:",
24396
"ja": "MeshCMDツールをダウンロードして次のように実行することにより、グループ\\\"{0}\\\"にIntel AMTクライアントコントロールモード(CCM)アクティベーションを実行します。",
@@ -24390,7 +24409,7 @@
24409
"cs": "Aktivovat Intel AMT v režimu řízeném klientem (CCM).",
24410
"de": "Aktivierung von Intel AMT im Client Control Mode (CCM) durchführen.",
24411
"en": "Perform Intel AMT client control mode (CCM) activation.",
24393
- "es": "Realice la activación del modo de control de cliente Intel AMT (CCM).",
24412
+ "es": "Realice la activación del Intel® AMT Modo de Control de Cliente (CCM).",
24413
"fr": "Effectuez l'activation du mode de contrôle client Intel AMT (CCM).",
24414
"hi": "Intel AMT क्लाइंट कंट्रोल मोड (CCM) सक्रियण करें।",
24415
"ja": "Intel AMTクライアント制御モード(CCM)アクティベーションを実行します。",
@@ -24410,13 +24429,14 @@
24429
"en": "Perform batch device notification",
24430
"tr": "Toplu cihaz bildirimi gerçekleştir",
24431
"nl": "Voer een batchapparaatmelding uit",
24432
+ "es": "Realizar notificaciones de dispositivos por lotes",
24433
"xloc": [
24434
"default.handlebars->27->478"
24435
]
24436
},
24437
{
24438
"en": "Perform batch device tag operation",
24419
- "es": "Realizar operación de etiqueta de dispositivos por lotes",
24439
+ "es": "Realizar operación de etiquetado de dispositivos por lotes",
24440
"fr": "Appliquer des tag en lot",
24441
"nl": "Voer een batch-apparaat tag bewerking uit",
24442
"tr": "Toplu cihaz etiketi işlemini gerçekleştirin",
@@ -24492,7 +24512,7 @@
24512
},
24513
{
24514
"en": "Phone Notifications",
24495
- "es": "Notificaciones telefónicas",
24515
+ "es": "Notificaciones Telefónicas",
24516
"fi": "Puhelin ilmoitukset",
24517
"fr": "Notifications téléphoniques",
24518
"hi": "फोन सूचनाएं",
@@ -24514,7 +24534,7 @@
24534
},
24535
{
24536
"en": "Phone Number",
24517
- "es": "Número de teléfono",
24537
+ "es": "Número de Teléfono",
24538
"fi": "Puhelinnumero",
24539
"fr": "Numéro de téléphone",
24540
"hi": "फ़ोन नंबर",
@@ -24585,7 +24605,7 @@
24605
"cs": "Spustit",
24606
"de": "Abspielen",
24607
"en": "Play",
24588
- "es": "Iniciar",
24608
+ "es": "Reproducir",
24609
"fi": "Toista",
24610
"fr": "Jouer",
24611
"hi": "खेल",
@@ -24684,7 +24704,7 @@
24704
"cs": "Akce zásuvného modulu",
24705
"de": "Plugin-Aktion",
24706
"en": "Plugin Action",
24687
- "es": "Plugin Action",
24707
+ "es": "Acción de Plugin",
24708
"fi": "Laajennuksen toiminto",
24709
"fr": "Action du plugin",
24710
"hi": "प्लगिन एक्शन",
@@ -24906,7 +24926,7 @@
24926
"cs": "Napájení",
24927
"de": "Energiezustand",
24928
"en": "Power",
24909
- "es": "Encender",
24929
+ "es": "Encendido",
24930
"fi": "Virta",
24931
"fr": "Allumé",
24932
"hi": "शक्ति",
@@ -24926,7 +24946,7 @@
24946
"cs": "Akce napájení…",
24947
"de": "Energiezustandsaktionen",
24948
"en": "Power Actions...",
24929
- "es": "Acciones de encendido ...",
24949
+ "es": "Acciones de Encendido...",
24950
"fi": "Virtatoiminnot...",
24951
"fr": "Actions de puissance ...",
24952
"hi": "पावर एक्शन ...",
@@ -25068,7 +25088,7 @@
25088
},
25089
{
25090
"en": "Present on server",
25071
- "es": "Presente en el Servidor",
25091
+ "es": "Presente en el servidor",
25092
"fi": "Läsnä palvelimella",
25093
"fr": "Présent sur le serveur",
25094
"nl": "Aanwezig op de server",
@@ -25106,7 +25126,7 @@
25126
"cs": "Stiskněte klávesu.",
25127
"de": "Drücken Sie jetzt die Schlüsseltaste.",
25128
"en": "Press the key button now.",
25109
- "es": "Presione una tecla ahora.",
25129
+ "es": "Presione la tecla ahora.",
25130
"fi": "Paina avain nappia nyt.",
25131
"fr": "Appuyez sur le bouton de la clé maintenant.",
25132
"hi": "अब कुंजी बटन दबाएं।",
@@ -25136,7 +25156,7 @@
25156
},
25157
{
25158
"en": "Privacy bar",
25139
- "es": "Barra de Privacidad",
25159
+ "es": "Barra de privacidad",
25160
"nl": "Privacy balk",
25161
"tr": "Gizlilik çubuğu",
25162
"zh-chs": "隐私栏",
@@ -25149,7 +25169,7 @@
25169
"cs": "Správa procesů",
25170
"de": "Prozesskontrolle",
25171
"en": "Process Control",
25152
- "es": "Control de procesos",
25172
+ "es": "Control de Procesos",
25173
"fi": "Prosessinhallinta",
25174
"fr": "Contrôle de processus",
25175
"hi": "प्रक्रिया नियंत्रण",
@@ -25190,7 +25210,7 @@
25210
},
25211
{
25212
"en": "Prompt",
25193
- "es": "Notificacion",
25213
+ "es": "Solicitar",
25214
"fr": "Demander",
25215
"nl": "Melden",
25216
"tr": "Komut istemi",
@@ -25202,7 +25222,7 @@
25222
},
25223
{
25224
"en": "Prompt for consent",
25205
- "es": "Notificacion para Consentimiento",
25225
+ "es": "Solicitar Consentimiento",
25226
"fr": "Demander le consentement",
25227
"nl": "Toestemming vragen",
25228
"tr": "Onay istemi",
@@ -25297,7 +25317,7 @@
25317
"cs": "Veřejný odkaz",
25318
"de": "Öffentlicher Link",
25319
"en": "Public Link",
25300
- "es": "Enlace publico",
25320
+ "es": "Enlace Público",
25321
"fi": "Julkinen linkki",
25322
"fr": "Lien public",
25323
"hi": "सार्वजनिक लिंक",
@@ -25520,7 +25540,7 @@
25540
"cs": "Port vzdáleného připojení RDP:",
25541
"de": "RDP-Remoteverbindungsport:",
25542
"en": "RDP remote connection port:",
25523
- "es": "puerto de conexión remoto RDP:",
25543
+ "es": "Puerto de conexión remoto RDP:",
25544
"fi": "RDP-etäyhteysportti:",
25545
"fr": "Port RDP distant :",
25546
"hi": "RDP रिमोट कनेक्शन पोर्ट:",
@@ -25557,7 +25577,7 @@
25577
"cs": "RLE16, doporučeno",
25578
"de": "RLE16, empfohlen",
25579
"en": "RLE16, Recommended",
25560
- "es": "RLE16, recomendado",
25580
+ "es": "RLE16, Recomendado",
25581
"fi": "RLE16, Suositeltu",
25582
"fr": "RLE16, recommandé",
25583
"hi": "RLE16, अनुशंसित",
@@ -25579,7 +25599,7 @@
25599
"cs": "RLE8, Nejrychlejší",
25600
"de": "RLE8, am schnellsten",
25601
"en": "RLE8, Fastest",
25582
- "es": "RLE8, más rápido",
25602
+ "es": "RLE8, Más rápido",
25603
"fi": "RLE8, Nopein",
25604
"fr": "RLE8, le plus rapide",
25605
"hi": "RLE8, सबसे तेज",
@@ -25693,7 +25713,7 @@
25713
"cs": "Oblasti",
25714
"de": "Bereiche",
25715
"en": "Realms",
25696
- "es": "Realms",
25716
+ "es": "Reinos",
25717
"fi": "Alueet",
25718
"fr": "Royaumes",
25719
"hi": "रियल्म्स",
@@ -25711,7 +25731,7 @@
25731
},
25732
{
25733
"en": "Received invalid network data",
25714
- "es": "Se recibieron datos de red no válidos",
25734
+ "es": "Se recibieron datos de red inválidos",
25735
"fr": "Données réseau reçues non valides",
25736
"nl": "Ongeldige netwerkgegevens ontvangen",
25737
"tr": "Geçersiz ağ verileri alındı",
@@ -25766,7 +25786,7 @@
25786
"cs": "Rekurzivní mazání",
25787
"de": "Rekursiv Löschen",
25788
"en": "Recursive delete",
25769
- "es": "Borrar Recuersivamente",
25789
+ "es": "Eliminado recursivo",
25790
"fr": "Suppression récursive",
25791
"hi": "रिकर्सिव डिलीट",
25792
"ja": "再帰削除",
@@ -25837,7 +25857,7 @@
25857
"cs": "Obnovit jádra agentů",
25858
"de": "Agentenkerne aktualisieren",
25859
"en": "Refresh Agent Cores",
25840
- "es": "Actualizar núcleos de agente",
25860
+ "es": "Actualizar Núcleos de Agente",
25861
"fi": "Päivitä agenttien ytimet",
25862
"fr": "Actualiser les cœurs d'agent",
25863
"hi": "एजेंट को ताज़ा करें",
@@ -25878,7 +25898,7 @@
25898
"cs": "Počet předávání (relay)",
25899
"de": "Weiterleitungsanzahl",
25900
"en": "Relay Count",
25881
- "es": "Contador del Rele",
25901
+ "es": "Contador de Relé",
25902
"fr": "Nombre de relais",
25903
"hi": "रिले गिनती",
25904
"ja": "リレー数",
@@ -25897,7 +25917,7 @@
25917
"cs": "Chyby předávání (relay)",
25918
"de": "Weiterleitungsfehler",
25919
"en": "Relay Errors",
25900
- "es": "Errores del Relay",
25920
+ "es": "Errores de Relé",
25921
"fr": "Erreurs de relais",
25922
"hi": "रिले त्रुटियां",
25923
"ja": "リレーエラー",
@@ -25916,7 +25936,7 @@
25936
"cs": "Předávané relace",
25937
"de": "Weiterleitungssitzungen",
25938
"en": "Relay Sessions",
25919
- "es": "Sesiones Relay",
25939
+ "es": "Sesiones de Relé",
25940
"fr": "Séances de relais",
25941
"hi": "रिले सत्र",
25942
"ja": "中継セッション",
@@ -25952,7 +25972,7 @@
25972
"cs": "Zapamatovat toto zařízení na 30 dní.",
25973
"de": "Dieses Gerät für 30 Tage merken.",
25974
"en": "Remember this device for 30 days.",
25955
- "es": "Recuerde este dispositivo por 30 días.",
25975
+ "es": "Recuerdar este dispositivo por 30 días.",
25976
"fi": "Muista tämä laite 30. päivän ajan.",
25977
"fr": "Se souvenir de cet appareil pendant 30 jours.",
25978
"hi": "इस डिवाइस को 30 दिनों तक याद रखें।",
@@ -25967,7 +25987,7 @@
25987
},
25988
{
25989
"en": "Remember this device for {0} days.",
25970
- "es": "Recuerde este dispositivo durante {0} días.",
25990
+ "es": "Recuerdar este dispositivo por {0} días.",
25991
"fi": "Muista tämä laite {0} päivän ajan.",
25992
"fr": "N'oubliez pas cet appareil pendant {0} jours.",
25993
"hi": "इस डिवाइस को {0} दिनों तक याद रखें।",
@@ -26008,7 +26028,7 @@
26028
"cs": "Instalace agenta pro vzdálený přístup",
26029
"de": "Entfernte Agenten-Installation",
26030
"en": "Remote Agent Installation",
26011
- "es": "Instalación remota de agente",
26031
+ "es": "Instalación Remota de Agente",
26032
"fi": "Agentin etäasennus",
26033
"fr": "Installation de l'agent",
26034
"hi": "दूरस्थ एजेंट स्थापना",
@@ -26028,7 +26048,7 @@
26048
"cs": "Vzdálená instalace agenta pro {0}",
26049
"de": "Remote Agent Installation für {0}",
26050
"en": "Remote Agent Installation for {0}",
26031
- "es": "Instalación de Agente Remoto de {0}",
26051
+ "es": "Instalación Remota de Agente para {0}",
26052
"fr": "Installation distante de l'agent pour {0}",
26053
"hi": "दूरस्थ एजेंट स्थापना {0} के लिए",
26054
"ja": "{0}のリモートエージェントインストール",
@@ -26047,7 +26067,7 @@
26067
"cs": "Vzdálená schránka",
26068
"de": "Entfernte Zwischenablage",
26069
"en": "Remote Clipboard",
26050
- "es": "Portapapeles remoto",
26070
+ "es": "Portapapeles Remoto",
26071
"fi": "Etä leikepöytä",
26072
"fr": "Presse-papier à distance",
26073
"hi": "रिमोट क्लिपबोर्ड",
@@ -26118,7 +26138,7 @@
26138
"cs": "Nastavení vzdálené plochy",
26139
"de": "Einstellungen des entfernten Desktops",
26140
"en": "Remote Desktop Settings",
26121
- "es": "Configuración de escritorio remoto",
26141
+ "es": "Opciones de Escritorio Remoto",
26142
"fi": "Etätyöpöydän asetukset",
26143
"fr": "Paramètres du bureau à distance",
26144
"hi": "दूरस्थ डेस्कटॉप सेटिंग्स",
@@ -26141,7 +26161,7 @@
26161
"cs": "Zadávání z klávesnice na dálku",
26162
"de": "Entfernte Tastatureingabe",
26163
"en": "Remote Keyboard Entry",
26144
- "es": "Entrada remota de teclado",
26164
+ "es": "Entrada Remota de Teclado",
26165
"fr": "Entrée au clavier à distance",
26166
"hi": "रिमोट कीबोर्ड एंट्री",
26167
"ja": "リモートキーボード入力",
@@ -26161,7 +26181,7 @@
26181
"cs": "Vzdálený uživatel",
26182
"de": "Entfernter Mesh-Benutzer",
26183
"en": "Remote Mesh User",
26164
- "es": "Usuario Mesh remoto",
26184
+ "es": "Usuario Mesh Remoto",
26185
"fr": "Utilisateur de maillage à distance",
26186
"hi": "रिमोट मेष उपयोगकर्ता",
26187
"ja": "リモートメッシュユーザー",
@@ -26180,7 +26200,7 @@
26200
"cs": "Uživatel na protějšku",
26201
"de": "Entfernter Benutzer",
26202
"en": "Remote User",
26183
- "es": "Usuario remoto",
26203
+ "es": "Usuario Remoto",
26204
"fi": "Etäkäyttäjä",
26205
"fr": "Utilisateur distant",
26206
"hi": "दूरस्थ उपयोगकर्ता",
@@ -26197,7 +26217,7 @@
26217
"cs": "Pouze prohlížení na dálku",
26218
"de": "Nur entfernte Ansicht",
26219
"en": "Remote View Only",
26200
- "es": "Vista remota solamente",
26220
+ "es": "Sólo Vista Remota",
26221
"fr": "Affichage à distance uniquement",
26222
"hi": "केवल रिमोट देखें",
26223
"ja": "リモートビューのみ",
@@ -26260,7 +26280,7 @@
26280
"cs": "Odstranit",
26281
"de": "Entfernen",
26282
"en": "Remove",
26263
- "es": "Eliminar",
26283
+ "es": "Remover",
26284
"fi": "Poista",
26285
"fr": "Retirer",
26286
"hi": "हटाना",
@@ -26280,6 +26300,7 @@
26300
"en": "Remove Configuration",
26301
"nl": "Configuratie verwijderen",
26302
"tr": "Yapılandırmayı Kaldır",
26303
+ "es": "Remover Configuración",
26304
"xloc": [
26305
"default.handlebars->27->1274"
26306
]
@@ -26288,7 +26309,7 @@
26309
"cs": "Odebrat zařízení",
26310
"de": "Gerät entfernen",
26311
"en": "Remove Device",
26291
- "es": "Dispositivo Remoto",
26312
+ "es": "Remover Dispositivo",
26313
"fi": "Poista laite",
26314
"fr": "Enlevez l'appareil",
26315
"hi": "यन्त्र को निकालो",
@@ -26304,7 +26325,7 @@
26325
"cs": "Odebrat skupinu zařízení",
26326
"de": "Gerätegruppe entfernen",
26327
"en": "Remove Device Group",
26307
- "es": "Eliminar grupo de dispositivos",
26328
+ "es": "Remover Grupo de Dispositivos",
26329
"fi": "Poista laiteryhmä",
26330
"fr": "Supprimer le groupe d'appareils",
26331
"hi": "डिवाइस समूह निकालें",
@@ -26320,7 +26341,7 @@
26341
{
26342
"de": "Gerätegruppenberechtigungen entfernen",
26343
"en": "Remove Device Group Permissions",
26323
- "es": "Eliminar permisos de grupo de dispositivos",
26344
+ "es": "Remover Permisos de Grupo de Dispositivos",
26345
"fi": "Poista laiteryhmän oikeudet",
26346
"fr": "Supprimer les autorisations de groupe de périphériques",
26347
"hi": "डिवाइस समूह अनुमतियाँ निकालें",
@@ -26338,7 +26359,7 @@
26359
{
26360
"de": "Geräteberechtigungen entfernen",
26361
"en": "Remove Device Permissions",
26341
- "es": "Eliminar permisos del dispositivo",
26362
+ "es": "Remover Permisos del Dispositivo",
26363
"fr": "Supprimer les autorisations de périphérique",
26364
"hi": "डिवाइस अनुमतियाँ निकालें",
26365
"ja": "デバイスの権限を削除",
@@ -26356,7 +26377,7 @@
26377
"cs": "Odebrat uživatele",
26378
"de": "Benutzer entfernen",
26379
"en": "Remove User",
26359
- "es": "Eliminar usuario",
26380
+ "es": "Remover usuario",
26381
"fi": "Poista käyttäjä",
26382
"fr": "Supprimer l'utilisateur",
26383
"hi": "उपयोगकर्ता निकालें",
@@ -26372,7 +26393,7 @@
26393
{
26394
"de": "Benutzergruppenmitgliedschaft entziehen",
26395
"en": "Remove User Group Membership",
26375
- "es": "Eliminar membresía de grupo de usuarios",
26396
+ "es": "Remover Miembro de Grupo de Usuarios",
26397
"fi": "Poista käyttäjä ryhmästä",
26398
"fr": "Supprimer l'appartenance à un groupe d'utilisateurs",
26399
"hi": "उपयोगकर्ता समूह सदस्यता निकालें",
@@ -26389,7 +26410,7 @@
26410
{
26411
"de": "Benutzergruppenberechtigungen entziehen",
26412
"en": "Remove User Group Permissions",
26392
- "es": "Eliminar permisos de grupo de usuarios",
26413
+ "es": "Remover Permisos de Grupo de Usuarios",
26414
"fr": "Supprimer les autorisations des groupes d'utilisateurs",
26415
"hi": "उपयोगकर्ता समूह अनुमतियाँ निकालें",
26416
"ja": "ユーザーグループのアクセス許可を削除する",
@@ -26406,7 +26427,7 @@
26427
{
26428
"de": "Benutzermitgliedschaft entziehen",
26429
"en": "Remove User Membership",
26409
- "es": "Eliminar membresía de usuario",
26430
+ "es": "Remover Membresía de Usuario",
26431
"fr": "Supprimer l'adhésion d'utilisateur",
26432
"hi": "उपयोगकर्ता सदस्यता निकालें",
26433
"ja": "ユーザーメンバーシップを削除",
@@ -26422,7 +26443,7 @@
26443
{
26444
"de": "Benutzerberechtigungen entziehen",
26445
"en": "Remove User Permissions",
26425
- "es": "Eliminar permisos de usuario",
26446
+ "es": "Remover Permisos de Usuario",
26447
"fr": "Supprimer les autorisations utilisateur",
26448
"hi": "उपयोगकर्ता अनुमतियाँ निकालें",
26449
"ja": "ユーザー権限を削除",
@@ -26440,7 +26461,7 @@
26461
"cs": "Odstranit celé 2-faktorové ověřování.",
26462
"de": "Alle Zweifaktorauthentifizierung entfernen.",
26463
"en": "Remove all 2nd factor authentication.",
26443
- "es": "Eliminar toda la autenticación de segundo factor.",
26464
+ "es": "Remover toda la autenticación de segundo factor.",
26465
"fr": "Supprimer toutes les authentifications à double facteur.",
26466
"hi": "सभी 2 फैक्टर प्रमाणीकरण निकालें।",
26467
"ja": "すべての2要素認証を削除します。",
@@ -26459,7 +26480,7 @@
26480
"cs": "Odebrat všechny předchozí události pro tento identifikátor uživatele.",
26481
"de": "Alle vorhergehenden Ereignisse für diese Benutzer-ID entfernen.",
26482
"en": "Remove all previous events for this userid.",
26462
- "es": "Elimine todos los eventos anteriores para este ID de usuario.",
26483
+ "es": "Remover todos los eventos anteriores para este ID de usuario.",
26484
"fr": "Supprimer l'historique pour cet identifiant de compte",
26485
"hi": "इस उपयोगकर्ता के लिए पिछली सभी घटनाओं को हटा दें।",
26486
"ja": "このユーザーIDの以前のイベントをすべて削除します。",
@@ -26478,7 +26499,7 @@
26499
"cs": "Při odpojení zařízení odebrat",
26500
"de": "Gerät nach Trennung entfernen",
26501
"en": "Remove device on disconnect",
26481
- "es": "Eliminar el dispositivo al desconectar",
26502
+ "es": "Remover el dispositivo al desconectar",
26503
"fi": "Poista laite kun yhteys kaitkaistaan",
26504
"fr": "Masquer les appareils déconnectés",
26505
"hi": "डिस्कनेक्ट पर डिवाइस निकालें",
@@ -26498,7 +26519,7 @@
This file is too large to show in full.